/* ==========================================================================
   AddonForYou Calculator Hub - Main Stylesheet
   Modern, Lightweight, Responsive & AdSense-Optimized CSS
   ========================================================================== */

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --secondary: #7c3aed;
    --secondary-hover: #6d28d9;
    --accent: #f59e0b;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-focus: #818cf8;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --container-max: 1200px;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

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

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

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Announcement Top Bar */
.top-announcement {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.8125rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links a {
    color: #94a3b8;
    margin-left: 16px;
    font-weight: 500;
}

.top-links a:hover {
    color: #ffffff;
}

/* Site Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.site-brand:hover .brand-logo {
    opacity: 0.95;
}

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

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border: none;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.25;
}

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

.has-dropdown {
    position: relative;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 110;
}

.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    transition: background 0.15s ease;
}

.dropdown-item:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Header Quick Search, Currency Switcher & Mobile Toggle */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-currency-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.currency-select-box {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 7px 10px 7px 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

.currency-select-box:hover,
.currency-select-box:focus-within {
    background: #ffffff;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.currency-icon-badge {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.9375rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.currency-selector-select {
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 0.8125rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    padding-right: 2px;
}

.currency-selector-select option {
    background: #ffffff;
    color: #1e293b;
    font-weight: 600;
    padding: 6px 10px;
}

.header-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 7px 14px;
    color: var(--text-muted);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1;
    flex-shrink: 0;
}

.header-search-btn:hover {
    background: #ffffff;
    border-color: var(--border-focus);
    color: var(--text-main);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.header-search-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-search-btn:hover {
    background: #ffffff;
    border-color: var(--border-focus);
    color: var(--text-main);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-key-hint {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Site Main */
.site-main {
    flex: 1 0 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    padding: 64px 0 56px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.6;
}

/* Hero Search Bar */
.hero-search-wrapper {
    max-width: 650px;
    margin: 0 auto 32px;
    position: relative;
}

.hero-search-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    font-size: 1.0625rem;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    outline: none;
    transition: all 0.25s ease;
}

.hero-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15), var(--shadow-xl);
}

.hero-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

.btn-outline {
    background: #ffffff;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Sections Common */
.section {
    padding: 64px 0;
}

.section-alt {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

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

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Calculator Grid & Cards */
.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.calc-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.calc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: var(--shadow-xl);
}

.calc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.calc-card:hover .calc-card-icon {
    transform: scale(1.08);
    background: var(--primary-gradient);
    color: #ffffff;
}

.calc-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.calc-card-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1 0 auto;
    margin-bottom: 16px;
}

.calc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--bg-alt);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
}

.badge-popular {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.category-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.category-card:hover .category-card-icon {
    background: var(--primary-light);
}

.category-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.category-card-count {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Features Section (Why Choose AddonForYou) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: #cbd5e1;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
    color: var(--primary);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 16px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    font-size: 0.875rem;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.crumb-icon {
    width: 14px;
    height: 14px;
}

.breadcrumb-item::after {
    content: "/";
    margin-left: 8px;
    color: var(--text-light);
}

.breadcrumb-item:last-child::after {
    display: none;
}

.breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 600;
}

/* ==========================================================================
   Google AdSense Layout Architecture & Containers
   Strictly compliant with Google Publisher Policies
   ========================================================================== */

.ad-container {
    margin: 28px auto;
    text-align: center;
    width: 100%;
    clear: both;
}

.ad-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 6px;
    font-weight: 600;
    user-select: none;
}

.ad-wrapper-header {
    margin-top: 16px;
    margin-bottom: 16px;
}

.ad-wrapper-footer {
    margin-top: 40px;
    margin-bottom: 24px;
}

/* Non-intrusive Preview Placeholders */
.ad-preview-mode .ad-placeholder-box {
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #64748b;
    max-width: 970px;
    margin: 0 auto;
    min-height: 90px;
}

.ad-placeholder-icon {
    color: var(--primary);
}

.ad-placeholder-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.ad-placeholder-text strong {
    font-size: 0.875rem;
    color: #334155;
}

.ad-placeholder-text span {
    font-size: 0.75rem;
    color: #94a3b8;
}

.ad-placement-ad_sidebar .ad-placeholder-box {
    min-height: 250px;
    flex-direction: column;
    text-align: center;
}

.ad-placement-ad_sidebar .ad-placeholder-text {
    text-align: center;
}

/* Footer Styling */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo {
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #94a3b8;
}

.footer-brand-parent {
    font-size: 0.8125rem;
    color: #64748b;
    margin-bottom: 16px;
}

.footer-brand-parent a {
    color: #cbd5e1;
    font-weight: 600;
}

.footer-socials {
    display: flex;
    gap: 16px;
    font-size: 0.875rem;
}

.footer-socials a {
    color: #cbd5e1;
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.875rem;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.admin-quick-link {
    color: #64748b !important;
    font-size: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 0.8125rem;
    color: #64748b;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.footer-bottom-inner strong {
    color: #cbd5e1;
}

.disclaimer-note {
    font-size: 0.75rem;
    color: #64748b;
}

/* Modal Search */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.search-modal-card {
    position: relative;
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    z-index: 1001;
    transform: translateY(-20px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin: 0 16px;
}

.search-modal.active .search-modal-card {
    transform: translateY(0);
}

.search-modal-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    gap: 12px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
}

.search-modal-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.0625rem;
    color: var(--text-main);
}

.search-clear-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    display: none;
}

.search-close-btn {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
}

.search-modal-body {
    max-height: 420px;
    overflow-y: auto;
    padding: 16px 20px;
}

.search-suggestions-hint {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8125rem;
}

.hint-label {
    color: var(--text-muted);
    font-weight: 600;
}

.search-chip {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s ease;
}

.search-chip:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: var(--primary-light);
}

.search-result-item:hover .search-item-title {
    color: var(--primary);
}

.search-item-main {
    display: flex;
    flex-direction: column;
}

.search-item-title {
    font-size: 0.9375rem;
    font-weight: 700;
}

.search-item-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.search-item-cat {
    font-size: 0.75rem;
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    color: #475569;
    font-weight: 600;
}

/* Responsive Media Queries */
@media (max-width: 1240px) and (min-width: 1025px) {
    .nav-list {
        gap: 4px;
    }
    .nav-link {
        padding: 6px 10px;
        font-size: 0.875rem;
    }
    .header-search-btn .search-btn-text {
        display: none;
    }
}

@media (max-width: 1024px) {
    .header-search-btn .search-btn-text,
    .header-search-btn .search-key-hint {
        display: none;
    }
    
    .header-search-btn {
        padding: 8px 10px;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        display: none;
        overflow-y: auto;
    }

    .main-nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .nav-link {
        width: 100%;
        padding: 12px;
        font-size: 1.0625rem;
    }

    .nav-dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--border-color);
        margin-top: 8px;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

@media (max-width: 480px) {
    .currency-select-box {
        padding: 5px 8px;
        gap: 4px;
    }
    .currency-selector-select {
        font-size: 0.75rem;
    }
    .header-actions {
        gap: 8px;
    }
}

