/*
|==========================================================================
| Professional CSS Enhancements
| 1. Optimized CSS Variables & Shadows (Performance/Polish)
| 2. Enhanced Typography & Readability (Accessibility/Clarity)
| 3. Modernized Components (Navbar, Cards, Admin Table)
| 4. Improved Focus States (Accessibility)
|==========================================================================
*/

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

:root {
    --primary-color: #023E8A;
    --primary-dark: #0077B6;
    --secondary-color: #64748b;
    --accent-color: #023E8A;
    --accent: #ff8c00;
    --success-color: #10b981;
    --warning-color: #ff8c00;
    --danger-color: #ef4444;
    --text-primary: #1e293b;
    --text-secondary: #475569; /* Slightly darker for better contrast */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --border-color: #e2e8f0;

    /* Optimized Shadow System */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -4px rgba(0, 0, 0, 0.05);

    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1); /* Professional transition curve */
    --news-banner-height: 0px;
}

/* Auto Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0f141a;
        --bg-secondary: #1b222c;
        --text-primary: #f3f4f6;
        --text-secondary: #a1a1aa;
        --border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Reduce-motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* Subtle Scrollbar (Firefox) */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-dark) transparent;
}

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Account for sticky navbar */
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* Custom scrollbar for slower feel */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

/* --- Global & Typography --- */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    font-size: 16px;
    /* Font rendering improvements */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    /* Subtle professional tightening for headings */
    letter-spacing: -0.02em;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    /* Use logical property for margins (future-proofing) */
    margin-inline: auto;
    padding: 0 clamp(15px, 4vw, 20px);
    width: 100%;
    box-sizing: border-box;
}

/* --- Header and Navigation --- */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
    overflow: visible;
    transition: background 0.45s var(--transition-ease), box-shadow 0.45s var(--transition-ease);
    min-height: 60px;
    z-index: 10000 !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

/* Admin pages - ensure header is positioned correctly */
body:has(.admin-main) header {
    position: relative;
    background: transparent;
    box-shadow: none;
}

body:has(.admin-main) .navbar {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 0.75rem clamp(1rem, 3vw, 1.5rem);
    max-width: 95%;
    margin: 0 auto;
    color: var(--text-primary);
}

/* Blue header for login and signup pages */
body.login-page header,
body.signup-page header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 12px rgba(2, 62, 138, 0.2);
}

/* Make header bigger on products page */
body:has(.products-hero) header {
    min-height: 60px;
}

body:has(.products-hero) .navbar {
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
    min-height: 60px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    backdrop-filter: none;
    color: var(--text-primary);
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
    box-shadow: none;
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    border: none;
    transition: transform 0.75s var(--transition-ease), opacity 0.55s var(--transition-ease), clip-path 0.75s var(--transition-ease), padding 0.45s var(--transition-ease), background 0.45s var(--transition-ease), box-shadow 0.45s var(--transition-ease);
    transform: translateY(0);
    overflow-x: visible;
    transform-origin: top center;
    will-change: transform, padding, gap, clip-path, opacity, background;
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
    gap: 2rem;
    overflow: visible;
    z-index: 10000;
    min-height: 80px;
}

/* Add blur only on non-hero pages */
body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)) .navbar {
    backdrop-filter: blur(8px);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 1;
    transition: opacity 0.4s var(--transition-ease);
    pointer-events: none;
    z-index: -1;
}

/* Blue navbar for login and signup pages */
body:has(main[style*="login"]) .navbar,
body:has(main[style*="signup"]) .navbar,
body.login-page .navbar,
body.signup-page .navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    backdrop-filter: none;
    color: white;
    box-shadow: 0 4px 12px rgba(2, 62, 138, 0.2);
}

body:has(main[style*="login"]) .navbar::before,
body:has(main[style*="signup"]) .navbar::before,
body.login-page .navbar::before,
body.signup-page .navbar::before {
    opacity: 0;
}

body:has(main[style*="login"]) .nav-brand h1,
body:has(main[style*="login"]) .nav-links a,
body:has(main[style*="signup"]) .nav-brand h1,
body:has(main[style*="signup"]) .nav-links a,
body.login-page .nav-brand h1,
body.login-page .nav-links a,
body.signup-page .nav-brand h1,
body.signup-page .nav-links a {
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body:has(main[style*="login"]) .user-account-btn,
body:has(main[style*="signup"]) .user-account-btn,
body.login-page .user-account-btn,
body.signup-page .user-account-btn {
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

body:has(main[style*="login"]) .user-account-btn:hover,
body:has(main[style*="signup"]) .user-account-btn:hover,
body.login-page .user-account-btn:hover,
body.signup-page .user-account-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

body:has(main[style*="login"]) .nav-links a.active,
body:has(main[style*="signup"]) .nav-links a.active,
body.login-page .nav-links a.active,
body.signup-page .nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--warning-color);
    box-shadow: inset 0 -3px 0 0 var(--warning-color);
}

/* Adjust navbar text for light backgrounds (admin pages) */
body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)):not(:has(main[style*="login"])):not(:has(main[style*="signup"])):not(.login-page):not(.signup-page) .navbar {
    color: var(--text-primary);
}

body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)):not(:has(main[style*="login"])):not(:has(main[style*="signup"])):not(.login-page):not(.signup-page) .nav-brand h1,
body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)):not(:has(main[style*="login"])):not(:has(main[style*="signup"])):not(.login-page):not(.signup-page) .nav-links a {
    color: var(--text-primary);
    text-shadow: none;
}

body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)):not(:has(main[style*="login"])):not(:has(main[style*="signup"])):not(.login-page):not(.signup-page) .navbar::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 75%);
    opacity: 0.9;
}

body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)):not(:has(main[style*="login"])):not(:has(main[style*="signup"])):not(.login-page):not(.signup-page) .user-account-btn {
    border: 1px solid rgba(2, 62, 138, 0.3);
    background: rgba(2, 62, 138, 0.1);
    color: var(--primary-color);
}

body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)):not(:has(main[style*="login"])):not(:has(main[style*="signup"])):not(.login-page):not(.signup-page) .user-account-btn:hover {
    background: rgba(2, 62, 138, 0.2);
    border-color: rgba(2, 62, 138, 0.5);
}

body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)):not(:has(main[style*="login"])):not(:has(main[style*="signup"])):not(.login-page):not(.signup-page) .nav-links a.active {
    background-color: rgba(2, 62, 138, 0.15);
    color: var(--primary-color);
    box-shadow: inset 0 -3px 0 0 var(--primary-color);
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    backdrop-filter: none;
}

.navbar.scrolled::before {
    opacity: 0;
}

.navbar.sticky {
    position: fixed;
    top: var(--news-banner-height, 0px);
    left: 0;
    right: 0;
    z-index: 1000;
    height: auto !important; 
    padding: 0.5rem 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    transform: translateY(-100%);
    opacity: 0;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
    background: #ffffff;
    backdrop-filter: blur(20px) saturate(180%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease !important;
    will-change: transform, opacity;
}

.navbar[data-scrolled="true"] {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.navbar[data-scrolled="true"]::before {
    opacity: 0;
}

header.navbar-scrolled {
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.navbar.sticky.curtain-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    box-shadow: 0 12px 40px rgba(2, 62, 138, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease !important;
}

.navbar.sticky.curtain-closing {
    transform: translateY(-100%) !important;
    opacity: 0 !important;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.news-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    background: linear-gradient(90deg, rgba(2, 62, 138, 0.65) 0%, rgba(2, 62, 138, 0.58) 60%, rgba(1, 56, 124, 0.58) 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 62, 138, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    padding: 0.2rem 0.5rem;
    transition: transform 0.45s var(--transition-ease), opacity 0.45s var(--transition-ease), background 0.45s var(--transition-ease);
    overflow: hidden;
}

.news-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25px;
    min-height: 24px;
}

.news-banner__label {
    display: none;
}

.news-banner__text {
    display: inline-block;
    white-space: nowrap;
    position: relative;
    padding-inline: 0.3rem;
}

.news-banner__track {
    position: relative;
    min-height: 20px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.news-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.7rem;
}

.news-banner__message {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.45s var(--transition-ease), opacity 0.45s var(--transition-ease);
    will-change: transform, opacity;
}

.news-banner__message.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.news-banner__message.is-exiting {
    transform: translateY(-100%);
    opacity: 0;
}

body.news-banner-active header {
    margin-top: calc(var(--news-banner-height, 0px));
}

.navbar.sticky .nav-brand {
    opacity: 1;
    visibility: visible;
    width: auto;
    overflow: visible;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), width 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.sticky .nav-brand h1,
.navbar.sticky .b3d-logo {
    font-size: 1.3rem;
}

.navbar.sticky .b3d-logo .logo-letter,
.navbar.sticky .b3d-logo .logo-number {
    font-size: 1.3rem;
}

.navbar.sticky .b3d-logo .logo-bird {
    width: 0.35em;
    height: 0.35em;
    top: -0.3em;
}

.navbar.sticky .b3d-logo .logo-bar {
    height: 0.25em;
}

.navbar.sticky .b3d-logo .logo-bar::after {
    width: 0.25em;
    height: 0.25em;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-inline: 20px;
    width: 100%;
}

.navbar.sticky .container {
    justify-content: space-between;
    padding: 0 24px !important;
    height: auto !important;
    line-height: 1 !important;
    align-items: center !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 1.5rem;
}

.navbar.sticky .nav-links {
    gap: 0.75rem !important;
    margin-left: auto !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    transition: gap 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.sticky .nav-links a {
    font-size: 0.9rem !important; 
    padding: 0.4rem 0.85rem !important; 
    margin: 0 !important;
    line-height: 1.1 !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.sticky .user-name-display {
    font-size: 0.65rem !important;
    max-width: 140px !important;
}

.navbar.sticky .user-name-display i {
    font-size: 0.7rem !important;
}

.navbar.sticky .user-name-text {
    max-width: 110px !important;
}

.navbar.sticky .user-info-container {
    gap: 0.2rem !important;
}

.navbar.sticky .user-actions {
    gap: 0.4rem !important;
}

.navbar.sticky .user-account-dropdown {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
}

.navbar.sticky .user-account-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 0.95rem !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.nav-brand {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    transition: font-size 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* B3D Logo - Using image */
.b3d-logo {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    height: auto;
    line-height: 1;
    vertical-align: middle;
}

.b3d-logo .logo-image {
    height: 7rem;
    width: auto;
    max-width: 500px;
    object-fit: contain;
    display: block;
    transition: height 0.3s ease;
    margin: 0;
    padding: 0;
}

/* Adjust logo size for sticky navbar */
.navbar.sticky .b3d-logo .logo-image {
    height: 5rem;
    max-width: 400px;
}

/* Adjust logo size for smaller screens */
@media (max-width: 768px) {
    .b3d-logo .logo-image {
        height: 6rem;
        max-width: 450px;
    }
    
    .navbar.sticky .b3d-logo .logo-image {
        height: 4.5rem;
        max-width: 350px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .b3d-logo .logo-image {
        height: 5rem;
        max-width: 350px;
    }
    
    .navbar.sticky .b3d-logo .logo-image {
        height: 3.5rem;
        max-width: 280px;
    }
}

.nav-brand i {
    margin-right: 0.5rem;
    color: var(--warning-color); /* Use variable for consistency */
}

/* Logo link styling */
.nav-brand a {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-brand a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-brand a:active {
    transform: scale(0.98);
}

/* Logo text for admin pages */
.b3d-logo .logo-text {
    color: var(--text-primary);
    font-size: 0.9em;
    font-weight: 600;
    margin-left: 0.5em;
    vertical-align: middle;
}

/* Admin pages - ensure logo text is visible */
body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)) .b3d-logo .logo-text {
    color: var(--text-primary);
}

body:has(.hero) .b3d-logo .logo-text,
body:has(.products-hero) .b3d-logo .logo-text,
body:has(.contact-hero) .b3d-logo .logo-text {
    color: var(--primary-color);
    text-shadow: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    transition: gap 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    justify-content: flex-start;
    flex: 1;
}

.nav-links .auth-link,
.nav-links .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(2, 62, 138, 0.22);
    background: rgba(2, 62, 138, 0.08);
    color: var(--primary-color);
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    outline: none;
}

.nav-search-btn:hover,
.nav-search-btn:focus-visible {
    transform: translateY(-2px);
    background: rgba(2, 62, 138, 0.14);
    border-color: rgba(2, 62, 138, 0.4);
    box-shadow: 0 10px 22px -10px rgba(2, 62, 138, 0.35);
}

.nav-search-btn.has-search {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.65);
    color: var(--primary-color);
    box-shadow: 0 12px 26px -12px rgba(2, 62, 138, 0.6);
}

.nav-search-btn.has-search:hover,
.nav-search-btn.has-search:focus-visible {
    background: rgba(255, 255, 255, 0.38);
    border-color: rgba(255, 255, 255, 0.75);
}

.navbar.sticky .nav-search-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.navbar.sticky .nav-search-btn.has-search {
    background: rgba(255, 255, 255, 0.34);
}


.user-info-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    width: auto;
}

.user-name-display {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2px;
    text-transform: capitalize;
    padding: 0;
    background: transparent;
    transition: color 0.3s ease;
    white-space: nowrap;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-name-display i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.user-name-text {
    font-style: italic;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 150px;
}

.user-info-container:hover .user-name-display {
    color: rgba(255, 255, 255, 1);
}

.user-info-container:hover .user-name-display i {
    color: rgba(255, 255, 255, 0.9);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.user-actions a {
    padding: 0.45rem 0.8rem 0.15rem 0.8rem !important;
    font-size: 0.85rem !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
}

.nav-links .user-info a:hover,
.nav-links .auth-link a:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    white-space: nowrap;
    text-shadow: none;
}

.nav-links a:hover {
    transform: scale(0.9);
    transition: transform 0.2s ease;
}

.nav-links a.active {
    background-color: rgba(255, 140, 0, 0.1);
    color: var(--warning-color);
    box-shadow: inset 0 -3px 0 0 var(--warning-color);
    padding-bottom: calc(0.5rem - 3px);
    text-shadow: none;
}

.header-account,
.header-account-name,
.header-account-link,
.header-account-logout,
.nav-search-btn--standalone {
    display: none !important;
}

/* User Account Dropdown */
.user-account-dropdown {
    position: relative;
    display: inline-block;
    z-index: 100000;
    overflow: visible;
}

.user-account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(2, 62, 138, 0.22);
    background: rgba(2, 62, 138, 0.08);
    color: var(--primary-color);
    font-size: 1.05rem;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    outline: none;
    backdrop-filter: none;
}

/* Add blur to user button only on non-hero pages */
body:not(:has(.hero)):not(:has(.products-hero)):not(:has(.contact-hero)) .user-account-btn {
    backdrop-filter: blur(10px);
}

.user-account-btn:hover,
.user-account-btn:focus-visible {
    transform: translateY(-2px);
    background: rgba(2, 62, 138, 0.14);
    border-color: rgba(2, 62, 138, 0.4);
    box-shadow: 0 10px 22px -10px rgba(2, 62, 138, 0.35);
}

.user-account-btn.active {
    background: rgba(2, 62, 138, 0.14);
    border-color: rgba(2, 62, 138, 0.4);
}

.dropdown-menu {
    position: fixed !important;
    background: rgba(2, 62, 138, 0.95) !important;
    backdrop-filter: blur(16px);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 2147483647 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    pointer-events: none;
    display: block !important;
    isolation: isolate;
    will-change: transform, opacity;
}

.dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    z-index: 2147483647 !important;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s ease, color 0.2s ease;
    border: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.dropdown-item i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
}

/* --- Hero Section - Slideshow --- */
.hero {
    height: 100vh;
    min-height: 500px;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    z-index: 1;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    pointer-events: none;
    will-change: opacity, transform;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 1;
}

.slide.prev-slide {
    transform: scale(0.95);
    opacity: 0;
}

.slide.next-slide {
    transform: scale(1.05);
    opacity: 0;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    box-sizing: border-box;
}

.slide-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker overlay for improved text contrast */
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8); /* Slightly stronger shadow */
    line-height: 1.2;
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-weight: 300;
}

.slide-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.slide-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15); /* Slightly less opaque */
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3); /* Slightly stronger border */
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s var(--transition-ease);
}

.slide-features span:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
}

.slide-features i {
    color: var(--warning-color);
    font-size: 1.1rem;
}

/* Slideshow Navigation */
.slideshow-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s var(--transition-ease);
    border: 2px solid transparent;
}

.dot.active,
.dot:hover {
    background: var(--warning-color);
    border-color: white;
    transform: scale(1.2);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s var(--transition-ease);
    z-index: 4;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
}

.prev {
    left: 2rem;
}

.next {
    right: 2rem;
}

.slideshow-container:hover .prev,
.slideshow-container:hover .next {
    opacity: 1;
    visibility: visible;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.9) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.slideshow-container:hover .prev:hover,
.slideshow-container:hover .next:hover {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure buttons are controlled by container hover, not button state */
.slideshow-container:not(:hover) .prev,
.slideshow-container:not(:hover) .next {
    opacity: 0 !important;
    visibility: hidden !important;
}


/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* --- Company Overview Section --- */
.company-overview {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.overview-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-secondary); /* Enhanced Contrast */
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    /* Softened border for professional look */
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-sm);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.overview-image img {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    box-sizing: border-box;
}

/* --- Services Section --- */
.services-section {
    padding: 2rem 0 4rem 0;
    background-color: var(--bg-secondary);
    margin-top: -2rem;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(59, 130, 246, 0.1) inset;
    transition: all 0.3s ease;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:nth-child(1) {
    animation-delay: 0s;
}

.service-card:nth-child(2) {
    animation-delay: 1.5s;
}

.service-card:nth-child(3) {
    animation-delay: 3s;
}

.service-card:nth-child(4) {
    animation-delay: 4.5s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #023E8A, #0077B6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 24px 24px 0 0;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #023E8A;
    box-shadow: 0 8px 30px rgba(2, 62, 138, 0.15);
}

.service-card:hover .card-shape {
    opacity: 0.2;
    transform: scale(1.2);
}

.service-card:hover .card-glow {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.1), rgba(0, 119, 182, 0.1));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
}

.service-icon i {
    font-size: 2rem;
    color: #023E8A;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #023E8A, #0077B6);
    transform: scale(1.1);
}

.service-card:hover .service-icon i {
    color: white;
    transform: scale(1.1);
}

.service-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    color: #023E8A;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-align: center;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: #0077B6;
}

.service-card p {
    position: relative;
    z-index: 2;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
    padding: 4rem 0;
    background-color: var(--bg-primary);
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 700;
}

.why-choose-us .why-copy {
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

.sparkle {
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-color);
}

.floating-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
    margin-top: 3rem;
    margin-left: 0;
}

.floating-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(59, 130, 246, 0.1) inset;
    transition: all 0.3s ease;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.floating-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #023E8A, #0077B6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 24px 24px 0 0;
}

.floating-card:nth-child(1) {
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    animation-delay: 1.5s;
}

.floating-card:nth-child(3) {
    animation-delay: 3s;
}

.floating-card:nth-child(4) {
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

.floating-card:hover::before {
    transform: scaleX(1);
}

.floating-card:hover {
    transform: translateY(-8px);
    border-color: #023E8A;
    box-shadow: 0 8px 30px rgba(2, 62, 138, 0.15);
}

.card-icon {
    position: relative;
    z-index: 3;
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.1), rgba(0, 119, 182, 0.1));
    border-radius: 18px;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 2rem;
    color: #023E8A;
    transition: all 0.3s ease;
}

.floating-card:hover .card-icon {
    background: linear-gradient(135deg, #023E8A, #0077B6);
    transform: scale(1.1);
}

.floating-card:hover .card-icon i {
    color: white;
    transform: scale(1.1);
}

.card-shape {
    position: absolute;
    opacity: 0.08;
    transition: all 0.6s ease;
    pointer-events: none;
}

.layer-shape {
    top: -30px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 10px,
        #3b82f6 10px,
        #3b82f6 12px
    );
    border-radius: 8px;
    transform: rotate(15deg);
}

.cube-shape {
    bottom: -25px;
    left: -25px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6, #f97316);
    transform: rotate(45deg) perspective(200px) rotateX(20deg);
    border-radius: 12px;
}

.hex-shape {
    top: 50%;
    right: -40px;
    width: 80px;
    height: 80px;
    background: #3b82f6;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    transform: translateY(-50%) rotate(30deg);
}

.sphere-shape {
    top: -40px;
    left: 50%;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at 30% 30%, #3b82f6, #f97316);
    border-radius: 50%;
    transform: translateX(-50%);
}

.floating-card:hover .card-shape {
    opacity: 0.2;
    transform: scale(1.2);
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.1), rgba(0, 119, 182, 0.1));
    border-radius: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    filter: blur(20px);
}

.floating-card:hover .card-glow {
    opacity: 1;
}

.floating-card h3 {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    color: #023E8A;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-align: center;
    transition: color 0.3s ease;
}

.floating-card:hover h3 {
    color: #0077B6;
}

.floating-card p {
    position: relative;
    z-index: 2;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 1024px) {
    .floating-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .floating-cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-card {
        padding: 2rem 1.5rem;
    }
}

/* --- Products Page Styles --- */
.products-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8rem 0 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

/* Products Slideshow Container */
.products-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    perspective: 1200px;
    transform-style: preserve-3d;
    filter: contrast(1.1) brightness(0.95);
}

.products-slideshow-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    background-size: 200% 200%;
    animation: products-light-rays 15s linear infinite;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: overlay;
}

@keyframes products-light-rays {
    0% {
        background-position: 0% 0%, 100% 100%;
    }
    100% {
        background-position: 100% 100%, 0% 0%;
    }
}

.products-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform-style: preserve-3d;
    animation: products-slideshow-creative 20s infinite;
}

.products-slide:nth-child(1) {
    animation-delay: 0s;
    animation-name: products-slide-1;
    animation-timing-function: ease-in-out;
}

.products-slide:nth-child(2) {
    animation-delay: 5s;
    animation-name: products-slide-2;
    animation-timing-function: ease-in-out;
}

.products-slide:nth-child(3) {
    animation-delay: 10s;
    animation-name: products-slide-3;
    animation-timing-function: ease-in-out;
}

.products-slide:nth-child(4) {
    animation-delay: 15s;
    animation-name: products-slide-4;
    animation-timing-function: ease-in-out;
}

.products-slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75;
    transform: scale(1);
    animation: products-image-parallax 20s ease-in-out infinite;
    filter: brightness(1.05) contrast(1.15) saturate(1.15) hue-rotate(0deg);
    will-change: transform, opacity, filter;
    position: relative;
}

.products-slide:nth-child(1) .products-slide-image {
    animation-delay: 0s;
}

.products-slide:nth-child(2) .products-slide-image {
    animation-delay: 5s;
}

.products-slide:nth-child(3) .products-slide-image {
    animation-delay: 10s;
}

.products-slide:nth-child(4) .products-slide-image {
    animation-delay: 15s;
}

.products-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    mix-blend-mode: overlay;
    animation: products-overlay-creative 20s infinite;
    z-index: 1;
}

.products-slide:nth-child(1) .products-slide-overlay {
    animation-delay: 0s;
}

.products-slide:nth-child(2) .products-slide-overlay {
    animation-delay: 5s;
}

.products-slide:nth-child(3) .products-slide-overlay {
    animation-delay: 10s;
}

.products-slide:nth-child(4) .products-slide-overlay {
    animation-delay: 15s;
}

/* Slide 1: Fade with scale pulse */
@keyframes products-slide-1 {
    0% {
        opacity: 0;
        transform: scale(0.95) translateZ(0);
        filter: blur(5px) brightness(0.8);
    }
    1% {
        opacity: 0.15;
        transform: scale(1) translateZ(0);
        filter: blur(0px) brightness(1);
    }
    22.5% {
        opacity: 0.15;
        transform: scale(1) translateZ(0);
        filter: blur(0px) brightness(1);
    }
    24% {
        opacity: 0;
        transform: scale(1.05) translateZ(0);
        filter: blur(5px) brightness(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.05) translateZ(0);
        filter: blur(5px) brightness(0.8);
    }
}

/* Slide 2: Slide from right with fade */
@keyframes products-slide-2 {
    0% {
        opacity: 0;
        transform: translateX(150%) translateZ(0) scale(1);
        filter: blur(8px) brightness(0.6);
    }
    1% {
        opacity: 0.15;
        transform: translateX(0) translateZ(0) scale(1);
        filter: blur(0px) brightness(1);
    }
    22.5% {
        opacity: 0.15;
        transform: translateX(0) translateZ(0) scale(1);
        filter: blur(0px) brightness(1);
    }
    24% {
        opacity: 0;
        transform: translateX(-150%) translateZ(0) scale(1);
        filter: blur(8px) brightness(0.6);
    }
    100% {
        opacity: 0;
        transform: translateX(-150%) translateZ(0) scale(1);
        filter: blur(8px) brightness(0.6);
    }
}

/* Slide 3: Zoom in from center */
@keyframes products-slide-3 {
    0% {
        opacity: 0;
        transform: scale(0.4) translateZ(0);
        filter: blur(12px) brightness(0.5);
    }
    1% {
        opacity: 0.15;
        transform: scale(1) translateZ(0);
        filter: blur(0px) brightness(1);
    }
    22.5% {
        opacity: 0.15;
        transform: scale(1) translateZ(0);
        filter: blur(0px) brightness(1);
    }
    24% {
        opacity: 0;
        transform: scale(1.6) translateZ(0);
        filter: blur(12px) brightness(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(1.6) translateZ(0);
        filter: blur(12px) brightness(0.5);
    }
}

/* Slide 4: Slide from bottom */
@keyframes products-slide-4 {
    0% {
        opacity: 0;
        transform: translateY(150%) translateZ(0) scale(1);
        filter: blur(8px) brightness(0.6);
    }
    1% {
        opacity: 0.15;
        transform: translateY(0) translateZ(0) scale(1);
        filter: blur(0px) brightness(1);
    }
    22.5% {
        opacity: 0.15;
        transform: translateY(0) translateZ(0) scale(1);
        filter: blur(0px) brightness(1);
    }
    24% {
        opacity: 0;
        transform: translateY(-150%) translateZ(0) scale(1);
        filter: blur(8px) brightness(0.6);
    }
    100% {
        opacity: 0;
        transform: translateY(-150%) translateZ(0) scale(1);
        filter: blur(8px) brightness(0.6);
    }
}

/* Parallax image movement with color shift */
@keyframes products-image-parallax {
    0%, 100% {
        transform: scale(1.15) translate(0, 0) rotate(0deg);
        filter: brightness(0.9) contrast(1.3) saturate(1.2) hue-rotate(0deg);
    }
    25% {
        transform: scale(1.2) translate(-4%, -3%) rotate(1deg);
        filter: brightness(0.95) contrast(1.35) saturate(1.25) hue-rotate(5deg);
    }
    50% {
        transform: scale(1.25) translate(4%, 3%) rotate(-1deg);
        filter: brightness(1) contrast(1.4) saturate(1.3) hue-rotate(-5deg);
    }
    75% {
        transform: scale(1.2) translate(-3%, 4%) rotate(0.5deg);
        filter: brightness(0.95) contrast(1.35) saturate(1.25) hue-rotate(3deg);
    }
}

/* Particle System */
.products-slide-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: products-particles-show 20s infinite;
    z-index: 2;
    pointer-events: none;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(168, 216, 255, 0.4), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(168, 216, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 33% 60%, rgba(168, 216, 255, 0.5), transparent),
        radial-gradient(1px 1px at 66% 20%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 200% 200%;
    animation: products-particles-show 20s infinite, products-particles-move 15s linear infinite;
}

.products-slide:nth-child(1) .products-slide-particles {
    animation-delay: 0s;
}

.products-slide:nth-child(2) .products-slide-particles {
    animation-delay: 5s;
}

.products-slide:nth-child(3) .products-slide-particles {
    animation-delay: 10s;
}

.products-slide:nth-child(4) .products-slide-particles {
    animation-delay: 15s;
}

@keyframes products-particles-show {
    0% {
        opacity: 0;
    }
    1% {
        opacity: 0.8;
    }
    23% {
        opacity: 0.8;
    }
    24% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

@keyframes products-particles-move {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%, 100% 0%, 50% 0%, 0% 50%;
    }
    100% {
        background-position: 100% 100%, 0% 0%, 50% 100%, 100% 0%, 0% 100%, 50% 50%, 100% 50%;
    }
}

/* Shimmer Effect */
.products-slide-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1) 50%,
        transparent
    );
    opacity: 0;
    animation: products-shimmer-sweep 20s infinite;
    z-index: 3;
    pointer-events: none;
    transform: skewX(-20deg);
}

.products-slide:nth-child(1) .products-slide-shimmer {
    animation-delay: 0s;
}

.products-slide:nth-child(2) .products-slide-shimmer {
    animation-delay: 5s;
}

.products-slide:nth-child(3) .products-slide-shimmer {
    animation-delay: 10s;
}

.products-slide:nth-child(4) .products-slide-shimmer {
    animation-delay: 15s;
}

@keyframes products-shimmer-sweep {
    0%, 23% {
        left: -100%;
        opacity: 0;
    }
    1%, 2% {
        left: -100%;
        opacity: 1;
    }
    3% {
        left: 100%;
        opacity: 1;
    }
    4%, 24% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Glitch Effect */
.products-slide-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: products-glitch-effect 20s infinite;
    z-index: 4;
    pointer-events: none;
    mix-blend-mode: screen;
}

.products-slide-glitch::before,
.products-slide-glitch::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translateX(-2px);
}

.products-slide-glitch::after {
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translateX(2px);
}

.products-slide:nth-child(1) .products-slide-glitch {
    animation-delay: 0s;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
}

.products-slide:nth-child(2) .products-slide-glitch {
    animation-delay: 5s;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
}

.products-slide:nth-child(3) .products-slide-glitch {
    animation-delay: 10s;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 0, 0.3), transparent);
}

.products-slide:nth-child(4) .products-slide-glitch {
    animation-delay: 15s;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.3), transparent);
}

@keyframes products-glitch-effect {
    0%, 23%, 25%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    23.5% {
        opacity: 0.6;
        transform: translateX(-3px);
    }
    23.6% {
        opacity: 0.8;
        transform: translateX(3px);
    }
    23.7% {
        opacity: 0.4;
        transform: translateX(-2px);
    }
    23.8% {
        opacity: 0.9;
        transform: translateX(2px);
    }
    23.9% {
        opacity: 0;
        transform: translateX(0);
    }
}

/* Wave Distortion */
.products-slide-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: products-wave-distort 20s infinite;
    z-index: 1;
    pointer-events: none;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    mask: 
        repeating-linear-gradient(
            90deg,
            transparent 0%,
            transparent 48%,
            rgba(0, 0, 0, 0.8) 50%,
            transparent 52%,
            transparent 100%
        );
    -webkit-mask: 
        repeating-linear-gradient(
            90deg,
            transparent 0%,
            transparent 48%,
            rgba(0, 0, 0, 0.8) 50%,
            transparent 52%,
            transparent 100%
        );
    mask-size: 200% 100%;
    -webkit-mask-size: 200% 100%;
    animation: products-wave-distort 20s infinite, products-wave-move 3s linear infinite;
}

.products-slide:nth-child(1) .products-slide-wave {
    animation-delay: 0s;
}

.products-slide:nth-child(2) .products-slide-wave {
    animation-delay: 5s;
}

.products-slide:nth-child(3) .products-slide-wave {
    animation-delay: 10s;
}

.products-slide:nth-child(4) .products-slide-wave {
    animation-delay: 15s;
}

@keyframes products-wave-distort {
    0%, 23%, 25%, 100% {
        opacity: 0;
    }
    1%, 23% {
        opacity: 0.4;
    }
}

@keyframes products-wave-move {
    0% {
        mask-position: 0% 0%;
        -webkit-mask-position: 0% 0%;
    }
    100% {
        mask-position: 100% 0%;
        -webkit-mask-position: 100% 0%;
    }
}

/* Overlay animation */
@keyframes products-overlay-creative {
    0% {
        opacity: 0;
    }
    1% {
        opacity: 0.5;
    }
    22.5% {
        opacity: 0.5;
    }
    24% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* Floating decorative blobs */
.products-hero::after {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    top: -80px;
    right: -120px;
    filter: blur(50px);
    animation: hero-float 9s ease-in-out infinite alternate;
    z-index: 0;
}

/* Animated border effect on slideshow */
.products-slideshow-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(168, 216, 255, 0.2), rgba(255, 255, 255, 0.1)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    border-radius: 0;
    animation: products-border-glow 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes products-border-glow {
    0%, 100% {
        box-shadow: 
            inset 0 0 20px rgba(168, 216, 255, 0.2),
            0 0 30px rgba(168, 216, 255, 0.1);
        opacity: 0.4;
    }
    50% {
        box-shadow: 
            inset 0 0 40px rgba(168, 216, 255, 0.4),
            0 0 60px rgba(168, 216, 255, 0.3);
        opacity: 0.8;
    }
}

@keyframes hero-float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(25px) scale(1.1); }
}

.products-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.products-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Geometric Sliding Image Gallery */
.products-geometric-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
    opacity: 0.5;
}

.geo-slide-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.geo-slide {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    opacity: 0;
    transform: scale(0.8) rotate(0deg);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.geo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

/* Slide 1 - Top Left (Hexagon) */
.geo-slide-1 {
    top: 10%;
    left: 5%;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    animation: geo-slide-1 12s ease-in-out infinite;
}

/* Slide 2 - Top Right (Diamond) */
.geo-slide-2 {
    top: 15%;
    right: 8%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: geo-slide-2 14s ease-in-out infinite;
    animation-delay: 2s;
}

/* Slide 3 - Bottom Left (Octagon) */
.geo-slide-3 {
    bottom: 20%;
    left: 10%;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    animation: geo-slide-3 16s ease-in-out infinite;
    animation-delay: 4s;
}

/* Slide 4 - Bottom Right (Pentagon) */
.geo-slide-4 {
    bottom: 15%;
    right: 12%;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: geo-slide-4 18s ease-in-out infinite;
    animation-delay: 6s;
}

/* Geometric Sliding Animations */
@keyframes geo-slide-1 {
    0%, 100% {
        opacity: 0;
        transform: translate(-50px, -30px) scale(0.7) rotate(-15deg);
    }
    25% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: translate(30px, 20px) scale(1.1) rotate(15deg);
    }
    75% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes geo-slide-2 {
    0%, 100% {
        opacity: 0;
        transform: translate(50px, -40px) scale(0.7) rotate(15deg);
    }
    25% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: translate(-30px, 25px) scale(1.1) rotate(-15deg);
    }
    75% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes geo-slide-3 {
    0%, 100% {
        opacity: 0;
        transform: translate(-40px, 50px) scale(0.7) rotate(20deg);
    }
    25% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: translate(35px, -25px) scale(1.1) rotate(-20deg);
    }
    75% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

@keyframes geo-slide-4 {
    0%, 100% {
        opacity: 0;
        transform: translate(45px, 40px) scale(0.7) rotate(-20deg);
    }
    25% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: translate(-35px, -30px) scale(1.1) rotate(20deg);
    }
    75% {
        opacity: 0.75;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .geo-slide {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .geo-slide {
        width: 150px;
        height: 150px;
    }
    
    .geo-slide-1 {
        top: 5%;
        left: 2%;
    }
    
    .geo-slide-2 {
        top: 10%;
        right: 5%;
    }
    
    .geo-slide-3 {
        bottom: 15%;
        left: 5%;
    }
    
    .geo-slide-4 {
        bottom: 10%;
        right: 8%;
    }
}

/* Products Section */
/* Categories Section */
.categories-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(248, 249, 250, 0.8) 100%);
    padding: 2.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(2, 62, 138, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(2, 62, 138, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.categories-section > .container {
    position: relative;
    z-index: 1;
}

.categories-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    position: relative;
    letter-spacing: -0.5px;
}

.categories-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(2, 62, 138, 0.3);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.category-card {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(2, 62, 138, 0.1);
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.03) 0%, rgba(1, 46, 105, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.05) 0%, rgba(1, 46, 105, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(2, 62, 138, 0.2),
        0 6px 18px rgba(2, 62, 138, 0.15),
        0 0 0 3px rgba(2, 62, 138, 0.1);
    border-color: var(--primary-color);
    border-width: 2px;
}

.category-image {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 2;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 62, 138, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card:hover .category-image::after {
    opacity: 1;
}


.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.1) saturate(1.2);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.2) 0%, rgba(1, 46, 105, 0.4) 100%);
    opacity: 0.4;
    transition: all 0.4s ease;
    z-index: 1;
    mix-blend-mode: overlay;
}

.category-card:hover .category-overlay {
    opacity: 0.6;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.3) 0%, rgba(1, 46, 105, 0.5) 100%);
}

.category-content {
    padding: 1rem 0.75rem;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.98) 100%);
    min-height: 60px;
    position: relative;
    z-index: 2;
}

.category-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: 0 0 8px rgba(2, 62, 138, 0.4);
}

.category-card:hover .category-content::before {
    opacity: 1;
}

.category-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    letter-spacing: 0.3px;
}

.category-content h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.4s ease;
}

.category-card:hover .category-content h3 {
    color: var(--primary-color);
    transform: scale(1.05);
}

.category-card:hover .category-content h3::after {
    transform: translateX(-50%) scaleX(1);
}

.products-section {
    background: var(--bg-primary);
    padding: 4rem 1rem;
}

.products-section h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Product Controls */
.product-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    z-index: 1;
}

.search-container input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: var(--bg-primary);
    transition: all 0.3s var(--transition-ease);
}

/* Professional Focus State (Accessibility) */
.search-container input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 62, 138, 0.15);
}

.filter-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-container select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--bg-primary);
    font-size: 1rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s var(--transition-ease);
}

/* Professional Focus State (Accessibility) */
.filter-container select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 62, 138, 0.15);
}

/* No Products State */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-products i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-products h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.no-products p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 15px;
    border: 2px solid rgba(2, 62, 138, 0.1);
    box-shadow: 0 4px 20px rgba(2, 62, 138, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .35s var(--transition-ease),
                box-shadow .35s var(--transition-ease);
    position: relative;
}

/* Glow top bar */
.product-card::before {
    content: "";
    height: 4px;
    background: linear-gradient(135deg, #023e8a, #0096c7);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: scaleX(0);
    transition: 0.25s ease;
    z-index: 1;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(2, 62, 138, 0.15);
}

.product-image-container {
    width: 100%;
    max-width: 100%;
    height: 250px;
    overflow: hidden;
    box-sizing: border-box;
    background: #f6f7f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Skeleton loading shimmer */
.product-image:not([src]),
.product-image[src=""] {
    background: linear-gradient(120deg, #ececec 0%, #fafafa 40%, #ececec 80%);
    background-size: 200% 100%;
    animation: skeleton 1.2s infinite linear;
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hover parallax */
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #f8f9fa;
    display: block;
    transition: transform .6s ease;
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.product-name {
    font-size: 1.3rem;
    margin-bottom: .4rem;
    color: var(--text-primary);
    font-weight: 600;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.75rem;
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.product-sku {
    font-family: Consolas, "Courier New", monospace;
    letter-spacing: 0.02em;
}

.product-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
    flex: 0 0 16px;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: .92rem;
    line-height: 1.65;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 1.45rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.stock-status {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-top: auto;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.stock-count {
    font-size: 0.75em;
    font-weight: 500;
}

.stock-status.in-stock {
    background-color: #d4edda;
    color: #155724;
}

.stock-status.low-stock {
    background-color: #fff3cd;
    color: #856404;
}

.stock-status.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
}

/* Color Stock Badges */
.color-stock-badge {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.color-stock-badge.in-stock {
    background-color: #d4edda;
    color: #155724;
}

.color-stock-badge.low-stock {
    background-color: #fff3cd;
    color: #856404;
}

.color-stock-badge.out-of-stock {
    background-color: #f8d7da;
    color: #721c24;
}

/* --- Admin Styles --- */
.admin-main {
    padding: 2rem 0 2rem 0;
    min-height: calc(100vh - 60px);
    margin-top: 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 0 1rem 0;
    border-bottom: 2px solid var(--border-color);
}

.admin-header h2 {
    color: var(--text-primary);
    font-size: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    /* Use refined shadows and remove solid border */
    box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: var(--shadow-sm);
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, var(--warning-color), #ff6b35);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Inventory Table */
.inventory-table-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.inventory-table-container h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.admin-news-card {
    background: white;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(2, 62, 138, 0.08);
    position: relative;
    overflow: hidden;
}

.admin-news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.admin-news-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-news-card__header h3 {
    margin: 0;
    color: var(--text-primary);
}

.admin-news-card__header p {
    margin: 0.35rem 0 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.admin-news-card__body label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.admin-news-card textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 120px;
    resize: vertical;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.admin-news-card textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(2, 62, 138, 0.18);
    outline: none;
}

.admin-news-card__actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.toggle-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 56px;
    height: 30px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch__slider {
    position: absolute;
    inset: 0;
    background: rgba(148, 163, 184, 0.55);
    border-radius: 999px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.toggle-switch__slider::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
    transition: transform 0.3s ease;
}

.toggle-switch input:checked + .toggle-switch__slider {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.toggle-switch input:checked + .toggle-switch__slider::after {
    transform: translateX(26px);
}

.toggle-switch input:focus-visible + .toggle-switch__slider {
    box-shadow: 0 0 0 4px rgba(2, 62, 138, 0.25);
}

.news-banner-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-height: 1.2em;
}

.news-banner-status--success {
    color: #10b981;
}

.news-banner-status--error {
    color: #ef4444;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.inventory-table th,
.inventory-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle; /* Professional alignment */
}

.inventory-table th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.inventory-table tr:hover {
    background-color: #f8f9fa;
}

.product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.product-details h4 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.product-details p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Enhanced Stock Cell for Admin Table */
.stock-cell {
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-left: 15px; /* Space for the dot */
}

.stock-cell::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stock-cell.in-stock::before { background-color: var(--success-color); }
.stock-cell.low-stock::before { background-color: var(--warning-color); }
.stock-cell.out-of-stock::before { background-color: var(--danger-color); }

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-ease);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 62, 138, 0.4);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

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

.btn-danger:hover {
    background-color: #c82333;
}

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

.btn-success:hover {
    background-color: #218838;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.3s var(--transition-ease);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.close {
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    transition: color 0.3s var(--transition-ease);
}

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

/* Form Styles */
form {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s var(--transition-ease);
}

/* Professional Focus State (Accessibility) */
.form-group input:focus,
.form-group textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 62, 138, 0.15);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination button {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s var(--transition-ease);
    font-weight: 500;
}

.pagination button:hover:not(:disabled) {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.pagination button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: center;
}

.footer-content .footer-section {
    text-align: center;
    width: 100%;
    max-width: 250px;
}

.footer-content .footer-section:first-child {
    text-align: left;
}

.footer-content .footer-section:last-child {
    text-align: right;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        justify-items: start;
    }
    
    .footer-content .footer-section {
        text-align: left !important;
        max-width: 100%;
    }
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s var(--transition-ease);
}

.footer-section ul li a:hover {
    color: var(--warning-color);
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 1rem;
    text-align: center;
    color: #94a3b8;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8rem 0 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/get in t..png') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.contact-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    max-width: 100%;
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Contact Options Section */
.contact-options-section {
    padding: 80px 0;
    background: #f8fafc;
}

.contact-options-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(2, 62, 138, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    justify-content: space-between;
}

.contact-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #023E8A, #0077B6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-option-card:hover::before {
    transform: scaleX(1);
}

.contact-option-card:hover {
    transform: translateY(-8px);
    border-color: #023E8A;
    box-shadow: 0 8px 30px rgba(2, 62, 138, 0.15);
}

.contact-option-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.1), rgba(0, 119, 182, 0.1)); /* Light blue gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all 0.3s ease;
}

.contact-option-icon i {
    font-size: 3rem; /* Larger font size */
    color: #023E8A; /* Blue icon color */
    transition: all 0.3s ease;
}

.contact-option-card:hover .contact-option-icon {
    background: linear-gradient(135deg, #023E8A, #0077B6); /* Solid blue gradient on hover */
    transform: scale(1.1);
}

.contact-option-card:hover .contact-option-icon i {
    color: white; /* White icon color on hover */
    transform: scale(1.1);
}

.contact-option-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-option-card p {
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.contact-option-details {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.contact-option-details p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    padding: 14px 28px;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: var(--warning-color);
    color: white;
    border-color: var(--warning-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.3);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.faq-item p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Contact Type Section */
.contact-type-section {
    padding: 80px 0;
    background: #f8fafc;
    display: none; /* Hidden by default */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.contact-type-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.contact-type-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}


.close-section-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ef4444;
    font-size: 1.2rem;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 10;
}

.close-section-btn:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: scale(1.1);
}

.close-section-btn:active {
    transform: scale(0.95);
}

.contact-type-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-type-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-form-full {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.contact-form-container:hover {
    border-color: var(--primary-color);
    box-shadow: 0 15px 50px rgba(2, 62, 138, 0.15);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(2, 62, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 62, 138, 0.3);
}

/* Contact Information Section */
.contact-info-section {
    padding: 80px 0;
    background: white;
}

.contact-info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.05) 0%, rgba(0, 119, 182, 0.08) 100%);
    border-radius: 15px;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(2, 62, 138, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #023E8A, #0077B6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-8px);
    border-color: #023E8A;
    box-shadow: 0 8px 30px rgba(2, 62, 138, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.1), rgba(0, 119, 182, 0.1)); /* Light blue gradient */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all 0.3s ease;
}

.contact-icon i {
    font-size: 3rem; /* Larger font size */
    color: #023E8A; /* Blue icon color */
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #023E8A, #0077B6); /* Solid blue gradient on hover */
    transform: scale(1.1);
}

.contact-item:hover .contact-icon i {
    color: white; /* White icon color on hover */
    transform: scale(1.1);
}

.contact-content h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-content p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.contact-hours {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Social Media Section */
.social-media-section {
    text-align: center;
    padding: 3rem 0;
    background: #f8fafc;
    border-radius: 20px;
}

.social-media-section h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(2, 62, 138, 0.3);
    color: white;
}

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

.contact-info-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.contact-info-text p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: grid;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-detail:hover {
    background: #e6f3ff;
    transform: translateX(5px);
}

.contact-detail i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-detail-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-detail-content p {
    color: #64748b;
    margin: 0;
}

/* Social Media Section */
.social-media-section {
    padding: 60px 0;
    background: #f8fafc;
    text-align: center;
}

.social-media-section h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(2, 62, 138, 0.3);
}

/* Responsive Design for Contact Page */
@media (max-width: 768px) {
    .contact-hero-content {
        min-height: 250px;
        padding-top: 100px;
        background-size: 80%;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-info-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-options-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        gap: 1rem;
    }
}

/* Image Upload Styles */
.image-upload-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-upload-container input[type="file"] {
    padding: 0.75rem;
    border: 2px dashed #023E8A;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.image-upload-container input[type="file"]:hover {
    border-color: #0077B6;
    background: #e6f3ff;
}

.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.image-preview.has-image {
    border: 2px solid #023E8A;
    background: white;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.image-preview i {
    font-size: 3rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.image-preview p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.image-url-fallback {
    margin-top: 0.5rem;
}

.image-url-fallback label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    display: block;
}

.image-url-fallback input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
}

.image-url-fallback input:focus {
    outline: none;
    border-color: #023E8A;
    box-shadow: 0 0 0 3px rgba(2, 62, 138, 0.1);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar.sticky .container {
        flex-direction: row;
        justify-content: center;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .navbar.sticky .nav-links {
        gap: 1rem;
    }
    
    /* Slideshow responsive */
    .hero {
        height: 60vh;
        min-height: 400px;
        max-height: 100vh;
    }
    
    .slide-image {
        width: 100%;
        max-width: 100%;
    }

    .slide-content h2 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .slide-features {
        gap: 1rem;
    }

    .slide-features span {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .prev, .next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev {
        left: 1rem;
    }

    .next {
        right: 1rem;
    }

    /* Company Overview responsive */
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .overview-image img {
        height: 300px;
    }

    /* Services responsive */
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Features responsive */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-item {
        padding: 1.5rem 1rem;
    }
    
    .feature-item i {
        font-size: 2.5rem;
        width: 70px;
        height: 70px;
    }
    
    .feature-item h3 {
        font-size: 1.2rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    
    .floating-cards-grid {
        width: 100%;
        max-width: 100%;
    }

    .product-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .search-container {
        max-width: none;
    }

    .filter-container {
        justify-content: space-between;
    }

    .cart-sidebar,
    .cart-sidebar.open {
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .inventory-table {
        font-size: 0.9rem;
    }
    
    .inventory-table th,
    .inventory-table td {
        padding: 0.5rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .categories-section {
        padding: 2rem 1rem;
    }
    
    .categories-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }
    
    .category-image {
        height: 110px;
    }
    
    .category-content {
        padding: 0.9rem 0.75rem;
        min-height: 55px;
    }
    
    .category-content h3 {
        font-size: 1rem;
    }
    
    @media (max-width: 480px) {
        .categories-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 0.75rem;
        }
        
        .category-image {
            height: 100px;
        }
        
        .category-content {
            padding: 0.75rem 0.5rem;
        }
        
        .category-content h3 {
            font-size: 0.95rem;
        }
    }
    
    .products-section h2 {
        font-size: 2rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .inventory-table-container {
        padding: 1rem;
    }
    
    .navbar {
        padding: 0.75rem 1rem;
    }
    
    .nav-links {
        gap: 0.5rem;
        font-size: 0.9rem;
    }
    
    .login-card {
        margin: 1rem;
    }
    
    .products-hero h1 {
        font-size: 2rem;
    }
    
    .products-hero p {
        font-size: 1rem;
    }

    .cart-button {
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        min-width: 18px;
        min-height: 18px;
    }
    
    .contact-hero h1 {
        font-size: 1.75rem;
    }
}

/* --- Admin Login Styles --- */
.login-body {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(0,0,0,0.05); /* Refined shadow */
    overflow: hidden;
    animation: loginSlideUp 0.6s var(--transition-ease);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

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

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    text-align: center;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.login-logo i {
    font-size: 2.5rem;
    color: #fff;
}

.login-logo h1 {
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

.login-header h2 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    font-weight: 600;
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.login-form {
    padding: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.login-form label i {
    color: var(--primary-color);
    width: 16px;
}

.login-form input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s var(--transition-ease);
    box-sizing: border-box;
}

/* Professional Focus State (Accessibility) */
.login-form input:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 62, 138, 0.15);
}

.login-form input[type="checkbox"] {
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    outline: none;
    flex: 0 0 auto;
    accent-color: var(--primary-color);
}

.login-form input[type="checkbox"]:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: none;
}

.login-form .remember-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: nowrap;
    width: 100%;
    text-align: left;
}

.login-form .remember-row label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    white-space: nowrap;
    font-weight: 500;
    width: auto;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(2, 62, 138, 0.3);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.login-alert {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.login-alert[hidden] {
    display: none !important;
}

.login-alert--ok {
    background: #ecfdf3;
    color: #166534;
}

.forgot-link {
    background: none;
    border: 0;
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.forgot-password-btn {
    display: flex;
    width: 100%;
    margin-top: 0.85rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: #c2410c;
    color: #fff;
    border: 0;
    padding: 0.75rem 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.forgot-password-btn[hidden] {
    display: none !important;
}

.login-btn[hidden] {
    display: none !important;
}

.login-steps {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 1rem 1.4rem 0;
    gap: 0.4rem;
}

.login-steps li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.02em;
}

.login-steps li span {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    font-size: 0.72rem;
}

.login-steps li.is-active,
.login-steps li.is-done {
    color: #c2410c;
}

.login-steps li.is-done span {
    background: #c2410c;
    color: #fff;
    border-color: #c2410c;
}

.login-email-chip {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.1rem;
    padding: 0.7rem 0.85rem;
    background: #f8fafc;
    border: 1px solid rgba(22, 53, 68, 0.16);
    color: #163544;
    font-weight: 600;
    font-size: 0.92rem;
}

.login-email-chip i {
    color: #c2410c;
}

.login-email-chip span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#loginStepEmail[hidden],
#loginStepPassword[hidden],
#resetNowFields[hidden] {
    display: none !important;
}

.forgot-copy {
    margin: 0 0 1.1rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.45;
}

.forgot-secondary-btn {
    width: 100%;
    margin-top: 0.75rem;
    background: transparent;
    border: 1px solid rgba(22, 53, 68, 0.22);
    color: #163544;
    padding: 0.85rem 1rem;
    font-weight: 600;
    cursor: pointer;
}

.forgot-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    color: #128c7e;
    font-weight: 600;
    text-decoration: none;
}

.forgot-whatsapp:hover {
    text-decoration: underline;
}

.error-message {
    background: linear-gradient(135deg, var(--danger-color), #e74c3c);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: errorShake 0.5s var(--transition-ease);
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.login-footer {
    background: var(--bg-secondary);
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.back-to-store {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s var(--transition-ease);
}

.back-to-store:hover {
    color: var(--primary-dark);
}

/* Enhanced Admin Styles */
.logout-btn {
    background: linear-gradient(135deg, var(--danger-color), #e74c3c);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s var(--transition-ease);
    font-weight: 600;
}

.logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.admin-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.5rem;
}

/* Shopping Cart Styles */
.cart-button {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #023e8a, #0077b6);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1100;
    transition: .35s ease;
    border: none;
    outline: none;
}

.cart-button:hover {
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cart-button:active {
    transform: translateY(-50%) scale(0.95);
}

.cart-button i {
    font-size: 1.2rem;
}

/* Badge */
.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--accent-color);
    color: #fff;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    font-size: .75rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 21px;
    min-height: 21px;
}

.cart-sidebar {
    position: fixed;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    width: auto;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    height: auto;
    max-height: calc(100dvh - 40px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    z-index: 13001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(24px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s ease;
}

.cart-sidebar.open {
    right: 20px;
    left: 20px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.cart-header {
    background: linear-gradient(135deg, #023E8A, #0077B6);
    color: white;
    padding: 1.5rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 15px 15px 0 0;
    position: relative;
    z-index: 1;
}

.cart-header h2,
.cart-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
}

.cart-header-count {
    margin: 0.2rem 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: auto;
    height: auto;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-cart:hover {
    background: rgba(255,255,255,0.2);
}

/* Cart Items */
.cart-items {
    flex: 1;
    overflow-y: auto;
    margin: 1rem 1.25rem;
    padding: 0.35rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-cart i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    margin-bottom: 0;
    border: 0;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 0;
    background: transparent;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-top,
.cart-item-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
}

.cart-item-meta {
    align-items: center;
    margin-top: 0.65rem;
}

.cart-item-image {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    background: #f8fafc;
    flex: 0 0 72px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
}

.cart-item-price {
    color: #023E8A;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f8fafc;
    border-color: #023E8A;
}

/* Hide spin buttons on number inputs */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.25rem;
}

.remove-item {
    background: transparent;
    color: #64748b;
    border: none;
    border-radius: 999px;
    padding: 0;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
}

.remove-item:hover {
    color: #991b1b;
}

.cart-summary {
    padding: 0.25rem 1.5rem 0.5rem;
    background: #fff;
}

.cart-total-figures {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 15px 15px;
    box-shadow: none;
}

.cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    text-align: left;
    color: #64748b;
}

.cart-total strong {
    color: #0f172a;
    font-size: 1.35rem;
    letter-spacing: -0.03em;
}

.cart-total .lbp-price,
#cartTotalLbp {
    display: block;
    margin-top: 0.15rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: right;
}

.checkout-btn {
    width: 100%;
    padding: 0.95rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
}

.cart-footer .checkout-btn,
.cart-footer .btn {
    width: auto;
}

.cart-back-btn {
    width: 100%;
    margin-top: 0.55rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid #dbe3ec;
    background: #fff;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.cart-back-btn:hover {
    background: #f8fafc;
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Product Card Add to Cart Button */
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .btn {
    margin-top: auto;
    width: 100%;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #023E8A, #0077B6);
    color: white;
    border: none;
    padding: .75rem 1rem;
    border-radius: 10px;
    font-weight: 700;
    margin-top: auto;
    transition: .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;
    width: 100%;
    cursor: pointer;
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(2,62,138,.3);
}

.add-to-cart-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Cart */
@media (max-width: 768px) {
    .cart-sidebar,
    .cart-sidebar.open {
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }
    
    .cart-button {
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 11px;
        min-width: 18px;
        min-height: 18px;
    }
}

/* Checkout Modal Styles */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 14000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-modal.active {
    display: flex;
}

.checkout-modal-content {
    background: white;
    border-radius: 15px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
}

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

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #023E8A, #0077B6);
    color: white;
    border-radius: 15px 15px 0 0;
}

.checkout-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-checkout {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-checkout:hover {
    background: rgba(255, 255, 255, 0.2);
}

.checkout-steps {
    display: flex;
    justify-content: center;
    padding: 2rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    background: white;
    margin: 0 0.5rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.step.active {
    background: linear-gradient(135deg, #023E8A, #0077B6);
    color: white;
    border-color: #023E8A;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.step.active .step-number {
    background: white;
    color: #023E8A;
}

.step-title {
    font-weight: 600;
    font-size: 0.9rem;
}

.checkout-step {
    padding: 2rem;
}

.checkout-step h3 {
    margin-bottom: 1.5rem;
    color: #1e293b;
    font-size: 1.3rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #023E8A;
    box-shadow: 0 0 0 3px rgba(2, 62, 138, 0.1);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    position: relative;
}

.payment-method input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-method input[type="radio"]:checked + label {
    border-color: #023E8A;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.1), rgba(0, 119, 182, 0.1));
}

.payment-method label i {
    font-size: 1.2rem;
    color: #023E8A;
}

.payment-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.wish-logo {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Arial', sans-serif;
}

.payment-form {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.wish-money-info {
    text-align: center;
}

.wish-money-info p {
    margin-bottom: 1rem;
    color: #64748b;
}

.wish-money-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.wish-money-button:hover {
    transform: translateY(-2px);
}

.wish-money-button .wish-logo {
    width: 20px;
    height: 20px;
    font-size: 12px;
}

.bank-info h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.bank-details {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.bank-details p {
    margin: 0.5rem 0;
    color: #374151;
}

.bank-note {
    font-style: italic;
    color: #64748b;
    font-size: 0.9rem;
}

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

.cod-info p {
    margin: 0.5rem 0;
    color: #374151;
}

.order-summary,
.customer-summary,
.payment-summary {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.order-summary h4,
.customer-summary h4,
.payment-summary h4 {
    margin-bottom: 1rem;
    color: #1e293b;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-name {
    font-weight: 600;
    color: #374151;
}

.order-item-price {
    color: #023E8A;
    font-weight: 600;
}

.order-totals {
    margin-top: 1rem;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #64748b;
}

.total-final {
    border-top: 2px solid #e2e8f0;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    color: #1e293b;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
}

.terms-checkbox label {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.terms-checkbox a {
    color: #023E8A;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.checkout-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 15px 15px;
}

.checkout-footer .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Responsive Checkout */
@media (max-width: 768px) {
    .checkout-modal {
        padding: 10px;
    }
    
    .checkout-modal-content {
        max-height: 95vh;
    }
    
    .checkout-header {
        padding: 1.5rem;
    }
    
    .checkout-steps {
        padding: 1rem;
    }
    
    .step {
        padding: 0.75rem 1rem;
        margin: 0 0.25rem;
    }
    
    .step-title {
        display: none;
    }
    
    .checkout-step {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .checkout-footer {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .checkout-footer .btn,
    .cart-footer .checkout-btn,
    .cart-footer .btn {
        width: 100%;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.nav-search-open {
    overflow: hidden;
}

.nav-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1300;
    backdrop-filter: blur(4px);
}

.nav-search-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.nav-search-dialog {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10%);
    transition: opacity 0.35s var(--transition-ease), transform 0.35s var(--transition-ease);
    z-index: 1301;
}

.nav-search-dialog.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-search-dialog__content {
    background: var(--bg-primary);
    width: min(100%, 480px);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.nav-search-dialog__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1.15rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-search-dialog__close:hover,
.nav-search-dialog__close:focus-visible {
    color: var(--primary-color);
    transform: scale(1.05);
}

.nav-search-dialog__subtitle {
    color: var(--text-secondary);
    margin-top: 0.4rem;
    margin-bottom: 1.6rem;
}

.nav-search-dialog__form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

#navSearchField {
    padding: 0.95rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s var(--transition-ease), box-shadow 0.3s var(--transition-ease);
}

#navSearchField:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 62, 138, 0.15);
    outline: none;
}

.nav-search-dialog__actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.nav-search-dialog__actions .btn {
    min-width: 120px;
}

@media (max-width: 600px) {
    .nav-search-dialog {
        padding: 1.5rem;
    }

    .nav-search-dialog__content {
        padding: 2rem 1.5rem;
    }

    .nav-search-dialog__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-search-dialog__actions .btn {
        width: 100%;
    }

    .nav-search-btn {
        width: 40px;
        height: 40px;
    }
}

/* Maker Pulse Section */
.maker-pulse {
    padding: 4rem 0;
    background-color: var(--bg-secondary);
    color: #1e293b;
}

.maker-pulse .maker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    align-items: stretch;
}

.maker-copy {
    text-align: center;
    margin-right: 0;
    padding-right: 0;
}

.maker-copy .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(37, 99, 235, 0.12));
    background-clip: padding-box;
    border: 2px solid rgba(59, 130, 246, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15),
                0 0 0 0 rgba(59, 130, 246, 0.2);
    animation: pulse-glow 3s ease-in-out infinite;
    overflow: visible;
}

.maker-copy .eyebrow span {
    display: inline-flex;
    align-items: center;
    gap: 0.2em;
    color: #3b82f6;
    position: relative;
    z-index: 1;
    letter-spacing: 0.05em;
}

.maker-copy .eyebrow::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    background: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8);
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.4s ease;
    filter: blur(8px);
}

.maker-copy .eyebrow::after {
    content: '';
    display: none;
}

.eyebrow-logo {
    height: 4em;
    width: auto;
    vertical-align: baseline;
    display: inline-block;
    object-fit: contain;
    line-height: 1;
    margin: 0;
    position: relative;
    top: 0.1em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.2));
}

.maker-copy .eyebrow:hover .eyebrow-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(234, 88, 12, 0.3)) brightness(1.1);
}

.eyebrow-printer-gif {
    display: inline-block !important;
    width: 5em !important;
    height: 2.5em !important;
    margin-left: -1.5rem;
    vertical-align: middle;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.2)) brightness(1.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    top: 0;
    flex-shrink: 0;
}

.maker-copy .eyebrow:hover .eyebrow-printer-gif {
    transform: scale(1.08);
    filter: drop-shadow(0 2px 4px rgba(249, 115, 22, 0.3)) brightness(1.1);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15),
                    0 0 0 0 rgba(59, 130, 246, 0.2);
    }
    50% {
        box-shadow: 0 6px 24px rgba(59, 130, 246, 0.25),
                    0 0 0 4px rgba(59, 130, 246, 0.1);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

.maker-copy .eyebrow:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, #3b82f6, #2563eb, #1d4ed8, #1e40af);
}

.maker-copy .eyebrow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.4),
                0 0 0 6px rgba(59, 130, 246, 0.2);
    border-color: rgba(37, 99, 235, 0.7);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(37, 99, 235, 0.18));
    background-clip: padding-box;
}

.maker-copy .eyebrow:hover span {
    color: #ea580c;
    display: inline-flex;
    align-items: center;
    gap: 0.2em;
}

.maker-copy .eyebrow:hover::after {
    background: linear-gradient(135deg, #ea580c, #f97316, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.maker-copy h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1rem;
}

.maker-copy h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #2563eb, #f97316);
    border-radius: 2px;
}

.maker-copy > p:not(.eyebrow) {
    font-size: 1.25rem;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 90%;
    position: relative;
    padding-left: 1.5rem;
}

.maker-copy > p:not(.eyebrow)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 3px;
    height: calc(100% - 1rem);
    background: linear-gradient(180deg, #3b82f6, #f97316);
    border-radius: 2px;
}

.maker-copy > p:not(.eyebrow) strong,
.maker-copy > p:not(.eyebrow) em {
    color: #3b82f6;
    font-weight: 600;
    font-style: normal;
}

.maker-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.maker-actions .btn-primary,
.maker-actions .btn-ghost {
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.maker-actions .btn-primary {
    background: linear-gradient(120deg, #3b82f6, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.35);
}

.maker-actions .btn-ghost {
    border: 2px solid rgba(59, 130, 246, 0.4);
    color: #3b82f6;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.maker-actions .btn-ghost::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.maker-actions .btn-ghost:hover::before {
    left: 100%;
}

.maker-actions .btn-ghost:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.1));
    border-color: rgba(59, 130, 246, 0.8);
    color: #1d4ed8;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3), 
                0 0 0 4px rgba(59, 130, 246, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.02);
}

.maker-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.maker-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.highlight-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(2, 6, 23, 0.55);
    position: relative;
    overflow: hidden;
}

.highlight-card::after {
    content: '';
    position: absolute;
    inset: 15% 15% auto auto;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.25);
    filter: blur(10px);
    pointer-events: none;
}

.highlight-card .label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.7);
}

.highlight-card .metric {
    font-size: 2rem;
    font-weight: 700;
    color: #a5b4fc;
}

.highlight-card p {
    margin-top: 0.75rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.9);
}

/* Floating WhatsApp — Contact Us pill + chat circle */
.whatsapp-float {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 10050;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: auto;
    height: auto;
    background: transparent !important;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none !important;
    color: #fff;
    direction: ltr;
    transform: none;
}

.whatsapp-float::before,
.whatsapp-float::after {
    content: none !important;
    display: none !important;
}

.whatsapp-float-label {
    position: relative;
    background: #25d366;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    white-space: nowrap;
    padding: 0.72rem 1.1rem;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(18, 140, 70, 0.28);
}

.whatsapp-float-label::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -7px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-color: #25d366;
    border-right-width: 0;
    transform: translateY(-50%);
}

.whatsapp-float-icon {
    width: 3.55rem;
    height: 3.55rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(18, 140, 70, 0.32);
    flex: 0 0 auto;
}

.whatsapp-float-icon i {
    font-size: 1.45rem;
    line-height: 1;
}

.whatsapp-float:hover {
    background: transparent !important;
    transform: none;
    box-shadow: none;
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:hover .whatsapp-float-icon {
    background: #1ebe5d;
}

.whatsapp-float:hover .whatsapp-float-label::after {
    border-left-color: #1ebe5d;
}

.whatsapp-float:active {
    transform: none;
}

.whatsapp-float:active .whatsapp-float-icon {
    transform: scale(0.96);
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 0.9rem;
        bottom: 0.9rem;
        gap: 0.4rem;
    }

    .whatsapp-float-label {
        font-size: 0.82rem;
        padding: 0.58rem 0.85rem;
    }

    .whatsapp-float-icon {
        width: 3.15rem;
        height: 3.15rem;
    }

    .whatsapp-float-icon i {
        font-size: 1.25rem;
    }
}

.nav-toggle {
    display: none;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #023E8A;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    cursor: pointer;
}

.featured-section,
.product-detail-page {
    padding: 4rem 0 3rem;
}

.featured-intro,
.empty-featured {
    color: #475569;
    margin-bottom: 1.5rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.featured-card,
.product-detail-media img {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.featured-card a,
.product-name a,
.view-details-link {
    color: inherit;
    text-decoration: none;
}

.featured-card img,
.product-detail-media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.featured-card h3,
.featured-card .featured-price,
.featured-cta {
    padding: 0 1rem;
}

.featured-card h3 {
    margin: 0.85rem 0 0.35rem;
    font-size: 1rem;
}

.featured-price,
.lbp-price {
    color: #334155;
}

.lbp-price {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-cta,
.view-details-link {
    display: inline-block;
    padding: 0 1rem 1rem;
    color: #023E8A;
    font-weight: 600;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.product-detail-media img {
    height: 420px;
}

.pdp-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.pdp-swatch {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #cbd5e1;
    margin-right: 0.35rem;
    vertical-align: middle;
}

.back-to-products {
    display: inline-block;
    margin-bottom: 1rem;
    color: #023E8A;
}

.whatsapp-order-link {
    display: none !important;
}

body.store-world .whatsapp-float,
body.store-world .whatsapp-order-link,
body.cart-open .whatsapp-float,
body:has(.checkout-modal.active) .whatsapp-float {
    display: none !important;
}

.cart-overlay {
    z-index: 13000;
}

.cart-sidebar {
    z-index: 13001;
}

.related-products {
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .featured-grid,
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .nav-links,
    .user-account-dropdown {
        display: none;
        width: 100%;
    }

    body.nav-open .nav-links,
    body.nav-open .user-account-dropdown {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.75rem 0 0;
    }

    .featured-grid,
    .product-detail-grid {
        grid-template-columns: 1fr;
    }

    .product-detail-media img {
        height: 240px;
    }
}

/* WhatsApp is not a checkout payment method */
#whatsapp,
label[for="whatsapp"],
#whatsappForm,
.payment-method:has(#whatsapp) {
    display: none !important;
}

