.lde-woo-products-grid {
    width: 100%;
}

.lde-woo-tabs {
    display: flex;
    justify-content: center;
    gap: 32px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 32px;
}

.lde-woo-tabs button {
    position: relative;
    padding: 0 0 12px;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    color: #8a8a8a;
}

.lde-woo-tabs button::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #111;
    transition: width 0.25s ease;
}

.lde-woo-tabs button.is-active {
    color: #111;
}

.lde-woo-tabs button.is-active::after {
    width: 100%;
}

.lde-woo-tab-panels {
    width: 100%;
}

.lde-woo-tab-panel {
    display: none;
}

.lde-woo-tab-panel.is-active {
    display: block;
}

.lde-woo-grid-row {
    display: grid;
    gap: 32px;
}

.lde-woo-products-grid.columns-2 .lde-woo-grid-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lde-woo-products-grid.columns-3 .lde-woo-grid-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lde-woo-products-grid.columns-4 .lde-woo-grid-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lde-woo-grid-item {
    text-align: left;
}

.lde-woo-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    background: #fff;
    padding: 16px;
    border-radius: 5px;
}

.lde-woo-card:hover {
    border-color: #f3f2f2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lde-woo-thumb-wrapper {
    background-color: #f9f9f9;
    padding: 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
}

.lde-woo-thumb-inner {
    position: relative;
    width: 100%;
    height: 300px; /* Fixed height for consistency */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lde-woo-thumb-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.lde-woo-image-switch {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
}

.lde-woo-image-switch img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.4s ease, transform 0.5s ease;
}

.lde-woo-img-primary {
    position: relative;
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.lde-woo-img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.1);
    z-index: 2;
}

.lde-woo-card:hover .lde-woo-img-primary {
    opacity: 0;
    transform: scale(1.1);
}

.lde-woo-card:hover .lde-woo-img-secondary {
    opacity: 1;
    transform: scale(1.15);
}

/* Zoom effect for single image products */
.lde-woo-product-link img {
    transition: transform 0.5s ease;
}

.lde-woo-card:hover .lde-woo-product-link:not(:has(.lde-woo-image-switch)) img {
    transform: scale(1.1);
}

/* Icons Group */
.lde-woo-icons-group {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.lde-woo-wishlist-btn,
.lde-woo-quick-view-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.lde-woo-wishlist-btn:hover,
.lde-woo-quick-view-btn:hover {
    background-color: #333;
    color: #fff;
}

.lde-woo-wishlist-btn svg,
.lde-woo-quick-view-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

/* Content Styles */
.lde-woo-content {
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.lde-woo-category-label {
    margin-top: 0;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #888;
    font-weight: 400;
}

.lde-woo-title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 400;
    color: #111;
    line-height: 1.4;
}

.lde-woo-title a {
    color: inherit;
    text-decoration: none;
}

.lde-woo-title a:hover {
    color: #555;
}

.lde-woo-product-price-wrap {
    display: block;
    margin-bottom: 12px;
}

.lde-woo-price {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    margin: 0;
    display: block;
}

.lde-woo-price del {
    color: #999;
    margin-right: 6px;
    font-size: 13px;
}

.lde-woo-add-to-cart-btn {
    display: block;
    width: 100%;
    max-width: 140px;
    padding: 12px 20px;
    background-color: #222;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
    border: 1px solid #222;
}

.lde-woo-add-to-cart-btn:hover {
    background-color: #fff;
    color: #222;
}

.lde-woo-no-products {
    margin: 24px 0;
    color: #777;
}

@media (max-width: 1024px) {
    .lde-woo-products-grid.columns-4 .lde-woo-grid-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {

    .lde-woo-products-grid.columns-4 .lde-woo-grid-row,
    .lde-woo-products-grid.columns-3 .lde-woo-grid-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .lde-woo-grid-row {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}