/* Forklift Parts Frontend Styles - Modern Design */

/* Global Variables */
.forklift-page-wrapper,
.forklift-content-container {
    --wp--style--global--content-size: 1597px;
    --primary-color: #009a52;
    --primary-dark: #009a52;
    --secondary-color: #3a7d23;
    --accent-color: #fbbc05;
    --text-dark: #22b973;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e1e5e9;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --z-dropdown: 1000;
    --z-modal: 1050;
    --z-tooltip: 1100;
    --radius-xl: 24px;
}

/* Page Wrapper - Centered Container */
.forklift-page-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100vh;
    padding: 0 !important;
    box-sizing: border-box;
    margin: 0 !important;
}

.forklift-content-container {
    width: 100% !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}

/* Override WordPress layout constraints that limit content width */
.is-layout-constrained .forklift-content-container,
.is-layout-constrained>.forklift-content-container,
.is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)).forklift-content-container,
.wp-block-group .forklift-content-container,
.wp-block-group__inner-container .forklift-content-container,
.wp-block-post-content .forklift-content-container,
.entry-content .forklift-content-container,
.site-content .forklift-content-container {
    max-width: 1600px !important;
    width: 100% !important;
}

/* Ensure all child elements respect the container */
.forklift-content-container>* {
    max-width: 100% !important;
}

/* Override any nested WordPress constraints */
.forklift-content-container .is-layout-constrained> :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
}

/* ============================================
   HEADER SECTION - Professional Design
   ============================================ */
.forklift-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 0;
    box-shadow: var(--shadow-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Logo Styles */
.forklift-header-wrapper {
    position: relative;
    overflow: hidden;
}

.forklift-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.forklift-logo {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    object-fit: cover;
    width: 250px;
}

.forklift-logo:hover {
    transform: scale(1.05);
}

.forklift-header-title {
    margin: 0;
    line-height: 1.2;
}

.forklift-header-subtitle {
    margin: 0;
    opacity: 0.9;
    font-weight: 400;
}

.forklift-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.logo-icon {
    font-size: 3.5em;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.logo-text h1 {
    margin: 0 0 8px 0;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-text p {
    margin: 0;
    font-size: 1.1em;
    opacity: 0.95;
    font-weight: 400;
}

.header-search {
    flex: 1;
    max-width: 500px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    top: 55px;
    right: 61px;
    position: absolute;
    font-size: 1.2em;
    z-index: 2;
    opacity: 0.8;
}

.header-search .search-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 16px;
    transition: var(--transition);
}

.header-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search .search-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.header-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 2.5em;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.9;
    font-weight: 500;
}

/* ============================================
   FILTERS SECTION - Modern Design
   ============================================ */
/* ============================================
   FILTERS SECTION - Elementor Style
   ============================================ */
.forklift-filters-section {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
    /* Elementor-like shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.filters-header h2,
.filters-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.clear-filters-btn {
    padding: 6px 12px;
    background: transparent;
    color: var(--text-medium);
    font-weight: 500;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: underline;
}

.clear-filters-btn:hover {
    color: var(--primary-color);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 Columns Desktop */
    gap: 20px;
    width: 100%;
    align-items: end;
    /* Align bottoms of inputs */
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Columns Tablet */
    }
}

@media (max-width: 576px) {
    .filters-grid {
        grid-template-columns: 1fr;
        /* 1 Column Mobile */
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    /* Tighter gap between label and input */
    margin: 0;
    width: 100%;
}

/* Fix for wpautop adding empty p tags */
.filter-group p,
.product-card p,
.product-card br,
.forklift-products-grid>p,
.forklift-products-grid>br {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 13px;
    margin: 0;
    line-height: 1.2;
}

/* Remove icons from labels for cleaner look (optional, but Elementor often minimal) 
   Or keep them small */
.filter-icon {
    font-size: 12px;
    width: 14px;
    color: var(--text-light);
    /* Subtler icon */
    margin-right: 4px;
}

/* Helper class for inputs/selects common styles */
.forklift-filter-control {
    width: 100% !important;
    height: 40px !important;
    /* Standard Elementor height */
    padding: 0 12px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
    /* Elementor default radius */
    font-size: 14px !important;
    color: var(--text-dark) !important;
    background-color: #fff !important;
    transition: all 0.3s !important;
    box-shadow: none !important;
}

.forklift-filter-control:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
}

/* Apply to specific elements */
.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="search"],
.filter-group .search-input,
.filter-select {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 3px !important;
    font-size: 13px !important;
    color: #555 !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.2s;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary-color) !important;
}

.search-input-wrapper {
    width: 100%;
}

/* Checkbox specific styling */
.filter-checkbox {
    height: 40px;
    /* Match input height for alignment */
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    /* Push to bottom if needed */
    padding: 0;
    border: 1px solid transparent;
    /* Maintain spacing alignment */
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.checkbox-label {
    font-size: 13px;
    font-weight: 500;
}

/* Searchable Select Styles */
.select-search-wrapper {
    position: relative;
    margin-bottom: 8px;
    width: 100%;
}

.select-search-input {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--radius-sm) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    transition: var(--transition);
    background: var(--bg-white) !important;
    box-sizing: border-box !important;
}

.select-search-input:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1) !important;
}

.select-search-input::placeholder {
    color: var(--text-light);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 0;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid #ace;
    border-radius: 4px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked+.checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label {
    font-weight: 500;
    color: var(--text-medium);
    user-select: none;
}

/* ============================================
   PAGINATION
   ============================================ */
.forklift-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    padding: 20px 0;
    flex-wrap: wrap;
}

.forklift-pagination:not(.loading) {
    display: flex !important;
    /* Always show when not loading */
}

.pagination-btn {
    padding: 10px 20px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

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

.pagination-btn:active {
    transform: translateY(0);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-number {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    cursor: pointer;
}

.pagination-number:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination-number.pagination-current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    cursor: default;
}

.pagination-number.pagination-current:hover {
    transform: none;
    box-shadow: none;
}

.pagination-dots {
    padding: 0 8px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.pagination-info {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-medium);
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Pagination */
@media (max-width: 767px) {
    .forklift-pagination {
        gap: 6px;
        margin: 30px 0;
        padding: 15px 0;
    }

    .pagination-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 80px;
    }

    .pagination-number {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

/* ============================================
   CATEGORY TAGS
   ============================================ */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tags-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-right: 8px;
    font-size: 14px;
}

.category-tag {
    line-height: 6px;
    padding: 10px;
    background: var(--bg-light);
    color: var(--text-medium);
    border-radius: var(--radius-xl);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-dark);
}

/* ============================================
   PRODUCTS GRID - Bootstrap-like Grid System
   ============================================ */
/* ============================================
   PRODUCTS GRID - Modern CSS Grid
   ============================================ */
.forklift-products-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    margin: 0;
    margin-bottom: 60px;
}

.forklift-products-grid .product-card {
    width: 100%;
    /* Reset flex properties just in case */
    flex: unset !important;
    max-width: unset !important;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Small screens (≥576px) - 2 cards */
@media (min-width: 576px) {
    .forklift-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Medium screens (≥768px) - 3 cards */
@media (min-width: 768px) {
    .forklift-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

/* Large screens (≥1200px) - 4 cards */
@media (min-width: 1200px) {
    .forklift-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* ============================================
   PRODUCT CARD - Professional Design
   ============================================ */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.product-card.featured-product {
    border-top: 4px solid var(--primary-color);
}

.featured-badge {
    padding: 0 6px !important;
    position: absolute;
    top: 40px;
    right: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.badge-icon {
    font-size: 1.1em;
    display: inline-block;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif;
    line-height: 1;
    vertical-align: middle;
}

/* Product Image */
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}

.product-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-thumbnail {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    cursor: pointer;
}

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

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-light);
    border: 2px dashed var(--border-color);
    color: var(--text-light);
}

.no-image-icon {
    font-size: 3em;
    opacity: 0.5;
    display: inline-block;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif;
    line-height: 1;
    vertical-align: middle;
}

.no-image-text {
    font-weight: 500;
    font-size: 14px;
}

.quick-view-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 14px !important;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    opacity: 0;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
}

.product-card:hover .quick-view-btn {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.quick-view-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(-50%) translateY(0) scale(1.05);
}

/* Product Info */
.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 18px;
    font-weight: 700;
}

.product-name {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    min-height: 3.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-part-number {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.part-label {
    font-weight: 600;
    color: var(--text-medium);
    font-size: 13px;
}

.part-number {
    position: absolute;
    right: 34px;
    font-size: 18px !important;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 14px;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 13px;
}

.meta-item:last-child {
    border-bottom: none;
}

.meta-icon {
    font-size: 1.1em;
    flex-shrink: 0;
    display: inline-block;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif;
    line-height: 1;
    vertical-align: middle;
}

.meta-label {
    font-weight: 600;
    color: var(--text-medium);
    min-width: 80px;
}

.meta-value {
    color: var(--text-light);
    flex: 1;
    text-align: right;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.cross-ref {
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

/* Product Actions */
.product-actions {
    padding: 20px;
    border-top: 1px solid var(--bg-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    background: var(--bg-white);
}

.quantity-input:focus {
    outline: none;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    flex: 1;
    box-shadow: var(--shadow-sm);
}

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

/* Font Awesome icons inside buttons */
.btn i,
.btn i.fas,
.btn i.far,
.btn i.fal,
.btn i.fab,
.btn i.fa {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.btn-icon {
    font-size: 1.1em;
    display: inline-block;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
    font-weight: 900 !important;
    line-height: 1;
    vertical-align: middle;
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER SECTION - Professional Design
   ============================================ */
.forklift-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: var(--radius-lg);
    padding: 50px 40px 30px;
    margin-top: 0;
    box-shadow: var(--shadow-lg);
    color: rgba(255, 255, 255, 0.9);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 10px;
}

.footer-column p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-size: 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3em;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
    border-color: var(--primary-color);
}

.newsletter {
    margin-top: 20px;
}

.newsletter p {
    margin-bottom: 12px;
    font-size: 13px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    opacity: 0.7;
}

/* ============================================
   NO PRODUCTS
   ============================================ */
.no-products {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 0 15px;
    box-sizing: border-box;
}

.no-products-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
    display: inline-block;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif;
    line-height: 1;
    vertical-align: middle;
}

.no-products h3 {
    margin: 0 0 10px 0;
    color: var(--text-dark);
    font-size: 1.5em;
}

.no-products p {
    margin: 0;
    color: var(--text-light);
    font-size: 1em;
}

/* ============================================
   FLOATING CART
   ============================================ */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transition: var(--transition);
}

.floating-cart:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 140, 66, 0.5);
}

.cart-icon {
    position: relative;
    font-size: 1.8em;
    line-height: 1;
    display: inline-block;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', sans-serif;
    vertical-align: middle;
}

.cart-count {
    position: absolute;
    top: -12px;
    right: -8px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.cart-text {
    font-weight: 600;
    white-space: nowrap;
    font-size: 15px;
}

/* ============================================
   ORDER SUMMARY - Moved to Modal Styles Section
   ============================================ */

/* ============================================
   MODALS - Unified Design System
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: var(--z-modal);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    z-index: 1;
}

.modal-content {
    position: relative;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 90%;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    box-sizing: border-box;
}

/* Modal Header - Unified */
.modal-header {
    padding: 24px 30px;
    border-bottom: 2px solid var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    flex-shrink: 0;
}

.modal-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Modal Body - Unified */
.modal-body {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* Close Button - Unified */
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
    border: 2px solid transparent;
}

.close-modal:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg) scale(1.1);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.close-modal:active {
    transform: rotate(90deg) scale(0.95);
}

/* Image Modal - Special Styling */
#imageModal .modal-wrapper {
    padding: 40px;
}

#imageModal .modal-content {
    background: transparent;
    box-shadow: none;
    max-width: 95%;
    max-height: 95vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    overflow: visible;
}

#imageModal .modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    object-fit: contain;
}

#imageModal .close-modal {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    top: 10px;
    right: 10px;
}

#imageModal .close-modal:hover {
    background: var(--primary-color);
    color: white;
}

/* Cart Modal - Specific Styling */
.cart-modal {
    background: var(--bg-white);
    max-width: 700px;
}
.modal-content {
    background: #fff;
}
.cart-actions .btn {
    background: #009a52;
}
.close-modal:hover {
    background: unset;
    color: unset;
}
.cart-items-container {
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
}
.modal {
    z-index: 999999 !important;
}
.cart-items-container::-webkit-scrollbar {
    width: 6px;
}

.cart-items-container::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.cart-items-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.cart-footer {
    padding-top: 20px;
    border-top: 2px solid var(--bg-light);
    margin-top: 20px;
}

.cart-total {
    text-align: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-dark);
}

.cart-total strong {
    color: var(--primary-color);
    font-weight: 700;
}

.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Checkout Modal - Specific Styling */
.checkout-modal {
    max-width: 800px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.form-section-title {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group .required {
    color: #dc3545;
    font-weight: 700;
}

.form-group .optional {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.9em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    box-sizing: border-box;
    font-family: inherit;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(84, 180, 53, 0.1);
    background: var(--bg-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.order-summary-section {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.order-summary-content {
    margin-top: 15px;
}

.form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.form-actions .btn {
    flex: 1;
    min-width: 150px;
    padding: 14px 24px;
    font-size: 15px;
}

/* Success Modal - Specific Styling */
.success-modal {
    max-width: 500px;
    text-align: center;
}

.success-body {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.success-icon-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.5s ease;
}

.success-icon {
    font-size: 3.5em;
    color: white;
    line-height: 1;
}

.success-title {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.success-message {
    margin: 0;
    font-size: 1.1em;
    color: var(--text-medium);
    line-height: 1.6;
}

.success-modal .btn {
    margin-top: 10px;
    padding: 14px 32px;
    font-size: 16px;
}

/* Modal Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Cart Item Styles - Unified */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    transition: var(--transition);
    gap: 15px;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cart-item:hover {
    background: var(--bg-light);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.4;
}

.cart-item-details {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.5;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 15px;
    flex-shrink: 0;
}

.cart-item-quantity .qty-btn {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    transition: var(--transition);
}

.cart-item-quantity .qty-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.cart-item-quantity .qty-value {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 15px;
}

.cart-item-price {
    display: none !important;
}

.remove-item {
    background: transparent;
    border: 2px solid transparent;
    color: #dc3545;
    font-size: 18px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    flex-shrink: 0;
}

.remove-item:hover {
    background: #ffebee;
    border-color: #dc3545;
    transform: scale(1.1) rotate(90deg);
}

/* Order Summary Styles - Unified */
.order-summary-content {
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border-color);
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
    gap: 15px;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-info {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 15px;
    line-height: 1.4;
}

.order-item-details {
    font-size: 13px;
    color: var(--text-medium);
    line-height: 1.5;
}

.order-item-quantity {
    min-width: 60px;
    text-align: center;
    color: var(--text-medium);
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.order-item-price {
    display: none !important;
}

.order-totals {
    border-top: 2px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 15px;
    color: var(--text-dark);
}

.order-total-row:last-child {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

.order-total {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    margin-top: 10px;
    padding-top: 15px;
}

.cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Checkout modal styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Order Summary styles moved to unified modal styles section above */

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Success modal styles */
.success-message {
    text-align: center;
    padding: 30px 20px;
}

.success-icon {
    font-size: 4em;
    color: #28a745;
    margin-bottom: 20px;
}

.success-message p {
    margin: 10px 0;
    font-size: 1.1em;
}

.success-message strong {
    color: var(--primary-color);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-wrapper {
        padding: 15px;
    }

    .modal-content {
        max-width: 100%;
        max-height: 95vh;
        border-radius: var(--radius-md);
    }

    .modal-header {
        padding: 20px;
    }

    .modal-title {
        font-size: 1.3em;
    }

    .modal-body {
        padding: 20px;
    }

    .close-modal {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }

    /* Cart Modal Mobile */
    .cart-modal {
        max-width: 100%;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
    }

    .cart-item-info {
        width: 100%;
    }

    .cart-item-quantity {
        margin: 0;
        width: 100%;
        justify-content: flex-start;
    }

    .cart-item-price {
        width: 100%;
        text-align: left;
        margin-top: 5px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .cart-actions .btn {
        width: 100%;
        min-width: auto;
    }

    /* Checkout Modal Mobile */
    .checkout-modal {
        max-width: 100%;
    }

    .form-section,
    .order-summary-section {
        padding: 20px;
    }

    .form-section-title {
        font-size: 1.1em;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
        min-width: auto;
    }

    /* Success Modal Mobile */
    .success-modal {
        max-width: 100%;
    }

    .success-body {
        padding: 40px 30px;
    }

    .success-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .success-icon {
        font-size: 2.8em;
    }

    .success-title {
        font-size: 1.5em;
    }

    .success-message {
        font-size: 1em;
    }

    /* Image Modal Mobile */
    #imageModal .modal-wrapper {
        padding: 20px;
    }

    #imageModal .modal-content {
        max-width: 100%;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .modal-wrapper {
        padding: 10px;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-title {
        font-size: 1.2em;
    }

    .modal-body {
        padding: 15px;
    }

    .form-section,
    .order-summary-section {
        padding: 15px;
    }

    .success-body {
        padding: 30px 20px;
    }

    .success-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .success-icon {
        font-size: 2.5em;
    }

    .success-title {
        font-size: 1.3em;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes cartBounce {

    0%,
    20%,
    60%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    80% {
        transform: translateY(-5px);
    }
}

.cart-update {
    animation: cartBounce 0.6s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

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

/* ============================================
   NOTIFICATIONS
   ============================================ */
.forklift-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 500;
    z-index: 3000;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.notification-success {
    background: #28a745;
}

.notification-error {
    background: #dc3545;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
/* Large screens - keep 1600px max-width */
@media (min-width: 1600px) {
    .forklift-content-container {
        max-width: 1600px !important;
    }

    .is-layout-constrained>.forklift-content-container,
    .is-layout-constrained .forklift-content-container {
        max-width: 1600px !important;
    }
}

/* Medium to Large screens */
@media (min-width: 1200px) and (max-width: 1599px) {
    .forklift-content-container {
        max-width: 1600px !important;
    }

    .is-layout-constrained>.forklift-content-container,
    .is-layout-constrained .forklift-content-container {
        max-width: 1600px !important;
    }
}

@media (max-width: 1199px) {
    .header-top {
        flex-direction: column;
        align-items: stretch;
    }

    .header-search {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .forklift-page-wrapper {
        padding: 0 !important;
    }

    .forklift-content-container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .is-layout-constrained>.forklift-content-container,
    .is-layout-constrained .forklift-content-container {
        max-width: 100% !important;
    }

    .forklift-header {
        padding: 30px 20px;
    }

    .logo-text h1 {
        font-size: 2em;
    }

    .header-stats {
        grid-template-columns: 1fr;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-selector {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .floating-cart {
        bottom: 20px;
        right: 20px;
        padding: 14px 20px;
    }

    .modal-content {
        width: 95%;
        margin: 5% auto;
    }

    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 575px) {
    .forklift-header {
        padding: 25px 15px;
    }

    .logo-icon {
        font-size: 2.5em;
    }

    .logo-text h1 {
        font-size: 1.6em;
    }

    .logo-text p {
        font-size: 0.95em;
    }

    .category-tags {
        gap: 8px;
        padding: 15px;
    }

    .tags-label {
        width: 100%;
        margin-bottom: 8px;
    }

    .category-tag {
        padding: 8px 16px;
        font-size: 12px;
    }

    .product-image {
        height: 200px;
    }

    .meta-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .meta-value {
        text-align: left;
    }

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

    .newsletter-btn {
        width: 100%;
    }

    .forklift-products-grid {
        margin: 0;
        gap: 20px;
        /* Gap between cards on mobile */
    }

    .forklift-products-grid .product-card {
        padding: 0;
        margin: 0;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ============================================
   ICON STYLING - Font Awesome Priority & Fallbacks
   ============================================ */
/* Base icon styles for consistent appearance */
.icon-base {
    display: inline-block;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif;
    font-weight: 900;
    line-height: 1;
    vertical-align: middle;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    backface-visibility: hidden;
    font-size: 1em;
    width: 1.2em;
    height: 1.2em;
    position: relative;
}

/* Specific icon styles for different contexts */
.badge-icon::before,
.meta-icon::before,
.no-image-icon::before,
.no-products-icon::before,
.cart-icon::before,
.quick-view-btn::before {
    display: inline-block;
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif;
    font-weight: 900;
    line-height: 1;
    vertical-align: middle;
    font-size: 1em;
    text-align: center;
    backface-visibility: hidden;
    position: relative;
}

/* Font Awesome icons in buttons - ensure proper rendering */
.btn i.fas,
.btn i.far,
.btn i.fal,
.btn i.fab,
.btn i.fa,
.btn .fas,
.btn .far,
.btn .fal,
.btn .fab,
.btn .fa {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto;
}

/* Fallback styles for when icons can't be loaded */
.icon-base,
.badge-icon,
.meta-icon,
.no-image-icon,
.no-products-icon,
.cart-icon,
.btn-icon,
.quick-view-btn {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
    font-weight: 900 !important;
    display: inline-block !important;
}

/* Filter icon fallback - separate to avoid conflicts */
.filter-icon {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
    font-weight: 900 !important;
}

/* Ensure plugin containers use proper fonts */
.forklift-content-container,
.forklift-page-wrapper {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Hide any WordPress emoji images completely */
.forklift-content-container img.emoji,
.forklift-content-container img.wp-smiley,
.forklift-page-wrapper img.emoji,
.forklift-page-wrapper img.wp-smiley {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(100%) !important;
    overflow: hidden !important;
}

/* Icon-specific enhancements - Removed duplicate filter-icon styles */

.badge-icon {
    width: 1.2em;
    height: 1.2em;
    font-size: 0.9em;
    margin-right: 4px;
}

.meta-icon {
    color: var(--primary-color);
    width: 1.5em;
    height: 1.5em;
    margin-right: 8px;
}

.no-image-icon,
.no-products-icon {
    color: var(--border-color);
    font-size: 2em;
    margin-bottom: 10px;
    width: 2.5em;
    height: 2.5em;
}

.cart-icon {
    position: relative;
    width: 1.5em;
    height: 1.5em;
}

.btn-icon {
    width: 1.5em;
    height: 1.5em;
    font-size: 0.9em;
    margin-right: 4px;
}

/* Ensure Font Awesome icons in buttons render correctly */
.btn i[class*="fa-"],
.btn i[class^="fa-"],
.btn i[class*="fas"],
.btn i[class^="fas"],
.btn i[class*="far"],
.btn i[class^="far"],
.btn i[class*="fal"],
.btn i[class^="fal"],
.btn i[class*="fab"],
.btn i[class^="fab"] {
    font-family: 'Font Awesome 6 Free', 'Font Awesome 6 Pro', 'FontAwesome', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.quick-view-btn {
    position: absolute !important;
    left: 50% !important;
}

/* Enhanced icon accessibility */
.icon-base,
.badge-icon,
.meta-icon,
.no-image-icon,
.no-products-icon,
.cart-icon,
.btn-icon,
.quick-view-btn,
.filter-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: auto;
}

/* Special handling for stacked icons */
.icon-stack {
    display: inline-block;
    position: relative;
    width: 2em;
    height: 2em;
    line-height: 2em;
    vertical-align: middle;
}

.icon-stack .icon-base {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

/* ============================================
   FORCED ICON POSITIONING - Maximum Priority
   ============================================ */
.floating-cart {
    width: 148px;
}

.forklift-content-container .floating-cart .cart-icon {
    right: 30px;
}

.forklift-content-container .floating-cart .cart-icon i.fas.fa-shopping-cart {
    font-size: 16px;
    position: absolute;
    right: 7px;
    top: -8px;
}

.forklift-content-container .floating-cart .cart-icon .cart-count {
    right: -19px;
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */
.quick-view-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    padding: 0;
    margin: 0;
}

.quick-view-modal .modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.quick-view-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
}

.quick-view-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: var(--text-dark);
}

.quick-view-body {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
    max-height: calc(90vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.quick-view-body::-webkit-scrollbar {
    width: 8px;
}

.quick-view-body::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.quick-view-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

.quick-view-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

.quick-view-image,
.quick-view-no-image {
    flex: 1;
    min-width: 300px;
    padding: 10px;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.quick-view-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-light);
    text-align: center;
}

.quick-view-no-image .no-image-icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--border-color);
}

.quick-view-details {
    flex: 1;
    min-width: 300px;
    padding: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-light);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-medium);
}

.detail-value {
    font-weight: 500;
    color: var(--text-dark);
    text-align: right;
}

.quick-view-actions {
    flex: 0 0 100%;
    display: flex;
    gap: 15px;
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.quick-view-actions .quantity-selector {
    display: flex;
    align-items: center;
}

.quick-view-actions .btn {
    flex: 0.98;
    margin: 0;
}

@media (max-width: 768px) {
    .quick-view-body {
        max-height: calc(90vh - 200px);
        padding: 20px 35px;
    }

    .quick-view-image,
    .quick-view-no-image,
    .quick-view-details {
        min-width: 100%;
    }

    .quick-view-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .quick-view-body {
        max-height: calc(85vh - 180px);
        padding: 12px;
    }
}

/* Removed conflicting filter-icon positioning */

/* Custom Alert Modal Styles */
.forklift-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.forklift-alert-overlay.show {
    opacity: 1;
    visibility: visible;
}

.forklift-alert-modal {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 450px;
    width: 90%;
    padding: 0;
    position: relative;
    transform: scale(0.8) translateY(-20px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    overflow: hidden;
}

.forklift-alert-overlay.show .forklift-alert-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.forklift-alert-header {
    padding: 24px 30px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.forklift-alert-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    animation: alertIconPulse 0.6s ease;
}

.forklift-alert-icon.info {
    background: rgba(84, 180, 53, 0.1);
    color: var(--primary-color);
}

.forklift-alert-icon.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.forklift-alert-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.forklift-alert-icon.success {
    background: rgba(84, 180, 53, 0.1);
    color: var(--primary-color);
}

.forklift-alert-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.forklift-alert-body {
    padding: 24px 30px;
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.6;
}

.forklift-alert-footer {
    padding: 20px 30px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--border-color);
}

.forklift-alert-btn {
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    min-width: 100px;
}

.forklift-alert-btn-primary {
    background: var(--primary-color);
    color: white;
}

.forklift-alert-btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(84, 180, 53, 0.3);
}

.forklift-alert-btn-primary:active {
    transform: translateY(0);
}

@keyframes alertIconPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes alertSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

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

@media (max-width: 480px) {
    .forklift-alert-modal {
        width: 95%;
        max-width: none;
    }

    .forklift-alert-header,
    .forklift-alert-body,
    .forklift-alert-footer {
        padding: 20px;
    }

    .forklift-alert-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .forklift-alert-title {
        font-size: 18px;
    }
}

/* Custom Success Modal Styles */
.forklift-success-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(6px);
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.forklift-success-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.forklift-success-modal {
    background: var(--bg-white) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-width: 500px !important;
    width: 90% !important;
    padding: 0 !important;
    position: relative !important;
    transform: scale(0.7) translateY(-30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    overflow: hidden;
    text-align: center;
    z-index: 100000 !important;
}

.forklift-success-overlay.show .forklift-success-modal {
    transform: scale(1) translateY(0) !important;
    opacity: 1 !important;
}

.forklift-success-icon-wrapper {
    padding: 40px 30px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.forklift-success-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(84, 180, 53, 0.15), rgba(84, 180, 53, 0.25));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: successIconPulse 0.8s ease;
}

.forklift-success-icon-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(84, 180, 53, 0.2), rgba(84, 180, 53, 0.3));
    animation: successRipple 1.5s ease-out infinite;
}

.forklift-success-icon-circle i {
    font-size: 60px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    animation: successCheckmark 0.6s ease 0.3s both;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

.forklift-success-content {
    padding: 20px 30px 30px;
}

.forklift-success-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px;
    animation: successSlideIn 0.6s ease 0.2s both;
}

.forklift-success-message {
    font-size: 16px;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0 0 20px;
    animation: successSlideIn 0.6s ease 0.4s both;
}

.forklift-success-order-ref {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    animation: successSlideIn 0.6s ease 0.6s both;
}

.forklift-success-order-ref .order-ref-label {
    font-size: 14px;
    color: var(--text-medium);
    font-weight: 500;
}

.forklift-success-order-ref .order-ref-value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.forklift-success-footer {
    padding: 20px 30px 30px;
    display: flex;
    justify-content: center;
}

.forklift-success-btn {
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: successSlideIn 0.6s ease 0.8s both;
}

.forklift-success-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(84, 180, 53, 0.4);
}

.forklift-success-btn:active {
    transform: translateY(0);
}

.forklift-success-btn i {
    font-size: 16px;
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "FontAwesome", sans-serif !important;
    font-weight: 900 !important;
    display: inline-block !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

@keyframes successIconPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successRipple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes successCheckmark {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.2) rotate(5deg);
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes successSlideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

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

@media (max-width: 480px) {
    .forklift-success-modal {
        width: 95%;
        max-width: none;
    }

    .forklift-success-icon-wrapper {
        padding: 30px 20px 15px;
    }

    .forklift-success-icon-circle {
        width: 80px;
        height: 80px;
    }

    .forklift-success-icon-circle i {
        font-size: 48px;
    }

    .forklift-success-content {
        padding: 15px 20px 20px;
    }

    .forklift-success-title {
        font-size: 22px;
    }

    .forklift-success-message {
        font-size: 14px;
    }

    .forklift-success-footer {
        padding: 15px 20px 20px;
    }

    .forklift-success-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

i.fas.fa-shopping-cart.btn-icon {
    margin: 0 -10px;
}

p.forklift-header-tagline {
    font-size: 21px !important;
    position: relative;
    top: -10px;
}

@media (max-width: 767px) {
    p.forklift-header-tagline {
        position: absolute;
        top: 118px;
        font-size: 17px !important;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE - SEO-Friendly Page
   ============================================ */

.forklift-product-page-wrapper {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-light);
}

.forklift-product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

/* Breadcrumb */
.forklift-breadcrumb {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-medium);
}

.forklift-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.forklift-breadcrumb a:hover {
    text-decoration: underline;
}

.forklift-breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

/* Product Detail Grid */
.forklift-product-detail {
    margin-bottom: 50px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

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

/* Product Image Section */
.product-image-section {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    object-fit: contain;
    background: var(--bg-light);
    padding: 20px;
}

.no-image-large {
    width: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-color);
}

.no-image-large .no-image-icon {
    font-size: 64px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.no-image-large p {
    color: var(--text-medium);
    font-size: 16px;
}

/* Product Info Section */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }
}

/* Product Details List */
.product-details-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 140px;
    font-size: 15px;
}

.detail-value {
    color: var(--text-medium);
    text-align: right;
    flex: 1;
    font-size: 15px;
    word-break: break-word;
}

/* Product Actions Section */
.product-actions-section {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    flex-wrap: wrap;
}

.product-actions-section .quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.product-actions-section .quantity-input {
    width: 60px;
    text-align: center;
    border: none;
    font-size: 16px;
    font-weight: 600;
    background: transparent;
}

.product-actions-section .qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-actions-section .qty-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.product-actions-section .add-to-cart-btn {
    flex: 1;
    min-width: 200px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

/* Related Products Section */
.related-products-section {
    margin-top: 72px;
    padding: 40px 28px 12px;
    border-top: 1px solid rgba(17, 102, 62, 0.12);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(0, 154, 82, 0.07), transparent 30%),
        linear-gradient(180deg, #ffffff, #f6faf8);
    box-shadow: 0 18px 44px rgba(20, 53, 38, 0.08);
}

.section-title {
    font-size: clamp(1.6rem, 2.3vw, 2.2rem);
    font-weight: 700;
    color: #163329;
    margin: 0 0 26px;
    text-align: left;
    letter-spacing: -0.03em;
}

@media (max-width: 768px) {
    .related-products-section {
        margin-top: 56px;
        padding: 28px 18px 8px;
        border-radius: 22px;
    }

    .section-title {
        font-size: 22px;
        text-align: center;
    }
}

.related-products-section .forklift-products-grid {
    margin-bottom: 0;
}

.related-products-section p:empty,
.related-products-section .product-card p:empty,
.related-products-section .product-actions p:empty,
.related-products-section .product-image-wrapper p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.related-products-section .product-card p,
.related-products-section .product-actions p,
.related-products-section .product-image-wrapper p {
    margin: 0 !important;
}

.related-products-section .product-card {
    height: 100%;
}

.related-products-section .quick-view-btn,
.related-products-section .add-to-cart-btn {
    white-space: nowrap;
}

/* Quick View Button as Link */
.quick-view-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    background: var(--primary-color);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.quick-view-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

.quick-view-btn i {
    font-size: 16px;
}

/* ============================================
   PRO HEADER STYLES
   ============================================ */
.forklift-pro-header .wp-block-search__inside-wrapper {
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    overflow: hidden;
    padding: 0;
}

.forklift-pro-header .wp-block-search__input {
    border: none !important;
    background: transparent !important;
    padding: 12px 20px !important;
    border-radius: 0 !important;
}

.forklift-pro-header .wp-block-search__input:focus {
    box-shadow: none !important;
    outline: none !important;
}

.forklift-pro-header .wp-block-search__button {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    padding: 12px 25px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transition: var(--transition);
}

.forklift-pro-header .wp-block-search__button:hover {
    background: var(--primary-dark) !important;
}

.forklift-pro-header .wp-block-navigation-item__content {
    color: white !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    padding: 20px 15px !important;
    transition: var(--transition);
}

.forklift-pro-header .wp-block-navigation-item__content:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}

.forklift-pro-header .current-menu-item .wp-block-navigation-item__content {
    background: rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

/* Professional Product Details Table */
/* Premium Forklift Product Card */
.forklift-premium-product-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    margin: 30px 0;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Glassmorphism accent */
.forklift-premium-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #009a52, #00c86b);
}

/* Breadcrumbs Styling */
.forklift-product-breadcrumbs {
    margin-bottom: 35px;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list a {
    color: #009a52;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb-list a:hover {
    color: #00763f;
    text-decoration: underline;
}

.breadcrumb-list .separator {
    margin: 0 12px;
    color: #ddd;
    font-size: 10px;
}

.breadcrumb-list .current-item {
    color: #333;
    font-weight: 600;
}

/* Card Columns Layout */
.forklift-product-card-columns {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.forklift-product-info-column {
    flex: 1;
    min-width: 0;
}

.forklift-product-image-column {
    width: 400px;
    flex-shrink: 0;
}

.premium-product-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Modern Details Table */
.forklift-modern-details-table-wrapper {
    background: #fcfcfc;
    border-radius: 16px;
    padding: 5px;
    border: 1px solid #f0f0f0;
}

.forklift-modern-details-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.forklift-modern-details-table td {
    padding: 18px 24px;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.forklift-modern-details-table tr:last-child td {
    border-bottom: none;
}

.modern-label {
    width: 35%;
    color: #777;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
}

.modern-value {
    color: #222;
    font-weight: 500;
}

/* Part Number Badge */
.part-number-badge {
    background: #e6f5ee;
    color: #009a52;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    border: 1px solid rgba(0, 154, 82, 0.1);
}

/* Premium Image Styling */
.premium-image-wrapper {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f0f0;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.premium-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-image-wrapper:hover .premium-product-image {
    transform: scale(1.08);
}

.no-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #bbb;
}

.no-image-placeholder i {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .forklift-product-card-columns {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .forklift-product-image-column {
        width: 100%;
    }

    .premium-image-wrapper {
        aspect-ratio: auto;
        min-height: 300px;
    }
}

@media (max-width: 640px) {
    .forklift-premium-product-card {
        padding: 25px;
    }

    .premium-product-title {
        font-size: 24px;
    }

    .modern-label {
        width: 40%;
        padding: 15px;
    }

    .modern-value {
        padding: 15px;
    }
}

/* Premium Product Actions (Add to Order) */
.product-actions-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    width: 100%;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent !important;
    color: #555 !important;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.qty-btn:hover {
    background: #f5f5f5 !important;
    color: #009a52 !important;
}

.quantity-input {
    width: 60px !important;
    border: none !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #333 !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, #009a52, #00763f) !important;
    color: #fff !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 8px 20px rgba(0, 154, 82, 0.2) !important;
}

.add-to-cart-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 154, 82, 0.3) !important;
}

.add-to-cart-btn .btn-text {
    color: #fff !important;
}

/* Force cleanup of empty P tags injected by WordPress/Elementor */
.forklift-premium-product-card p:empty,
.product-actions-section p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure no margins on P tags inside our components if they somehow survive */
.forklift-premium-product-card p,
.product-actions-section p {
    margin-top: 0;
    margin-bottom: 0;
}

/* ============================================
   ELEMENTOR-FRIENDLY CATALOG REFRESH
   ============================================ */
.forklift-catalog-shell {
    padding: 24px !important;
}

.forklift-section {
    position: relative;
}

.forklift-page-wrapper .forklift-filters-section,
.forklift-page-wrapper .category-tags,
.forklift-page-wrapper .forklift-results-shell,
.forklift-page-wrapper .forklift-pagination {
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.forklift-page-wrapper .forklift-filters-section {
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(0, 154, 82, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
}

.forklift-page-wrapper .filters-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.forklift-page-wrapper .filters-header h3 {
    font-size: clamp(1.2rem, 1.4vw, 1.5rem);
    font-weight: 700;
    color: #102418;
}

.forklift-page-wrapper .clear-filters-btn {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.04);
    color: #4b5563;
    text-decoration: none;
}

.forklift-page-wrapper .clear-filters-btn:hover {
    background: rgba(0, 154, 82, 0.12);
    color: var(--primary-color);
}

.forklift-page-wrapper .filters-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.forklift-page-wrapper .filter-group {
    grid-column: span 3;
    gap: 10px;
}

.forklift-page-wrapper .filter-group:last-child {
    justify-content: flex-end;
}

.forklift-page-wrapper .filter-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #475569;
}

.forklift-page-wrapper .filter-icon {
    color: var(--primary-color);
}

.forklift-page-wrapper .filter-group select,
.forklift-page-wrapper .filter-group input[type="text"],
.forklift-page-wrapper .filter-group input[type="search"],
.forklift-page-wrapper .filter-group .search-input,
.forklift-page-wrapper .filter-select {
    height: 48px !important;
    min-height: 48px !important;
    border: 1px solid rgba(148, 163, 184, 0.35) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0f172a !important;
    font-size: 14px !important;
    padding: 0 16px !important;
}

.forklift-page-wrapper .filter-group select:focus,
.forklift-page-wrapper .filter-group input:focus,
.forklift-page-wrapper .filter-group .search-input:focus {
    border-color: rgba(0, 154, 82, 0.7) !important;
    box-shadow: 0 0 0 4px rgba(0, 154, 82, 0.12) !important;
}

.forklift-page-wrapper .filter-checkbox {
    min-height: 48px;
    padding: 0 4px;
}

.forklift-page-wrapper .checkbox-custom {
    border-color: rgba(0, 154, 82, 0.35);
}

.forklift-page-wrapper .category-tags {
    margin-bottom: 34px;
    padding: 18px 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.forklift-page-wrapper .tags-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.forklift-page-wrapper .category-tag {
    padding: 12px 18px;
    line-height: 1.2;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #fff;
    color: #1f2937;
}

.forklift-page-wrapper .category-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(0, 154, 82, 0.14);
}

.forklift-page-wrapper .forklift-results-shell {
    padding: 28px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(0, 154, 82, 0.08), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.forklift-results-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.forklift-section-kicker {
    display: inline-block;
    margin-bottom: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 154, 82, 0.1);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.forklift-results-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.1;
}

.forklift-results-stat {
    min-width: 140px;
    padding: 16px 18px;
    border-radius: 22px;
    background: #0f172a;
    color: #fff;
    text-align: center;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.2);
}

.forklift-results-stat strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
}

.forklift-results-stat span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.forklift-page-wrapper .forklift-products-grid {
    gap: 24px;
    margin-bottom: 0;
}

.forklift-page-wrapper .product-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.forklift-page-wrapper .product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.forklift-page-wrapper .product-image {
    height: 220px;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
}

.forklift-page-wrapper .product-info {
    padding: 22px;
    gap: 14px;
}

.forklift-page-wrapper .product-name {
    min-height: auto;
    font-size: 1.05rem;
    line-height: 1.45;
}

.forklift-page-wrapper .product-part-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.forklift-page-wrapper .part-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.forklift-page-wrapper .part-number {
    position: static;
    right: auto;
    font-size: 15px !important;
    color: #0f172a;
}

.forklift-page-wrapper .meta-item {
    align-items: start;
    gap: 8px;
    padding: 10px 0;
    border-bottom-color: rgba(148, 163, 184, 0.18);
}

.forklift-page-wrapper .meta-label {
    min-width: 68px;
    color: #475569;
}

.forklift-page-wrapper .meta-value {
    text-align: left;
    color: #0f172a;
}

.forklift-page-wrapper .category-badge {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    letter-spacing: 0.03em;
}

.forklift-page-wrapper .product-actions {
    padding: 18px 22px 22px;
    gap: 10px;
    flex-wrap: wrap;
}

.forklift-page-wrapper .quantity-selector {
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 16px;
    background: #fff;
}

.forklift-page-wrapper .qty-btn {
    width: 40px;
    border-radius: 12px;
}

.forklift-page-wrapper .quantity-input {
    width: 52px;
}

.forklift-page-wrapper .btn-primary,
.forklift-page-wrapper .add-to-cart-btn {
    min-height: 46px;
    border-radius: 16px !important;
    box-shadow: 0 12px 24px rgba(0, 154, 82, 0.18) !important;
}

.forklift-page-wrapper .quick-view-btn {
    border-radius: 999px;
}

.forklift-page-wrapper .forklift-pagination {
    margin: 28px 0 0;
    padding: 20px;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.forklift-page-wrapper .pagination-btn,
.forklift-page-wrapper .pagination-number {
    border-width: 1px;
    border-radius: 14px;
}

.forklift-page-wrapper .pagination-info {
    margin-bottom: 18px;
}

@media (max-width: 1024px) {
    .forklift-page-wrapper .filter-group {
        grid-column: span 6;
    }

    .forklift-results-header {
        align-items: start;
        flex-direction: column;
    }

    .forklift-results-stat {
        min-width: 0;
        width: 100%;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .forklift-catalog-shell {
        padding: 16px !important;
    }

    .forklift-page-wrapper .forklift-filters-section,
    .forklift-page-wrapper .forklift-results-shell,
    .forklift-page-wrapper .forklift-pagination {
        padding: 20px;
        border-radius: 22px;
    }

    .forklift-page-wrapper .category-tags {
        padding: 16px;
        border-radius: 20px;
    }

    .forklift-page-wrapper .filter-group {
        grid-column: 1 / -1;
    }

    .forklift-page-wrapper .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .forklift-page-wrapper .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }

    .forklift-page-wrapper .quantity-input {
        width: 100%;
        flex: 1;
    }

    .forklift-page-wrapper .btn-primary,
.forklift-page-wrapper .add-to-cart-btn {
    width: 100%;
}

/* ============================================
   Catalog UX Refresh
   ============================================ */
.forklift-results-title {
    margin: 6px 0 0;
    color: #163329;
    font-size: clamp(1.7rem, 2.6vw, 2.4rem);
    line-height: 1.15;
}

.forklift-results-subtitle {
    margin: 10px 0 0;
    color: #5d6b65;
    font-size: 0.98rem;
}

.product-card {
    min-height: 100%;
}

.product-image-wrapper {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 245, 243, 0.95)),
        repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.018) 0, rgba(0, 0, 0, 0.018) 10px, transparent 10px, transparent 20px);
}

.product-image {
    height: 100%;
    min-height: 220px;
    padding: 18px;
}

.product-thumbnail {
    object-fit: contain;
    object-position: center;
}

.quick-view-btn {
    text-decoration: none;
    white-space: nowrap;
}

.product-info {
    gap: 14px;
    height: 100%;
}

.product-name,
.meta-value,
.part-number,
.cross-ref-preview,
.cross-ref-more-link {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-name {
    min-height: auto;
}

.product-part-number {
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 154, 82, 0.12);
    background: linear-gradient(180deg, rgba(0, 154, 82, 0.06), rgba(0, 154, 82, 0.02));
}

.part-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
}

.part-number {
    position: static;
    right: auto;
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 154, 82, 0.18);
    color: #11663e;
    font-size: 15px !important;
    line-height: 1.2;
    text-align: right;
}

.product-meta {
    gap: 12px;
    flex: 1 1 auto;
}

.meta-item {
    align-items: flex-start;
    gap: 8px;
    padding: 0 0 10px;
}

.meta-icon {
    margin-top: 2px;
}

.meta-label {
    min-width: 74px;
    flex-shrink: 0;
}

.meta-value {
    text-align: left;
    color: #50605a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-value-model {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.meta-value-brands {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.cross-ref {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    line-height: 1.45;
}

.cross-ref-preview {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
}

.cross-ref-ellipsis {
    color: #7f8d87;
}

.cross-ref-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 154, 82, 0.1);
    color: #11663e;
    font-size: 12px;
    font-weight: 700;
}

.cross-ref-more-link {
    color: #11663e;
    font-weight: 700;
    text-decoration: none;
}

.cross-ref-more-link:hover {
    text-decoration: underline;
}

.product-actions {
    margin-top: auto;
    padding-top: 18px;
    align-items: stretch;
}

.quantity-selector {
    flex-shrink: 0;
}

.add-to-cart-btn {
    min-height: 44px;
}

@media (max-width: 767px) {
    .product-actions {
        flex-direction: column;
    }

    .quantity-selector,
    .add-to-cart-btn {
        width: 100%;
    }

    .quantity-selector {
        justify-content: center;
    }

    .product-image {
        min-height: 200px;
    }
}
.meta-item span {
    margin: 0 5px !important;
}
/* TKIForce wholesale price badge */
.wholesale-price-slot:empty{display:none}
.wholesale-price-badge{display:inline-block;background:#0d8a3f;color:#fff;font-weight:700;font-size:.92rem;padding:4px 10px;border-radius:6px;margin:6px 0;letter-spacing:.2px}
.product-card .wholesale-price-slot{display:block}
