
:root {

    --primary: #FFC400;
    --primary-hover: #FFD026;
    --primary-active: #E5B000;
    --primary-dark: #B8860B;
    --primary-light: rgba(255, 196, 0, 0.15);
    --primary-rgb: 255, 196, 0;
    --primary-glow: rgba(255, 196, 0, 0.4);
    --primary-gradient: linear-gradient(135deg, #FFD54F 0%, #FFB300 50%, #FFA000 100%);
    --gold-shimmer: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);

    --secondary: #0F172A;
    --secondary-hover: #1E293B;
    --accent-blue: #0284C7;
    --accent-cyan: #06B6D4;
    --accent-emerald: #10B981;
    --accent-rose: #F43F5E;
    --accent-amber: #F59E0B;

    --bg-body: #06080E;
    --bg-surface: #0E1320;
    --bg-surface-alt: #131A2C;
    --bg-surface-elevated: #1A233A;
    --bg-header: rgba(14, 19, 32, 0.96);
    --bg-topbar: #030508;
    --bg-footer: #030508;

    --text-primary: #F8FAFC;
    --text-secondary: #E2E8F0;
    --text-muted: #94A3B8;
    --text-light: #64748B;

    --border-color: #1E293B;
    --border-subtle: #162035;
    --border-highlight: #FFC400;

    --card-shadow: 0 4px 25px -2px rgba(0, 0, 0, 0.65);
    --card-shadow-hover: 0 22px 50px -4px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 196, 0, 0.18);
    --gold-glow: 0 8px 30px rgba(255, 196, 0, 0.45);

    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font-main: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Tahoma, sans-serif;
    --trans-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --trans-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg-body: #06080E;
    --bg-surface: #0E1320;
    --bg-surface-alt: #131A2C;
    --bg-surface-elevated: #1A233A;
    --bg-header: rgba(14, 19, 32, 0.95);
    --bg-topbar: #030508;
    --bg-footer: #030508;

    --text-primary: #F8FAFC;
    --text-secondary: #E2E8F0;
    --text-muted: #94A3B8;
    --text-light: #64748B;

    --border-color: #1E293B;
    --border-subtle: #162035;
    --border-highlight: #FFC400;

    --card-shadow: 0 4px 25px -2px rgba(0, 0, 0, 0.65);
    --card-shadow-hover: 0 22px 50px -4px rgba(0, 0, 0, 0.85), 0 0 25px rgba(255, 196, 0, 0.18);
    --gold-glow: 0 8px 30px rgba(255, 196, 0, 0.45);
}

[data-theme="dark"] body,
[data-theme="dark"] .card,
[data-theme="dark"] .card-body,
[data-theme="dark"] .card-header,
[data-theme="dark"] .table,
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select,
[data-theme="dark"] .modal-content,
[data-theme="dark"] .dropdown-menu,
[data-theme="dark"] .offcanvas-modern,
[data-theme="dark"] .accordion-item,
[data-theme="dark"] .accordion-button {
    background-color: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-black,
[data-theme="dark"] .text-body {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--text-muted) !important;
}

[data-theme="dark"] .text-secondary {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-white {
    background-color: var(--bg-surface-alt) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .border {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table,
[data-theme="dark"] .table > :not(caption) > * > *,
[data-theme="dark"] .table-light,
[data-theme="dark"] .table-light > th,
[data-theme="dark"] .table-light > td,
[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > *,
[data-theme="dark"] .table-hover > tbody > tr:hover > * {
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02) !important;
    --bs-table-hover-bg: rgba(255, 196, 0, 0.04) !important;
    --bs-table-color: var(--text-primary) !important;
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] thead,
[data-theme="dark"] thead th,
[data-theme="dark"] .table-light th {
    background-color: var(--bg-surface-alt) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
    font-weight: 700 !important;
}

[data-theme="dark"] tfoot,
[data-theme="dark"] tfoot th,
[data-theme="dark"] tfoot td {
    background-color: var(--bg-surface-alt) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .table td {
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .list-group-item {
    background-color: transparent !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .list-group-item.active {
    background-color: rgba(255, 196, 0, 0.12) !important;
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

[data-theme="dark"] .list-group-item-light {
    background-color: var(--bg-surface-alt) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .form-control:disabled,
[data-theme="dark"] .form-control[readonly] {
    background-color: var(--bg-surface-alt) !important;
    color: var(--text-muted) !important;
    border-color: var(--border-color) !important;
    opacity: 0.85;
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-secondary) !important;
}
[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item:focus {
    background-color: var(--bg-surface-elevated) !important;
    color: var(--primary) !important;
}

[data-theme="dark"] .dropdown-divider {
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-light) !important;
}

[data-theme="dark"] .breadcrumb-item a {
    color: var(--text-muted) !important;
}
[data-theme="dark"] .breadcrumb-item.active {
    color: var(--primary) !important;
}

[data-theme="dark"] .alert-info {
    background-color: rgba(56, 189, 248, 0.12) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    color: #38BDF8 !important;
}

[data-theme="dark"] .alert-success {
    background-color: rgba(34, 197, 94, 0.12) !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
    color: #4ADE80 !important;
}

[data-theme="dark"] .alert-danger {
    background-color: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    color: #F87171 !important;
}

[data-theme="dark"] .alert-warning {
    background-color: rgba(255, 196, 0, 0.12) !important;
    border-color: rgba(255, 196, 0, 0.3) !important;
    color: #FDE047 !important;
}

[data-theme="dark"] .alert-secondary {
    background-color: rgba(148, 163, 184, 0.12) !important;
    border-color: rgba(148, 163, 184, 0.3) !important;
    color: #CBD5E1 !important;
}

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

html {
    font-family: var(--font-main);
    direction: rtl;
    text-align: right;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.85;
    font-size: 14.5px;
    letter-spacing: -0.015em;
    overflow-x: hidden;
    transition: background-color var(--trans-normal), color var(--trans-normal);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--trans-fast);
}

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

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-body);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.text-primary-accent {
    color: var(--primary) !important;
}
.bg-primary-accent {
    background-color: var(--primary) !important;
    color: #0B0F19 !important;
}

.glow-gold {
    text-shadow: 0 0 20px rgba(255, 196, 0, 0.45);
}

.btn {
    font-family: var(--font-main);
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    transition: var(--trans-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.btn-buy, .btn-primary, .btn-gold {
    background: var(--primary-gradient);
    color: #0B0F19 !important;
    border: none;
    font-weight: 800;
    box-shadow: var(--gold-glow);
}
.btn-buy:hover, .btn-primary:hover, .btn-gold:hover {
    background: linear-gradient(135deg, #FFE066 0%, #FFC400 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 196, 0, 0.55);
    color: #0B0F19 !important;
}
.btn-buy:active, .btn-primary:active {
    transform: translateY(0);
}

.btn-dark-custom {
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}
.btn-dark-custom:hover {
    background: var(--primary);
    color: #0B0F19;
    border-color: var(--primary);
    box-shadow: var(--gold-glow);
}

.btn-outline-gold {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.btn-outline-gold:hover {
    background: var(--primary);
    color: #0B0F19;
    box-shadow: var(--gold-glow);
}

.site-header {
    position: relative;
    z-index: 100;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
}

.top-bar {
    background: var(--bg-topbar);
    color: #94A3B8;
    font-size: 12.5px;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-contact {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.topbar-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: #E2E8F0;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--trans-fast);
}
.topbar-action-pill:hover {
    background: rgba(255, 196, 0, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.topbar-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.35);
    border-radius: var(--radius-full);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--trans-fast);
}
.topbar-user-pill:hover {
    background: rgba(255, 196, 0, 0.22);
    color: #FFD54F;
}

.user-name-truncated {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
}

.avatar-circle {
    width: 22px;
    height: 22px;
    background: var(--primary);
    color: #0B0F19;
    font-size: 11px;
    font-weight: 900;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.badge-counter {
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.theme-toggle-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: var(--trans-fast);
}
.theme-toggle-btn:hover {
    background: var(--primary);
    color: #0B0F19;
    border-color: var(--primary);
}

.main-header {
    padding: 14px 0;
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-icon-box {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #FFC400 0%, #EA580C 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0B0F19;
    font-size: 20px;
    box-shadow: 0 4px 14px rgba(255, 196, 0, 0.45);
    transition: transform var(--trans-fast);
    flex-shrink: 0;
}
.brand-logo-container:hover .brand-icon-box {
    transform: scale(1.05) rotate(4deg);
}
.brand-text-group {
    display: flex;
    flex-direction: column;
}
.brand-name {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.brand-tagline {
    font-size: 10.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.search-form-wrapper {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}
.search-form-wrapper input {
    width: 100%;
    padding: 11px 48px 11px 18px;
    background: var(--bg-surface-alt);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 13.5px;
    font-family: var(--font-main);
    transition: var(--trans-fast);
}
.search-form-wrapper input:focus {
    background: var(--bg-surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    outline: none;
}
.search-form-wrapper .btn-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: var(--trans-fast);
}
.search-form-wrapper input:focus + .btn-search-icon {
    color: var(--primary);
}

.header-actions-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.action-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    position: relative;
    transition: var(--trans-fast);
}
.action-pill-btn:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.navbar-custom {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 0;
}
.nav-link-custom {
    font-weight: 700;
    font-size: 13.5px;
    color: var(--text-primary);
    padding: 13px 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2.5px solid transparent;
    transition: var(--trans-fast);
}
.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.mobile-header-compact {
    height: 58px;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0;
}

.btn-mobile-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: var(--trans-fast);
    padding: 0;
}
.btn-mobile-icon:hover {
    background: var(--primary);
    color: #0B0F19;
    border-color: var(--primary);
}

.offcanvas-modern {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-left: 1.5px solid var(--border-color);
    max-width: 310px;
    width: 85vw;
}

.hero-industrial {
    position: relative;
    padding: 70px 0 85px;
    background: linear-gradient(135deg, #05070C 0%, #0F1524 55%, #182236 100%);
    color: #FFFFFF;
    overflow: hidden;
    border-bottom: 1.5px solid rgba(255, 196, 0, 0.25);
}

.hero-glow-blob {
    position: absolute;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 196, 0, 0.2) 0%, rgba(255, 196, 0, 0) 70%);
    top: -100px;
    left: -100px;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(55px);
}
.hero-glow-blob-2 {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.16) 0%, transparent 70%);
    bottom: -100px;
    right: 10%;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(55px);
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 196, 0, 0.12);
    border: 1px solid rgba(255, 196, 0, 0.4);
    color: #FFD54F;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    font-weight: 800;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 196, 0, 0.15);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    line-height: 1.25;
    color: #FFFFFF;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.hero-description {
    font-size: 15.5px;
    color: #CBD5E1;
    line-height: 1.85;
    max-width: 580px;
    margin-bottom: 30px;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-stat-item {
    text-align: right;
}
.hero-stat-number {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.hero-stat-label {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 4px;
}

.hero-visual-card {
    position: relative;
    background: rgba(18, 24, 38, 0.88);
    border: 1.5px solid rgba(255, 196, 0, 0.35);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(255, 196, 0, 0.18);
    backdrop-filter: blur(20px);
    transition: transform var(--trans-normal), border-color var(--trans-normal);
}
.hero-visual-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.hero-featured-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #EF4444;
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}
.hero-product-img {
    max-height: 290px;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.65));
    transition: transform var(--trans-smooth);
}
.hero-visual-card:hover .hero-product-img {
    transform: scale(1.06) rotate(-1deg);
}

.hero-floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 196, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    color: #F8FAFC;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    animation: floatUpDown 3s ease-in-out infinite alternate;
}
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    100% { transform: translateY(-7px); }
}

.trust-section {
    padding: 38px 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
}
.trust-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-surface-alt);
    border: 1.5px solid var(--border-color);
    transition: var(--trans-normal);
}
.trust-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--gold-glow);
}
.trust-icon-box {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(255,196,0,0.25), rgba(255,196,0,0.06));
    border: 1.5px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform var(--trans-fast);
}
.trust-card:hover .trust-icon-box {
    transform: scale(1.08) rotate(4deg);
}
.trust-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2px;
}
.trust-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.section-header-styled {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}
.section-title-tag {
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.section-title-main {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0;
}

.category-industrial-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--trans-normal);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.category-industrial-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--trans-normal);
}
.category-industrial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--card-shadow-hover);
}
.category-industrial-card:hover::after {
    opacity: 1;
}

.category-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--bg-surface-alt);
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
    transition: var(--trans-normal);
}
.category-industrial-card:hover .category-icon-wrapper {
    background: var(--primary);
    color: #0B0F19;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 196, 0, 0.45);
}
.category-card-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.category-card-count {
    font-size: 11.5px;
    color: var(--text-muted);
    background: var(--bg-surface-alt);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

.product-card-modern {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--trans-normal);
    position: relative;
    height: 100%;
}
.product-card-modern:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 196, 0, 0.7);
    box-shadow: var(--card-shadow-hover);
}

.product-img-box {
    position: relative;
    background: var(--bg-surface-alt);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 220px;
}
.product-img-box img {
    max-height: 175px;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--trans-smooth);
}
.product-card-modern:hover .product-img-box img {
    transform: scale(1.08);
}

.product-ribbons-group {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 3;
}
.ribbon-discount {
    background: #EF4444;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-xs);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}
.ribbon-out {
    background: #64748B;
    color: #FFFFFF;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-xs);
}
.ribbon-warranty {
    background: rgba(16, 185, 129, 0.95);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-xs);
}

.product-quick-actions {
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--trans-fast);
    z-index: 3;
}
.product-card-modern:hover .product-quick-actions {
    opacity: 1;
    transform: translateX(0);
}
.quick-action-btn {
    width: 34px;
    height: 34px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: var(--trans-fast);
}
.quick-action-btn:hover {
    background: var(--primary);
    color: #0B0F19;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 196, 0, 0.5);
}

.product-content-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-category-tag {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 3px;
    font-weight: 600;
}
.product-card-title {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}
.product-card-title:hover {
    color: var(--primary);
}

.product-specs-chips {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.spec-chip {
    font-size: 10.5px;
    background: var(--bg-surface-alt);
    color: var(--text-muted);
    padding: 2px 8px;
    border-radius: var(--radius-xs);
    border: 1px solid var(--border-subtle);
    font-weight: 600;
}

.product-rating-box {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #F59E0B;
    margin-bottom: 10px;
}
.rating-reviews-count {
    color: var(--text-muted);
    font-size: 11px;
}

.product-price-section {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    margin-bottom: 12px;
}
.price-old-wrap {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
    min-height: 18px;
}
.price-current-wrap {
    font-size: 18px;
    font-weight: 900;
    color: var(--text-primary);
}

.btn-buy-direct {
    width: 100%;
    padding: 10px;
    font-weight: 800;
    font-size: 13.5px;
    border-radius: var(--radius-md);
}

.site-footer-modern {
    background: var(--bg-footer);
    color: #94A3B8;
    padding: 55px 0 30px;
    border-top: 2px solid rgba(255, 196, 0, 0.35);
    font-size: 13px;
}
.footer-heading {
    color: #FFFFFF;
    font-size: 15.5px;
    font-weight: 900;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
}
.footer-links-list {
    list-style: none;
    padding: 0;
}
.footer-links-list li {
    margin-bottom: 10px;
}
.footer-links-list a {
    color: #94A3B8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--trans-fast);
}
.footer-links-list a:hover {
    color: var(--primary);
    transform: translateX(-4px);
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(14, 19, 32, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-color);
    padding: 8px 0;
    z-index: 1030;
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.7);
}
.mobile-nav-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
}
.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--trans-fast);
}
.mobile-nav-item.active, .mobile-nav-item:hover {
    color: var(--primary);
    text-shadow: 0 0 10px rgba(255, 196, 0, 0.4);
}
.mobile-nav-item i {
    font-size: 18px;
}

.product-tabs-container {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.custom-tabs-nav {
    display: flex;
    gap: 8px;
    padding: 12px 18px;
    background: var(--bg-surface-alt);
    border-bottom: 1.5px solid var(--border-color);
    overflow-x: auto;
    scrollbar-width: none;
}
.custom-tabs-nav::-webkit-scrollbar {
    display: none;
}

.custom-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--trans-fast);
    white-space: nowrap;
}

.custom-tab-btn:hover {
    color: var(--primary);
    background: rgba(255, 196, 0, 0.08);
}

.custom-tab-btn.active {
    background: var(--primary);
    color: #0B0F19;
    font-weight: 900;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(255, 196, 0, 0.35);
}

.specs-table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-surface);
}

.specs-table-modern th {
    width: 28%;
    padding: 14px 18px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 13.5px;
    background: var(--bg-surface-alt);
    border-bottom: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    vertical-align: middle;
}

.specs-table-modern td {
    padding: 14px 18px;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.specs-table-modern tr:last-child th,
.specs-table-modern tr:last-child td {
    border-bottom: none;
}

.specs-table-modern tr:hover td {
    background: rgba(255, 196, 0, 0.03);
}

.feature-bullet-card {
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--trans-fast);
}

.feature-bullet-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 196, 0, 0.12);
}

.feature-check-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 196, 0, 0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.hero-slider-img {
    width: 100%;
    height: auto;
    min-height: 340px;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.offcanvas-modern {
    background: #0E1320 !important;
    color: #F8FAFC !important;
    border-left: none !important;
    border-right: 1px solid #1E293B !important;
    box-shadow: 10px 0 45px rgba(0, 0, 0, 0.85) !important;
    max-width: 310px !important;
}
.offcanvas-modern .offcanvas-header {
    background: #090D16 !important;
    border-bottom: 1px solid #1E293B !important;
    color: #F8FAFC !important;
    padding: 16px 18px;
}
.offcanvas-modern .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.85;
}
.offcanvas-modern .offcanvas-body {
    background: #0E1320 !important;
    color: #F8FAFC !important;
}

.mobile-header-compact {
    background: rgba(14, 19, 32, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1020;
}
.btn-mobile-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--bg-surface-alt);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--trans-fast);
}
.btn-mobile-icon:hover {
    background: rgba(255, 196, 0, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: block;
    }
    body {
        padding-bottom: 72px;
    }
    .hero-title {
        font-size: 26px;
        line-height: 1.4;
    }
    .hero-industrial {
        padding: 30px 0 40px;
    }
    .hero-slider-img {
        min-height: 190px;
        max-height: 280px;
    }
    .hero-slide-wrapper {
        min-height: auto !important;
    }
    .hero-slider-caption-overlay {
        padding: 12px 16px !important;
    }
    .hero-slider-caption-overlay h2 {
        font-size: 1.15rem !important;
    }

    .product-gallery-sticky {
        position: static !important;
        margin-bottom: 20px;
    }
    .gallery-main-frame {
        height: 280px !important;
        background: #FFFFFF !important;
        border-radius: 14px !important;
        padding: 10px;
    }
    .gallery-main-frame img {
        max-height: 260px !important;
        width: 100%;
        object-fit: contain;
    }
    .gallery-thumbs-row {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .gallery-thumbs-row::-webkit-scrollbar {
        display: none;
    }
    .gallery-thumb-item {
        width: 62px !important;
        height: 62px !important;
        flex-shrink: 0;
    }
    .product-title-main {
        font-size: 1.3rem !important;
        line-height: 1.4;
    }
    .specs-table-modern th {
        width: 42% !important;
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
    .specs-table-modern td {
        padding: 10px 12px !important;
        font-size: 12.5px !important;
    }
    .custom-tabs-nav {
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    .custom-tab-btn {
        padding: 8px 14px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 576px) {

    .product-card-modern {
        padding: 10px !important;
        border-radius: 14px !important;
    }
    .product-img-box {
        height: 130px !important;
        margin-bottom: 8px !important;
        padding: 6px !important;
        border-radius: 10px !important;
        background: #0A0E18 !important;
    }
    .product-img-box img {
        max-height: 115px !important;
        object-fit: contain !important;
    }
    .product-card-title {
        font-size: 12px !important;
        min-height: 34px !important;
        line-height: 1.4 !important;
        margin-bottom: 6px !important;
    }
    .price-current-wrap {
        font-size: 14px !important;
    }
    .price-old-wrap {
        font-size: 11px !important;
    }
    .btn-buy-direct {
        padding: 6px 6px !important;
        font-size: 11.5px !important;
    }
    .product-ribbons-group {
        top: 6px !important;
        right: 6px !important;
    }
    .ribbon-discount, .ribbon-warranty, .ribbon-out {
        font-size: 9.5px !important;
        padding: 2px 6px !important;
    }

    .container, .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .row {
        margin-left: -6px !important;
        margin-right: -6px !important;
    }
    .row > * {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .category-industrial-card {
        padding: 12px 6px !important;
        border-radius: 12px !important;
    }
    .category-icon-wrapper {
        width: 48px !important;
        height: 48px !important;
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    .category-card-title {
        font-size: 12px !important;
    }
    .category-card-count {
        font-size: 9.5px !important;
    }
}