/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #ea580c;
    --brand-orange: #ea580c;
    --brand-orange-dark: #c2410c;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
    /* Standardized section spacing - single rhythm for all sections */
    --section-space: 1.5rem;       /* padding top + bottom of each section (gap between sections = 2 × this) */
    --section-header-gap: 1.25rem; /* space below title+subtitle before grid/content */
    --section-cta-gap: 0.875rem;  /* space above CTA button */
    --title-to-line: 0.375rem;    /* space between title and orange line */
    --line-to-subtitle: 0.5rem;   /* space between orange line and subtitle */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation - z-index above inquiry popup (9999) so hamburger is always clickable on mobile */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 10100;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Hamburger: hidden on desktop; always on top when visible so it stays clickable */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 10001;
    transition: background 0.2s, border-color 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
}
.nav-toggle:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}
.nav-toggle .nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    pointer-events: none;
}
.navbar.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.navbar.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.navbar.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 65px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-color);
}

/* Mobile menu panel (Vienna-style: separate full-screen overlay) - hidden by default on desktop */
.mobile-menu-panel {
    display: none;
}
.mobile-menu-panel.hidden {
    display: none !important;
}
/* Desktop: always keep panel hidden */
@media (min-width: 1025px) {
    .mobile-menu-panel {
        display: none !important;
    }
}

/* Hero Section (base) - orange to match logo */
.hero {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Home Hero - rich layered background; larger banner so image shines */
.hero-home {
    position: relative;
    padding: 8rem 0 10rem;
    min-height: 52vh;
    overflow: hidden;
}

/* Button fixed at bottom of hero so it never overlaps the logo in the image */
.hero-home-image .hero-inner {
    position: relative;
    min-height: 48vh;
}

.hero-home-image .hero-inner .btn-hero {
    position: absolute;
    bottom: -6.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-home-image .hero-inner .btn-hero:hover {
    transform: translateX(-50%) translateY(-3px);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(30, 41, 59, 0.97) 0%, rgba(15, 23, 42, 0.98) 40%, rgba(30, 58, 138, 0.95) 70%, rgba(120, 53, 15, 0.9) 100%),
        radial-gradient(ellipse 80% 50% at 50% 120%, rgba(180, 83, 9, 0.35) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 0%, rgba(59, 130, 246, 0.25) 0%, transparent 50%);
}

/* Hero with your branded image as background - use cover to preserve aspect ratio */
.hero-home-image .hero-bg-image {
    background-color: #0f172a; /* deep blue fallback matching image */
    background-image: url(/images/hero-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; /* preserve aspect ratio, crop if needed */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Very subtle overlay - just enough to ensure text readability without killing vibrancy */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.15) 100%);
    z-index: 0;
}

/* If using an image with baked-in text, hide the overlay entirely */
.hero-home-image .hero-overlay {
    background: transparent;
}

.hero-home .hero-inner {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1.5' fill='%23fff'/%3E%3C/svg%3E");
}

.hero-home-image .hero-pattern {
    display: none;
}

.hero-home .hero-inner {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-eyebrow {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 0.75rem;
}

.hero-home h1 {
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-home .hero-subtitle {
    font-size: 1.2rem;
    max-width: 640px;
    margin: 0 auto 2rem;
    opacity: 0.92;
}

.btn-hero {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(234, 88, 12, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(234, 88, 12, 0.5);
    color: #fff;
}

/* Section Headers - single rhythm: title → line → subtitle → content */
.section-header {
    text-align: center;
    margin-bottom: var(--section-header-gap);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: var(--title-to-line);
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #ea580c, #c2410c);
    border-radius: 2px;
    margin: var(--line-to-subtitle) auto 0;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.5;
}

.section-cta {
    text-align: center;
    margin-top: var(--section-cta-gap);
}

/* Featured Items Section - standardized spacing */
.featured-section {
    padding: var(--section-space) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 0;
}

.featured-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.featured-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.featured-item-img-wrap {
    width: 100%;
    height: 240px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.featured-item-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-item-body {
    padding: 1rem;
    flex-grow: 1;
}

.featured-item-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.featured-item-sku {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.featured-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

/* Why Choose Us Section - standardized spacing */
.why-us-section {
    padding: var(--section-space) 0;
    background: #fff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 0;
}

.why-us-item {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.why-us-item:hover {
    border-color: rgba(234, 88, 12, 0.2);
}

.why-us-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.why-us-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: var(--brand-orange);
}

.why-us-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
}

.why-us-icon-svg svg {
    width: 100%;
    height: 100%;
}

.why-us-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.why-us-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Categories Section (base) */
.categories {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Home Categories - standardized spacing (same as Featured) */
.categories-home {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
}

.categories-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

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

.categories-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.categories-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, #ea580c, #c2410c);
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

.categories-lead {
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0.875rem;
}

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

/* Featured categories grid (home page - 8 items with icons) */
.category-grid-featured {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.category-grid-featured .category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.category-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Full categories grid (categories page) */
.category-grid-full {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}

.category-grid-full .category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
}

.category-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    text-decoration: none;
    color: inherit;
}

.categories-home .category-item {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.08), 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.categories-home .category-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(30, 41, 59, 0.12), 0 4px 12px rgba(0,0,0,0.08);
}

.category-name {
    display: block;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    flex: 1;
    min-width: 0;
}

.category-count {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.35rem;
    flex-shrink: 0;
}

/* Categories Page */
.categories-page {
    padding: 3rem 0 5rem;
    background: #f8fafc;
}

.categories-search {
    max-width: 500px;
    margin: 0 auto 3rem;
}

.categories-search .form-control {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.categories-search .form-control:focus {
    border-color: #ea580c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* CTA Section (base) */
.cta-section {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--white);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Home CTA - standardized spacing */
.cta-section-home {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #1e3a5f 0%, #0f172a 40%, #1e293b 100%),
        radial-gradient(ellipse 70% 60% at 30% 80%, rgba(180, 83, 9, 0.2) 0%, transparent 50%);
}

.cta-section-home .cta-inner {
    position: relative;
    z-index: 1;
    color: #fff;
}

.cta-section-home h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: var(--line-to-subtitle);
    letter-spacing: -0.02em;
}

.cta-section-home p {
    color: rgba(255,255,255,0.88);
    font-size: 1.05rem;
    margin-bottom: var(--section-header-gap);
}

.btn-cta {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
}

.btn-cta:hover {
    background: linear-gradient(135deg, #f97316 0%, var(--brand-orange) 100%);
    box-shadow: 0 6px 28px rgba(234, 88, 12, 0.5);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: linear-gradient(135deg, #f97316 0%, var(--brand-orange) 100%);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);
    color: #fff;
}

.btn-outline {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--brand-orange);
    color: var(--brand-orange);
    background: transparent;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
    background: var(--brand-orange);
    color: #fff;
    transform: translateY(-2px);
}

/* Page Header - orange to match logo (Contact, Sell Us, Terms, Privacy) */
.page-header {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Contact Section */
.contact-section,
.sell-us-section {
    padding: 4rem 0;
}

.contact-wrapper,
.sell-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form-area {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 2rem;
    align-items: start;
}

.contact-sidebar {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(234, 88, 12, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-sidebar-inner {
    margin: 0;
}

.contact-sidebar-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-orange-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-sidebar-text {
    font-size: 1rem;
    color: #374151;
    line-height: 1.5;
}

.contact-sidebar-text strong {
    color: var(--brand-orange-dark);
}

.contact-info h2,
.sell-us-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p,
.sell-us-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.info-box {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box ul {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.info-box li {
    margin-bottom: 0.5rem;
}

/* Forms */
.contact-form-wrapper,
.sell-us-form-wrapper {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-form h2,
.sell-us-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* Inquiry list box (Contact page) */
.inquiry-list-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.12);
}
.inquiry-list-box-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.inquiry-list-box-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}
.inquiry-list-box-title {
    font-size: 1.1rem;
    color: #065f46;
    margin: 0 0 0.25rem 0;
}
.inquiry-list-box-subtitle {
    font-size: 0.9rem;
    color: #047857;
    margin: 0;
    line-height: 1.4;
}
.inquiry-list-box-subtitle strong {
    color: #065f46;
}
.inquiry-list-items {
    list-style: none;
    padding: 0;
    margin: 0 0 0.75rem 0;
}
.inquiry-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(6, 95, 70, 0.15);
}
.inquiry-list-item-info {
    flex: 1;
    min-width: 0;
}
.inquiry-list-item-sku {
    font-size: 0.875rem;
    color: #047857;
    margin-top: 0.25rem;
}
.inquiry-list-item-remove {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.2s;
}
.inquiry-list-item-remove:hover {
    background: #b91c1c;
}
.inquiry-list-clear-wrap {
    margin-top: 0.5rem;
}
.inquiry-list-clear {
    background: transparent;
    color: #065f46;
    border: 1px solid #059669;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background 0.2s, color 0.2s;
}
.inquiry-list-clear:hover {
    background: #059669;
    color: #fff;
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.content-wrapper h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.content-wrapper p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.content-wrapper ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.content-wrapper a {
    color: var(--accent-color);
    text-decoration: none;
}

.content-wrapper a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
}

.theme-credit {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Showcase Section */
.showcase-section {
    padding: 4rem 0;
    /* Isolate stacking so scroll-up does not glitch with sticky header */
    position: relative;
    z-index: 1;
}

.showcase-filters {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.98);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.showcase-filters .form-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

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

.showcase-virtual-wrap {
    /* Spacer elements live here to preserve scroll height */
    position: relative;
}

.showcase-spacer {
    height: 0;
}

.showcase-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.1), 0 2px 6px rgba(44, 62, 80, 0.08);
    transition: box-shadow 0.2s ease;
    border: 2px solid rgba(44, 62, 80, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.item-info {
    /* Keep card height stable for virtualization math */
    min-height: 78px;
}

.item-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-item:hover {
    box-shadow: 0 12px 24px rgba(44, 62, 80, 0.15), 0 6px 12px rgba(44, 62, 80, 0.1);
    /* No transform on hover to avoid compositor layer issues when scrolling up */
}

.item-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #ffffff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid rgba(44, 62, 80, 0.1);
    position: relative;
}

.item-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    filter: none;
}

/* No image scale on hover to avoid scroll-up layer glitches */
.showcase-item:hover .item-image img {
    opacity: 0.98;
}

.item-info {
    padding: 1.5rem;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.showcase-item:hover .item-name {
    color: #e74c3c;
}

.item-description {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.load-more-wrap {
    text-align: center;
    padding: 2rem 0 3rem;
}
.load-more-wrap .btn { min-width: 200px; }

/* ========== Responsive: Tablet (max 1024px) ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .nav-toggle {
        display: flex;
        order: 2;
    }

    .nav-menu {
        display: none;
    }

    /* Vienna-style: full-screen mobile menu panel (separate overlay) */
    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10098;
        background: #fff;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        padding: 2rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .mobile-menu-panel.hidden {
        display: none !important;
    }
    /* When hamburger opens: script removes .hidden so this rule applies */
    .mobile-menu-panel:not(.hidden) {
        display: flex !important;
    }

    .mobile-menu-link {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 1.25rem;
        font-weight: 600;
        color: var(--text-color);
        text-decoration: none;
        border-radius: 8px;
        transition: background 0.2s, color 0.2s;
    }
    .mobile-menu-link:hover,
    .mobile-menu-link.active {
        color: var(--accent-color);
        background: var(--bg-light);
    }

    .mobile-menu-close-btn {
        margin-top: 1rem;
        padding: 0.75rem 2rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--white);
        background: var(--accent-color);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s, transform 0.2s;
    }
    .mobile-menu-close-btn:hover {
        background: var(--brand-orange-dark);
    }

    .hero-home {
        padding: 5rem 0 8rem;
        min-height: 48vh;
    }

    .hero-home-image .hero-inner {
        min-height: 44vh;
    }

    .hero-home h1 {
        font-size: 2.5rem;
    }

    .hero-home .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Tablet: same spacing scale, slightly tighter */
    :root {
        --section-space: 1.35rem;
        --section-header-gap: 1.125rem;
        --section-cta-gap: 0.75rem;
        --title-to-line: 0.35rem;
        --line-to-subtitle: 0.45rem;
    }
    .section-title { font-size: 1.75rem; }
    .featured-grid { gap: 1rem; }
    .featured-item-img-wrap { height: 220px; }
    .why-us-grid { gap: 1rem; }
    .why-us-item { padding: 1.25rem 1rem; }
    .why-us-icon { font-size: 2rem; }
    .why-us-icon-svg { width: 40px; height: 40px; }
    .why-us-icon-svg svg { width: 40px; height: 40px; }
    .why-us-item h3 { font-size: 1rem; }
    .categories-title { font-size: 1.75rem; }
    .cta-section-home h2 { font-size: 1.75rem; }
    .cta-section-home p { margin-bottom: 1.25rem; }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 0.875rem;
    }

    .contact-wrapper,
    .sell-us-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .contact-form-area {
        grid-template-columns: 1fr;
    }

    .contact-section,
    .sell-us-section {
        padding: 3rem 0;
    }

    .showcase-filters {
        grid-template-columns: 1fr;
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .showcase-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.5rem;
    }

    .showcase-section {
        padding: 3rem 0;
    }

    .item-image {
        height: 240px;
    }
}

/* ========== Responsive: Mobile (max 768px) ========== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo-img {
        height: 52px;
        max-width: 200px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-home {
        padding: 3rem 0 5.5rem;
        min-height: 38vh;
    }

    .hero-home-image .hero-bg-image {
        background-size: cover;
        background-position: center center;
    }

    .hero-home-image .hero-inner {
        min-height: 34vh;
    }

    .hero-home-image .hero-inner .btn-hero {
        bottom: -4.5rem;
    }

    .hero-home h1 {
        font-size: 2rem;
    }

    .hero-home .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-eyebrow {
        font-size: 0.8rem;
    }

    .btn-hero {
        padding: 1.1rem 2.5rem;
        font-size: 1.15rem;
        font-weight: 800;
    }

    .categories {
        padding: 2rem 0;
    }

    /* Mobile: same spacing scale, tighter */
    :root {
        --section-space: 1.25rem;
        --section-header-gap: 1rem;
        --section-cta-gap: 0.625rem;
        --title-to-line: 0.3rem;
        --line-to-subtitle: 0.4rem;
    }
    .section-title { font-size: 1.5rem; }
    .section-subtitle { font-size: 0.95rem; }
    .featured-grid { gap: 0.875rem; }
    .featured-item-img-wrap { height: 200px; padding: 0.75rem; }
    .featured-item-body { padding: 0.875rem; }
    .why-us-grid { gap: 0.875rem; }
    .why-us-item { padding: 1rem 0.875rem; }
    .why-us-icon { font-size: 1.75rem; margin-bottom: 0.5rem; }
    .why-us-item h3 { font-size: 1rem; }
    .why-us-item p { font-size: 0.875rem; }
    .why-us-icon-svg { width: 36px; height: 36px; }
    .why-us-icon-svg svg { width: 36px; height: 36px; }
    .categories-title { font-size: 1.5rem; }
    .categories-lead { font-size: 0.95rem; }
    .category-grid-featured { gap: 0.75rem; }
    .cta-section-home h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
    .cta-section-home p { font-size: 0.95rem; margin-bottom: 1rem; }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .category-item {
        padding: 1rem;
    }

    .cta-section {
        padding: 2rem 0;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .contact-wrapper,
    .sell-us-wrapper {
        gap: 1.5rem;
        margin-top: 1.25rem;
    }

    .contact-form-area {
        grid-template-columns: 1fr;
    }

    .contact-info h2,
    .sell-us-info h2 {
        font-size: 1.5rem;
    }

    .contact-form-wrapper,
    .sell-us-form-wrapper {
        padding: 1.5rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .content-wrapper h2 {
        font-size: 1.75rem;
    }

    .content-wrapper h3 {
        font-size: 1.35rem;
    }

    .showcase-filters {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .item-image {
        height: 260px;
    }

    .item-info {
        padding: 1.25rem;
    }

    footer {
        padding: 1.5rem 0;
        margin-top: 3rem;
    }

    footer p {
        font-size: 0.95rem;
    }
}

/* ========== Responsive: Small mobile (max 480px) ========== */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .logo-img {
        height: 44px;
        max-width: 180px;
    }

    .hero-home {
        padding: 2.5rem 1rem 4.5rem;
        min-height: 32vh;
    }

    .hero-home-image .hero-bg-image {
        background-size: cover;
        background-position: center center;
    }

    .hero-home-image .hero-inner {
        min-height: 28vh;
    }

    .hero-home-image .hero-inner .btn-hero {
        bottom: -4rem;
    }

    .hero-home h1 {
        font-size: 1.75rem;
    }

    .hero-home .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1.05rem;
        font-weight: 800;
    }

    .categories-title {
        font-size: 1.5rem;
    }

    .categories-lead {
        font-size: 0.95rem;
    }

    .cta-section-home h2 {
        font-size: 1.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .contact-info h2,
    .sell-us-info h2 {
        font-size: 1.35rem;
    }

    .inquiry-popup:not(.inquiry-popup-dragging) {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .inquiry-popup-tab {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }

    .inquiry-popup-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .inquiry-popup-text {
        font-size: 0.9rem;
    }

    .item-image {
        height: 220px;
    }
}

/* Global inquiry list popup (semi-transparent, draggable, hide/show) */
.inquiry-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    max-width: 380px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.inquiry-popup.inquiry-popup-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.inquiry-popup-inner {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.92) 0%, rgba(234, 88, 12, 0.92) 50%, rgba(220, 38, 38, 0.92) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(234, 88, 12, 0.4), 0 4px 14px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}
/* Compact state (default): smaller bar, expand to see full text */
.inquiry-popup:not(.inquiry-popup-expanded) .inquiry-popup-inner {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
}
.inquiry-popup:not(.inquiry-popup-expanded) .inquiry-popup-text {
    display: none;
}
.inquiry-popup:not(.inquiry-popup-expanded) {
    max-width: 320px;
}
.inquiry-popup-expand-toggle {
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.inquiry-popup-expand-toggle:hover {
    background: rgba(255,255,255,0.5);
}
.inquiry-popup-drag {
    cursor: move;
    font-size: 1rem;
    letter-spacing: 2px;
    opacity: 0.9;
    user-select: none;
    flex-shrink: 0;
}
.inquiry-popup-drag:hover {
    opacity: 1;
}
.inquiry-popup-icon {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}
.inquiry-popup-text {
    flex: 1;
    min-width: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}
.inquiry-popup-text strong { font-weight: 700; }
.inquiry-popup-text em { font-style: italic; opacity: 0.95; }
.inquiry-popup-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.25rem;
    background: rgba(255,255,255,0.95);
    color: #c2410c;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.inquiry-popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    color: #c2410c;
}
.inquiry-popup-hide {
    background: rgba(255,255,255,0.3);
    border: none;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.inquiry-popup-hide:hover {
    background: rgba(255,255,255,0.5);
}
/* Small tab when popup is hidden */
.inquiry-popup-tab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.9) 0%, rgba(234, 88, 12, 0.9) 100%);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.4);
    border: 2px solid rgba(255,255,255,0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.inquiry-popup-tab:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(234, 88, 12, 0.5);
}
.inquiry-popup-tab-icon {
    font-size: 1.1rem;
}

