/**
 * Et Kıyma Makinaları E-Ticaret Sitesi
 * Ana Stil Dosyası
 */

:root {
    --primary-color: #112237;
    --secondary-color: #466176;
    --accent-color: #f97316;
    --text-color: #0d1c2d;
    --bg-color: #f8f9ff;
    --white: #ffffff;
    --gray-light: #e5efff;
    --gray-dark: #44474d;
    --border-radius: 8px; /* 0.5rem - Design rehberinde rounded-lg */
    --box-shadow: 0 4px 20px rgba(17, 34, 55, 0.05);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
body {
    font-family: 'Inter', 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

.main-content {
    min-height: calc(100vh - 130px);
}

/* Header Styles */
.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top-info {
    font-size: 0.8rem;
    white-space: nowrap;
}

.header-top-info .contact-info {
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-top-info a {
    text-decoration: none;
    transition: color 0.3s;
}

.header-top-info a:hover {
    color: var(--accent-color) !important;
}

.site-logo h3 {
    font-weight: bold;
    font-size: 1.5rem;
}

.search-form .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0.75rem;
    font-size: 0.9rem;
}

.search-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0.25rem 0.75rem;
    height: calc(1.5em + 0.5rem + 2px);
}

.cart-link {
    position: relative;
    display: inline-block;
}

.cart-link a {
    text-decoration: none;
    font-weight: 500;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.navbar {
    box-shadow: var(--box-shadow);
    padding: 0.65rem 1.3rem;
    background-color: #172638 !important; /* Slightly lighter Slate Gray for navbar contrast */
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.navbar .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 10.4px 20.8px !important;
    transition: var(--transition);
    font-size: 1.15rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    transform: translateY(-1px);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 0.325rem 0;
    /* 30% larger */
}

.dropdown-item {
    padding: 0.65rem 1.3rem;
    /* 30% larger */
}

.dropdown-item:hover {
    background-color: var(--bg-color);
    color: var(--secondary-color);
}

/* Product Card Styles */
.product-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 280px;
    margin: 0 auto;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.02), rgba(231, 76, 60, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(231, 76, 60, 0.2);
}

.product-card .card-img-top {
    height: 180px;
    object-fit: cover;
    transition: all 0.5s ease;
    position: relative;
    z-index: 2;
}

.product-card:hover .card-img-top {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

.product-card .card-body {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 1));
}

.product-card .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.product-card:hover .card-title {
    color: var(--secondary-color);
}

.product-card .card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.product-card .card-title a:hover {
    color: var(--secondary-color);
}

.product-card .card-text {
    color: var(--gray-dark);
    flex-grow: 1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.badge-featured {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive adjustments for fixed width cards */
@media (max-width: 1199.98px) {
    .product-card {
        width: 250px;
    }
}

@media (max-width: 991.98px) {
    .product-card {
        width: 300px;
    }
}

@media (max-width: 767.98px) {
    .product-card {
        width: 100%;
        max-width: 350px;
    }
}

/* Product Detail Page Styles */
.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    cursor: zoom-in;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.main-product-image:hover {
    transform: scale(1.02);
}

.main-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    font-weight: 500;
}

.stock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 15px 25px;
    border-radius: var(--border-radius);
}

.thumbnail-images {
    margin-top: 15px;
}

.thumbnail-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.thumbnail-image.active {
    border-color: var(--primary-color);
}

.thumbnail-image:hover {
    border-color: var(--gray-dark);
    transform: scale(1.05);
}

.thumbnail-placeholder {
    width: 100%;
    height: 80px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gray-light);
    border-radius: var(--border-radius);
    color: var(--gray-dark);
}

.product-info {
    padding: 20px 0;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.product-brand {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-features ul {
    padding-left: 0;
}

.product-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-color);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features i {
    width: 20px;
    margin-right: 10px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    width: fit-content;
}

.quantity-selector input {
    max-width: 80px;
    text-align: center;
    margin: 0 10px;
}

.add-to-cart-form {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.shipping-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.product-tabs .nav-tabs {
    border-bottom: 2px solid var(--bg-color);
}

.product-tabs .nav-link {
    border: none;
    color: var(--gray-dark);
    font-weight: 500;
    padding: 15px 20px;
}

.product-tabs .nav-link.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.tab-content {
    border: 1px solid var(--bg-color);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    background: var(--white);
}

.related-products .product-card {
    margin-bottom: 30px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 4px rgba(231, 76, 60, 0.2);
    position: relative;
}

.product-price::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    border-radius: 1px;
}

.product-stock {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-stock.in-stock {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.product-stock.out-of-stock {
    background: linear-gradient(135deg, var(--secondary-color), #c0392b);
    color: white;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Button Styles */
.btn {
    border-radius: 4px; /* rounded-sm */
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2) !important;
}

.btn-primary:hover {
    background-color: #ea580c !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35) !important;
    color: var(--white) !important;
}

.btn-secondary {
    background-color: transparent !important;
    color: var(--secondary-color) !important;
    border: 2px solid var(--secondary-color) !important;
    box-shadow: none !important;
}

.btn-secondary:hover {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
}

.btn-accent {
    background-color: var(--accent-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2) !important;
}

.btn-accent:hover {
    background-color: #ea580c !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35) !important;
    color: var(--white) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(17, 34, 55, 0.15) !important;
}

.add-to-cart-btn {
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:disabled {
    background-color: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0 !important;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 30px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Section Titles */
.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.section-title h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 1px;
}

.section-title.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.15rem;
    color: var(--gray-dark);
    font-weight: 400;
    line-height: 1.6;
}

/* Category Navigation */
.category-navigation {
    position: relative;
    z-index: 900;
    background: #fff;
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Category Card */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 25px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon i {
    font-size: 2rem;
}

/* Feature Item */
.feature-item {
    padding: 25px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2.5rem;
}

/* Newsletter Form */
.newsletter-form .form-control {
    border-radius: 50px 0 0 50px;
    border: none;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    border: none;
    padding: 12px 25px;
}

/* Footer Styles */
.site-footer {
    background-color: #0d1c2d !important;
    padding: 40px 0;
}

.site-footer h5,
.site-footer h6 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: var(--transition);
}

.site-footer a:hover {
    color: var(--accent-color) !important;
    text-decoration: none;
}

.site-footer .social-links a:hover {
    color: var(--accent-color) !important;
}

.site-footer .list-unstyled a {
    display: block;
    padding: 5px 0;
    transition: var(--transition);
}

.site-footer .list-unstyled a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
}

.payment-methods i {
    opacity: 0.7;
    transition: var(--transition);
}

.payment-methods i:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 40px 0;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .category-card,
    .feature-item {
        padding: 20px 15px;
    }

    .category-icon,
    .feature-icon {
        height: 60px;
    }

    .header-top-info {
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
    }

    .header-top-info .contact-info {
        margin-right: 15px !important;
        margin-bottom: 5px;
    }

    .header-top-info .user-links {
        margin-right: 15px !important;
        margin-bottom: 5px;
    }
}

@media (max-width: 991.98px) {

    /* Remove fixed padding on mobile */
    body {
        padding-top: 0;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .section-title {
        margin-bottom: 20px;
    }

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

    .newsletter-form .input-group {
        flex-direction: column;
    }

    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 25px;
        margin: 5px 0;
    }

    .site-footer .text-right {
        text-align: left !important;
    }

    body {
        padding-top: 0;
    }

    .main-content {
        min-height: calc(100vh - 0px);
        padding-top: 0;
    }

    .header-top-info {
        font-size: 0.7rem;
    }

    .header-top-info .contact-info {
        display: none;
        /* Hide contact info on small screens */
    }

    .navbar .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .product-card .card-img-top {
        height: 150px;
    }

    .main-product-image {
        height: 300px;
    }

    .thumbnail-image {
        height: 60px;
    }

    .cart-link a {
        font-size: 0.9rem;
    }

    .main-header .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Category Styles for Image-based Categories Below Navbar */
.category-link {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.category-link:hover {
    text-decoration: none;
}

.category-item {
    background: var(--white);
    border-radius: 8px; /* rounded-lg */
    padding: 10px;
    box-shadow: 0 4px 12px rgba(17, 34, 55, 0.05);
    border: 1px solid #e5efff;
    transition: var(--transition);
    width: 100px;
}

.category-link:hover .category-item {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(17, 34, 55, 0.1);
    border-color: var(--accent-color) !important;
}

.category-link:hover .category-image {
    border-color: var(--accent-color) !important;
}

.category-link:hover .category-image img {
    transform: scale(1.08);
}

.category-link:hover .category-name {
    color: var(--accent-color) !important;
}

/* Header Helpers */
.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bg-white-10:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.2) !important;
}

.placeholder-muted-custom::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.hover-white:hover {
    color: #ffffff !important;
}

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

/* Industrial Precision Design System CSS */
.z-index-2 { position: relative; z-index: 2; }
.font-outfit { font-family: 'Outfit', sans-serif; }
.cursor-not-allowed { cursor: not-allowed; }

.hero-gradient-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #27374d 100%) !important;
}

/* Bootstrap Global Color Overrides for Industrial Precision Theme */
.bg-primary {
    background-color: var(--primary-color) !important;
}
.bg-secondary {
    background-color: var(--secondary-color) !important;
}
.bg-dark {
    background-color: #0d1c2d !important;
}
.text-primary {
    color: var(--primary-color) !important;
}
.text-secondary {
    color: var(--secondary-color) !important;
}
.text-accent {
    color: var(--accent-color) !important;
}

.hero-image-glow-custom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, rgba(17, 34, 55, 0.05) 50%, rgba(0,0,0,0) 70%);
    filter: blur(30px);
    z-index: 1;
}

.hero-img-custom {
    position: relative;
    z-index: 2;
    max-height: 420px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    transition: transform 0.5s ease;
}

.hero-img-custom:hover {
    transform: scale(1.05);
}

.floating-custom {
    animation: float-custom 6s ease-in-out infinite;
}

@keyframes float-custom {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.badge-industrial {
    background-color: var(--accent-color);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 2px;
}

.btn-safety-orange {
    background-color: var(--accent-color);
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    padding: 12px 28px;
    border: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-safety-orange:hover {
    background-color: #ea580c;
    transform: translateY(-1px);
}

.btn-outline-white {
    background-color: transparent;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid #ffffff;
    border-radius: 4px;
    padding: 12px 28px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #112237 !important;
    transform: translateY(-1px);
}

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

.border-outline-variant-custom {
    border-color: #c4c6cd !important;
}

.text-primary-custom {
    color: var(--primary-color);
}

.text-secondary-custom {
    color: var(--secondary-color);
}

.text-muted-custom {
    color: var(--gray-dark);
}

.icon-circle-custom {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #dbe9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.icon-circle-custom span {
    font-size: 32px;
}

.view-all-link-custom {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--primary-color);
    text-decoration: none !important;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.view-all-link-custom:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.category-card-custom {
    height: 400px;
    background-color: var(--primary-color);
    border-radius: 4px;
    text-decoration: none !important;
}

.category-img-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: transform 0.7s ease;
}

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

.category-overlay-custom {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(17, 34, 55, 0.9) 0%, rgba(17, 34, 55, 0) 100%);
}

.category-content-custom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
}

.category-hover-text-custom {
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 0;
    overflow: hidden;
}

.category-card-custom:hover .category-hover-text-custom {
    opacity: 1;
    height: auto;
}

.bg-surface-container-low-custom {
    background-color: #eef4ff;
}

.product-card-industrial {
    background-color: #ffffff;
    border: 1px solid #c4c6cd;
    border-radius: 8px;
    padding: 24px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card-industrial:hover {
    box-shadow: 0 10px 25px rgba(17, 34, 55, 0.1);
    border-color: #74777d;
}

.product-img-wrapper-industrial {
    height: 192px;
    background-color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    padding: 16px;
}

.product-img-industrial {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card-industrial:hover .product-img-industrial {
    transform: scale(1.05);
}

.badge-status-industrial {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 2px;
    z-index: 2;
}

.product-info-industrial {
    padding-top: 16px;
}

.product-title-industrial {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title-industrial a {
    color: var(--primary-color) !important;
    transition: color 0.2s ease;
}

.product-title-industrial a:hover {
    color: var(--accent-color) !important;
}

.tech-spec-tag-industrial {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.price-industrial {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.btn-add-cart-industrial {
    background-color: var(--accent-color);
    color: #ffffff !important;
    border: none;
    border-radius: 4px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.btn-add-cart-industrial:hover {
    background-color: #ea580c;
}

.bg-secondary-custom {
    background-color: #bdc3c7;
}

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

.btn-outline-primary-custom {
    background-color: transparent;
    color: var(--primary-color) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    padding: 12px 28px;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none !important;
    display: inline-block;
}

.btn-outline-primary-custom:hover {
    background-color: var(--primary-color);
    color: #ffffff !important;
}

.table-container-custom {
    background-color: #e5efff;
    border-radius: 4px;
    overflow: hidden;
}

.zebra-table-custom th, .zebra-table-custom td {
    padding: 16px;
}

.zebra-table-custom tbody tr:nth-child(even) {
    background-color: rgba(212, 228, 250, 0.2);
}

.font-technical-mono-custom {
    font-family: 'Inter', monospace;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.newsletter-wrapper-custom {
    background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 48px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.newsletter-glow-1-custom {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.1) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.newsletter-glow-2-custom {
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(70, 97, 118, 0.1) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.text-muted-light-custom {
    color: #cae6ff;
}

.input-group-modern-custom {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 6px 6px 6px 16px;
    transition: border-color 0.2s ease;
}

.input-group-modern-custom:focus-within {
    border-color: var(--accent-color);
}

.input-icon-custom {
    color: #74777d;
    font-size: 1.2rem;
    margin-right: 12px;
}

.form-control-modern-custom {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    outline: none !important;
    font-size: 0.95rem;
    width: 100%;
}

.form-control-modern-custom::placeholder {
    color: #74777d;
}

.btn-accent-gradient-custom {
    background-color: var(--accent-color);
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.btn-accent-gradient-custom:hover {
    background-color: #ea580c;
}

@media (max-width: 991.98px) {
    .category-card-custom {
        height: 320px;
    }
    .category-content-custom {
        padding: 16px;
    }
    .newsletter-wrapper-custom {
        padding: 32px;
    }
}

@media (max-width: 575.98px) {
    .input-group-modern-custom {
        flex-direction: column;
        padding: 12px;
    }
    .input-icon-custom {
        display: none;
    }
    .form-control-modern-custom {
        text-align: center;
        margin-bottom: 12px;
        padding: 8px 0;
    }
    .btn-accent-gradient-custom {
        width: 100%;
    }
    .hero-img-custom {
        max-height: 280px;
        margin-top: 30px;
    }
}

/* Sidebar Filter Sidebar & Pagination Custom Styling */
.filter-sidebar-custom {
    background-color: #ffffff;
    border: 1px solid #c4c6cd;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 30px;
}
.filter-sidebar-custom h5 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    border-bottom: 1px solid #e5efff;
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.filter-group-custom {
    margin-bottom: 24px;
}
.filter-group-custom h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 12px;
    border-left: 3px solid var(--accent-color);
    padding-left: 8px;
}
.pagination-custom .page-item {
    margin: 0 4px;
}
.pagination-custom .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c4c6cd;
    color: var(--primary-color) !important;
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    border-radius: 4px !important;
    transition: var(--transition);
}
.pagination-custom .page-item.active .page-link {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.pagination-custom .page-link:hover {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--primary-color) !important;
    text-decoration: none;
}

/* Product Detail Custom Styling */
.product-gallery-container {
    background-color: #ffffff;
    border: 1px solid #c4c6cd;
    border-radius: 8px;
}
.thumbnail-wrapper {
    border: 2px solid transparent;
    transition: var(--transition);
}
.thumbnail-wrapper.active {
    border-color: var(--primary-color) !important;
}
.product-tabs-custom .nav-tabs {
    border-bottom: 1px solid #c4c6cd !important;
}
.product-tabs-custom .nav-tabs .nav-link {
    color: var(--gray-dark) !important;
    border-bottom: 2px solid transparent !important;
    background: transparent !important;
}
.product-tabs-custom .nav-tabs .nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--accent-color) !important;
}
.product-tabs-custom .nav-tabs .nav-link:hover {
    color: var(--primary-color) !important;
    border-bottom: 2px solid var(--secondary-color) !important;
}