:root {
    --primary: #e65100;
    --primary-dark: #bf360c;
    --primary-light: #ff9800;
    --accent: #ff6f00;
    --accent-light: #ffcc80;
    --success: #2e7d32;
    --gray-dark: #212121;
    --gray-light: #f8f9fa;
    --gray-border: #e8eaed;
    --text-primary: #1a1a1a;
    --text-secondary: #5f6368;
    --surface: #ffffff;
    --bg: #f4f6f8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
}

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

a { color: inherit; }

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 0.85rem 0;
    box-shadow: 0 8px 32px rgba(230, 81, 0, 0.28);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.55rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
}

.logo:hover { transform: scale(1.02); }
.logo small { display: block; font-size: 0.72rem; opacity: 0.9; font-weight: 500; }

.search-bar { flex: 1; max-width: 480px; position: relative; }

.search-bar input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.95rem;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-primary);
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}

.search-bar > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
}

#searchResults {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-item {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--gray-border);
    transition: var(--transition);
}

.search-item:hover { background: var(--gray-light); padding-left: 20px; }
.search-item img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }
.search-item strong { display: block; margin-bottom: 2px; }
.search-item small { color: var(--text-secondary); }

.nav-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 12px;
}

.primary-nav { display: flex; gap: 6px; align-items: center; }

.primary-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 10px;
    transition: var(--transition);
    font-size: 0.92rem;
}

.primary-nav a:hover,
.primary-nav a.is-active { background: rgba(255, 255, 255, 0.16); }
.primary-nav a i { margin-right: 6px; }

.quote-nav-link { position: relative; }
.quote-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}
.quote-badge[hidden] { display: none; }

/* Layout */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.page-head h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.page-head__subtitle {
    color: var(--text-secondary);
    margin-top: 6px;
    max-width: 640px;
}

.page-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 1.65rem;
    margin: 0;
}

.section-head p {
    color: var(--text-secondary);
    margin-top: 4px;
}

.section-head__link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.section-head__link:hover { color: var(--accent); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary,
.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
}

.btn-primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 81, 0, 0.32);
}

/* Light-background outline button */
.btn-outline,
.btn-outline-dark {
    background: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover,
.btn-outline-dark:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Hero / gradient-banner outline button */
.cta-button.secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

/* Hero */
.hero {
    color: #fff;
    padding: 88px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slides { position: absolute; inset: 0; z-index: 0; }

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(191, 54, 12, 0.55) 0%,
        rgba(14, 14, 14, 0.45) 45%,
        rgba(14, 14, 14, 0.72) 100%
    );
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 14px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    opacity: 0.95;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-indicators {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicator.active {
    background: #fff;
    transform: scale(1.15);
}

/* Grids & cards */
.category-grid,
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-body {
    padding: 20px;
    color: var(--text-primary);
}

.card-body h3 {
    color: var(--text-primary);
}

.price {
    font-size: 1.35rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin: 8px 0 0;
}

/* Product card */
.product-card { position: relative; }

.product-card__quote-btn {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 7px 11px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-card__quote-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.product-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card__media {
    position: relative;
    overflow: hidden;
}

.product-card__media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.product-card__excerpt {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.product-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Category card */
.category-card { position: relative; min-height: 280px; }

.category-card__link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.category-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-card:hover img { transform: scale(1.06); }

.category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.72) 100%);
}

.category-card__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px;
    z-index: 1;
}

.category-card__content h3 { font-size: 1.25rem; margin-bottom: 6px; }
.category-card__content p { font-size: 0.88rem; opacity: 0.92; margin-bottom: 10px; }

.category-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.category-card__badge {
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Home page — compact category cards */
.category-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
}

.category-card--compact {
    min-height: 190px;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.07);
}

.category-card--compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.category-card--compact:hover::before { opacity: 1; }

.category-card--compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(230, 81, 0, 0.14);
}

.category-card--compact img {
    height: 190px;
}

.category-card--compact .category-card__overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(26, 26, 26, 0.82) 100%
    );
}

.category-card--compact .category-card__content {
    padding: 14px 16px 16px;
}

.category-card--compact .category-card__content h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.category-card--compact .category-card__content p {
    font-size: 0.76rem;
    line-height: 1.45;
    margin-bottom: 8px;
    opacity: 0.88;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card--compact .category-card__meta {
    font-size: 0.72rem;
    gap: 8px;
}

.category-card--compact .category-card__badge {
    font-size: 0.68rem;
    padding: 3px 9px;
    background: rgba(255, 87, 34, 0.92);
    backdrop-filter: blur(4px);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Categories page */
.categories-page {
    padding-bottom: 48px;
}

.categories-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 100%);
    color: #fff;
    padding: 56px 20px 72px;
    text-align: center;
}

.categories-hero__content {
    max-width: 720px;
    margin: 0 auto;
}

.categories-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.categories-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    margin-bottom: 12px;
    font-weight: 700;
}

.categories-hero p {
    opacity: 0.95;
    line-height: 1.7;
    margin-bottom: 24px;
}

.categories-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.categories-stats {
    margin-top: -36px;
    margin-bottom: 36px;
}

.categories-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.categories-toolbar__search {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.categories-toolbar__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.categories-toolbar__search input {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1px solid var(--gray-border);
    border-radius: 50px;
    font-size: 0.92rem;
    background: #fff;
    color: var(--text-primary);
}

.categories-toolbar__search input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.16);
}

.categories-toolbar__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.categories-toolbar__sort-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.categories-toolbar__controls select {
    padding: 10px 12px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.categories-toolbar__count {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(255, 152, 0, 0.12);
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.category-chips__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.category-chip {
    cursor: pointer;
    border: 1px solid rgba(230, 81, 0, 0.18);
    font-family: inherit;
}

.category-chip small {
    background: rgba(255, 255, 255, 0.55);
    padding: 1px 7px;
    border-radius: 20px;
    font-size: 0.72rem;
    margin-left: 4px;
}

.category-chip.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.category-chip.is-active small {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.category-grid--modern {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.category-card--modern {
    min-height: 320px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(230, 81, 0, 0.1);
    transition: var(--transition);
}

.category-card--modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 2;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.category-card--modern:hover::before {
    opacity: 1;
}

.category-card--modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(230, 81, 0, 0.16);
}

.category-card--modern img {
    height: 320px;
}

.category-card--modern .category-card__overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.35) 50%,
        rgba(20, 20, 20, 0.88) 100%
    );
}

.category-card--modern .category-card__content h3 {
    font-size: 1.35rem;
}

.category-card--modern.is-hidden {
    display: none;
}

.categories-empty-filter {
    text-align: center;
    padding: 48px 24px;
    background: var(--surface);
    border: 1px dashed var(--gray-border);
    border-radius: var(--radius);
    margin-bottom: 48px;
}

.categories-empty-filter i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.categories-empty-filter h3 {
    margin-bottom: 8px;
}

.categories-empty-filter p {
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.categories-cta {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.12), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(230, 81, 0, 0.16);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.categories-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.categories-cta h2 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.categories-cta h2 i {
    color: var(--primary);
    margin-right: 8px;
}

.categories-cta p {
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0;
}

.categories-cta__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Category detail page */
.category-page {
    padding-bottom: 48px;
}

.category-hero-modern {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
}

.category-hero-modern__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.category-hero-modern__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(191, 54, 12, 0.92) 0%,
        rgba(230, 81, 0, 0.78) 45%,
        rgba(255, 111, 0, 0.72) 100%
    );
}

.category-hero-modern__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 20px 56px;
}

.breadcrumb--hero {
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.92);
}

.breadcrumb--hero a {
    color: #fff;
    opacity: 0.92;
}

.breadcrumb--hero a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb--hero strong {
    color: #fff;
    font-weight: 700;
}

.category-hero-modern__content {
    max-width: 760px;
}

.category-hero-modern__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.category-hero-modern h1 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 12px;
    font-weight: 700;
    color: #fff;
}

.category-hero-modern p {
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 22px;
    color: #fff;
}

.category-hero-modern__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.category-stats {
    margin-top: -36px;
    margin-bottom: 36px;
}

.category-products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.category-products-toolbar__search {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.category-products-toolbar__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.category-products-toolbar__search input {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1px solid var(--gray-border);
    border-radius: 50px;
    font-size: 0.92rem;
    background: #fff;
    color: var(--text-primary);
}

.category-products-toolbar__search input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.16);
}

.category-products-toolbar__controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.category-products-toolbar__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.category-products-toolbar__controls select {
    padding: 10px 12px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.category-products-toolbar__count {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(255, 152, 0, 0.12);
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.product-grid--category {
    margin-bottom: 48px;
}

.product-card.is-hidden {
    display: none;
}

.category-related {
    margin-bottom: 48px;
}

.category-related .section-head h2 i {
    color: var(--primary);
}

.category-page-cta {
    margin-top: 8px;
}

.category-products-empty {
    margin-top: -24px;
}

/* Stock badge */
.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.stock-badge--high { background: rgba(232, 245, 233, 0.95); color: var(--success); }
.stock-badge--medium { background: rgba(255, 243, 224, 0.95); color: #e65100; }
.stock-badge--low { background: rgba(255, 235, 238, 0.95); color: #c62828; }
.stock-badge--out { background: rgba(245, 245, 245, 0.95); color: #616161; }

.stock-badge--inline {
    position: static;
    top: auto;
    right: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

/* Feature panel */
.feature-panel {
    background: var(--surface);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 56px;
    box-shadow: var(--shadow-md);
    text-align: center;
    color: var(--text-primary);
}

.feature-panel h2 {
    color: var(--text-primary);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.feature-grid h4 { color: var(--primary); margin: 12px 0 8px; }
.feature-grid p { color: var(--text-secondary); font-size: 0.92rem; }
.feature-grid i { font-size: 2.2rem; color: var(--accent); }

/* CTA & testimonials */
.cta-banner,
.testimonials {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #fff;
    padding: 56px 40px;
    border-radius: var(--radius);
    margin: 56px 0;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.testimonials h2 { color: #fff; margin-bottom: 28px; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    text-align: left;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.12);
    padding: 22px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    color: #fff;
}

.testimonial-card p,
.testimonial-card strong {
    color: #fff;
}

.testimonial-card .stars { color: var(--accent-light); margin-bottom: 10px; }

/* Contact */
.contact-panel {
    background: var(--surface);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
}

.contact-panel h2 {
    color: var(--text-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.contact-grid h4 { color: var(--primary); margin-bottom: 10px; }
.contact-grid p { color: var(--text-secondary); }

/* Catalog layout */
.catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
    align-items: start;
}

.filter-sidebar {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 96px;
}

.filter-sidebar h3 {
    color: var(--primary);
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.filter-group { margin-bottom: 20px; }

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.filter-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-primary);
}

.filter-count {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.filter-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(230, 81, 0, 0.12);
}

.filter-sidebar__head h3 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-sidebar__close {
    display: none;
    border: none;
    background: var(--gray-light);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
}

.filter-group input[type="text"],
.filter-group input[type="search"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.18);
}

.filter-category-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

.filter-category-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-category-option:hover {
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(230, 81, 0, 0.12);
}

.filter-category-option input {
    accent-color: var(--primary);
    flex-shrink: 0;
}

.filter-category-option span {
    flex: 1;
    min-width: 0;
}

.filter-category-option small {
    color: var(--text-secondary);
    font-size: 0.78rem;
    background: var(--gray-light);
    padding: 2px 8px;
    border-radius: 20px;
}

.filter-category-option:has(input:checked) {
    background: rgba(255, 152, 0, 0.14);
    border-color: rgba(230, 81, 0, 0.25);
    font-weight: 600;
}

.filter-stock-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-stock-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-stock-option input { accent-color: var(--primary); }

.filter-reset {
    width: 100%;
    text-align: center;
    margin-top: 4px;
}

/* Home catalogue */
.home-hero .hero-content {
    max-width: 820px;
}

.home-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 18px;
    backdrop-filter: blur(6px);
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: -36px auto 40px;
    max-width: 1320px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

.home-stat-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(230, 81, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 16px;
}

.home-stat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.home-stat-card strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--primary-dark);
}

.home-stat-card span {
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.home-catalog-section {
    margin-bottom: 56px;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.catalog-toolbar__toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255, 152, 0, 0.12);
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(230, 81, 0, 0.18);
    transition: var(--transition);
}

.filter-chip:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.filter-chip i { font-size: 0.72rem; }

.home-categories-strip {
    margin-bottom: 56px;
}

.home-categories-strip .section-head h2 i {
    color: var(--primary);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    font-size: 0.92rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Product detail */
.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    margin-bottom: 64px;
}

.product-detail__media {
    position: sticky;
    top: 110px;
    min-width: 0;
}

.product-detail__image-wrap {
    background: var(--surface);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.product-detail__image-wrap img,
.product-gallery__main {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--gray-light);
    transition: opacity 0.25s ease;
}

.product-gallery__stage {
    position: relative;
}

.product-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.product-gallery__nav:hover {
    background: var(--primary);
    color: #fff;
}

.product-gallery__nav--prev { left: 14px; }
.product-gallery__nav--next { right: 14px; }

.product-gallery__zoom {
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.product-gallery__zoom:hover {
    background: var(--primary);
    color: #fff;
}

.product-gallery__counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    z-index: 2;
}

.product-gallery {
    min-width: 0;
}

.product-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.product-gallery__thumb {
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: var(--surface);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(230, 81, 0, 0.18);
}

.product-gallery__thumb.is-active {
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.22);
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-lightbox[hidden] { display: none; }

.product-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(4px);
}

.product-lightbox__dialog {
    position: relative;
    z-index: 1;
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    width: 100%;
}

.product-lightbox__image {
    width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    background: #111;
}

.product-lightbox__close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.wishlist-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.product-detail__badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-detail h1:not(.product-info-card__title) {
    font-size: 2rem;
    margin: 10px 0;
}

.product-detail__price-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.14), rgba(230, 81, 0, 0.06));
    padding: 20px;
    border-radius: 12px;
    margin: 24px 0;
}

.product-detail__price-box .price { font-size: 2.2rem; margin: 0; }

.specs-table {
    width: 100%;
    font-size: 0.92rem;
    background: var(--gray-light);
    border-radius: 12px;
    padding: 4px 0;
}

.specs-table tr { border-bottom: 1px solid var(--gray-border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 16px; }
.specs-table td:first-child { font-weight: 600; color: var(--text-secondary); width: 42%; }

.text-block {
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    line-height: 1.7;
}

.contact-strip {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 24px;
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0;
}

.detail-actions--triple {
    grid-template-columns: repeat(3, 1fr);
}

/* Modern product page */
.product-page-body {
    background: linear-gradient(180deg, #fff 0%, var(--bg) 280px);
}

.product-page {
    padding-bottom: 32px;
}

@media (max-width: 992px) {
    .product-page-body {
        padding-bottom: 88px;
    }
}

.product-page__breadcrumb {
    margin-bottom: 28px;
    padding: 12px 16px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.product-page__breadcrumb strong {
    display: inline;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.product-detail--modern {
    gap: 40px;
    margin-bottom: 72px;
}

.product-detail__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.product-info-card__meta .product-detail__badge {
    margin-bottom: 0;
}

.product-info-card {
    background: var(--surface);
    border: 1px solid rgba(230, 81, 0, 0.1);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-md);
}

.product-info-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.product-detail__badge {
    text-decoration: none;
    transition: var(--transition);
}

.product-detail__badge:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.product-info-card__sku {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--gray-light);
    padding: 6px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.product-info-card__title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}

.product-highlights {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
}

.product-highlights__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 152, 0, 0.07);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.product-highlights__item i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}

.product-purchase-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(230, 81, 0, 0.16);
    border-radius: 16px;
    padding: 22px;
}

.product-purchase-box__price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.product-purchase-box__label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 4px;
}

.product-purchase-box__price {
    font-size: 2.35rem;
    margin: 0;
    line-height: 1;
}

.product-purchase-box__stock {
    text-align: right;
    background: var(--surface);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--gray-border);
    min-width: 110px;
}

.product-purchase-box__stock strong {
    display: block;
    font-size: 1.35rem;
    color: var(--primary-dark);
    line-height: 1.1;
}

.product-purchase-box__stock span:last-child {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.product-purchase-box__cta {
    width: 100%;
    padding: 15px 24px;
    font-size: 1rem;
    border-radius: 14px;
}

.product-purchase-box__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.product-purchase-box__action {
    padding: 10px 12px;
    font-size: 0.82rem;
    border-radius: 12px;
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
}

.product-purchase-box__quote-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.product-purchase-box__quote-link:hover {
    color: var(--primary-dark);
}

.product-panels {
    background: var(--surface);
    border: 1px solid var(--gray-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.product-panels__nav {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: var(--gray-light);
    border-bottom: 1px solid var(--gray-border);
    overflow-x: auto;
}

.product-panels__tab {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.88rem;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.product-panels__tab:hover {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.8);
}

.product-panels__tab.is-active {
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.product-panels__content {
    padding: 22px;
}

.product-panels__panel {
    display: none;
}

.product-panels__panel.is-active {
    display: block;
    animation: productPanelIn 0.25s ease;
}

@keyframes productPanelIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-panels__text {
    margin: 0;
    background: transparent;
    border: none;
    padding: 0;
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-spec-item {
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 14px 16px;
}

.product-spec-item__label {
    display: block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 700;
    margin-bottom: 6px;
}

.product-spec-item__value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.product-spec-item__value code {
    background: rgba(230, 81, 0, 0.08);
    color: var(--primary-dark);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.88rem;
}

.product-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-support-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border-radius: 14px;
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.product-support-card i {
    color: var(--primary);
    font-size: 1.2rem;
}

.product-support-card strong {
    font-size: 0.95rem;
}

.product-support-card span {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.product-support-card:hover {
    border-color: rgba(230, 81, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.product-gallery__photos-tag {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    z-index: 2;
}

.product-related {
    padding-top: 12px;
    border-top: 1px solid var(--gray-border);
}

.product-related__grid {
    margin-bottom: 48px;
}

.product-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--gray-border);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
}

.product-sticky-bar[hidden] {
    display: none;
}

.product-sticky-bar__inner {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.product-sticky-bar__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-sticky-bar__info strong {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-sticky-bar__info .price {
    font-size: 1.05rem;
    margin: 0;
}

.product-sticky-bar__cta {
    flex-shrink: 0;
    padding: 12px 18px;
    border-radius: 12px;
    white-space: nowrap;
}

@media (min-width: 993px) {
    .product-sticky-bar {
        display: none !important;
    }
}

.btn-sm {
    padding: 8px 14px;
    font-size: 0.85rem;
}

/* Quotation builder */
.quote-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 48px;
}

.quote-panel {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.quote-panel h2 {
    font-size: 1.15rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.quote-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.quote-panel__head h2 { margin-bottom: 0; }

.quote-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.quote-form__full { grid-column: 1 / -1; }

.quote-form label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
}

.quote-form input:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.16);
}

.quote-empty {
    text-align: center;
    padding: 48px 20px;
    color: var(--text-secondary);
}

.quote-empty i {
    font-size: 2.5rem;
    color: var(--gray-border);
    margin-bottom: 12px;
}

.quote-table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

.quote-table th,
.quote-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid var(--gray-border);
}

.quote-table th {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: var(--gray-light);
}

.quote-table td {
    color: var(--text-primary);
}

.quote-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-item img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.quote-item strong { display: block; font-size: 0.95rem; }
.quote-item span { font-size: 0.8rem; color: var(--text-secondary); }

.quote-qty-input {
    width: 72px;
    padding: 8px 10px;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    font-weight: 600;
}

.quote-remove-btn {
    border: none;
    background: #ffebee;
    color: var(--primary);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.quote-remove-btn:hover { background: var(--primary); color: #fff; }

.quote-summary {
    border-top: 1px solid var(--gray-border);
    padding-top: 18px;
}

.quote-summary__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.quote-summary__total {
    font-size: 1.2rem;
    color: var(--success);
    margin: 10px 0 12px;
}

.quote-summary__note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.quote-summary__discount {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(230, 81, 0, 0.18);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--text-primary);
    line-height: 1.55;
}

.quote-summary__discount i {
    color: var(--primary);
    margin-right: 6px;
}

.quote-summary__discount a {
    color: var(--primary-dark);
    font-weight: 600;
}

.quote-export-btn {
    width: 100%;
    justify-content: center;
}

.quote-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 200;
    background: var(--gray-dark);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    transition: var(--transition);
    pointer-events: none;
}

.quote-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Category hero */
.category-hero {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 56px 40px;
    border-radius: var(--radius);
    text-align: center;
    margin-bottom: 48px;
}

.category-hero img {
    max-height: 180px;
    border-radius: 12px;
    margin: 0 auto 20px;
    object-fit: cover;
}

.category-hero h1,
.category-hero p {
    color: #fff;
    margin-bottom: 10px;
}

.cta-banner h2,
.cta-banner p {
    color: #fff;
}

.tip-panel {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.06), rgba(255, 111, 0, 0.08));
    padding: 28px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin-top: 40px;
    color: var(--text-primary);
}

.tip-panel h3,
.tip-panel p {
    color: inherit;
}

/* Pagination & empty */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination__btn {
    padding: 10px 14px;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    background: #fff;
    transition: var(--transition);
}

.pagination__btn:hover,
.pagination__btn.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.empty-state {
    text-align: center;
    padding: 56px 24px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.empty-state i {
    font-size: 3rem;
    color: var(--gray-border);
    margin-bottom: 16px;
}

.empty-state h3 { color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 20px; }

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--gray-dark), #424242);
    color: #fff;
    padding: 56px 20px 28px;
    margin-top: 72px;
}

.footer-content {
    max-width: 1320px;
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    text-align: left;
}

.footer-section h4 { margin-bottom: 14px; font-size: 1.05rem; }
.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
    font-size: 0.92rem;
}

.footer-section a:hover { color: #fff; }

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.search-bar input::placeholder,
input::placeholder,
textarea::placeholder {
    color: #8a8f98;
}

.quote-form input,
.quote-form textarea {
    color: var(--text-primary);
    background: #fff;
}

.newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    text-align: center;
    font-size: 0.88rem;
    opacity: 0.9;
}

.footer-bottom p + p {
    margin-top: 8px;
}

.footer-credit a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-credit a:hover {
    color: var(--accent-light);
}

#backToTop {
    display: none;
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .search-bar { display: none; }
    .nav-toggle { display: inline-flex; }
    .primary-nav {
        width: 100%;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.35s ease;
    }
    .site-header.nav-open .primary-nav {
        max-height: 320px;
        opacity: 1;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        border-radius: 12px;
        padding: 8px;
        margin-top: 4px;
    }

    .site-header.nav-open .primary-nav a {
        color: #fff;
    }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-toolbar__toggle { display: inline-flex; }
    .filter-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(320px, 88vw);
        z-index: 200;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        border-radius: 0;
        transform: translateX(-110%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    .filter-sidebar.is-open { transform: translateX(0); }
    .filter-sidebar__close { display: inline-flex; align-items: center; justify-content: center; }
    .filter-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 199;
    }
    .filter-backdrop.is-visible { display: block; }
    .home-stats { grid-template-columns: 1fr; margin-top: -20px; }
    .categories-stats,
    .category-stats { margin-top: -20px; }
    .categories-toolbar,
    .category-products-toolbar { flex-direction: column; align-items: stretch; }
    .category-products-toolbar__controls { justify-content: space-between; }
    .category-hero-modern { min-height: 320px; }
    .category-hero-modern__inner { padding: 24px 16px 40px; }
    .categories-toolbar__controls { justify-content: space-between; }
    .categories-cta__inner { flex-direction: column; align-items: flex-start; }
    .category-grid--modern { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; gap: 28px; }
    .product-detail__media { position: static; }
}

@media (max-width: 640px) {
    .container { padding: 24px 16px; }
    .hero { padding: 64px 16px; min-height: 360px; }
    .category-grid--compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .category-card--compact,
    .category-card--compact img {
        min-height: 150px;
        height: 150px;
    }
    .category-card--compact .category-card__content {
        padding: 10px 12px 12px;
    }
    .category-card--compact .category-card__content h3 { font-size: 0.88rem; }
    .category-card--compact .category-card__content p { -webkit-line-clamp: 1; }
    .category-grid:not(.category-grid--compact),
    .product-grid { grid-template-columns: 1fr; }
    .feature-panel,
    .contact-panel,
    .cta-banner,
    .testimonials { padding: 32px 20px; }
    .detail-actions,
    .detail-actions--triple { grid-template-columns: 1fr; }
    .product-purchase-box__actions { grid-template-columns: 1fr; }
    .product-spec-grid,
    .product-support-grid { grid-template-columns: 1fr; }
    .product-info-card__sku { margin-left: 0; }
    .quote-layout { grid-template-columns: 1fr; }
    .quote-form__grid { grid-template-columns: 1fr; }
    .quote-table { min-width: 0; }
    .quote-table thead { display: none; }
    .quote-table tbody tr {
        display: block;
        margin-bottom: 14px;
        border: 1px solid var(--gray-border);
        border-radius: 12px;
        padding: 12px;
    }
    .quote-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border: none;
        padding: 8px 0;
    }
    .quote-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.76rem;
        text-transform: uppercase;
        color: var(--text-secondary);
        margin-right: 12px;
    }
    .quote-table td[data-label=""]::before,
    .quote-table td[data-label="Product"]::before { display: none; }
    .quote-table td[data-label="Product"] { display: block; padding-bottom: 12px; border-bottom: 1px solid var(--gray-border); }
    .page-head { flex-direction: column; }
}