/* START WC Dynamic Products Grid */
.wc-dynamic-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
    background: transparent !important;
}

@media (max-width: 768px) {
    .wc-dynamic-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.wc-dynamic-products-grid .product-item {
    background: #1e1e1e !important;
    padding: 10px;
    border: 1px solid #141414 !important;
    border-radius: 0;
    box-shadow: 0 0 6px #3a3a3a !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    transform: none !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 100% !important;
}

.wc-dynamic-products-grid .product-item:hover {
    transform: none !important;
    box-shadow: 0 0 8px #3a3a3a !important;
    border-color: #2a2a2a !important;
}

.wc-dynamic-products-grid .product-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    background: transparent !important;
}

.wc-dynamic-products-grid .product-item h4 {
    margin: 10px 0;
    font-size: 16px;
    color: #d1d1d1 !important;
    background: transparent !important;
}

.wc-dynamic-products-grid .product-item .price {
    color: #d2d782 !important;
    font-weight: bold;
    margin-top: 5px;
    background: transparent !important;
}

.wc-dynamic-products-grid .product-item .price * {
    display: inline !important;
    color: #d2d782 !important;
    background: transparent !important;
}

.wc-dynamic-products-grid .product-item .price del,
.wc-dynamic-products-grid .product-item .price .amount {
    display: inline !important;
}

.wc-dynamic-products-grid .product-item a {
    text-decoration: none;
    color: #abc3ab !important;
    background: transparent !important;
    transform: none !important;
}

.wc-dynamic-products-grid .product-item a:hover {
    color: #d2d782 !important;
    transform: none !important;
}

.wc-dynamic-products-grid .product-item p,
.wc-dynamic-products-grid .product-item .short-description {
    color: #abc3ab !important;
    background: transparent !important;
    flex-grow: 1 !important;
    margin-bottom: 10px !important;
    text-align: left !important;
}

.wc-dynamic-products-grid .product-item .action-buttons {
    margin-top: auto !important;
    display: flex !important;
    align-items: center !important;
}

.wc-dynamic-products-grid .product-item .button,
.wc-dynamic-products-grid .product-item button.add_to_cart_button {
    box-shadow: inset 0px 1px 0px 0px #cccccc !important;
    background: linear-gradient(to bottom, #999999 5%, #777777 100%) !important;
    background-color: #999999 !important;
    border-radius: 6px !important;
    border: 1px solid #555555 !important;
    display: inline-block !important;
    cursor: pointer !important;
    color: #342c2c !important;
    font-family: Arial !important;
    font-size: 15px !important;
    font-weight: bold !important;
    padding: 6px 24px !important;
    text-decoration: none !important;
    text-shadow: 0px 1px 0px #bbbbbb !important;
    transform: none !important;
}

.wc-dynamic-products-grid .product-item .button:hover,
.wc-dynamic-products-grid .product-item button.add_to_cart_button:hover {
    background: linear-gradient(to bottom, #777777 5%, #999999 100%) !important;
    background-color: #777777 !important;
    color: #1a1a1a !important;
    transform: none !important;
}
/* END WC Dynamic Products Grid */