/* ========================================
   Hardware Wholesale — Frontend Styles
   Industrial / Professional Design
   ======================================== */

/* ---- CSS Variables ---- */
:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2640;
    --primary-light: #2c5f8c;
    --accent: #e87500;
    --accent-hover: #c86400;
    --accent-light: #fff5eb;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --text-muted: #adb5bd;
    --bg: #f5f6f8;
    --bg-dark: #e9ecef;
    --white: #ffffff;
    --border: #e5e7eb;
    --border-light: #f0f0f0;
    --shadow-sm: 0 1px 3px rgba(26,58,92,0.06);
    --shadow: 0 2px 12px rgba(26,58,92,0.08);
    --shadow-lg: 0 8px 30px rgba(26,58,92,0.12);
    --radius: 6px;
    --radius-sm: 4px;
    --transition: 0.25s ease;
}

/* ---- Base & Typography ---- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-light); text-decoration: none; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-dark);
    line-height: 1.3;
}

/* ---- Header ---- */
.site-header { background: var(--white); border-bottom: 1px solid var(--border); }
.header-top {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 12px;
}
.header-top .header-contact { margin-right: 24px; }
.header-top .header-contact i { margin-right: 5px; color: var(--accent); }
.header-top .btn-link { color: rgba(255,255,255,0.85) !important; font-size: 12px; }
.header-top .btn-link:hover { color: var(--accent) !important; }

.navbar-default {
    background: var(--white);
    border: none;
    margin-bottom: 0;
    padding: 10px 0;
}
.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px !important;
}
.navbar-brand img { max-height: 42px; display: inline-block; margin-right: 10px; vertical-align: middle; }
.navbar-brand span { vertical-align: middle; }
.navbar-nav > li > a {
    color: var(--text) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 15px 16px;
    transition: color var(--transition);
}
.navbar-nav > li > a:hover,
.navbar-nav > li.active > a { color: var(--accent) !important; background: none !important; }

.navbar-nav .inquiry-cart-link { position: relative; }
.inquiry-cart-count {
    position: absolute;
    top: 6px;
    right: 0;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 9px;
    padding: 0 5px;
}
.header-lang .dropdown-menu {
    min-width: 80px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.header-lang .dropdown-menu > li > a {
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
}

/* ---- Breadcrumb ---- */
.breadcrumb-bar {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.breadcrumb {
    padding: 0;
    margin: 0;
    background: transparent;
    font-size: 13px;
    border-radius: 0;
}
.breadcrumb > li + li:before { content: "\f105"; font-family: FontAwesome; padding: 0 10px; color: var(--text-muted); }
.breadcrumb > .active { color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--accent); }

/* ---- Main Content ---- */
.main-content { min-height: 400px; }
.main-content > .container { padding-top: 40px; padding-bottom: 40px; }

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 14px auto 0;
    border-radius: 2px;
}
.section-header p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 16px auto 0;
}
.section-footer {
    text-align: center;
    margin-top: 36px;
}

/* ---- Hero Banner ---- */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #0d2137 0%, #1a3a5c 40%, #1a5276 70%, #1a3a5c 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 480px;
    padding: 80px 0 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}
.hero-banner h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 18px;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 620px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-actions .btn-lg {
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
}

/* ---- Trust Bar ---- */
.trust-bar {
    margin-top: -50px;
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.trust-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--accent);
    transition: transform var(--transition), box-shadow var(--transition);
}
.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--accent);
}
.trust-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.trust-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ---- Featured Products Section ---- */
.featured-section {
    padding: 40px 0 70px;
}

/* ---- Product Grid & Cards ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card-wrap { display: block; }
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}
.product-card-img {
    display: block;
    position: relative;
    background: var(--bg);
    padding-top: 75%;
    overflow: hidden;
}
.product-card-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.4s ease;
}
.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
.product-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product-card-body h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
    flex: 1;
}
.product-card-body h4 a { color: var(--text); }
.product-card-body h4 a:hover { color: var(--accent); }
.product-card-sku {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.product-card-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 14px;
}
.product-card-actions {
    display: flex;
    gap: 8px;
}
.product-card-actions .btn-sm {
    font-size: 11px;
    padding: 6px 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    flex: 1;
}

/* Product Badges */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.product-badges span {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-hot { background: #e74c3c; }
.badge-new { background: #27ae60; }
.badge-rec { background: var(--accent); }

/* ---- Why Choose Us ---- */
.advantages-section {
    background: var(--bg);
    padding: 80px 0;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.advantage-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 24px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.advantage-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}
.advantage-card:nth-child(2) .advantage-icon {
    background: linear-gradient(135deg, #e87500, #f09830);
}
.advantage-card:nth-child(3) .advantage-icon {
    background: linear-gradient(135deg, #1a8a4a, #27ae60);
}
.advantage-card:nth-child(4) .advantage-icon {
    background: linear-gradient(135deg, #8e44ad, #a569bd);
}
.advantage-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
}
.advantage-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ---- CTA Banner ---- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(232,117,0,0.15) 0%, transparent 50%);
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-banner h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.cta-banner p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}
.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-actions .btn-lg {
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
}

/* ---- Blog Section (Homepage Grid) ---- */
.blog-section {
    padding: 80px 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-grid-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.blog-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-grid-img {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--bg);
    padding-top: 56%;
}
.blog-grid-img img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-grid-item:hover .blog-grid-img img {
    transform: scale(1.06);
}
.blog-grid-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-grid-body {
    padding: 20px;
}
.blog-grid-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.blog-grid-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
}
.blog-grid-body h3 a { color: var(--primary-dark); }
.blog-grid-body h3 a:hover { color: var(--accent); }
.blog-grid-body p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}
.blog-grid-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.blog-grid-link:hover { color: var(--accent-hover); }
.blog-grid-link i { transition: transform var(--transition); }
.blog-grid-link:hover i { transform: translateX(3px); }

/* ---- Blog List (Blog Index Page) ---- */
.blog-card {
    display: flex;
    margin-bottom: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card-img {
    flex: 0 0 280px;
    overflow: hidden;
    background: var(--bg);
}
.blog-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    min-height: 200px;
    transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { flex: 1; padding: 28px; }
.blog-card-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
}
.blog-card-body h3 a { color: var(--primary-dark); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.blog-card-meta span { margin-right: 16px; }
.blog-card-meta i { margin-right: 4px; color: var(--accent); }
.blog-card-body p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

/* ---- Blog Detail ---- */
.blog-detail h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-dark);
}
.blog-detail .content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.blog-detail .content img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    border-radius: var(--radius-sm);
}

/* ---- Sidebar (Blog) ---- */
.sidebar-blog .list-unstyled li { border-bottom: 1px solid var(--border-light); }
.sidebar-blog .list-unstyled li:last-child { border-bottom: 0; }
.sidebar-blog .recent-post {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
}
.sidebar-blog .recent-post img {
    width: 60px; height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-right: 12px;
}
.sidebar-blog .recent-post .info { flex: 1; }
.sidebar-blog .recent-post .info a { font-size: 13px; font-weight: 600; color: var(--text); }
.sidebar-blog .recent-post .info a:hover { color: var(--accent); }
.sidebar-blog .recent-post .info .date { font-size: 11px; color: var(--text-muted); }

/* ---- Sidebar (General) ---- */
.sidebar { padding-right: 30px; }
.sidebar-widget { margin-bottom: 28px; }
.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sidebar-widget .list-unstyled li { margin-bottom: 4px; }
.sidebar-widget .list-unstyled li a {
    display: block;
    padding: 8px 12px;
    color: var(--text);
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.sidebar-widget .list-unstyled li a:hover,
.sidebar-widget .list-unstyled li.active a {
    background: var(--accent-light);
    color: var(--accent);
}

/* ---- Product Detail ---- */
.product-gallery { margin-bottom: 30px; }
.product-gallery .main-image {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    background: var(--bg);
}
.product-gallery .main-image img { max-height: 450px; object-fit: contain; }

/* ---- Product Image Carousel ---- */
.product-carousel {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
}
.product-carousel .carousel-inner {
    border-radius: var(--radius);
}
.product-carousel .item {
    text-align: center;
    height: 450px;
    background: var(--bg);
}
.product-carousel .item img {
    max-height: 450px;
    max-width: 100%;
    object-fit: contain;
    display: inline-block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.product-carousel .carousel-control {
    width: 40px;
    background: rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity var(--transition);
}
.product-carousel:hover .carousel-control { opacity: 1; }
.product-carousel .carousel-control .glyphicon {
    font-size: 20px;
    top: 50%;
    margin-top: -10px;
}
.product-carousel .carousel-indicators {
    bottom: 8px;
}
.product-carousel .carousel-indicators li {
    border-color: var(--accent);
    background: rgba(255,255,255,0.6);
    width: 10px; height: 10px;
    margin: 0 4px;
}
.product-carousel .carousel-indicators li.active {
    background: var(--accent);
}

.product-info h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-dark);
}
.product-info .meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--text-light);
}
.product-info .meta-line span i { margin-right: 5px; color: var(--accent); }
.product-info .price-block {
    background: var(--accent-light);
    border-radius: var(--radius);
    padding: 16px 22px;
    margin-bottom: 22px;
}
.product-info .price-block .price-label { font-size: 13px; color: var(--text-light); }
.product-info .price-block .price-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
}
.btn-inquiry {
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius);
}

/* ---- Tiered Pricing Table ---- */
.price-tiers-block { padding: 0; overflow: hidden; }
.price-tiers-block .price-label {
    padding: 14px 20px 0;
    font-size: 13px;
    color: var(--text-light);
}
.tier-current-price {
    padding: 4px 20px 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.3s;
}
.price-tiers-table {
    margin: 0;
    border: none;
}
.price-tiers-table > thead > tr > th {
    background: var(--primary-dark);
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border: none;
}
.price-tiers-table > tbody > tr > td {
    padding: 10px 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s, border-color 0.2s;
}
.price-tiers-table > tbody > tr.tier-active {
    background: #fff8f0;
    border-left: 3px solid var(--accent);
}
.price-tiers-table > tbody > tr.tier-active td {
    font-weight: 600;
}
.price-tiers-table > tbody > tr.tier-active .tier-price-col {
    color: var(--accent);
}
.tier-discount-hint {
    padding: 8px 20px 14px;
    font-size: 12px;
    color: #27ae60;
    font-weight: 600;
    background: #f0faf4;
    border-top: 1px solid #d4edda;
}

/* ---- Specs Table ---- */
.specs-table { margin-top: 30px; }
.specs-table h4 { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--primary-dark); }
.specs-table table { width: 100%; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.specs-table table tr { border-bottom: 1px solid var(--border-light); }
.specs-table table tr:last-child { border-bottom: 0; }
.specs-table table td {
    padding: 12px 16px;
    font-size: 14px;
}
.specs-table table td:first-child,
.specs-table table td:nth-child(3) {
    font-weight: 600;
    width: 200px;
    background: var(--bg);
    color: var(--primary-dark);
}

/* ---- Inquiry Modal ---- */
.inquiry-modal-product {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}
.modal-tier-table-wrap { margin-bottom: 12px; }
.modal-tier-table {
    margin: 0;
    font-size: 13px;
}
.modal-tier-table > thead > tr > th {
    background: var(--primary-dark);
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    border: none;
}
.modal-tier-table > tbody > tr > td {
    padding: 6px 12px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s;
}
.modal-tier-table > tbody > tr.tier-active {
    background: #fff8f0;
    font-weight: 600;
}
.modal-tier-table > tbody > tr.tier-active .modal-tier-price {
    color: var(--accent);
}
.modal-current-price {
    text-align: center;
    padding: 12px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}
.modal-price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}
.modal-price-unit {
    font-size: 13px;
    color: var(--text-light);
}
.modal-qty-row {
    display: flex;
    align-items: center;
    justify-content: center;
}
#modal-qty { height: 38px; font-size: 16px; font-weight: 600; }
#modal-qty-minus, #modal-qty-plus { width: 38px; }

/* ---- Inquiry Cart ---- */
.inquiry-table {}
.inquiry-table img { width: 60px; height: 60px; object-fit: contain; border-radius: var(--radius-sm); }
.inquiry-table .qty-input { width: 70px; text-align: center; }
.inquiry-table .item-name { font-weight: 600; }

.inquiry-form-block {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.inquiry-form-block h4 { font-size: 18px; font-weight: 700; margin-bottom: 22px; color: var(--primary-dark); }

/* ---- Page Content ---- */
.page-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.page-content h2 { font-size: 28px; font-weight: 700; margin-bottom: 20px; color: var(--primary-dark); }
.page-content h3 { font-size: 20px; font-weight: 600; margin-bottom: 16px; }
.page-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }

/* ---- Contact Page ---- */
.contact-info-list { list-style: none; padding: 0; }
.contact-info-list li {
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text);
}
.contact-info-list li i {
    width: 32px;
    color: var(--accent);
    font-size: 16px;
}

/* ---- Search ---- */
.search-bar { margin-bottom: 32px; }
.search-bar .input-group { max-width: 500px; }
.search-bar .form-control {
    height: 46px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius);
    box-shadow: none;
}
.search-bar .form-control:focus { border-color: var(--accent); box-shadow: none; }
.search-bar .btn {
    height: 46px;
    padding: 0 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 600;
}

/* ---- Footer ---- */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); }
.footer-main { padding: 56px 0 36px; }
.footer-main h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}
.footer-main h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}
.footer-main p { font-size: 13px; line-height: 1.8; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links li a { color: rgba(255,255,255,0.6); font-size: 13px; transition: color var(--transition); }
.footer-links li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    margin-bottom: 11px;
    font-size: 13px;
}
.footer-contact li i { margin-right: 10px; color: var(--accent); width: 16px; text-align: center; }
.footer-contact li a { color: rgba(255,255,255,0.6); }
.footer-contact li a:hover { color: var(--accent); }
.footer-bottom {
    background: #0a1929;
    padding: 20px 0;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom p { margin: 0; }

/* ---- Footer Language Switcher ---- */
.footer-lang-switch { display: inline-block; }
.footer-lang-switch .fa-globe {
    color: var(--accent);
    margin-right: 8px;
    font-size: 13px;
}
.lang-switch-link {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    transition: all var(--transition);
    display: inline-block;
    letter-spacing: 0.5px;
}
.lang-switch-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    text-decoration: none;
}
.lang-switch-link.active {
    color: var(--accent);
    background: rgba(232,117,0,0.15);
}

/* ---- Pagination ---- */
.pagination-wrap { text-align: center; margin-top: 36px; }
.pagination > li > a,
.pagination > li > span {
    color: var(--primary);
    border-radius: var(--radius-sm);
    margin: 0 3px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.pagination > li > a:hover { background: var(--accent-light); border-color: var(--accent); color: var(--accent); }
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ---- Buttons ---- */
.btn {
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    font-weight: 600;
}
.btn-accent {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.btn-accent:hover,
.btn-accent:focus,
.btn-accent:active {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}
.btn-added {
    background: #27ae60;
    border-color: #27ae60;
    color: #fff;
    cursor: default;
}
.btn-added:hover,
.btn-added:focus,
.btn-added:active {
    background: #219a52;
    border-color: #219a52;
    color: #fff;
}
.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
}
.btn-ghost:hover,
.btn-ghost:focus {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-outline:hover,
.btn-outline:focus {
    background: var(--accent);
    color: #fff;
}
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover,
.btn-outline-white:focus {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}
.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ---- Form Controls ---- */
.form-control {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: none;
    transition: border-color var(--transition);
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(232,117,0,0.1);
}

/* ---- Misc Utility ---- */
.text-accent { color: var(--accent); }
.bg-light { background: var(--bg); }

/* ---- Floating Side Buttons ---- */
.floating-buttons {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    transition: all var(--transition);
    position: relative;
    text-decoration: none;
}
.float-btn:hover,
.float-btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.float-btn-whatsapp {
    background: #25d366;
}
.float-btn-whatsapp:hover,
.float-btn-whatsapp:focus {
    background: #20bd5a;
}
.float-btn-inquiry {
    background: var(--accent);
}
.float-btn-inquiry:hover,
.float-btn-inquiry:focus {
    background: var(--accent-hover);
}
.float-btn-top {
    background: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.float-btn-top.visible {
    opacity: 1;
    visibility: visible;
}
.float-btn-top:hover,
.float-btn-top:focus {
    background: var(--primary-dark);
}

/* WhatsApp label on hover */
.float-btn-label {
    position: absolute;
    right: 58px;
    background: rgba(0,0,0,0.78);
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.2s ease;
}
.float-btn:hover .float-btn-label {
    opacity: 1;
    transform: translateX(0);
}

/* ---- About Page ---- */
.about-intro { padding: 70px 0 60px; }
.about-intro-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-intro h2 { font-size: 30px; margin-bottom: 20px; color: var(--primary-dark); }
.about-intro-text { font-size: 15px; line-height: 1.8; color: var(--text-light); }

.about-mvv { padding: 70px 0 50px; }
.bg-light { background: var(--bg); }
.mvv-card { text-align: center; padding: 40px 24px 30px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: box-shadow var(--transition), transform var(--transition); }
.mvv-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mvv-icon { width: 72px; height: 72px; line-height: 72px; margin: 0 auto 22px; background: var(--accent-light); border-radius: 50%; font-size: 28px; color: var(--accent); }
.mvv-card h3 { font-size: 20px; margin-bottom: 12px; color: var(--primary-dark); }
.mvv-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

.about-stats { padding: 60px 0; background: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-size: 42px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.5px; }

.about-advantages { padding: 70px 0 50px; }
.advantages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.advantage-card { background: var(--white); padding: 36px 28px 28px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border-left: 3px solid var(--accent); transition: box-shadow var(--transition), transform var(--transition); }
.advantage-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.advantage-icon { width: 56px; height: 56px; line-height: 56px; text-align: center; background: var(--accent-light); border-radius: 50%; font-size: 22px; color: var(--accent); margin-bottom: 16px; }
.advantage-card h4 { font-size: 17px; margin-bottom: 8px; color: var(--primary-dark); }
.advantage-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; margin: 0; }

.about-global { padding: 70px 0 60px; }
.global-markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.market-item { padding: 18px 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); font-size: 15px; color: var(--text); text-align: center; border: 1px solid var(--border-light); }
.market-item i { color: var(--primary-light); margin-right: 6px; }

#global-map { height: 420px; margin-top: 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
#global-map + .global-markets { margin-top: 28px; }

@media (max-width: 767px) {
    #global-map { height: 300px; }
}

@media (max-width: 991px) {
    .about-intro-img { margin-bottom: 30px; }
}
@media (max-width: 767px) {
    .about-intro { padding: 40px 0; }
    .about-intro h2 { font-size: 24px; }
    .about-mvv { padding: 40px 0 20px; }
    .about-stats { padding: 40px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-number { font-size: 32px; }
    .advantages-grid { grid-template-columns: 1fr; }
    .about-global { padding: 40px 0 30px; }
    .global-markets { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
    .global-markets { grid-template-columns: 1fr; }
}

/* ---- Footer CTA / Quick Inquiry ---- */
.footer-cta { background: var(--primary); padding: 50px 0; color: rgba(255,255,255,0.9); }
.footer-cta h3 { color: var(--white); font-size: 22px; margin-bottom: 8px; }
.footer-cta p { margin-bottom: 20px; font-size: 14px; }
.footer-inquiry-form .form-control { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: var(--white); border-radius: var(--radius-sm); }
.footer-inquiry-form .form-control::placeholder { color: rgba(255,255,255,0.55); }
.footer-inquiry-form .form-control:focus { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); box-shadow: none; }
.footer-inquiry-form .btn-inquiry-submit { margin-top: 4px; min-width: 140px; }
.inquiry-form-feedback { display: inline-block; margin-left: 12px; font-size: 14px; }
.inquiry-form-feedback.success { color: #5cb85c; }
.inquiry-form-feedback.error { color: #f2dede; }
.footer-contact-info { list-style: none; padding: 20px 0 0; margin: 0; }
.footer-contact-info li { padding: 6px 0; font-size: 14px; }
.footer-contact-info li i { width: 20px; text-align: center; margin-right: 8px; color: var(--accent); }
.footer-contact-info li a { color: rgba(255,255,255,0.9); }
.footer-contact-info li a:hover { color: var(--white); }

/* ---- Sitemap Page ---- */
.sitemap-section { padding: 60px 0 50px; }
.sitemap-section .section-header { margin-bottom: 40px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sitemap-col h2 { font-size: 18px; color: var(--primary-dark); border-bottom: 2px solid var(--accent); padding-bottom: 10px; margin-bottom: 20px; }
.sitemap-col h2 i { color: var(--accent); margin-right: 6px; }
.sitemap-group { margin-bottom: 20px; }
.sitemap-group h3 { font-size: 15px; margin-bottom: 8px; }
.sitemap-group h3 a { color: var(--primary); }
.sitemap-group h3 a:hover { color: var(--accent); }
.sitemap-list { list-style: none; padding: 0; margin: 0; }
.sitemap-list li { padding: 4px 0; }
.sitemap-list li a { font-size: 14px; color: var(--text-light); }
.sitemap-list li a:hover { color: var(--accent); }
.sitemap-list--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }

/* ---- Privacy Policy Page ---- */
.privacy-section { padding: 60px 0 50px; }
.page-content { max-width: 820px; margin: 0 auto; }
.page-content h1 { font-size: 32px; margin-bottom: 16px; }
.privacy-meta { color: var(--text-muted); font-size: 14px; margin-bottom: 30px; }
.privacy-body h2 { font-size: 20px; margin: 32px 0 12px; color: var(--primary-dark); }
.privacy-body p { font-size: 15px; color: var(--text-light); line-height: 1.8; margin-bottom: 12px; }
.privacy-body ul { padding-left: 20px; margin-bottom: 12px; }
.privacy-body ul li { font-size: 15px; color: var(--text-light); line-height: 1.8; }
.privacy-body ul li::marker { color: var(--accent); }

/* ---- Sitemap & Privacy Responsive ---- */
@media (max-width: 991px) {
    .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .footer-cta { padding: 40px 0; }
    .footer-cta .col-md-6:first-child { margin-bottom: 30px; }
    .sitemap-grid { grid-template-columns: 1fr; }
    .page-content h1 { font-size: 26px; }
}

/* ---- Responsive ---- */
@media (min-width: 1400px) {
    .hero-banner { min-height: 620px; padding: 100px 0 130px; }
    .hero-banner h1 { font-size: 56px; }
    .hero-subtitle { font-size: 20px; max-width: 700px; }
}

@media (max-width: 991px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-card-img { flex: 0 0 220px; }
    .hero-banner { min-height: 400px; padding: 60px 0 80px; }
    .hero-banner h1 { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .cta-banner { padding: 50px 0; }
}

@media (max-width: 767px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .advantages-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .trust-bar { margin-top: -30px; padding-bottom: 40px; }
    .blog-card { flex-direction: column; }
    .blog-card-img { flex: none; height: 220px; }
    .sidebar { padding-right: 0; margin-bottom: 30px; }
    .hero-banner { min-height: 360px; padding: 50px 0 60px; }
    .hero-banner h1 { font-size: 28px; }
    .hero-subtitle { font-size: 15px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn-lg { width: 100%; max-width: 300px; }
    .section-header h2 { font-size: 24px; }
    .section-header p { font-size: 14px; }
    .cta-banner h2 { font-size: 24px; }
    .cta-banner p { font-size: 15px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn-lg { width: 100%; max-width: 300px; }
    .advantage-card { padding: 28px 20px 24px; }
    .product-info h2 { font-size: 22px; }
    .product-carousel .item { height: 350px; }
    .product-carousel .item img { max-height: 350px; }
    .featured-section { padding: 30px 0 50px; }
    .blog-section { padding: 50px 0; }
    .advantages-section { padding: 50px 0; }
    .footer-main .col-sm-6 { margin-bottom: 30px; }
    .footer-bottom .text-right { text-align: left; margin-top: 10px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .trust-item { padding: 20px 12px 16px; }
    .trust-number { font-size: 24px; }
    .trust-label { font-size: 11px; }
    .product-info .meta-line { flex-direction: column; gap: 6px; }
    .specs-table table td:first-child,
    .specs-table table td:nth-child(3) { width: 110px; font-size: 13px; }
    .hero-banner { min-height: 300px; }
    .hero-banner h1 { font-size: 24px; }
    .hero-actions .btn-lg { font-size: 14px; padding: 12px 24px; }
    .product-card-actions { flex-direction: column; }
    .product-carousel .item { height: 280px; }
    .product-carousel .item img { max-height: 280px; }
}
