:root {
    --primary-orange: #ff5722;
    /* Yogelectro Orange */
    --primary-blue: #0a2540;
    /* Deep Navy Blue */
    --secondary-blue: #061b30;
    /* Darker Navy for Top Bar */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Roboto', 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    /* Industrial feel */
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 25px;
    border-radius: 0;
    /* Square edges for industrial look */
}

.btn-primary:hover {
    background-color: #e64a19;
    border-color: #e64a19;
}

.btn-outline-primary {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    border-radius: 0;
}

.btn-outline-primary:hover {
    background-color: var(--primary-orange);
    color: #fff;
}

.btn-dark {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: 0;
}

/* --- Top Bar (New) --- */
.top-bar {
    background-color: var(--secondary-blue);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-left {
    background-color: var(--primary-orange);
    transform: skewX(-20deg);
    padding: 8px 40px;
    margin-left: -50px;
    /* Pull left to cover edge */
    display: inline-block;
}

.top-bar-left-content {
    transform: skewX(20deg);
    /* Un-skew text */
}

.top-bar-info i {
    color: var(--primary-orange);
    margin-right: 5px;
}

/* --- Navigation --- */
.navbar-industrial {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    border-bottom: none;
    /* Removed old border */
}

.navbar-industrial .navbar-brand {
    font-weight: 800;
    color: var(--primary-orange);
    font-size: 1.5rem;
}

.navbar-industrial .navbar-brand span {
    color: var(--primary-blue);
}

.navbar-industrial .nav-link {
    color: var(--primary-blue) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 15px;
    text-transform: uppercase;
}

.navbar-industrial .nav-link:hover,
.navbar-industrial .nav-link.active {
    color: var(--primary-orange) !important;
}

.cart-icon-btn {
    background-color: var(--primary-orange);
    color: #fff !important;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin-left: 15px;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    background: url('https://images.unsplash.com/photo-1565439366976-92864c39121a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    height: 550px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 37, 64, 0.4);
    /* Blue tint */
    z-index: 1;
}

.hero-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    /* Replicating text background area? Reference has orange diag */
    /* Actually reference has full image with orange slash. Let's do a diagonal text background */
    background: linear-gradient(105deg, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.85) 50%, transparent 50%);
    z-index: 2;
}

/* Alternate Hero Style mimicking Reference specific diagonal */
.hero-industrial {
    position: relative;
    height: 600px;
    background-color: #333;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    z-index: 1;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--primary-blue);
    /* Left side is dark blue usually, or let's use the provided reference which has dark left */
    /* Creating the Orange Slash */
    background: linear-gradient(115deg, #2c3e50 45%, var(--primary-orange) 45%, var(--primary-orange) 55%, transparent 55%);
    /* Actually better: Dark Background with separate orange element */
}

/* Let's try a simpler approach that LOOKS like the reference */
.hero-ref-style {
    background: var(--primary-blue);
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-ref-bg {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-ref-shape {
    position: absolute;
    right: 58%;
    /* Adjust to overlap clip path */
    top: 0;
    bottom: 0;
    width: 100px;
    /* The orange stripe */
    background: var(--primary-orange);
    transform: skewX(-20deg);
    z-index: 2;
    opacity: 0.9;
}


/* --- Cards --- */
.card-industrial {
    border: 1px solid #eee;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 0;
}

.card-industrial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.card-title {
    color: var(--primary-blue);
    font-weight: 700;
}

/* --- Footer --- */
.footer-industrial {
    background-color: var(--primary-blue);
    color: #fff;
    padding-top: 3rem;
}

.footer-industrial h5 {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-industrial a {
    color: #ccc;
}

.footer-industrial a:hover {
    color: var(--primary-orange);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-industrial a {
    color: #ccc;
}

.footer-industrial a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    background-color: var(--secondary-blue);
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #888;
}

/* --- Tables --- */
.table-industrial thead th {
    background-color: var(--primary-blue);
    color: #fff;
    border: none;
}

/* --- Forms --- */
.form-control {
    border-radius: 0;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.form-control:focus {
    border-color: var(--primary-orange);
    box-shadow: none;
}

/* --- Utilities --- */
.text-orange {
    color: var(--primary-orange) !important;
}

.bg-orange {
    background-color: var(--primary-orange) !important;
}

.text-blue {
    color: var(--primary-blue) !important;
}

/* Sticky Header Offset */
body {
    padding-top: 0px;
}

/* --- Catalog Page Redesign --- */
.hero-catalog {
    background: linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.8)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    background-color: var(--primary-blue);
    padding: 4rem 0;
    margin-bottom: 3rem;
    color: #fff;
    background-size: cover;
}

.filter-pill {
    background: #fff;
    border: 1px solid #eee;
    color: var(--text-dark);
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-block;
}

.filter-pill:hover,
.filter-pill.active {
    background-color: var(--primary-orange);
    color: #fff;
    border-color: var(--primary-orange);
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
    transform: translateY(-1px);
}

.filter-card {
    background: #fff;
    border: none;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border-radius: 12px;
}

.card-product {
    border: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.card-product:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-product-img-wrapper {
    background-color: #f8f9fa;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.card-product .btn-action {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.card-product:hover .btn-action {
    opacity: 1;
    transform: translateY(0);
}

.backdrop-blur {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* --- Modern Catalog Redesign (Reference Match) --- */
.hero-catalog-modern {
    background-color: var(--primary-blue);
    background-image:
        linear-gradient(rgba(10, 37, 64, 0.9), rgba(10, 37, 64, 0.9)),
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255, 255, 255, 0.03) 20px),
        repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255, 255, 255, 0.03) 20px);
    background-size: cover;
    padding: 5rem 0;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.hero-catalog-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-orange) 50%, var(--primary-blue) 100%);
}

.hero-separator {
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 20px auto 0;
    border-radius: 2px;
}

.filter-pill-modern {
    background: #fff;
    border: 1px solid #eee;
    color: #555;
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.filter-pill-modern:hover,
.filter-pill-modern.active {
    background: linear-gradient(135deg, #ff8a50 0%, #ff5722 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
    transform: translateY(-1px);
}

.filter-pill-modern i {
    font-size: 1.1rem;
}

.sub-filter-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sub-pill {
    background: #f8f9fa;
    color: #666;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid #eee;
}

.sub-pill:hover,
.sub-pill.active {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.card-modern {
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    background: #fff;
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card-modern-img-box {
    padding: 30px;
    background: linear-gradient(180deg, #fff 0%, #fcfcfc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 260px;
}

.price-btn {
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 60%;
    transition: all 0.2s;
    background: #fff5f2;
}

.price-btn:hover {
    background: var(--primary-orange);
    color: #fff;
}

.stock-btn {
    border: 1px solid #e0e0e0;
    color: #666;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    width: 35%;
    justify-content: center;
    background: #f9f9f9;
}