/**
 * oukang_new - Modern B2B Industrial Design System
 * Primary Color: #46be8a
 * Based on oukang_clean logic bone.
 */

:root {
    /* Colors */
    --primary: #46be8a;
    --primary-hover: #3ca375;
    --text-dark: #1e293b;
    --text-body: #475569;
    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --footer-bg: #0f172a;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 5px 5px 5px rgba(0, 0, 0, 0.05);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-family);
    background: var(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    font-size: 15px;
}

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

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

ul {
    list-style: none;
}
/*floating card start*/
.floating-card{
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}
.floating-card:hover{
    transform: translateY(-5px);
    box-shadow: 5px 5px 5px rgba(0,0,0,0.05);
}
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 50px 0;
}

.bg-light {
    background: #f1f5f9;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}

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

/* Layout 25:75 */
.layout-standard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}
@media (max-width: 1450px) {
    .layout-standard{
        grid-template-columns: 0.2fr 1fr;
    }
}
.header-logo a img{
    filter: brightness(0) invert(1);
}
.site-header.is-scrolled .header-logo a img{
    filter: none;
}
@media (max-width: 991px) {
    .layout-standard {
        grid-template-columns: 1fr;
    }
}

/* Cards & Grid */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-card .img-wrapper img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.product-card h4 a:hover {
    color: var(--primary) !important;
}

/* Grids */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-grid .img-wrapper{
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    height: auto !important;
}
.product-card div:nth-child(2){
        padding: 20px 15px !important;
    text-align: center;
}
.product-card div:nth-child(2) h4{
    font-size: 16px;
    margin-bottom: 20px !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: auto !important;
}
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* Components */
.page-header {
    background-color: rgba(0,0,0,0.5);
    background-blend-mode: overlay;
    background-position: center;
    background-size: cover;
    padding: 180px 0 150px;
    color: #fff;
    text-align: center;
}
.page-header .page-title{
    color: white;
}
.breadcrumb {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.8;
}

/* Tabs System */
.tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 25px;
    cursor: pointer;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
    color: var(--text-body);
}

.tab-btn.active {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sidebar */
.sidebar-widget {
    background: #fff;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    position: relative;
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #94a3b8;
    padding: 50px 0 0;
}

.footer-widget h4 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 18px;
}
.pagination{
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin-top: 30px;
}
.pagination li{
    color: var(--primary);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary);
    padding: 5px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 14px;
    border-radius: 5px;
}
.pagination li:hover,
.pagination .thisclass{
    color: white;
    background: var(--primary);
}

.sidebar-widget ul li.active{
        border-bottom: 1px solid #f1f5f9;
    padding: 10px 0;
}
.sidebar-widget ul li.active a{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/*.footer-copyright {*/
/*    border-top: 1px solid rgba(255, 255, 255, 0.05);*/
/*    margin-top: 60px;*/
/*    padding-top: 30px;*/
/*    text-align: center;*/
/*    font-size: 13px;*/
/*}*/