/**
 * Frontend Stylesheet - LaceCraft B2B Manufacturing
 * Designed for speed, accessibility, and high-end textile presentation.
 * Step 10 Premium B2B Frontend Design System.
 */

:root {
    /* Step 10 B2B Design Tokens */
    --color-primary: #18181b;       /* Deep charcoal / deep neutral */
    --color-secondary: #fbf9f5;     /* Warm ivory / soft off-white */
    --color-accent: #b38755;        /* Elegant fashion textile bronze */
    --color-accent-hover: #9c7344;
    --color-background: #faf9f6;
    --color-surface: #ffffff;
    --color-text: #27272a;
    --color-muted: #71717a;
    --color-border: #e4e4e7;

    /* Primary Color Palette */
    --primary: var(--color-primary);
    --primary-hover: #27272a;
    --secondary: var(--color-muted);
    --accent: var(--color-accent);
    --accent-hover: var(--color-accent-hover);
    --accent-light: #f7f3ee;
    --bg-color: var(--color-background);
    --surface-color: var(--color-surface);
    --text-primary: var(--color-text);
    --text-muted: var(--color-muted);
    --border-color: var(--color-border);
    --border-subtle: #f1eee9;
    --success-color: #15803d;
    --warning-color: #b45309;
    --danger-color: #b91c1c;

    /* Backward compatibility mappings */
    --primary-color: var(--primary);
    --bg-light: var(--bg-color);
    --text-dark: var(--text-primary);
    --accent-color: var(--accent);

    /* Typography */
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-nav: var(--font-body);
    --font-button: var(--font-body);
    --font-sans: var(--font-body);

    --font-body-weight: 400;
    --font-heading-weight: 700;
    --font-nav-weight: 500;
    --font-button-weight: 600;

    --font-body-size: 1rem;
    --font-body-line-height: 1.65;
    --font-heading-line-height: 1.25;
    --font-letter-spacing: -0.02em;

    /* Components & Radii */
    --border-radius: 8px;
    --card-radius: 12px;
    --button-radius: 6px;
    --input-radius: 8px;
    --container-max-width: 1680px;

    /* Header & Footer Tokens */
    --header-bg: #ffffff;
    --header-text: #27272a;
    --nav-text: #334155;
    --nav-hover: var(--accent);
    --footer-bg: #081220;
    --footer-text: #94a3b8;
    --footer-heading: #ffffff;
}

body {
    font-family: var(--font-body, var(--font-sans));
    font-weight: var(--font-body-weight, 400);
    font-size: var(--font-body-size, 1rem);
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: var(--font-body-line-height, 1.65);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-title, .section-title, .hero-title {
    font-family: var(--font-heading);
    letter-spacing: var(--font-letter-spacing, -0.02em);
    line-height: var(--font-heading-line-height, 1.25);
    color: var(--color-heading, var(--text-primary));
}

h1 {
    font-size: var(--font-h1-size, clamp(2rem, 3.5vw + 1rem, 3.5rem));
    font-weight: var(--font-h1-weight, var(--font-heading-weight, 700));
    line-height: var(--font-h1-line-height, 1.2);
    letter-spacing: var(--font-h1-letter-spacing, var(--font-letter-spacing, -0.02em));
}
h2 {
    font-size: var(--font-h2-size, clamp(1.75rem, 2.5vw + 0.75rem, 2.5rem));
    font-weight: var(--font-h2-weight, var(--font-heading-weight, 700));
    line-height: var(--font-h2-line-height, 1.25);
    letter-spacing: var(--font-h2-letter-spacing, var(--font-letter-spacing, -0.02em));
}
h3 {
    font-size: var(--font-h3-size, clamp(1.35rem, 1.8vw + 0.5rem, 1.75rem));
    font-weight: var(--font-h3-weight, var(--font-heading-weight, 600));
    line-height: var(--font-h3-line-height, 1.3);
    letter-spacing: var(--font-h3-letter-spacing, var(--font-letter-spacing, -0.01em));
}
h4 {
    font-size: var(--font-h4-size, 1.25rem);
    font-weight: var(--font-h4-weight, var(--font-heading-weight, 600));
    line-height: var(--font-h4-line-height, 1.35);
    letter-spacing: var(--font-h4-letter-spacing, var(--font-letter-spacing, 0));
}
h5 {
    font-size: var(--font-h5-size, 1.1rem);
    font-weight: var(--font-h5-weight, var(--font-heading-weight, 600));
    line-height: var(--font-h5-line-height, 1.4);
    letter-spacing: var(--font-h5-letter-spacing, var(--font-letter-spacing, 0));
}
h6 {
    font-size: var(--font-h6-size, 0.95rem);
    font-weight: var(--font-h6-weight, var(--font-heading-weight, 600));
    line-height: var(--font-h6-line-height, 1.4);
    letter-spacing: var(--font-h6-letter-spacing, var(--font-letter-spacing, 0.02em));
}

.bg-surface {
    background-color: var(--surface-color) !important;
}

.bg-navy {
    background-color: var(--primary) !important;
}

.bg-charcoal {
    background-color: #121215 !important;
    color: #ffffff !important;
}

.bg-charcoal .text-light {
    color: #f4f4f5 !important;
}

.bg-charcoal .text-light.text-opacity-80 {
    color: rgba(244, 244, 245, 0.90) !important;
}

.bg-charcoal .text-light.text-opacity-70 {
    color: rgba(244, 244, 245, 0.82) !important;
}

.bg-charcoal .badge-editorial {
    background-color: rgba(179, 135, 85, 0.22);
    color: #f3dfc8;
    border-color: rgba(179, 135, 85, 0.5);
}

.text-accent {
    color: var(--accent) !important;
}

/* Accessibility: Focus visible outline & Skip Link */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.skip-to-content {
    transition: transform 0.2s ease-in-out;
}
.skip-to-content:focus {
    transform: translateY(0);
}

/* Editorial Badge */
.badge-editorial {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-hover);
    background-color: var(--accent-light);
    border: 1px solid rgba(197, 168, 128, 0.35);
    padding: 0.35rem 0.8rem;
    border-radius: 9999px;
}

/* Buttons */
.btn-accent {
    background-color: var(--btn-secondary-bg, var(--accent));
    color: var(--btn-secondary-text, #0b192c);
    border: 1px solid var(--btn-secondary-border, var(--accent));
    font-family: var(--font-button, inherit);
    font-weight: var(--font-button-weight, 600);
    border-radius: var(--btn-secondary-radius, var(--button-radius, 6px));
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}
.btn-accent:hover, .btn-accent:focus {
    background-color: var(--btn-secondary-hover-bg, var(--accent-hover));
    border-color: var(--btn-secondary-hover-bg, var(--accent-hover));
    color: var(--btn-secondary-hover-text, #ffffff);
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--btn-primary-bg, var(--primary));
    border-color: var(--btn-primary-border, var(--primary));
    color: var(--btn-primary-text, #ffffff);
    font-family: var(--font-button, inherit);
    font-weight: var(--font-button-weight, 600);
    border-radius: var(--btn-primary-radius, var(--button-radius, 6px));
    transition: all 0.2s ease;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--btn-primary-hover-bg, var(--primary-hover));
    border-color: var(--btn-primary-hover-bg, var(--primary-hover));
    color: var(--btn-primary-hover-text, #ffffff);
    transform: translateY(-1px);
}

/* Top Announcement / Contact Bar */
.top-contact-bar {
    background-color: var(--primary);
    color: #94a3b8;
    font-size: 0.82rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-contact-bar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}
.top-contact-bar a:hover {
    color: var(--accent);
}

/* Header & Navigation */
.header-container {
    max-width: var(--container-max-width, 1680px);
    margin-inline: auto;
    padding-inline: clamp(16px, 2.5vw, 40px);
}
.site-header {
    background-color: var(--header-bg, rgba(255, 255, 255, 0.98)) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
    transition: padding 0.2s ease, box-shadow 0.2s ease;
}
.site-header.header-scrolled {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.header-brand {
    max-width: 320px;
}
.navbar-brand {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary) !important;
}
.navbar-brand .brand-title {
    font-size: clamp(1.15rem, 1.5vw, 1.35rem);
    font-family: var(--font-heading);
}
.nav-link {
    font-family: var(--font-nav, inherit);
    font-weight: var(--font-nav-weight, 500);
    font-size: 0.9rem;
    color: var(--nav-text, #334155) !important;
    padding: 0.65rem 0.65rem !important;
    transition: color 0.15s ease-in-out;
}
.nav-link:hover, .nav-link.active {
    color: var(--nav-hover, var(--accent-hover)) !important;
}

/* Eliminate Duplicate Dropdown Caret / Arrows */
.site-header .dropdown-toggle::after,
.site-header .nav-dropdown-arrow::after,
.site-header .nav-more-toggle::after,
.site-header .nav-item-split .dropdown-toggle::after,
.dropdown-menu::after {
    display: none !important;
    content: none !important;
}

/* Split Navigation Item (Link navigates, chevron toggles) */
.nav-item-split {
    position: static;
}
.nav-item-split .nav-link-split {
    padding-right: 0.2rem !important;
}
.nav-item-split .nav-dropdown-arrow {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #64748b;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}
.nav-item-split .nav-dropdown-arrow:hover {
    background-color: var(--accent-light);
    color: var(--accent-hover) !important;
}
.nav-item-split.show .nav-dropdown-arrow i {
    transform: rotate(180deg);
}

/* "More" Navigation Dropdown for Compact Desktop (1200px - 1399px) */
.nav-item-more {
    position: relative;
}
.nav-item-more .nav-more-toggle {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    padding: 0.65rem 0.55rem !important;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
}
.nav-item-more .nav-more-toggle:hover,
.nav-item-more .nav-more-toggle.active {
    color: var(--accent-hover) !important;
}
.nav-item-more.show .nav-more-toggle i {
    transform: rotate(180deg);
}

/* Header Action Buttons (Search, Wishlist, Compare) */
.btn-header-action {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--surface-color);
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-size: 1rem;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
}
.btn-header-action:hover, .btn-header-action:focus-visible {
    border-color: var(--accent);
    background-color: var(--accent-light);
    color: var(--accent-hover);
    transform: translateY(-1px);
}
.header-quote-btn {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.84rem;
    letter-spacing: 0.03em;
}

/* Mobile & Small Smartphone Optimization (360px - 575px) */
@media (max-width: 575.98px) {
    .header-container {
        padding-inline: 10px !important;
    }
    .header-brand {
        max-width: 150px;
    }
    .header-brand .brand-title {
        font-size: 1.1rem;
    }
    .btn-header-action {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 0.9rem;
    }
    .navbar-toggler {
        padding: 0.25rem 0.4rem !important;
    }
}

/* Responsive Navigation Spacing */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .navbar-nav .nav-link {
        padding: 0.65rem 0.5rem !important;
        font-size: 0.88rem;
    }
    .header-right-actions {
        gap: 0.4rem !important;
        margin-left: 0.5rem !important;
    }
    .header-quote-btn {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
        font-size: 0.82rem;
    }
}
@media (min-width: 1400px) {
    .navbar-nav .nav-link {
        padding: 0.65rem 0.75rem !important;
        font-size: 0.9rem;
    }
    .header-right-actions {
        gap: 0.5rem !important;
    }
}

/* Mega-Menu Styling & Stable Desktop Hover Bridge */
.navbar-nav .nav-item.dropdown-mega {
    position: static;
}
.navbar-nav .dropdown-mega .mega-menu-dropdown {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
    border-radius: 0 0 16px 16px;
    border: 1px solid var(--border-color);
    border-top: none;
    background-color: var(--surface-color);
    box-shadow: 0 20px 40px -8px rgba(11, 25, 44, 0.15);
    padding: 1.75rem 0;
    z-index: 1040;
}
.mega-menu-cat-card {
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.mega-menu-cat-card:hover {
    background-color: var(--bg-color);
    border-color: var(--border-color);
    transform: translateY(-2px);
}
.mega-cat-icon {
    width: 48px;
    height: 48px;
    background-color: var(--accent-light);
    font-size: 1.25rem;
}

@media (min-width: 992px) {
    /* Stable Desktop Hover with pointer bridge */
    .navbar-nav .dropdown-mega:hover > .mega-menu-dropdown,
    .navbar-nav .dropdown-mega .mega-menu-dropdown:hover {
        display: block;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .navbar-nav .dropdown-mega > .mega-menu-dropdown {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(6px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
        border-top: 6px solid transparent; /* Pointer hover bridge */
    }
    .navbar-nav .dropdown-mega.show > .mega-menu-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0b192c 0%, #152945 100%);
    color: #ffffff;
    min-height: 480px;
    display: flex;
    align-items: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(197, 168, 128, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.15;
}

/* Product Cards */
.product-card {
    border-radius: var(--card-radius, 12px);
    background-color: var(--color-card, var(--surface-color));
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -6px rgba(11, 25, 44, 0.08);
    border-color: var(--accent);
}
.product-card-thumb {
    aspect-ratio: 4 / 3;
    background-color: #f1eee9;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}
.product-card-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img {
    transform: scale(1.04);
}
.product-placeholder, .category-placeholder, .application-placeholder, .blog-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #f8fafc 0%, #ede8e1 100%);
}
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 25, 44, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
}
.product-card:hover .product-card-overlay {
    opacity: 1;
}
.product-cat-pill {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-hover);
    background-color: var(--accent-light);
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
}
.product-card-title {
    font-family: var(--font-heading);
}

/* Category & Application & Blog Cards */
.category-card, .application-card, .blog-card {
    border-radius: var(--card-radius, 12px);
    background-color: var(--color-card, var(--surface-color));
    border: 1px solid var(--border-color);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.category-card:hover, .application-card:hover, .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -6px rgba(11, 25, 44, 0.08);
    border-color: var(--accent);
}
.category-card-media, .application-card-media, .blog-card-media {
    aspect-ratio: 16 / 10;
    background-color: #f1eee9;
}
.category-card-img, .application-card-img, .blog-card-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.category-card:hover .category-card-img,
.application-card:hover .application-card-img,
.blog-card:hover .blog-card-img {
    transform: scale(1.04);
}
.category-card-title, .application-card-title, .blog-card-title {
    font-family: var(--font-heading);
}

/* Product Gallery */
.gallery-main-frame {
    aspect-ratio: 4 / 3;
    max-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
}
.gallery-main-img {
    max-height: 500px;
    object-fit: contain;
}
.product-thumb-item {
    width: 72px;
    height: 72px;
    cursor: pointer;
    transition: border-color 0.15s ease, opacity 0.15s ease;
    background: #ffffff;
}
.product-thumb-item:hover {
    opacity: 0.85;
}
.product-thumb-item.active {
    border-color: var(--accent) !important;
    border-width: 2px !important;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #0b192c 0%, #152945 100%);
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 20px 40px -10px rgba(11, 25, 44, 0.15);
}

/* Breadcrumbs */
#breadcrumb-wrapper {
    margin: 0;
    padding: 0;
}
#breadcrumb-wrapper.d-none,
#breadcrumb-wrapper:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.site-breadcrumbs {
    background-color: #f1eee9;
    border-bottom: 1px solid var(--border-color);
    padding: 0.65rem 0;
    font-size: 0.82rem;
}
.site-breadcrumbs .breadcrumb {
    margin-bottom: 0;
}
.site-breadcrumbs .breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
}
.site-breadcrumbs .breadcrumb a:hover {
    color: var(--accent-hover);
}
.site-breadcrumbs .breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg, #081220) !important;
    color: var(--footer-text, #94a3b8) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-heading {
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--footer-heading, #ffffff) !important;
}
.footer-links a {
    color: var(--footer-text, #94a3b8);
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-links a:hover {
    color: #ffffff;
}
.social-link {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.15s ease;
}
.social-link:hover {
    color: var(--accent);
}

/* Fast-Nav Progress Bar */
#fast-nav-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--accent) 0%, #e2c9a9 100%);
    z-index: 9999;
    opacity: 0;
    transition: width 0.2s ease, opacity 0.2s ease;
}
#fast-nav-progress.active {
    opacity: 1;
}

/* Mobile Offcanvas */
.mobile-offcanvas {
    background-color: var(--surface-color);
    width: 320px;
}

/* Interactive Hero Slider */
.hero-slider-section {
    min-height: 560px;
    background-color: #111113;
}
.hero-slide {
    min-height: 560px;
    transition: opacity 0.5s ease-in-out;
}
.hero-slide-overlay {
    background: linear-gradient(90deg, rgba(17, 17, 19, 0.82) 0%, rgba(17, 17, 19, 0.52) 50%, rgba(17, 17, 19, 0.18) 100%);
    z-index: 1;
}
.text-shadow-sm {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
}
.hero-arrow:hover {
    background: rgba(196, 154, 108, 0.85);
    color: #18181b;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

.hero-slider-dots .hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.hero-slider-dots .hero-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

/* Creation Cards ("What are you creating?") */
.creation-card {
    background: #ffffff;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    border: 1px solid #f1eee9 !important;
}
.creation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08) !important;
    border-color: var(--color-accent) !important;
}
.creation-icon-wrap {
    width: 60px;
    height: 60px;
    background: #fbf9f5;
    transition: background 0.2s, color 0.2s;
}
.creation-card:hover .creation-icon-wrap {
    background: var(--color-accent);
    color: #ffffff !important;
}

/* Look Discovery Pills */
.look-pill {
    background: #ffffff;
    border-color: #e4e4e7 !important;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}
.look-pill:hover {
    background: var(--color-primary);
    color: #ffffff !important;
    border-color: var(--color-primary) !important;
}
.look-pill:hover i {
    color: var(--color-accent) !important;
}

/* Wizard / Requirement Configurator */
.wizard-choice-btn {
    border-color: #e4e4e7;
    background: #ffffff;
    transition: all 0.15s ease;
}
.wizard-choice-btn:hover,
.wizard-choice-btn.selected {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
}
.wizard-choice-btn.selected i {
    color: var(--color-accent) !important;
    opacity: 1 !important;
}

/* Action Quick-Buttons on Cards */
.btn-action-round {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}
.btn-action-round:hover {
    background: var(--color-accent);
    color: #ffffff !important;
    transform: scale(1.1);
}
.btn-action-round.active {
    background: var(--color-accent);
    color: #ffffff !important;
}
.btn-action-round.active i {
    color: #ffffff !important;
}

/* Hover Lift utility */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

/* Comparison Floating Bar */
.compare-floating-bar {
    backdrop-filter: blur(12px);
    background: rgba(24, 24, 27, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: transform 0.3s ease;
}
.compare-thumb-item {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Responsive & Overflow Protections */
@media (max-width: 991.98px) {
    .hero-headline {
        font-size: 2.2rem;
    }
    .hero-slider-section {
        min-height: 480px;
    }
    .hero-arrow {
        display: none;
    }
}
@media (max-width: 575.98px) {
    .hero-headline {
        font-size: 1.85rem;
    }
    .hero-slider-section {
        min-height: 440px;
    }
    .hero-slide-overlay {
        background: linear-gradient(180deg, rgba(17, 17, 19, 0.85) 0%, rgba(17, 17, 19, 0.92) 100%);
    }
    .cta-banner {
        padding: 2rem 1.25rem !important;
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Responsive Grid and Desktop Rules */
.col-12 {
    width: 100%;
}
.btn, .form-control, .form-select, .nav-link {
    min-height: 44px;
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ==========================================
   STEP 11: CUSTOMER DISCOVERY & B2B WIDGET STYLES
   ========================================== */

/* 1. Live Search Dropdown */
.nav-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.18);
    border: 1px solid #e4e4e7;
    z-index: 1060;
    max-height: 420px;
    overflow-y: auto;
}
.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #27272a;
    border-bottom: 1px solid #f4f4f5;
    transition: background 0.15s ease;
}
.search-suggestion-item:last-child {
    border-bottom: none;
}
.search-suggestion-item:hover,
.search-suggestion-item.active {
    background: #fbf9f5;
    color: #18181b;
}
.search-suggestion-thumb {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    background: #f4f4f5;
    flex-shrink: 0;
}

/* 2. Interactive "Find Your Lace" Filter Chips */
.find-lace-chip {
    transition: all 0.15s ease;
    font-size: 0.82rem;
    color: #3f3f46;
}
.find-lace-chip:hover {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
}
.find-lace-chip.active {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
    box-shadow: 0 2px 8px rgba(24, 24, 27, 0.25);
}

/* 3. Swatch Chips with Color Indicator Dots */
.swatch-chip {
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}
.swatch-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.swatch-chip:hover,
.swatch-chip.active {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
}

/* 4. Multi-Step RFQ Wizard Styling */
.rfq-choice-btn {
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border-color: #e4e4e7;
    background: #ffffff;
}
.rfq-choice-btn:hover {
    border-color: #18181b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}
.rfq-choice-btn.selected {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
}
.rfq-choice-btn.selected h6,
.rfq-choice-btn.selected p {
    color: #ffffff !important;
}
.rfq-choice-btn.selected .text-accent {
    color: var(--color-accent) !important;
}
.rfq-color-pill {
    font-size: 0.8rem;
    transition: all 0.15s ease;
}
.rfq-color-pill.active {
    background: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
}

/* 5. Mobile Sticky CTA Bar */
.mobile-sticky-cta-bar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.96) !important;
    border-top: 1px solid #e4e4e7;
}

/* 6. Benefit / Why Choose Us Cards */
.benefit-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(179, 135, 85, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Skeletons */
.skeleton-box {
    background: linear-gradient(90deg, #f4f4f5 25%, #e4e4e7 50%, #f4f4f5 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================================================
   STEP 15: B2B BUYER EXPERIENCE & SHOWROOM STYLING
   ========================================================================== */

/* Trust Manufacturing Strip */
.trust-manufacturing-strip {
    background: #121316;
}
.trust-manufacturing-strip .bi {
    transition: transform 0.2s ease;
}
.trust-manufacturing-strip:hover .bi {
    transform: scale(1.08);
}

/* Shop by Application B2B Cards */
.b2b-app-card {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    border: 1px solid #e4e4e7 !important;
}
.b2b-app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08) !important;
}
.b2b-app-media img {
    transition: transform 0.4s ease;
}
.b2b-app-card:hover .b2b-app-media img {
    transform: scale(1.05);
}
.b2b-app-gradient-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(18,19,22,0.85) 90%);
}
.b2b-app-card:hover .bi-arrow-right {
    transform: translateX(4px);
}

/* Quick RFQ Homepage Card */
.homepage-rfq-card {
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.homepage-rfq-badge {
    background: rgba(179, 135, 85, 0.12);
    color: #8c602c;
    font-weight: 600;
}

/* ==========================================================================
   STEP 16: B2B VISUAL EXPERIENCE + CUSTOMER JOURNEY REFINEMENTS
   ========================================================================== */

/* Quick Product Discovery Configurator Chips */
.find-lace-chip {
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
    border-color: #d1d5db !important;
}
.find-lace-chip:hover {
    border-color: var(--color-accent) !important;
    background-color: #fbf9f6 !important;
    transform: translateY(-1px);
}
.find-lace-chip.active {
    background-color: rgba(196, 154, 108, 0.14) !important;
    border-color: var(--color-accent) !important;
    border-width: 2px !important;
    color: #18181b !important;
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--color-accent);
}
.find-lace-chip.active .chip-check-icon {
    display: inline-block !important;
    color: var(--color-accent);
}

/* Product Card Micro-Interactions */
.product-card {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.12) !important;
}
.product-card .product-card-img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-card-img {
    transform: scale(1.04);
}

/* Visual Collection Tile Micro-Interactions */
.category-card {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.14) !important;
}
.category-card:hover .category-card-img {
    transform: scale(1.04);
}
.category-card:hover .bi-arrow-right {
    transform: translateX(4px);
}

/* Requirement Configurator Wizard Choices */
.wizard-choice-btn {
    transition: all 0.2s ease;
}
.wizard-choice-btn:hover {
    background-color: #f4f4f5;
    border-color: #18181b;
}
.wizard-choice-btn.selected {
    background-color: #18181b !important;
    color: #ffffff !important;
    border-color: #18181b !important;
}
.wizard-choice-btn.selected i {
    opacity: 1 !important;
    color: var(--color-accent) !important;
}

/* Accessibility: Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-card-img,
    .b2b-app-card,
    .b2b-app-media img,
    .category-card,
    .category-card-img,
    .find-lace-chip,
    .hero-slide {
        transition: none !important;
        transform: none !important;
    }
}


