.auth-section {
    display: none;
}
/* Center search bar on mobile */
@media (max-width: 600px) {
    .search-wrapper {
        justify-content: center !important;
    }
    .search-wrapper form {
        margin: 0 auto !important;
    }
}
#auth-modal[style*="display:block"] {
    display: flex !important;
}
@media (max-width: 600px) {
    .brand {
        text-align: center;
    }
    .brand > div {
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .brand-title {
        margin-bottom: 0 !important;
    }
    .brand-tagline {
        margin-top: 0 !important;
        font-size: 1rem !important;
        color: #5eb6ff !important;
        font-weight: 600 !important;
        display: block !important;
    }
}
@media (max-width: 600px) {
    .search-input {
        min-width: 180px !important;
    }
}
/* Search bar styles */
.search-bar {
    display: flex;
    justify-content: center;
    margin: 24px 0;
}
.search-input {
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 6px 0 0 6px;
         background: #232b3a;
         color: #cfe3fb;
         border: 1px solid #5eb6ff;
    min-width: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
@media (max-width: 600px) {
    .search-input {
        min-width: 180px;
    }
}
    outline: none;
    transition: border-color 0.2s;
}
.search-input:focus {
    border-color: #5eb6ff;
}
.search-btn {
    padding: 8px 20px;
    font-size: 1rem;
    border-radius: 0 6px 6px 0;
    border: 1px solid #5eb6ff;
    background: #5eb6ff;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}
.search-btn:hover {
    background: #232b3a;
    color: #5eb6ff;
}
/* Remove underline from homepage footer navigation bar tabs */
.footer-btn.no-underline {
    text-decoration: none !important;
}

/* Footer buttons (Privacy Policy, Shipping) styled like nav-link */
.footer-btn {
    display: inline-block;
    margin: 32px auto 0 auto;
    padding: 10px 20px;
    border-radius: 46px;
    background: #181f2a;
    border: 1px solid #232b3a;
    color: #cfe3fb;
    font-weight: 600;
}

/* Favorites Feature Styles */
.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(24, 31, 42, 0.9);
    border: 1px solid #232b3a;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #cfe3fb;
    z-index: 10;
}

.favorite-btn:hover {
    background: rgba(94, 182, 255, 0.1);
    border-color: #5eb6ff;
    transform: scale(1.05);
}

.favorite-btn.favorited {
    background: rgba(94, 182, 255, 0.2);
    border-color: #5eb6ff;
    color: #5eb6ff;
}

.favorite-btn.favorited .heart-icon {
    fill: #5eb6ff;
}

.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    position: relative;
}

.favorites-icon-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}

.favorites-icon-btn:hover {
    background: rgba(94, 182, 255, 0.1);
}

.favorites-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #5eb6ff;
    color: #232b3a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

.favorites-dropdown {
    position: absolute;
    top: 100%;
    right: 120px;
    background: #181f2a;
    border: 1px solid #232b3a;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    min-width: 320px;
    max-width: 400px;
    z-index: 1000;
    margin-top: 8px;
}

.favorites-details {
    padding: 18px;
}

.favorites-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #232b3a;
}

.favorites-title {
    font-weight: 700;
    color: #5eb6ff;
    font-size: 1.1rem;
}

.favorites-items-list {
    max-height: 300px;
    overflow-y: auto;
}

.favorites-empty {
    color: #8a9ba8;
    font-style: italic;
    text-align: center;
    padding: 20px 0;
    display: block;
}

.favorites-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #232b3a;
}

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

.favorites-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.favorites-item-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

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

.favorites-item-name {
    font-weight: 600;
    color: #cfe3fb;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.favorites-item-price {
    color: #5eb6ff;
    font-weight: 700;
    font-size: 0.8rem;
}

.clear-favorites-btn {
    background: none;
    border: 1px solid #cc4444;
    color: #cc4444;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.clear-favorites-btn:hover {
    background: #cc4444;
    color: #fff;
}

/* Product Filters Styles */
.filters-wrapper {
    background: rgba(24, 31, 42, 0.6);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #232b3a;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-select {
    background: #232b3a;
    color: #cfe3fb;
    border: 1px solid #5eb6ff;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.9rem;
    min-width: 120px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: #5eb6ff;
    box-shadow: 0 0 0 2px rgba(94, 182, 255, 0.2);
}

.clear-filters-btn {
    transition: all 0.2s ease;
}

.clear-filters-btn:hover {
    background: #aa3333 !important;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .filters-wrapper {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .filter-select {
        min-width: 140px;
    }
}

.shipping-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(94, 182, 255, 0.15);
}

.shipping-section:last-child {
    border-bottom: none;
}

.terms-content ul { margin: 0 0 12px 18px; padding: 0; }
.terms-content li { margin-bottom: 6px; }
/* End malformed block repairs */
.contact-method {
    text-align: center;
    flex: 0 0 auto;
    width: auto;
    max-width: 180px;
    margin: 0 8px;
}
.contact-method h3 {
    color: #5eb6ff;
    margin-bottom: 12px;
}
.contact-method a {
    color: #d9ecff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.contact-method a:hover {
    color: #5eb6ff;
    text-decoration: underline;
}
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #1a2232;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #2a3a4a;
}
.form-heading {
    text-align: center;
    color: #5eb6ff;
    margin-bottom: 24px;
    font-size: 1.3rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #cfe3fb;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #232b3a;
    border: 1px solid #2a3a4a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #5eb6ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(94, 182, 255, 0.25);
}
.submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #5eb6ff;
    color: #10151c;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #3b87df;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(94, 182, 255, 0.35);
}

.submit-btn:disabled {
    background: #6b8cb2;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-intro {
    text-align: center;
    margin: 0 auto 36px;
    max-width: 600px;
    line-height: 1.6;
    color: #c6d6e6;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: center;
    align-items: flex-start;
}
.disclaimer-section.alt-style { /* optional preserved variant from malformed block */
    margin-top: 36px;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #182536 0%, #232b3a 100%);
    border: none;
    border-radius: 18px;
    box-shadow: 0 6px 32px 0 rgba(30,40,60,0.18);
    padding: 32px 36px;
    color: #e2ecfa;
    font-size: 1.04rem;
    line-height: 1.7;
    letter-spacing: 0.1px;
}

.contact-method:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: #5eb6ff;
}

.contact-method h3 {
    color: #5eb6ff;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-method p {
    margin: 0;
}

.contact-method a {
    color: #c6d6e6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-method a:hover {
    color: #5eb6ff;
    text-decoration: underline;
}

.form-success {
    text-align: center;
    padding: 20px;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #16b872;
    border-radius: 50%;
    color: white;
    font-size: 32px;
    margin-bottom: 16px;
}

.form-success h4 {
    color: #5eb6ff;
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.form-success p {
    margin-bottom: 24px;
}

.reset-form-btn {
    background: #2a3a4a;
    color: #c6d6e6;
    border: 1px solid #3b4c5d;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.reset-form-btn:hover {
    background: #3b4c5d;
    color: #ffffff;
}

.form-error {
    background: rgba(220, 53, 69, 0.1);
    color: #ff6b6b;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    border-left: 3px solid #ff6b6b;
}
.submit-btn:hover {
    background: #3b87df;
    transform: translateY(-2px);
}
html {
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}
html::-webkit-scrollbar { display: none; } /* Chrome, Safari */
html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    background: #10151c;
    color: #f5f6fa;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    min-height: 100vh;
}
/* Top Banner */
.top-banner {
    width: 100%;
    background: linear-gradient(135deg, #0e141c 0%, #0b1118 100%);
    border-bottom: 1px solid #1d2734;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.top-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #cfe3fb;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-align: center;
}
.top-banner-text {
    color: #9fd6ff;
    text-shadow: 0 2px 8px rgba(94,182,255,0.25);
    white-space: nowrap;
}
.top-banner-sep {
    color: #5eb6ff;
    opacity: 0.7;
}

/* Australian Flag Styles */
.australian-flag {
    display: inline-block;
    width: 24px;
    height: 16px;
    margin-left: 8px;
    vertical-align: middle;
}

.australian-flag svg {
    width: 100%;
    height: 100%;
}

/* Australia Post Logo Styles */
.australia-post-logo {
    display: inline-block;
    width: 28px;
    height: 20px;
    margin-left: 6px;
    vertical-align: middle;
}

.australia-post-logo svg {
    width: 100%;
    height: 100%;
}

@media (max-width: 720px) {
    .top-banner-inner { gap: 10px; padding: 8px 16px; }
    .top-banner-text { font-size: 0.85rem; }
}
@media (max-width: 520px) {
    .top-banner-inner { flex-direction: column; gap: 4px; }
    .top-banner-sep { display: none; }
}

.bottom-banner {
        width: 100%;
            max-width: 982.39px;
        margin: 32px auto 0 auto;
    background: rgba(18, 25, 36, 0.7);
    border: 1px solid #2a3a4a;
    border-radius: 8px;
}
.bottom-banner-inner {
            max-width: 982.39px;
        margin: 0 auto;
        padding: 32px 40px;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 22px;
    align-items: start;
}
.bottom-banner-logo img {
    width: 88px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 18px rgba(94,182,255,0.25));
}
.bottom-banner-content p {
    margin: 0 0 12px;
    color: #a7c1de;
    line-height: 1.6;
}
.bottom-banner-content p strong { color: #5eb6ff; }

@media (max-width: 720px) {
    .bottom-banner-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .bottom-banner-logo { display: none; }
}
/* Visit Counter */
.visit-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 10px;
    border-radius: 36px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #d9ecff;
    background: linear-gradient(135deg, rgba(34,48,62,0.85) 0%, rgba(20,27,37,0.85) 100%);
    border: 1px solid rgba(94,182,255,0.35);
    -webkit-backdrop-filter: blur(8px) saturate(160%);
    backdrop-filter: blur(8px) saturate(160%);
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.55), 0 0 0 1px rgba(94,182,255,0.08) inset;
    cursor: default;
    -webkit-user-select: none;
    user-select: none;
    animation: visit-pop 0.5s ease;
}
.visit-counter:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(94,182,255,0.22), transparent 60%), radial-gradient(circle at 85% 75%, rgba(94,182,255,0.15), transparent 55%);
    pointer-events: none;
    border-radius: inherit;
}
.visit-counter:hover {
    border-color: #5eb6ff;
    box-shadow: 0 6px 22px -4px rgba(94,182,255,0.45), 0 0 0 1px rgba(94,182,255,0.25) inset;
    transform: translateY(-2px);
}
.visit-icon {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5eb6ff 0%, #3b87df 100%);
    color: #0f1a24;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 4px 10px -2px rgba(94,182,255,0.45);
    position: relative;
}
.visit-icon:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), transparent 70%);
    mix-blend-mode: overlay;
    opacity: 0.55;
}
.visit-number {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(94,182,255,0.55);
    animation: visit-count-fade 0.8s ease;
}
@keyframes visit-pop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.05); opacity: 1; } 100% { transform: scale(1); } }
@keyframes visit-count-fade { 0% { opacity: 0; transform: translateY(4px);} 100% { opacity:1; transform: translateY(0);} }
.container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 15px 32px 40px 32px;
    background: rgba(20, 25, 34, 0.95);
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Large screen optimization - prevent content from being too spread out */
@media (min-width: 1400px) {
    .container {
        padding: 15px calc(50vw - 650px) 40px calc(50vw - 650px);
    }
}

/* Extra large screens */
@media (min-width: 1800px) {
    .container {
        padding: 15px calc(50vw - 800px) 40px calc(50vw - 800px);
    }
}
h1 {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 36px;
    letter-spacing: 2px;
    color: #5eb6ff;
}

/* Apply Roboto font specifically to Ultima Labs brand title */
h1.brand-title {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
}

/* About Page Enhancements */
.page-section h2 {
    font-size: 2.2rem;
    margin: 10px 0 20px;
    color: #ffffff;
    text-align: center;
}
.page-section h3 {
    font-size: 1.4rem;
    margin: 34px 0 18px;
    color: #5eb6ff;
    text-align: center;
    letter-spacing: 0.5px;
}
.page-section h4 {
    margin: 0 0 10px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}
.page-section p {
    line-height: 1.55;
    color: #d4dfeb;
    font-size: 0.97rem;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
    margin-top: 10px;
}
.about-card {
    background: linear-gradient(165deg, rgba(34,45,60,0.95) 0%, rgba(20,27,37,0.95) 100%);
    border: 1px solid #283140;
    border-radius: 14px;
    padding: 22px 22px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 22px -4px rgba(0,0,0,0.4), 0 2px 6px -1px rgba(0,0,0,0.25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.about-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(94,182,255,0.12), transparent 60%), radial-gradient(circle at 82% 78%, rgba(94,182,255,0.08), transparent 55%);
    pointer-events: none;
}
.about-card:hover {
    border-color: #5eb6ff;
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 10px 28px -4px rgba(94,182,255,0.35), 0 4px 18px -2px rgba(0,0,0,0.5);
}
.about-icon {
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 14px;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,0.45));
}
.about-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #c6d6e6;
}
.about-card h4 {
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}
/* Wide variant spans two columns on larger screens */
.about-card.wide {
    grid-column: span 2;
}
@media (max-width: 900px) {
    .about-card.wide { grid-column: span 1; }
}
@media (max-width: 640px) {
    .page-section h2 { font-size: 1.9rem; }
    .page-section h3 { font-size: 1.25rem; }
    .about-card { padding: 20px 18px 22px; }
}

/* Brand header with animated logo */
.brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 15px;
    /* Ensure consistent positioning across all pages */
    min-height: 120px;
    position: relative;
    padding: 10px 0;
}

.brand-logo {
    width: 262px;   /* increased by 20px from 242px */
    height: 262px;  /* increased by 20px from 242px */
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
    animation: brand-float 3s ease-in-out infinite, brand-glow 3s ease-in-out infinite;
    /* Lock logo position to prevent shifts */
    flex-shrink: 0;
}

/* Brand text container for consistent positioning */
.brand > div {
    display: flex;
    align-items: baseline;
    gap: 24px;
    flex-wrap: wrap;
    /* Ensure consistent text container positioning */
    min-height: 100px;
    align-content: center;
}

/* Navigation Tabs */
.main-nav {
    margin-top: 0;
    margin-bottom: 34px;
    /* Ensure consistent navigation spacing */
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    /* Ensure consistent height across all pages */
    min-height: 50px;
    align-items: center;
}
.nav-link {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 46px;
    background: #181f2a;
    border: 1px solid #232b3a;
    color: #cfe3fb;
    font-weight: 600;
    font-size: 1.0rem;
    text-decoration: none;
    letter-spacing: 0.75px;
    position: relative;
    min-width: 120px;
    text-align: center;
    transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.nav-link:hover {
    background: #232b3a;
    color: #ffffff;
    border-color: #2f3b4c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.nav-link.active {
    background: linear-gradient(135deg, #5eb6ff 0%, #3b87df 100%);
    color: #10151c;
    border-color: #5eb6ff;
    box-shadow: 0 8px 22px rgba(94,182,255,0.35);
}
.nav-link.active:hover {
    transform: translateY(-2px) scale(1.02);
}

@keyframes brand-float {
    0%, 100% { transform: translateY(-4px); }
    50% { transform: translateY(-8px); }
}

@keyframes brand-glow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(94,182,255,0.0)) drop-shadow(0 4px 10px rgba(0,0,0,0.25)); }
    50% { filter: drop-shadow(0 0 8px rgba(94,182,255,0.55)) drop-shadow(0 4px 10px rgba(0,0,0,0.25)); }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .brand-logo { animation: none; }
}
.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.product-card {
    background: linear-gradient(135deg, #181f2a 0%, #1a2332 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 
                0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 36px 28px 28px 28px;
    width: 270px;
    text-align: center;
    border: 2px solid #2a3444;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s ease,
                border-color 0.3s ease,
                filter 0.3s ease;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Black Friday Special Styling */
.product-card.black-friday-active {
    border: 2px solid #ff0000;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3),
                0 2px 8px rgba(255, 215, 0, 0.2),
                0 0 30px rgba(255, 0, 0, 0.1);
    animation: black-friday-glow 3s ease-in-out infinite;
}

.product-card.black-friday-active::before {
    background: linear-gradient(90deg, transparent, #ff0000, #ffd700, #ff0000, transparent);
    opacity: 1;
    animation: shimmer 2s linear infinite;
}

@keyframes black-friday-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3),
                    0 2px 8px rgba(255, 215, 0, 0.2),
                    0 0 30px rgba(255, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 4px 25px rgba(255, 0, 0, 0.5),
                    0 2px 12px rgba(255, 215, 0, 0.4),
                    0 0 40px rgba(255, 0, 0, 0.2);
    }
}

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

/* Top accent line */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5eb6ff, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Radial glow spotlight overlay from above */
.product-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        ellipse at center,
        rgba(94, 182, 255, 0.3) 0%,
        rgba(94, 182, 255, 0.15) 20%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

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

/* Activate radial glow on hover */
.product-card:hover::after {
    opacity: 1;
}

.clickable-card {
    cursor: pointer;
}

/* Featured Product Effects on Hover */
.product-card:hover {
    /* Elevated position - rises up and scales larger */
    transform: translateY(-12px) scale(1.05);
    
    /* Enhanced brightness - 30% brighter and more saturated */
    filter: brightness(1.3) saturate(1.2);
    
    /* Premium shadows - multiple layers of glowing shadows */
    box-shadow: 
        0 20px 60px rgba(94, 182, 255, 0.4),
        0 10px 30px rgba(94, 182, 255, 0.3),
        0 0 40px rgba(94, 182, 255, 0.3),
        inset 0 1px 0 rgba(94, 182, 255, 0.2);
    
    /* Glowing border - changes from gray to bright blue */
    border-color: #5eb6ff;
    
    /* Gentle breathing - subtle scale pulsing */
    animation: gentle-breathing 2s ease-in-out infinite;
}

/* Gentle breathing animation for featured products */
@keyframes gentle-breathing {
    0%, 100% {
        transform: translateY(-12px) scale(1.05);
    }
    50% {
        transform: translateY(-14px) scale(1.06);
    }
}
.product-card img {
    width: 120px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto 18px auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #1a2332 0%, #232b3a 100%);
    border: 2px solid #2a3444;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 
                inset 0 1px 3px rgba(94, 182, 255, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.08);
    border-color: #5eb6ff;
    box-shadow: 0 6px 20px rgba(94, 182, 255, 0.25), 
                inset 0 1px 3px rgba(94, 182, 255, 0.1);
}
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    gap: 12px;
}
.product-price {
    font-size: 1.1rem;
    color: #5eb6ff;
    font-weight: bold;
}
.buy-btn {
    background: linear-gradient(135deg, #5eb6ff 0%, #4a9fef 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 13px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(94, 182, 255, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

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

.buy-btn:hover::before {
    left: 100%;
}

.buy-btn:hover {
    background: linear-gradient(135deg, #4a9fef 0%, #3b87df 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(94, 182, 255, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.buy-btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(94, 182, 255, 0.3);
}

.buy-btn:disabled {
    background: linear-gradient(135deg, #4a5968 0%, #3a4654 100%);
    color: #8a9ba8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.buy-btn:focus-visible {
    outline: 3px solid rgba(94, 182, 255, 0.5);
    outline-offset: 2px;
}
.basket-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 18px;
    position: relative;
}
.visit-counter {
    margin-right: auto;
}
.basket-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    padding: 0;
}
.basket-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}
.basket-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    font-size: 0.9rem;
    padding: 2px 7px;
    font-weight: bold;
    min-width: 22px;
    text-align: center;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.18);
}
.basket-dropdown {
    display: none;
    position: absolute;
    top: 44px;
    right: 0;
    background: #232b3a;
    color: #f5f6fa;
    border-radius: 10px;
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18);
    min-width: 210px;
    z-index: 100;
    padding: 18px 20px 14px 20px;
    flex-direction: column;
    gap: 10px;
}
.basket-dropdown.show {
    display: flex;
}
.basket-details {
    margin-bottom: 12px;
    font-size: 1.08rem;
    min-width: 180px;
}
.basket-items-list {
    margin-bottom: 10px;
    max-height: 220px;          /* was 140px — make basket taller */
    overflow-y: auto;           /* keep scrolling */
    scrollbar-width: none;      /* Firefox: hide scrollbar */
    -ms-overflow-style: none;   /* IE/Edge: hide scrollbar */
}

/* WebKit browsers: hide scrollbar visuals */
.basket-items-list::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.basket-item-row {
/* Basket product icon */
.basket-item-icon {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    border-radius: 6px;
    vertical-align: middle;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 4px;
    padding-bottom: 2px;
    border-bottom: 1px solid #232b3a;
}
.basket-item-name {
    color: #5eb6ff;
    font-weight: 500;
}
.basket-item-qty {
    color: #e6c200;
    margin: 0 8px;
}
.basket-item-price {
    color: #f5f6fa;
    font-size: 0.98rem;
}
.basket-empty {
    color: #7a8fa6;
    font-size: 0.98rem;
    text-align: center;
    display: block;
    margin: 10px 0;
}
.basket-total-row {
    font-weight: bold;
    color: #5eb6ff;
    margin-top: 8px;
    text-align: right;
}
.checkout-btn {
    background: #5eb6ff;
    color: #181f2a;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s;
    width: 100%;
    margin-top: 4px;
    opacity: 0.8;
}
.checkout-btn:disabled {
    background: #7a8fa6;
    color: #232b3a;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Enhanced Basket Controls */
.basket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a4553;
}

.basket-title {
    font-weight: 600;
    color: #5eb6ff;
    font-size: 1rem;
}

.clear-all-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.clear-all-btn:hover {
    background: #c0392b;
}

.basket-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #3a4553;
}

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

.basket-item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.basket-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    background: #5eb6ff;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.qty-btn:hover {
    background: #4a9eff;
}

.basket-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.remove-btn {
    background: #e74c3c;
    color: white;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    line-height: 1;
}

.remove-btn:hover {
    background: #c0392b;
}

/* Update existing basket item styles */
.basket-dropdown {
    min-width: 320px;
}

.basket-item-name {
    color: #ffffff;
    font-weight: 500;
}

.basket-item-qty {
    color: #b8c5d6;
    min-width: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.basket-item-price {
    color: #5eb6ff;
    font-weight: 600;
    min-width: 60px;
    text-align: right;
}
.product-card h2 {
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(255,255,255,0.2);
}

.product-tag {
    display: inline-block;
    background: #5eb6ff;
    color: #181f2a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(94, 182, 255, 0.3);
}

.product-card p {
    font-size: 1rem;
    color: #e0e6f0;
    margin: 0;
}

/* Stock Status Styles */
.stock-status {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.in-stock {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.out-of-stock {
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.coming-soon {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.1);
}

/* Hologram Product Graphics */
.hologram-product-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 50%, #1a1a1a 50%, #1a1a1a 75%, transparent 75%, transparent);
    background-size: 4px 4px;
    border: 2px solid #333;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.hologram-content {
    text-align: center;
    color: #888;
    position: relative;
    z-index: 2;
}

.hologram-text {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0 4px 0;
    color: #666;
    letter-spacing: 1px;
}

.hologram-subtitle {
    font-size: 10px;
    color: #555;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* SS31 - Mitochondrial */
.hologram-circle {
    width: 60px;
    height: 40px;
    border: 3px solid #666;
    border-radius: 50%;
    margin: 0 auto 8px;
    position: relative;
}

.hologram-dots {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.hologram-dots span {
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
    display: block;
}

/* SEMAX - Brain */
.hologram-brain {
    width: 50px;
    height: 35px;
    border: 3px solid #666;
    border-radius: 25px 25px 15px 15px;
    margin: 0 auto 8px;
    position: relative;
}

.hologram-neural-net {
    width: 40px;
    height: 2px;
    background: #555;
    margin: 8px auto;
    position: relative;
}

.hologram-neural-net::before,
.hologram-neural-net::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: #555;
    top: -4px;
}

.hologram-neural-net::before {
    left: 5px;
}

.hologram-neural-net::after {
    right: 5px;
    top: 4px;
}

/* SELANK - Zen */
.hologram-zen {
    width: 50px;
    height: 50px;
    border: 3px solid #666;
    border-radius: 50%;
    margin: 0 auto 8px;
    position: relative;
}

.hologram-zen::before {
    content: '';
    position: absolute;
    width: 44px;
    height: 22px;
    border-top: 2px solid #555;
    border-radius: 22px 22px 0 0;
    top: 11px;
    left: 0;
}

.hologram-waves {
    height: 20px;
    margin-top: 8px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 3px,
        #555 3px,
        #555 4px
    );
    opacity: 0.6;
}

/* DSIP - Sleep */
.hologram-moon {
    width: 45px;
    height: 45px;
    border: 3px solid #666;
    border-radius: 50%;
    margin: 0 auto 8px;
    position: relative;
}

.hologram-moon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 50%;
    top: 4px;
    left: 4px;
}

.hologram-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.hologram-stars span {
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-bottom: 4px solid #555;
    position: relative;
}

.hologram-stars span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #555;
    top: 1px;
    left: -3px;
}

/* L-Carnitine - Syringe */
.hologram-syringe {
    width: 60px;
    height: 8px;
    background: #666;
    margin: 20px auto 8px;
    position: relative;
    border-radius: 2px;
}

.hologram-syringe::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 4px;
    background: #666;
    right: -18px;
    top: 2px;
}

.hologram-syringe::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #555;
    left: -6px;
    top: 0;
    border-radius: 50%;
}

.hologram-energy {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
}

.hologram-energy::before,
.hologram-energy::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 8px solid #555;
}

/* IGF-1 - Muscle */
.hologram-muscle {
    width: 50px;
    height: 30px;
    background: repeating-linear-gradient(
        0deg,
        #666,
        #666 2px,
        transparent 2px,
        transparent 4px
    );
    margin: 12px auto 8px;
    border-radius: 4px;
}

.hologram-arrows {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.hologram-arrows::before,
.hologram-arrows::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #555;
}

/* Product Detail Page Styles */
.product-detail-nav {
    margin-bottom: 30px;
}

.back-btn {
    background: #232b3a;
    color: #5eb6ff;
    border: 1px solid #5eb6ff;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #5eb6ff;
    color: #10151c;
}

.product-detail-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.product-detail-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.product-detail-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    background: #232b3a;
    padding: 20px;
}

.product-detail-info {
    flex: 2;
    min-width: 400px;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: #5eb6ff;
}

.research-notice {
    background: rgba(94, 182, 255, 0.1);
    border: 1px solid rgba(94, 182, 255, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.info-icon {
    color: #5eb6ff;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.notice-content h3 {
    margin: 0 0 15px 0;
    color: #5eb6ff;
    font-size: 1.2rem;
}

.notice-content p {
    margin: 0 0 15px 0;
    color: #e0e6f0;
}

.notice-content ul {
    margin: 0;
    padding-left: 20px;
    color: #e0e6f0;
}

.notice-content li {
    margin-bottom: 8px;
}

.product-actions-detail {
    margin-top: 40px;
}

.buy-btn-large {
    background: linear-gradient(135deg, #5eb6ff 0%, #4a9eff 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.buy-btn-large:hover:not(:disabled) {
    background: linear-gradient(135deg, #4a9eff 0%, #3b87df 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(94, 182, 255, 0.3);
}

.buy-btn-large:disabled {
    background: #7a8fa6;
    color: #232b3a;
    cursor: not-allowed;
    opacity: 0.6;
}

.buy-btn:disabled {
    background: #7a8fa6;
    color: #232b3a;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Update product actions layout */
.product-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    gap: 12px;
}

@media (max-width: 768px) {
    .product-detail-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-detail-info {
        min-width: unset;
    }
    
    .product-detail-image {
        min-width: unset;
    }
}

/* ================= Mobile / Small Screen Enhancements ================= */
@media (max-width: 900px) {
    .container { padding: 28px 20px; }
    h1 { font-size: 2.2rem; }
    .nav-link { padding: 10px 24px; min-width: 110px; font-size: 0.95rem; }
}
@media (max-width: 640px) {
    body { 
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    .container { padding: 24px 16px; }
    .brand { flex-direction: column; gap: 10px; }
    .brand-logo { width: 52px; height: 52px; }
    .nav-tabs { gap: 10px; }
    .nav-link { padding: 9px 18px; font-size: 0.9rem; min-width: 95px; }
    /* Switch to grid for reliable two-column layout */
    .product-list { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; justify-items: stretch; align-items: stretch; }
    .product-card { width: 100%; max-width: none; padding: 22px 14px 18px; margin: 0; }
    .product-card:hover { transform: none; box-shadow: 0 4px 16px 0 rgba(0,0,0,0.18); }
    .product-card img { width: 100%; max-width: 140px; height: auto; }
    .product-card img { width: 120px; height: 150px; }
    .product-card h2 { font-size: 1.05rem; }
    .product-card p { font-size: 0.85rem; }
    .product-price { font-size: 1rem; }
    .buy-btn { padding: 8px 14px; font-size: 0.85rem; }
    .basket-bar { flex-wrap: wrap; gap: 14px; }
    .visit-counter { order: 2; width: 100%; justify-content: center; }
    .basket-icon-btn { order: 1; }
    .footer-grid { grid-template-columns: 1fr; }
    .bottom-banner-inner { padding: 24px 22px; }
    .bottom-banner-content p { font-size: 0.85rem; line-height: 1.45; }
    .disclaimer-section {
        padding: 20px 16px;
        font-size: clamp(0.78rem, 3.4vw, 0.9rem);
        max-width: 95vw;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .disclaimer-section p,
    .disclaimer-section li {
        text-align: center;
    }
    .disclaimer-header h3 { font-size: 0.95rem; }
    .disclaimer-logo { width: 34px; height: 34px; }
    /* Mobile product detail image: scale relative to viewport, center */
    .product-detail-image { display: flex; justify-content: center; }
    .product-detail-image img {
        width: 100%;
        max-width: min(260px, 90vw);
        max-height: 60vh;
        height: auto;
        padding: 12px;
        margin: 0 auto;
        object-fit: contain;
    }
    .product-detail-info h1 { font-size: 2rem; }
    .product-price-large { font-size: 1.6rem; }
    .research-notice { flex-direction: column; padding: 16px 18px; }
    .notice-content h3 { font-size: 1.05rem; }
    .buy-btn-large { width: 100%; padding: 14px 20px; font-size: 1.05rem; }
    /* Center entire product detail stack on mobile */
    .product-detail-container { display: flex; flex-direction: column; align-items: center; text-align: center; }
    .product-detail-info { text-align: center; width: 100%; }
    .price-section { justify-content: center; }
    .product-actions-detail { text-align: center; }
}
@media (max-width: 480px) {
    .disclaimer-section {
        font-size: clamp(0.75rem, 3.8vw, 0.85rem);
        padding: 18px 14px;
    }
    /* Very small phones: loosen max-width and reduce padding */
    .product-detail-image img { max-width: 85vw; max-height: 55vh; padding: 10px; }
    .product-list { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
    .product-card { padding: 20px 12px 16px; }
    .product-card img { max-width: 120px; }
    h1 { font-size: 1.9rem; }
    .nav-link { padding: 7px 12px; font-size: 0.8rem; min-width: 80px; }
    .product-detail-info h1 { font-size: 1.75rem; }
    .product-detail-container { gap: 22px; }
}
@media (max-width: 360px) {
    .product-list { grid-template-columns: 1fr; }
    .product-card { padding: 18px 12px 14px; }
}
/* Make images fluid by default inside cards/details */
.product-card img, .product-detail-image img { max-width: 100%; height: auto; }
/* Prevent accidental horizontal scroll on very small devices */
html, body { overflow-x: hidden; }

/* Footer */
.site-footer {
    margin-top: 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* combine every two into one card */
    gap: 16px;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
}

/* Products page has 3 cards, so use 3 columns */
.products-page .footer-grid {
    grid-template-columns: repeat(3, 1fr);
}
.footer-card {
    background: linear-gradient(180deg, #121924 0%, #0e131a 100%);
    border: 1px solid #232b3a;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* text | sep | text */
    align-items: center;
    gap: 12px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.footer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.35);
    border-color: #2f3b4c;
}
.footer-text {
    color: #cfe3fb;
    font-size: 0.98rem;
    line-height: 1.4;
}
/* vertical separator between the two texts in a card */
.footer-sep {
    width: 1px;
    height: 100%;
    background: #2f3b4c;
    opacity: 0.8;
}

.disclaimer-section {
        margin-top: 32px;
        padding: 32px 40px;
        width: 100%;
        max-width: 1600px;
        margin-left: auto;
        margin-right: auto;
        background: rgba(18, 25, 36, 0.7);
        border: 1px solid #2a3a4a;
        border-radius: 12px;
        color: #a7c1de;
        font-size: 1rem;
        line-height: 1.7;
}

.disclaimer-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.disclaimer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.disclaimer-header h3 {
    color: #5eb6ff;
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.disclaimer-section p {
    margin: 0 0 12px 0;
}
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-card {
        grid-template-columns: 1fr; /* stack inside card on narrower screens */
        row-gap: 10px;
    }
    .footer-sep {
        width: 100%;
        height: 1px;
    }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; }
}

    /* FAQ Styles */
    .faq-section {
        margin-top: 10px;
    }
    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin-top: 26px;
    }
    .faq-item {
        background: linear-gradient(165deg, rgba(34,45,60,0.95) 0%, rgba(20,27,37,0.95) 100%);
        border: 1px solid #283140;
        border-radius: 14px;
        padding: 18px 22px 16px;
        position: relative;
        overflow: hidden;
        transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
    }
    .faq-item:before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 18% 22%, rgba(94,182,255,0.10), transparent 60%), radial-gradient(circle at 82% 78%, rgba(94,182,255,0.06), transparent 55%);
        pointer-events: none;
    }
    .faq-item:hover {
        border-color: #5eb6ff;
        box-shadow: 0 6px 22px -4px rgba(94,182,255,0.35), 0 2px 8px -2px rgba(0,0,0,0.5);
        transform: translateY(-3px);
    }
    .faq-item h3 {
        margin: 0 0 10px;
        font-size: 1.05rem;
        letter-spacing: 0.5px;
        color: #5eb6ff;
        text-align: left;
    }
    .faq-item p {
        margin: 0;
        color: #c6d6e6;
        font-size: 0.9rem;
        line-height: 1.5;
    }
    @media (max-width: 640px) {
        .faq-item { padding: 16px 18px 14px; }
        .faq-item h3 { font-size: 1rem; }
    }

    /* FAQ Heading Enhancement */
    .faq-section > h2 {
        background: linear-gradient(135deg, #5eb6ff 0%, #3b87df 50%, #9fd6ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        font-weight: 700;
        letter-spacing: 1px;
        position: relative;
        margin-bottom: 36px;
        text-shadow: 0 4px 18px rgba(0,0,0,0.55);
    }
    .faq-section > h2:after {
        content: "";
        display: block;
        width: 140px;
        height: 4px;
        margin: 14px auto 0;
        border-radius: 3px;
        background: linear-gradient(90deg, rgba(94,182,255,0) 0%, #5eb6ff 25%, #3b87df 75%, rgba(94,182,255,0) 100%);
        box-shadow: 0 0 12px -2px rgba(94,182,255,0.7), 0 0 4px rgba(94,182,255,0.55);
    }
    @media (max-width: 640px) {
        .faq-section > h2 { font-size: 1.9rem; letter-spacing: 0.5px; }
        .faq-section > h2:after { width: 110px; }
    }

    /* About Heading (reuse gradient aesthetics) */
    .about-heading {
        background: linear-gradient(135deg, #5eb6ff 0%, #3b87df 50%, #9fd6ff 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        font-weight: 700;
        letter-spacing: 1px;
        position: relative;
        margin-bottom: 34px;
        text-shadow: 0 4px 18px rgba(0,0,0,0.55);
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    .about-heading:after {
        content: "";
        display: block;
        width: 120px;
        height: 4px;
        margin: 14px auto 0;
        border-radius: 3px;
        background: linear-gradient(90deg, rgba(94,182,255,0) 0%, #5eb6ff 25%, #3b87df 75%, rgba(94,182,255,0) 100%);
        box-shadow: 0 0 10px -2px rgba(94,182,255,0.65), 0 0 3px rgba(94,182,255,0.45);
    }
    @media (max-width: 640px) {
        .about-heading { font-size: 1.9rem; letter-spacing: 0.5px; }
        .about-heading:after { width: 100px; }
    }

    /* --- Mobile Disclaimer Hard Override (ensure no horizontal overflow) --- */
    @media (max-width: 640px) {
        .disclaimer-section {
            box-sizing: border-box;
            max-width: 100%;
            width: 100%;
            margin-left: auto !important;
            margin-right: auto !important;
            padding-left: 14px !important;
            padding-right: 14px !important;
            overflow-wrap: anywhere;
            word-break: break-word;
        }
        .disclaimer-section * { max-width: 100%; }
    }

    @media (max-width: 480px) {
        .disclaimer-section {
            padding-left: 12px !important;
            padding-right: 12px !important;
        }
    }

    /* Basket Dropdown Styles */
    .basket-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 350px;
        background: #181f2a;
        border-radius: 12px;
        border: 2px solid #232b3a;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        display: none;
        z-index: 1000;
        max-height: 400px;
        overflow-y: auto;
        /* Hide scrollbars */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .basket-dropdown::-webkit-scrollbar {
        display: none; /* WebKit */
    }

    .basket-dropdown.show {
        display: block;
    }

    .basket-dropdown-header {
        padding: 16px 20px 12px;
        border-bottom: 1px solid #2a3444;
    }

    .basket-dropdown-header h3 {
        margin: 0;
        color: #5eb6ff;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .basket-dropdown-items {
        padding: 8px 0;
        max-height: 250px;
        overflow-y: auto;
        /* Hide scrollbars */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .basket-dropdown-items::-webkit-scrollbar {
        display: none; /* WebKit */
    }

    .basket-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        border-bottom: 1px solid #2a3444;
        gap: 12px;
    }

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

    .basket-item-image {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 6px;
        flex-shrink: 0;
    }

    .basket-item-info {
        flex: 1;
        min-width: 0;
    }

    .basket-item-info h4 {
        margin: 0 0 2px 0;
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
        white-space: normal;
        overflow: visible;
        line-height: 1.3;
    }

    .basket-item-price {
        color: #888;
        font-size: 0.85rem;
    }

    .basket-item-controls {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
    }

    .quantity-btn {
        background: #2a3444;
        border: 1px solid #3a4555;
        color: #fff;
        width: 24px;
        height: 24px;
        border-radius: 4px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        font-weight: 600;
    }

    .quantity-btn:hover {
        background: #3a4555;
        border-color: #5eb6ff;
    }

    .quantity {
        min-width: 18px;
        text-align: center;
        color: #fff;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .remove-btn {
        background: #dc3545;
        border: none;
        color: #fff;
        width: 24px;
        height: 24px;
        border-radius: 4px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 6px;
        transition: background 0.2s;
    }

    .remove-btn:hover {
        background: #c82333;
    }

    .remove-btn svg {
        width: 12px;
        height: 12px;
    }

    .basket-dropdown-footer {
        border-top: 1px solid #2a3444;
        padding: 16px 20px;
    }

    .basket-total {
        text-align: center;
        margin-bottom: 12px;
        font-size: 1.1rem;
        font-weight: 600;
        color: #5eb6ff;
    }

    .checkout-btn {
        width: 100%;
        background: #5eb6ff;
        color: #181f2a;
        border: none;
        border-radius: 8px;
        padding: 10px 16px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: background 0.2s;
    }

    .checkout-btn:hover {
        background: #4a9de8;
    }

    /* Favorites Dropdown Styles */
    .favorites-dropdown {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: 320px;
        background: #181f2a;
        border-radius: 12px;
        border: 2px solid #232b3a;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
        display: none;
        z-index: 1000;
        max-height: 350px;
        overflow-y: auto;
        /* Hide scrollbars */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .favorites-dropdown::-webkit-scrollbar {
        display: none; /* WebKit */
    }

    .favorites-dropdown.show {
        display: block;
    }

    .favorites-dropdown-header {
        padding: 16px 20px 12px;
        border-bottom: 1px solid #2a3444;
    }

    .favorites-dropdown-header h3 {
        margin: 0;
        color: #5eb6ff;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .favorites-dropdown-items {
        padding: 8px 0;
        max-height: 280px;
        overflow-y: auto;
        /* Hide scrollbars */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* Internet Explorer 10+ */
    }

    .favorites-dropdown-items::-webkit-scrollbar {
        display: none; /* WebKit */
    }

    .favorite-item {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        border-bottom: 1px solid #2a3444;
        cursor: pointer;
        transition: background 0.2s;
    }

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

/* Research References Section Styles */
.research-references-section {
    margin-top: 40px;
    padding: 30px 40px;
    width: 100%;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(165deg, rgba(34,45,60,0.95) 0%, rgba(20,27,37,0.95) 100%);
    border: 1px solid #283140;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 22px -4px rgba(0,0,0,0.4), 0 2px 6px -1px rgba(0,0,0,0.25);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.research-references-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 22%, rgba(94,182,255,0.12), transparent 60%), radial-gradient(circle at 82% 78%, rgba(94,182,255,0.08), transparent 55%);
    pointer-events: none;
}

.research-references-section h2 {
    margin: 0 0 30px 0;
    color: #5eb6ff;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

.reference-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(24, 31, 42, 0.6);
    border: 1px solid #232b3a;
    border-radius: 10px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.reference-item:hover {
    border-color: #5eb6ff;
    transform: translateY(-2px);
}

.reference-item h3 {
    margin: 0 0 12px 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.reference-item p {
    margin: 0 0 8px 0;
    color: #c6d6e6;
    font-size: 0.95rem;
    line-height: 1.5;
}

.reference-item a {
    color: #5eb6ff;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.reference-item a:hover {
    color: #4a9de8;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .research-references-section {
        padding: 20px 16px;
        margin-top: 30px;
    }
    
    .research-references-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .reference-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .reference-item h3 {
        font-size: 1rem;
    }
    
    .reference-item p {
        font-size: 0.9rem;
    }
}

    .favorite-item:hover {
        background: rgba(94, 182, 255, 0.1);
    }

    .favorite-item img {
        width: 40px;
        height: 40px;
        object-fit: cover;
        border-radius: 6px;
        margin-right: 12px;
    }

    .favorite-info {
        flex: 1;
    }

    .favorite-info h4 {
        margin: 0 0 4px 0;
        color: #fff;
        font-size: 0.95rem;
        font-weight: 600;
    }

    .favorite-info span {
        color: #5eb6ff;
        font-weight: 600;
        font-size: 0.85rem;
    }

    .remove-favorite {
        background: none;
        border: none;
        color: #dc3545;
        font-size: 1.1rem;
        cursor: pointer;
        padding: 4px 6px;
        border-radius: 4px;
        transition: background 0.2s;
    }

    .remove-favorite:hover {
        background: rgba(220, 53, 69, 0.1);
    }

/* Mobile optimizations for basket */
@media (max-width: 768px) {
    .basket-dropdown {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: 90vw !important;
        max-width: 400px !important;
        top: 0 !important;
        height: 70vh !important;
        max-height: 70vh !important;
        z-index: 1000 !important;
        border-radius: 0 0 12px 12px !important;
    }
}

/* Mobile optimizations for bundle card */
@media (max-width: 768px) {
    .bundle-card {
        flex-direction: column !important;
        padding: 16px 20px !important;
        gap: 16px !important;
        min-height: 0 !important;
        max-width: none !important;
        margin: 16px 0 !important;
    }
    
    .bundle-card > div:first-child {
        min-width: auto !important;
        text-align: center;
    }
    
    .bundle-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    
    .save-badge {
        font-size: 0.9rem !important;
        padding: 4px 12px !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
        display: block !important;
        width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .bundle-items {
        font-size: 0.95rem !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }
    
    .bundle-card > div:first-child > div:nth-child(3) {
        font-size: 1rem !important;
        text-align: center !important;
        margin-bottom: 8px !important;
    }
    
    .bundle-card > div:first-child > div:last-child {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: center !important;
    }
    
    .bundle-price {
        font-size: 1.4rem !important;
        text-align: center !important;
    }
    
    .buy-btn {
        font-size: 1rem !important;
        padding: 10px 24px !important;
        width: 100% !important;
        max-width: 200px !important;
    }
    
    .bundle-images {
        min-width: auto !important;
        justify-content: center !important;
    }
    
    .bundle-images > div {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        max-width: 200px !important;
    }
    
    .bundle-thumb {
        width: 80px !important;
        height: 80px !important;
        padding: 6px !important;
    }
    
    /* Header/title row adjustments */
    .bundle-card > div:first-child > div:first-child {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
}

/* Professional Bottom Footer Styles */
.bottom-footer {
    background: #0f1419;
    border-top: 1px solid #1a2028;
    margin-top: 40px;
    padding: 0;
    color: #8b949e;
}

.bottom-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand-text h4 {
    margin: 0 0 4px 0;
    color: #f0f6fc;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-brand-text p {
    margin: 0;
    color: #8b949e;
    font-size: 0.9rem;
}

.footer-links-section {
    display: flex;
    gap: 60px;
}

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

.footer-links-group h5 {
    margin: 0 0 8px 0;
    color: #f0f6fc;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-links-group a {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links-group a:hover {
    color: #5eb6ff;
}

.footer-bottom {
    border-top: 1px solid #1a2028;
    padding: 20px 0;
    background: #0a0e13;
}

.footer-bottom > div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    color: #8b949e;
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #8b949e;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: #5eb6ff;
}

/* Mobile responsive footer */
@media (max-width: 768px) {
    .bottom-footer-content {
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .footer-logo-section {
        justify-content: center;
        text-align: center;
    }
    
    .footer-links-section {
        gap: 40px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-links-group {
        text-align: center;
        min-width: 120px;
    }
    
    .footer-bottom > div {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}
