/* ==========================================================================
   STB International - WooCommerce Styles
   B2B Portal specifieke styling voor WooCommerce
   ========================================================================== */

/* ==========================================================================
   Product Archive / Catalog
   ========================================================================== */

.woocommerce-products-header {
    margin-bottom: 30px;
}

.woocommerce-products-header__title {
    color: var(--stb-red);
    font-weight: 600;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Product Card */
.product-card {
    background-color: var(--stb-white);
    border: 1px solid var(--stb-gray-light);
    border-radius: var(--stb-radius);
    overflow: hidden;
    transition: box-shadow var(--stb-transition);
}

.product-card:hover {
    box-shadow: var(--stb-shadow-lg);
}

.product-card .product-image {
    position: relative;
    padding-top: 75%;
    background-color: var(--stb-gray-lightest);
    overflow: hidden;
}

.product-card .product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

.product-card .product-content {
    padding: 15px;
}

.product-card .product-sku {
    font-size: 12px;
    color: var(--stb-gray-medium);
    margin-bottom: 5px;
}

.product-card .product-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--stb-gray-darker);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card .product-title a {
    color: inherit;
}

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

.product-card .product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--stb-gray-dark);
    margin-bottom: 10px;
}

.product-card .product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--stb-gray-darker);
}

.product-card .product-price .woocommerce-Price-currencySymbol {
    font-size: 13px;
}

/* ==========================================================================
   Product Table View (B2B Style)
   ========================================================================== */

.products-table-wrapper {
    background-color: var(--stb-white);
    border-radius: var(--stb-radius);
    overflow: hidden;
    box-shadow: var(--stb-shadow-sm);
}

.products-table {
    width: 100%;
    margin-bottom: 0;
}

.products-table thead th {
    background-color: var(--stb-gray-lightest);
    font-weight: 600;
    font-size: 13px;
    padding: 12px 15px;
    border-bottom: 2px solid var(--stb-gray-light);
    white-space: nowrap;
    color: var(--stb-gray-darker);
}

.products-table tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--stb-gray-light);
    vertical-align: middle;
    font-size: 13px;
}

.products-table tbody tr:hover {
    background-color: var(--stb-off-white);
}

.products-table tbody tr:last-child td {
    border-bottom: none;
}

.products-table .product-sku-cell {
    font-weight: 500;
    color: var(--stb-gray-darker);
}

.products-table .product-name-cell {
    max-width: 300px;
}

.products-table .product-diameter-cell,
.products-table .product-unit-cell {
    text-align: center;
}

.products-table .product-price-cell {
    font-weight: 600;
    white-space: nowrap;
}

.products-table .product-image-cell,
.products-table .product-specs-cell {
    text-align: center;
    width: 50px;
}

.products-table .product-action-cell {
    text-align: right;
    white-space: nowrap;
}

/* Product image and specs buttons - rode knoppen zoals oude site */
.btn-product-img,
.btn-product-specs,
.btn-product-image {
    background-color: var(--stb-red, #d81300);
    color: #fff !important;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-product-img:hover,
.btn-product-specs:hover,
.btn-product-image:hover {
    background-color: #b01000;
    color: #fff !important;
}

.col-img a,
.col-specs a {
    background-color: var(--stb-red, #d81300);
    color: #fff !important;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.col-img a:hover,
.col-specs a:hover {
    background-color: #b01000;
    color: #fff !important;
}

/* Add to cart in table */
.products-table .add-to-cart-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.products-table .qty-input {
    width: 50px;
    text-align: center;
    padding: 5px 8px;
    font-size: 13px;
    border: 1px solid var(--stb-gray);
    border-radius: var(--stb-radius-sm);
}

/* ==========================================================================
   Product Filter & Search
   ========================================================================== */

.product-filter-bar {
    background-color: var(--stb-white);
    padding: 15px 20px;
    border-radius: var(--stb-radius);
    margin-bottom: 20px;
    box-shadow: var(--stb-shadow-sm);
}

.product-filter-bar .form-control {
    border-color: var(--stb-gray-light);
}

.product-filter-bar .btn-filter {
    background-color: var(--stb-gray-lightest);
    border: 1px solid var(--stb-gray);
    color: var(--stb-gray-dark);
}

.product-filter-bar .btn-filter:hover {
    background-color: var(--stb-gray-light);
}

.product-filter-bar .btn-clear-filter {
    background-color: transparent;
    border: 1px solid var(--stb-gray);
    color: var(--stb-gray-dark);
}

/* Diameter sidebar navigation */
.diameter-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diameter-nav li {
    border-bottom: 1px solid var(--stb-gray-light);
}

.diameter-nav li:last-child {
    border-bottom: none;
}

.diameter-nav li a {
    display: block;
    padding: 10px 15px;
    color: var(--stb-gray-darker);
    font-size: 13px;
    transition: all var(--stb-transition-fast);
}

.diameter-nav li a:hover,
.diameter-nav li a.active {
    color: var(--stb-red);
    background-color: var(--stb-gray-lightest);
    padding-left: 20px;
}

/* Mobile diameter dropdown */
.diameter-select-mobile {
    display: none;
}

@media (max-width: 991.98px) {
    .diameter-nav-desktop {
        display: none;
    }
    
    .diameter-select-mobile {
        display: block;
        margin-bottom: 20px;
    }
    
    .diameter-select-mobile select {
        width: 100%;
        padding: 12px 15px;
        font-size: 14px;
        border: 1px solid var(--stb-gray);
        border-radius: var(--stb-radius);
        background-color: var(--stb-white);
    }
}

/* ==========================================================================
   Single Product Page
   ========================================================================== */

.single-product-wrapper {
    background-color: var(--stb-white);
    padding: 30px;
    border-radius: var(--stb-radius);
    box-shadow: var(--stb-shadow-sm);
}

.product-gallery {
    margin-bottom: 20px;
}

.product-gallery .main-image {
    background-color: var(--stb-gray-lightest);
    border-radius: var(--stb-radius);
    padding: 20px;
    text-align: center;
}

.product-gallery .main-image img {
    max-width: 100%;
    height: auto;
}

.product-summary h1.product_title {
    font-size: 24px;
    font-weight: 600;
    color: var(--stb-gray-darker);
    margin-bottom: 10px;
}

.product-summary .product-sku {
    font-size: 13px;
    color: var(--stb-gray-medium);
    margin-bottom: 15px;
}

.product-summary .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--stb-red);
    margin-bottom: 20px;
}

.product-summary .product-meta-info {
    background-color: var(--stb-gray-lightest);
    padding: 15px;
    border-radius: var(--stb-radius);
    margin-bottom: 20px;
}

.product-summary .product-meta-info dl {
    margin-bottom: 0;
}

.product-summary .product-meta-info dt {
    font-weight: 600;
    color: var(--stb-gray-dark);
}

.product-summary .product-meta-info dd {
    margin-bottom: 10px;
    color: var(--stb-gray-darker);
}

.product-summary .product-meta-info dd:last-child {
    margin-bottom: 0;
}

/* Quantity & Add to Cart */
.product-add-to-cart {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-add-to-cart .quantity {
    display: flex;
    align-items: center;
}

.product-add-to-cart .quantity label {
    margin-right: 10px;
    font-weight: 500;
}

.product-add-to-cart .quantity input {
    width: 80px;
    text-align: center;
    padding: 10px;
    font-size: 16px;
    border: 2px solid var(--stb-gray);
    border-radius: var(--stb-radius);
}

.product-add-to-cart .quantity input:focus {
    border-color: var(--stb-red);
    outline: none;
}

.product-add-to-cart .single_add_to_cart_button {
    background-color: var(--stb-green);
    color: var(--stb-white);
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: var(--stb-radius);
    cursor: pointer;
    transition: background-color var(--stb-transition-fast);
}

.product-add-to-cart .single_add_to_cart_button:hover {
    background-color: var(--stb-green-hover);
}

.product-add-to-cart .single_add_to_cart_button i {
    margin-right: 8px;
}

/* Product tabs */
.woocommerce-tabs {
    margin-top: 40px;
}

.woocommerce-tabs .nav-tabs {
    border-bottom: 2px solid var(--stb-red);
}

.woocommerce-tabs .nav-tabs .nav-link {
    border: none;
    border-radius: var(--stb-radius) var(--stb-radius) 0 0;
    padding: 12px 25px;
    color: var(--stb-gray-dark);
    font-weight: 500;
}

.woocommerce-tabs .nav-tabs .nav-link:hover,
.woocommerce-tabs .nav-tabs .nav-link.active {
    background-color: var(--stb-red);
    color: var(--stb-white);
}

.woocommerce-tabs .tab-content {
    padding: 20px;
    border: 1px solid var(--stb-gray-light);
    border-top: none;
    border-radius: 0 0 var(--stb-radius) var(--stb-radius);
}

/* ==========================================================================
   Cart Page (Bestellijst)
   ========================================================================== */

.woocommerce-cart-wrapper {
    background-color: var(--stb-white);
    border-radius: var(--stb-radius);
    padding: 20px;
    box-shadow: var(--stb-shadow-sm);
}

.cart-table {
    width: 100%;
}

.cart-table thead th {
    background-color: var(--stb-gray-lightest);
    padding: 12px 15px;
    font-weight: 600;
    font-size: 13px;
    border-bottom: 2px solid var(--stb-gray-light);
}

.cart-table tbody td {
    padding: 15px;
    border-bottom: 1px solid var(--stb-gray-light);
    vertical-align: middle;
}

.cart-table .product-thumbnail {
    width: 80px;
}

.cart-table .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background-color: var(--stb-gray-lightest);
    border-radius: var(--stb-radius-sm);
    padding: 5px;
}

.cart-table .product-name a {
    color: var(--stb-gray-darker);
    font-weight: 500;
}

.cart-table .product-name a:hover {
    color: var(--stb-red);
}

.cart-table .product-name .product-sku {
    display: block;
    font-size: 12px;
    color: var(--stb-gray-medium);
    margin-top: 3px;
}

.cart-table .product-price,
.cart-table .product-subtotal {
    font-weight: 600;
}

.cart-table .product-quantity input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid var(--stb-gray);
    border-radius: var(--stb-radius-sm);
}

.cart-table .btn-update-qty {
    background-color: var(--stb-green);
    color: var(--stb-white);
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--stb-radius-sm);
    margin-left: 8px;
}

.cart-table .btn-remove {
    background-color: var(--stb-red);
    color: var(--stb-white);
    border: none;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: var(--stb-radius-sm);
}

.cart-table .btn-remove:hover {
    background-color: var(--stb-red-hover);
}

/* Cart totals */
.cart-totals-wrapper {
    background-color: var(--stb-gray-lightest);
    padding: 20px;
    border-radius: var(--stb-radius);
    margin-top: 20px;
}

.cart-totals-wrapper h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-totals-wrapper table {
    width: 100%;
}

.cart-totals-wrapper table th,
.cart-totals-wrapper table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--stb-gray-light);
}

.cart-totals-wrapper table th {
    font-weight: 500;
    color: var(--stb-gray-dark);
}

.cart-totals-wrapper table td {
    text-align: right;
    font-weight: 600;
}

.cart-totals-wrapper .order-total td {
    font-size: 20px;
    color: var(--stb-red);
}

/* Order notes */
.order-notes-wrapper {
    margin-top: 20px;
}

.order-notes-wrapper label {
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.order-notes-wrapper textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--stb-gray);
    border-radius: var(--stb-radius);
    resize: vertical;
}

/* Recently ordered products */
.recent-products-panel {
    margin-bottom: 30px;
}

.recent-products-panel .panel-heading {
    background-color: var(--stb-gray-lightest);
    cursor: pointer;
}

.recent-products-panel .panel-heading:hover {
    background-color: var(--stb-gray-light);
}

.recent-products-toggle {
    float: right;
    font-size: 12px;
    color: var(--stb-gray-medium);
    font-weight: normal;
}

/* ==========================================================================
   Checkout Page
   ========================================================================== */

.woocommerce-checkout-wrapper {
    background-color: var(--stb-white);
    padding: 30px;
    border-radius: var(--stb-radius);
    box-shadow: var(--stb-shadow-sm);
}

.checkout-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

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

.checkout-section {
    margin-bottom: 30px;
}

.checkout-section h3 {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--stb-red);
    margin-bottom: 20px;
}

.checkout-section .form-row {
    margin-bottom: 15px;
}

.checkout-section label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.checkout-section .form-control {
    width: 100%;
}

/* Order review */
.order-review {
    background-color: var(--stb-gray-lightest);
    padding: 20px;
    border-radius: var(--stb-radius);
}

.order-review h3 {
    border-bottom-color: var(--stb-gray);
}

.order-review-table {
    width: 100%;
}

.order-review-table th,
.order-review-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--stb-gray-light);
}

.order-review-table tfoot th,
.order-review-table tfoot td {
    font-weight: 600;
}

.order-review-table .order-total td {
    font-size: 20px;
    color: var(--stb-red);
}

/* Place order button */
.place-order-wrapper {
    margin-top: 20px;
}

#place_order {
    width: 100%;
    background-color: var(--stb-green);
    color: var(--stb-white);
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: var(--stb-radius);
    cursor: pointer;
    transition: background-color var(--stb-transition-fast);
}

#place_order:hover {
    background-color: var(--stb-green-hover);
}

#place_order i {
    margin-right: 10px;
}

/* ==========================================================================
   My Account / Dashboard
   ========================================================================== */

.woocommerce-account-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

@media (max-width: 991.98px) {
    .woocommerce-account-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Account navigation */
.woocommerce-MyAccount-navigation {
    background-color: var(--stb-white);
    border-radius: var(--stb-radius);
    box-shadow: var(--stb-shadow-sm);
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid var(--stb-gray-light);
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--stb-gray-darker);
    font-size: 14px;
    transition: all var(--stb-transition-fast);
}

.woocommerce-MyAccount-navigation li a i {
    margin-right: 10px;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a {
    background-color: var(--stb-red);
    color: var(--stb-white);
}

/* Account content */
.woocommerce-MyAccount-content {
    background-color: var(--stb-white);
    padding: 30px;
    border-radius: var(--stb-radius);
    box-shadow: var(--stb-shadow-sm);
}

.woocommerce-MyAccount-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--stb-red);
}

/* Orders table */
.woocommerce-orders-table {
    width: 100%;
}

.woocommerce-orders-table th {
    background-color: var(--stb-gray-lightest);
    padding: 12px 15px;
    font-weight: 600;
    font-size: 13px;
}

.woocommerce-orders-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--stb-gray-light);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
    color: var(--stb-red);
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--stb-red);
    color: var(--stb-white);
    font-size: 12px;
    border-radius: var(--stb-radius-sm);
    margin-right: 5px;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    background-color: var(--stb-red-hover);
}

/* ==========================================================================
   Login / Register Forms
   ========================================================================== */

.woocommerce-form-login,
.woocommerce-form-register {
    background-color: var(--stb-white);
    padding: 30px;
    border-radius: var(--stb-radius);
    box-shadow: var(--stb-shadow-sm);
    border-top: 3px solid var(--stb-red);
}

.woocommerce-form-login h2,
.woocommerce-form-register h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row {
    margin-bottom: 15px;
}

.woocommerce-form-login label,
.woocommerce-form-register label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.woocommerce-form-login .form-control,
.woocommerce-form-register .form-control {
    width: 100%;
    padding: 12px 15px;
}

.woocommerce-form-login .woocommerce-button,
.woocommerce-form-register .woocommerce-button {
    background-color: var(--stb-red);
    color: var(--stb-white);
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--stb-radius);
    cursor: pointer;
    width: 100%;
}

.woocommerce-form-login .woocommerce-button:hover,
.woocommerce-form-register .woocommerce-button:hover {
    background-color: var(--stb-green);
}

.woocommerce-form-login .lost_password {
    margin-top: 15px;
    text-align: center;
}

.woocommerce-form-login .lost_password a {
    color: var(--stb-gray-medium);
    font-size: 13px;
}

/* ==========================================================================
   Messages & Notices
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: var(--stb-radius);
    border: none;
}

.woocommerce-message {
    background-color: #dff0d8;
    color: #3c763d;
}

.woocommerce-info {
    background-color: #d9edf7;
    color: #31708f;
}

.woocommerce-error {
    background-color: #f2dede;
    color: #a94442;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

.woocommerce-error li {
    list-style: none;
}

/* ==========================================================================
   Price Display
   ========================================================================== */

.price {
    color: var(--stb-gray-darker);
}

.price del {
    color: var(--stb-gray-medium);
    opacity: 0.7;
}

.price ins {
    text-decoration: none;
    font-weight: 700;
}

.price .woocommerce-Price-amount {
    font-weight: 600;
}

/* B2B: Hide prices for non-logged users */
body:not(.logged-in) .price {
    display: none;
}

body:not(.logged-in) .price-login-notice {
    display: block;
    color: var(--stb-gray-medium);
    font-size: 13px;
    font-style: italic;
}

body.logged-in .price-login-notice {
    display: none;
}

/* ==========================================================================
   Product Badges & Labels
   ========================================================================== */

.product-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--stb-radius-sm);
}

.product-badge-sale {
    background-color: var(--stb-green);
    color: var(--stb-white);
}

.product-badge-new {
    background-color: var(--stb-red);
    color: var(--stb-white);
}

.product-badge-outofstock {
    background-color: var(--stb-gray-medium);
    color: var(--stb-white);
}

/* ==========================================================================
   Loading States
   ========================================================================== */

.stb-loading {
    position: relative;
    pointer-events: none;
}

.stb-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.stb-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid var(--stb-gray-light);
    border-top-color: var(--stb-red);
    border-radius: 50%;
    animation: stb-spin 0.8s linear infinite;
    z-index: 11;
}

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

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 767.98px) {
    .products-table thead {
        display: none;
    }
    
    .products-table tbody tr {
        display: block;
        margin-bottom: 15px;
        padding: 15px;
        background-color: var(--stb-white);
        border: 1px solid var(--stb-gray-light);
        border-radius: var(--stb-radius);
    }
    
    .products-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid var(--stb-gray-lightest);
    }
    
    .products-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--stb-gray-dark);
    }
    
    .products-table tbody td:last-child {
        border-bottom: none;
    }
    
    .cart-table .product-thumbnail {
        display: none;
    }
    
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 20px;
    }
}

/* ==========================================================================
   STB Product Archive - Pahflex Style
   ========================================================================== */

/* Breadcrumb Section */
.breadcrumb-section {
    
}

.breadcrumb-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13px;
    --bs-breadcrumb-divider: '›';
}

.breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

.breadcrumb-section .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb-section .breadcrumb-item a:hover {
    color: var(--stb-red);
}

.breadcrumb-section .breadcrumb-item.active {
    color: #fff;
}

/* Page Title Section */
.page-title-section {
    background-color: #fff;
    background-image: url('/wp-content/uploads/2025/12/12.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 65px 0;
    min-height: 175px;
    position: relative;
    /* Overlay voor leesbaarheid */
}

.page-title-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.page-title-section .container {
    position: relative;
    z-index: 1;
    /* Ruimte links voor logo (logo box ~200px breed) */
    padding-left: 230px;
}

.page-title-section h1 {
    margin: 0;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
}

/* Op de frontpage mag de logo WEL over de hero/slider vallen – geen padding */
.home .page-title-section .container,
.front-page .page-title-section .container {
    padding-left: var(--bs-gutter-x, 1rem);
}

/* Logo op frontpage: volledig vrij, z-index hoog */
.home .site-logo,
.front-page .site-logo {
    z-index: 500;
    bottom: auto;
}

/* Product Archive Wrapper */
.product-archive-wrapper {
    padding: 30px 0;
    background-color: #fff;
}

/* Sidebar */
.sidebar-box {
    background-color: #fff;
    margin-bottom: 20px;
}

/* Diameter Navigation List - STB Style (zoals oude site) */
.diameter-nav {
    border: 1px solid #e5e5e5;
    background: #fff;
}

.diameter-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.diameter-nav-list li {
    border-bottom: 1px solid #e5e5e5;
}

.diameter-nav-list li:last-child {
    border-bottom: none;
}

.diameter-nav-list li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.diameter-nav-list li a i {
    color: #999;
    font-size: 10px;
    margin: 0 5px;
}

.diameter-nav-list li a:hover {
    background-color: #f5f5f5;
}

.diameter-nav-list li.active a {
    background-color: #333;
    color: #fff;
    font-weight: 500;
}

.diameter-nav-list li.active a i {
    color: #fff;
}

.diameter-nav-list li.active a:hover {
    background-color: #222;
    color: #fff;
}

/* Sidebar Contact Box */
.sidebar-contact-box {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #e5e5e5;
}

.sidebar-contact-box h3 {
    color: var(--stb-red);
    font-size: 22px;
    margin-bottom: 10px;
}

.sidebar-contact-box p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.sidebar-contact-box h4 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.sidebar-contact-box address {
    font-size: 13px;
    font-style: normal;
    color: #666;
    line-height: 1.8;
}

/* Description Toggle */
.description-toggle-wrapper {
    margin-bottom: 30px;
}

.btn-description-toggle {
    background: none;
    border: none;
    color: var(--stb-red);
    font-size: 13px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-description-toggle:hover {
    text-decoration: underline;
}

.btn-description-toggle i {
    font-size: 14px;
}

/* Category Description */
.category-description {
    padding: 25px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.category-description.collapsed {
    display: none;
}

.category-description h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--stb-red);
    margin-bottom: 15px;
}

.category-description p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.category-image {
}

.tuv-logo {
    max-width: 80px;
    margin-top: 15px;
}

/* Category Tabs */
.category-tabs {
    margin-top: 25px;
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
}

.category-tabs .nav-tabs {
    border-bottom: 2px solid var(--stb-red);
}

.category-tabs .nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    color: #666;
    font-size: 13px;
    padding: 10px 15px;
    margin-right: 2px;
}

.category-tabs .nav-tabs .nav-link:hover {
    background-color: var(--stb-red);
    color: #fff;
}

.category-tabs .nav-tabs .nav-link.active {
    background-color: var(--stb-red);
    color: #fff;
}

.category-tabs .tab-content {
    padding-top: 20px;
}

.category-tabs .tab-pane h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.category-tabs .tab-pane ul {
    padding-left: 20px;
    margin-bottom: 0px;
}

.category-tabs .tab-pane li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--stb-red);
}

.products-header h3 {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    color: #333;
}

.products-header h3 strong {
    font-weight: 600;
}

.btn-clear-filter {
    color: #666;
    font-size: 13px;
    text-decoration: none;
    padding: 0;
}

.btn-clear-filter:hover {
    color: var(--stb-red);
}

/* Products Table - STB Style */
.products-table-wrapper {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.products-table thead th {
    background-color: #333;
    color: #fff;
    font-weight: 600;
    padding: 10px 8px;
    text-align: left;
    white-space: nowrap;
}

.products-table tbody tr {
    border-bottom: 1px solid #e5e5e5;
}

.products-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.products-table tbody tr:hover {
    background-color: #fff3cd;
}

.products-table tbody td {
    padding: 8px;
    vertical-align: middle;
}

.products-table .col-sku {
    width: 120px;
}

.products-table .col-sku a {
    color: var(--stb-red);
    text-decoration: none;
    font-weight: 500;
}

.products-table .col-sku a:hover {
    text-decoration: underline;
}

.products-table .col-desc {
    min-width: 200px;
}

.products-table .col-diam,
.products-table .col-unit {
    width: 60px;
    text-align: center;
}

.products-table .col-img,
.products-table .col-specs {
    width: 40px;
    text-align: center;
}

.products-table .col-img a,
.products-table .col-specs a {
    color: #666;
    font-size: 16px;
}

.products-table .col-img a:hover,
.products-table .col-specs a:hover {
    color: var(--stb-red);
}

.products-table .col-price {
    width: 80px;
    text-align: right;
    font-weight: 600;
}

.products-table .col-qty {
    width: 80px;
}

.products-table .col-dealer {
    width: 120px;
}

/* Quantity Input */
.quantity-input-wrapper {
    width: 70px;
}

.quantity-input {
    width: 100%;
    text-align: center;
    font-size: 13px;
    padding: 5px;
}

/* Dealer Button */
.btn-dealer {
    background-color: var(--stb-red);
    color: #fff !important;
    border: none;
    font-size: 11px;
    padding: 5px 10px;
    white-space: nowrap;
    text-decoration: none !important;
}

.btn-dealer:hover {
    background-color: #30b418;
    color: #fff !important;
}

/* Products Actions */
.products-actions {
    margin-top: 20px;
    text-align: right;
}

.btn-add-all-to-cart {
    background-color: #30b418;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 600;
}

.btn-add-all-to-cart:hover {
    background-color: #28a00f;
    color: #fff;
}

/* Products Header Banner (red) */
.products-header-banner {
    background-color: var(--stb-red, #d81300);
    color: #fff;
    padding: 15px 20px;
    font-size: 16px;
    margin-bottom: 0;
}

.products-header-banner i {
    margin-right: 10px;
}

.products-header-banner strong {
    font-weight: 700;
}

/* Products Filter Bar */
.products-filter-bar {
    background-color: #fff;
    padding: 15px 20px;
    border: 1px solid #e5e5e5;
    border-top: none;
    margin-bottom: 20px;
}

.products-filter-bar .form-control {
    border-radius: 0;
}

/* Topbar Success State (green flash) */
.topbar.topbar-success {
    background-color: #30b418 !important;
    transition: background-color 0.3s ease;
}

.topbar.topbar-success .topbar-menu a,
.topbar.topbar-success .topbar-user-menu a,
.topbar.topbar-success .user-name,
.topbar.topbar-success .logout-link {
    color: #fff !important;
}

/* Modal Styles */
.modal-header.bg-stb-red {
    background-color: var(--stb-red, #d81300);
}

#addToCartModal .modal-content {
    border-radius: 0;
}

#addToCartModal .form-control {
    border-radius: 0;
}

/* Sortable columns */
.sortable {
    cursor: pointer;
    user-select: none;
}

.sortable:hover {
    background-color: #444;
}

.sortable i {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.5;
}

.sortable.sort-asc i,
.sortable.sort-desc i {
    opacity: 1;
}

/* Product image and specs buttons */
.btn-product-img,
.btn-product-specs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 3px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-product-img {
    background-color: var(--stb-red, #d81300);
}

.btn-product-img:hover {
    background-color: #b01000;
    color: #fff;
    text-decoration: none;
}

.btn-product-specs {
    background-color: var(--stb-red, #d81300);
}

.btn-product-specs:hover {
    background-color: #b01000;
    color: #fff;
    text-decoration: none;
}

/* Products Pagination */
.products-pagination {
    margin-top: 30px;
}

.products-pagination .woocommerce-pagination {
    text-align: center;
}

.products-pagination .woocommerce-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.products-pagination .woocommerce-pagination ul li {
    margin: 0;
}

.products-pagination .woocommerce-pagination ul li a,
.products-pagination .woocommerce-pagination ul li span {
    display: block;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    font-size: 14px;
}

.products-pagination .woocommerce-pagination ul li:last-child a,
.products-pagination .woocommerce-pagination ul li:last-child span {
    border-right: none;
}

.products-pagination .woocommerce-pagination ul li a:hover {
    background-color: var(--stb-red);
    color: #fff;
}

.products-pagination .woocommerce-pagination ul li span.current {
    background-color: var(--stb-red);
    color: #fff;
}

/* Success Notification Bar */
.success-notification-bar {
    background-color: #30b418;
    color: #fff;
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-notification-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.success-notification-bar .notification-text {
    font-weight: 600;
    font-size: 14px;
}

.success-notification-bar .notification-text i {
    margin-right: 8px;
}

.success-notification-bar .btn-light {
    font-size: 12px;
    padding: 5px 15px;
}

/* "In winkelwagen" Button */
.btn-add-to-cart {
    background-color: #30b418;
    color: #fff;
    border: none;
    font-size: 11px;
    padding: 6px 12px;
    white-space: nowrap;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-add-to-cart:hover {
    background-color: #28a00f;
    color: #fff;
}

.btn-add-to-cart.btn-success {
    background-color: #28a745;
}

.btn-add-to-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Column widths adjustment for new action column */
.products-table .col-action {
    width: 130px;
    text-align: center;
}

/* STB Green Button */
.btn-stb-green {
    background-color: #30b418;
    color: #fff;
    border: none;
}

.btn-stb-green:hover {
    background-color: #28a00f;
    color: #fff;
}

/* Responsive - Product Archive */
@media (max-width: 991.98px) {
    .diameter-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-bottom: 20px;
    }
    
    .diameter-nav-list li {
        border: 1px solid #e5e5e5;
        border-bottom: 1px solid #e5e5e5;
    }
    
    .diameter-nav-list li a {
        padding: 8px 12px;
    }
    
    .sidebar-contact-box {
        display: none;
    }
}

@media (max-width: 991.98px) {
    /* Op tablet/mobiel: logo staat niet meer naast tekst */
    .page-title-section .container {
        padding-left: var(--bs-gutter-x, 1rem);
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .page-title-section h1 {
        font-size: 22px;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .category-tabs .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .category-tabs .nav-tabs .nav-link {
        white-space: nowrap;
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .products-table .col-desc {
        min-width: 150px;
    }
    
    .btn-dealer {
        font-size: 10px;
        padding: 4px 8px;
    }
}

/* ==========================================================================
   Producten Zoeken pagina
   ========================================================================== */

.product-search-wrapper {
    padding: 30px 0 60px;
    background: #f7f7f7;
    min-height: 400px;
}

/* Zoekformulier box */
.search-form-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid var(--stb-red, #d81300);
    border-radius: 3px;
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.search-form-box .form-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #555;
    margin-bottom: 5px;
}

.search-form-box .form-control,
.search-form-box .form-select {
    border-color: #d0d0d0;
    font-size: 14px;
    height: 38px;
    border-radius: 2px;
}

.search-form-box .form-control:focus,
.search-form-box .form-select:focus {
    border-color: var(--stb-red, #d81300);
    box-shadow: 0 0 0 0.15rem rgba(216, 19, 0, 0.15);
}

/* Resultaten header */
.search-results-header {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.search-results-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.search-results-header .search-term {
    font-size: 14px;
    color: #777;
}

/* Producten tabel wrapper */
.products-table-wrapper {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    overflow-x: auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Producten tabel */
.products-table {
    margin: 0;
    font-size: 13px;
    width: 100%;
}

.products-table thead th {
    background-color: #f0f0f0;
    border-bottom: 2px solid var(--stb-red, #d81300);
    color: #333;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 10px 12px;
    white-space: nowrap;
}

.products-table tbody td {
    padding: 8px 12px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.products-table tbody tr:hover td {
    background-color: #fff8f8;
}

.products-table tbody td a {
    color: var(--stb-red, #d81300);
    text-decoration: none;
    font-weight: 600;
}

.products-table tbody td a:hover {
    text-decoration: underline;
}

/* Quantity invoerveld */
.products-table .quantity-input {
    width: 70px !important;
    font-size: 13px;
    text-align: center;
    padding: 3px 6px;
    height: 30px;
}

/* Toevoegen aan bestellijst knop */
.products-actions {
    padding: 16px 0;
    text-align: right;
}

/* Lege staat / instructies */
.search-instructions {
    padding: 60px 20px;
    text-align: center;
}

.search-instructions .bi-search {
    font-size: 64px;
    color: #ccc;
    display: block;
    margin-bottom: 20px;
}

.search-instructions h3 {
    font-size: 22px;
    color: #555;
    margin-bottom: 10px;
}

.search-instructions p {
    color: #888;
    font-size: 15px;
}

@media (max-width: 767.98px) {
    .product-search-wrapper {
        padding: 20px 0 40px;
    }

    .search-form-box {
        padding: 16px;
    }

    .products-table thead {
        display: none;
    }

    .products-table tbody tr {
        display: block;
        border: 1px solid #e0e0e0;
        margin-bottom: 10px;
        border-radius: 3px;
    }

    .products-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 10px;
        border-bottom: 1px solid #f5f5f5;
        font-size: 13px;
    }

    .products-table tbody td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 11px;
        color: #777;
        text-transform: uppercase;
        margin-right: 10px;
        white-space: nowrap;
    }
}

/* Zoeken knop grootte fix */
.btn-search-submit {
    height: 38px;
    padding: 0 20px;
    font-size: 14px;
    white-space: nowrap;
}

.btn-search-reset {
    height: 38px;
    width: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   Categorie pagina — nieuwe sidebar blokken
   ========================================================================== */

.sidebar-block {
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 16px;
    padding: 24px 20px;
    text-align: center;
}

/* Diameter filter blok */
.sidebar-diameter-block {
    text-align: left;
    padding: 0;
    overflow: hidden;
}

.sidebar-block-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: var(--stb-red, #d81300);
    margin: 0;
    padding: 10px 16px;
}

.diameter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.diameter-list-item {
    padding: 7px 16px;
    font-size: 14px;
    color: #111;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.diameter-list-item:hover {
    background: #ffe8e8;
    color: var(--stb-red, #d81300);
    border-left-color: var(--stb-red, #d81300);
}

.diameter-list-item.active {
    background: #fff0f0;
    color: var(--stb-red, #d81300);
    font-weight: 600;
    border-left-color: var(--stb-red, #d81300);
}

.diam-bullet {
    display: none;
}

/* Telefoon blok */
.sidebar-phone-block {
    background: #f5f5f5;
}

.sidebar-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
}

.sidebar-icon-red {
    border-color: var(--stb-red, #d81300);
    color: var(--stb-red, #d81300);
}

.sidebar-icon-gray {
    border-color: #888;
    color: #666;
}

.sidebar-phone-number {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.2;
}

.sidebar-phone-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Adres blok */
.sidebar-address-block {
    background: #f5f5f5;
}

.sidebar-address-title {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin-bottom: 14px;
}

.sidebar-address-body {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    font-style: normal;
    margin: 0;
    text-align: center;
}

@media (max-width: 767.98px) {
    .sidebar-block {
        margin-bottom: 12px;
    }

    .sidebar-phone-number {
        font-size: 20px;
    }
}

/* ── Content area algemeen ── */
.content-area {
    padding: 32px 0 60px;
    background: #f7f7f7;
}

/* ── page.php pagina's: geen logo-padding nodig op page-title-section
   (logo-overlap geldt alleen voor front-page / custom templates die
    get_header() direct aanroepen en page-title-section zelf plaatsen) ── */
.page-template-default .page-title-section .container,
.page .page-title-section .container {
    padding-left: var(--bs-gutter-x, 12px);
    padding-right: var(--bs-gutter-x, 12px);
}

/* breadcrumbs-stb (legacy, voor eventuele andere plekken) */
.breadcrumbs-stb {
    background-color: #fff;
    background-image: url('/wp-content/uploads/2025/12/12.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 65px 0;
    min-height: 175px;
    position: relative;
    text-align: center;
}
.breadcrumbs-stb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    pointer-events: none;
}
.breadcrumbs-stb .container { position: relative; z-index: 1; }
.breadcrumbs-stb h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0;
}

/* ── iframe tool pagina's ── */
.programm-iframe {
    display: block;
    width: 100%;
    border: none;
}


/* ============================================================
   Category cards (alle-producten + dealer dashboard)
   ============================================================ */
/* Categorie kaartjes — identiek aan dashboard */
.ap-category-card {
    display: flex;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid var(--stb-red, #d81300);
    height: 100%;
    transition: box-shadow 0.2s ease;
}

.ap-category-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

.ap-category-image {
    flex: 0 0 140px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-right: 1px solid #f0f0f0;
}

.ap-category-image img {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ap-category-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.ap-category-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ap-category-title a {
    color: var(--stb-red, #d81300);
    text-decoration: none;
}

.ap-category-title a:hover {
    text-decoration: underline;
}

.ap-category-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 14px;
}

.ap-category-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ap-category-link {
    color: var(--stb-red, #d81300);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ap-category-link:hover {
    text-decoration: underline;
    color: #b01000;
}

.ap-category-link i {
    font-size: 12px;
}

.ap-product-count {
    font-size: 12px;
    color: #999;
}

/* Responsive */
@media (max-width: 767.98px) {
    .alle-producten-intro {
        padding: 20px 0;
        text-align: center;
    }

    .ap-welcome-title {
        font-size: 20px;
    }

    .ap-welcome-sub {
        font-size: 16px;
    }

    .ap-category-card {
        flex-direction: column;
    }

    .ap-category-image {
        flex: 0 0 auto;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        padding: 15px;
    }

    .ap-category-image img {
        max-height: 80px;
    }

    .ap-category-content {
        padding: 15px;
    }

    .ap-category-title {
        font-size: 17px;
    }
}