/* Modern Homepage Styles - Matching Login Design */

/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #e74c3c 100%);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

/* CSS Variables matching login page */
:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --primary-light: #f8d7da;
    --accent: #eab308;
    --accent-light: #fffbe6;
    --success: #27ae60;
    --warning: #f39c12;
    --neutral-100: #f8f9fa;
    --neutral-200: #e9ecef;
    --neutral-300: #ced4da;
    --neutral-400: #adb5bd;
    --neutral-500: #6c757d;
    --neutral-600: #495057;
    --neutral-700: #343a40;
    --neutral-800: #212529;
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
}

/* Animated background matching login */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(231, 76, 60, 0.2) 0%, transparent 50%);
    animation: backgroundShift 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes backgroundShift {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Enhanced Header with modern design */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
}

.header-logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.brand {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand:hover {
    transform: scale(1.05);
}

/* Desktop Navigation */
.nav-links {
    display: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-link {
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    background: rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
    outline: none;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    white-space: nowrap;
}

.dropdown-menu {
    position: absolute;
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: var(--space-md) 0;
    border-radius: var(--radius-lg);
    min-width: 200px;
    z-index: 1000;
    top: 100%;
    left: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: dropdownFadeIn 0.3s ease-out;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-item {
    display: block;
    padding: var(--space-md) var(--space-lg);
    color: var(--neutral-700);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: var(--text-sm);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary);
    transform: translateX(4px);
    outline: none;
}

.dropdown-divider {
    height: 1px;
    background: var(--neutral-200);
    margin: var(--space-sm) var(--space-lg);
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-dropdown .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    z-index: 10000 !important;
    display: none !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    padding: var(--space-md) 0 !important;
    border-radius: var(--radius-lg) !important;
    min-width: 200px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    animation: dropdownFadeIn 0.3s ease-out;
}

/* Force display when JavaScript sets it */
.account-dropdown .dropdown-menu[style*="display: block"],
.account-dropdown .dropdown-menu[style*="display:block"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.account-toggle {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(231, 76, 60, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(231, 76, 60, 0.2);
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
    font-family: inherit;
    font-size: var(--text-sm);
}

.account-toggle:hover,
.account-toggle:focus {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    outline: none;
}

/* Navigation icon styling */
.nav-icon {
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}

.nav-link:hover .nav-icon,
.nav-link:focus .nav-icon {
    filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(4967%) hue-rotate(346deg) brightness(84%) contrast(114%);
    transform: scale(1.1);
}

/* Cart icon with badge - simplified without circle */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    min-height: 44px;
}

.cart-icon .nav-icon {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
    transition: all 0.3s ease;
}

.cart-icon:hover,
.cart-icon:focus {
    color: var(--primary);
    background: rgba(231, 76, 60, 0.1);
    transform: translateY(-1px);
    outline: none;
}

.cart-icon:hover .nav-icon,
.cart-icon:focus .nav-icon {
    filter: brightness(0) saturate(100%) invert(15%) sepia(94%) saturate(4967%) hue-rotate(346deg) brightness(84%) contrast(114%);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    background: transparent;
    border: none;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
    background: rgba(231, 76, 60, 0.1);
    outline: none;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--neutral-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--neutral-200);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: var(--text-2xl);
    cursor: pointer;
    padding: var(--space-sm);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--neutral-700);
}

.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: rgba(231, 76, 60, 0.1);
    color: var(--primary);
    outline: none;
}

.mobile-menu-content {
    padding: var(--space-lg);
}

.mobile-menu-section {
    margin-bottom: var(--space-2xl);
}

.mobile-menu-section h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--neutral-800);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
}

.mobile-menu-item {
    display: block;
    padding: var(--space-md) 0;
    color: var(--neutral-700);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--text-base);
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xs);
}

.mobile-menu-item:hover,
.mobile-menu-item:focus {
    color: var(--primary);
    background: rgba(231, 76, 60, 0.1);
    padding-left: var(--space-md);
    outline: none;
}

/* Hero Section with Background Image */
.hero-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1513475382585-d06e58bcb0e0?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    animation: heroFadeIn 1s ease-out;
    position: relative;
    z-index: 2;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 2px 10px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.hero-content p {
    font-size: var(--text-lg);
    color: #ffffff;
    margin-bottom: var(--space-2xl);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7), 0 1px 8px rgba(0, 0, 0, 0.9);
    opacity: 0.95;
}

.hero-btns {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced Buttons matching login */
.btn {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 48px;
    position: relative;
    overflow: hidden;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before,
.btn:focus::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    outline: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--neutral-700);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    outline: none;
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #229954 100%);
    color: white;
}

.btn-success:hover,
.btn-success:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    outline: none;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    outline: none;
}

/* Main Content */
main {
    background: white;
    position: relative;
    z-index: 1;
}

.section {
    padding: var(--space-3xl) var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.section-sub {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--neutral-600);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--neutral-200);
    position: relative;
    animation: cardFadeIn 0.6s ease-out backwards;
    cursor: pointer;
}

.product-card:nth-child(odd) { animation-delay: 0.1s; }
.product-card:nth-child(even) { animation-delay: 0.2s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover,
.product-card:focus {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    outline: none;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card-body {
    padding: var(--space-xl);
}

.product-card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--neutral-800);
}

.product-card-desc {
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.product-card-price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.product-card-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.product-card-actions .btn {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    min-height: 40px;
}

/* Testimonials */
.testimonial-section {
    background: linear-gradient(135deg, var(--neutral-100) 0%, var(--neutral-200) 100%);
    padding: var(--space-3xl) var(--space-lg);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-4px);
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--primary);
    font-family: serif;
}

.testimonial-quote {
    font-size: var(--text-lg);
    font-style: italic;
    margin-bottom: var(--space-lg);
    color: var(--neutral-700);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--neutral-800);
    color: white;
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
}

.footer h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: white;
}

.footer a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: var(--space-xs) 0;
}

.footer a:hover,
.footer a:focus {
    color: var(--primary);
    transform: translateX(4px);
    outline: none;
}

.footer-social-bar {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.footer-social-bar a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social-bar a:hover,
.footer-social-bar a:focus {
    background: var(--primary);
    transform: translateY(-2px);
    outline: none;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--neutral-600);
    color: var(--neutral-400);
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    color: white;
    font-weight: 500;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--success);
}

.notification.error {
    background: var(--primary);
}

/* Desktop styles */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .hero-content h1 {
        font-size: var(--text-4xl);
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Mobile responsive */
@media (max-width: 767px) {
    :root {
        --space-lg: 1rem;
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 2.5rem;
    }

    .nav {
        padding: var(--space-md) 0;
    }

    .hero-content h1 {
        font-size: var(--text-2xl);
    }

    .hero-content p {
        font-size: var(--text-base);
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--space-lg);
    }

    .testimonials {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .notification {
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }

    .notification.show {
        transform: translateY(0);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .site-header {
        background: white;
        border-bottom: 2px solid black;
    }
    
    .product-card {
        border: 2px solid black;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .btn::before {
        display: none;
    }
}

/* Focus visible for keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible,
.product-card:focus-visible,
.account-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Screen reader only */
.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;
}