/**
 * Product Grid Editorial Style
 * Premium editorial collection design inspired by high-end fashion galleries
 */

:root {
    --woolentor-editorial-bg: #FAFAFA;
    --woolentor-editorial-card-bg: #FFFFFF;
    --woolentor-editorial-text-primary: #0A0A0A;
    --woolentor-editorial-text-secondary: #666666;
    --woolentor-editorial-text-muted: #999999;
    --woolentor-editorial-accent: #C9A14A;
    --woolentor-editorial-border: #E5E5E5;
    --woolentor-editorial-shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.05);
    --woolentor-editorial-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.12);
    --woolentor-editorial-transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wp-embed-responsive .wp-block {
    outline: 0;
}

/* Main Grid Container */
.woolentor-product-grid-editorial {
    display: grid;
    gap: 48px;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--woolentor-editorial-bg);
}

/* Product Item */
.woolentor-product-grid-editorial .woolentor-product-item {
    position: relative;
}

/* Product Card */
.woolentor-editorial-grid-card{
    height: 100%;
}
.woolentor-product-grid-editorial .woolentor-editorial-card {
    background: var(--woolentor-editorial-card-bg);
    border-radius: 0;
    overflow: hidden;
    transition: var(--woolentor-editorial-transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Product Image Container */
.woolentor-product-grid-editorial .woolentor-product-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--woolentor-editorial-bg);
    box-shadow: var(--woolentor-editorial-shadow-soft);
}

/* Grid Image Aspect Ratios */
.woolentor-product-grid-editorial.grid-aspect-1-1 .woolentor-editorial-grid-card .woolentor-product-image {
    padding-top: 100%; /* 1:1 */
}

.woolentor-product-grid-editorial.grid-aspect-3-4 .woolentor-editorial-grid-card .woolentor-product-image {
    padding-top: 133.33%; /* 3:4 */
}

.woolentor-product-grid-editorial.grid-aspect-4-5 .woolentor-editorial-grid-card .woolentor-product-image {
    padding-top: 125%; /* 4:5 */
}

.woolentor-product-grid-editorial.grid-aspect-9-16 .woolentor-editorial-grid-card .woolentor-product-image {
    padding-top: 177.78%; /* 9:16 */
}

/* Grid View Image Link */
.woolentor-editorial-grid-card .woolentor-product-image > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

/* Grid View Image */
.woolentor-editorial-grid-card .woolentor-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woolentor-editorial-grid-card .woolentor-product-image .woolentor-product-badge img{
    position: static;
}

/* Grid Image Hover Effect */
.woolentor-image-hover-zoom .woolentor-editorial-grid-card:hover .woolentor-product-image img {
    transform: scale(1.08);
}

/* Grid Secondary Image Hover */
.woolentor-editorial-grid-card .woolentor-product-image .woolentor-secondary-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.woolentor-editorial-grid-card:hover .woolentor-secondary-image {
    opacity: 1;
}

/* Grid Product Overlay */
.woolentor-editorial-grid-card .woolentor-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.woolentor-editorial-grid-card:hover .woolentor-product-overlay {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

/* Grid Quick View Button */
.woolentor-editorial-grid-card .woolentor-view-detail {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(10px);
    transition: all 0.4s ease;
    opacity: 0;
    line-height: 1;
}

.woolentor-editorial-grid-card:hover .woolentor-view-detail {
    transform: translateY(0);
    opacity: 1;
}

.woolentor-editorial-grid-card .woolentor-view-detail:hover {
    background: white;
    color: var(--woolentor-editorial-text-primary);
}

/* Grid Quick Actions */
.woolentor-editorial-grid-card .woolentor-quick-actions {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.woolentor-editorial-grid-card:hover .woolentor-quick-actions {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.woolentor-product-grid-editorial .woolentor-quick-action,.woolentor-product-grid-editorial a.woolentor-quick-action  {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: var(--woolentor-editorial-text-primary);
    padding: 0;
}

.woolentor-product-grid-editorial .woolentor-quick-action a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    transition: none;
}

.woolentor-product-grid-editorial .woolentor-quick-action svg {
    width: 18px;
    height: 18px;
    color: inherit;
    transition: none;
    margin-right: 0;
}

.woolentor-product-grid-editorial .woolentor-quick-action:hover {
    background: var(--woolentor-editorial-accent);
    color: white;
    transform: scale(1.1) translateY(-2px);
}
.woolentor-product-grid-editorial a.woolentor-cart-action:hover{
    color: white;
    background: var(--woolentor-editorial-accent);
}
.woolentor-product-grid-editorial .htcompare-btn svg {
    fill: transparent;
    stroke: currentColor;
}
.woolentor-product-grid-editorial .woolentor-quickview-btn svg{
    fill: none;
}
.woolentor-quick-actions .added_to_cart{
    display: none;
}
.woolentor-product-grid-editorial .woolentor-quick-action.added svg,.woolentor-product-grid-editorial .woolentor-quick-action.loading svg{
    display: none;
}
.woolentor-product-grid-editorial .woolentor-quick-action.loading::after {
    right: 0 !important;
    top: 5px !important;
}
.woolentor-product-grid-editorial .woolentor-quick-action.added::after {
    transform: translateX(0) translateY(0) !important;
    left: 3px;
    bottom: 13px;
    border: none;
    opacity: 1;
    top: auto;
}

/* Tooltip */
.woolentor-product-grid-editorial .woolentor-quick-action::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    line-height: 1;
}

.woolentor-product-grid-editorial .woolentor-quick-action::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: block;
}

.woolentor-product-grid-editorial .woolentor-quick-action:hover::before,
.woolentor-product-grid-editorial .woolentor-quick-action:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Product Content */
.woolentor-product-grid-editorial .woolentor-product-content {
    padding: 25px 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    line-height: 1;
}

/* Product Categories */
.woolentor-product-grid-editorial .woolentor-product-categories {
    margin-bottom: 4px;
}

.woolentor-product-grid-editorial .woolentor-product-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--woolentor-editorial-accent);
    font-weight: 500;
}

/* Product Title */
.woolentor-product-grid-editorial .woolentor-product-title {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Playfair Display', Georgia, serif;
}

.woolentor-product-grid-editorial .woolentor-product-title a {
    color: var(--woolentor-editorial-text-primary);
    transition: color 0.3s ease;
}

.woolentor-product-grid-editorial .woolentor-product-title a:hover {
    color: var(--woolentor-editorial-accent);
}

/* Product Description */
.woolentor-product-grid-editorial .woolentor-product-description {
    margin-bottom: 8px;
}

.woolentor-product-grid-editorial .woolentor-product-description p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--woolentor-editorial-text-secondary);
}

/* Product Rating */
.woolentor-product-grid-editorial .woolentor-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.woolentor-product-grid-editorial .woolentor-product-stars {
    display: flex;
    gap: 2px;
}

.woolentor-product-grid-editorial .woolentor-product-stars .star {
    width: 14px;
    height: 14px;
    color: var(--woolentor-editorial-accent);
}

.woolentor-product-grid-editorial .woolentor-product-stars .star.empty {
    color: var(--woolentor-editorial-border);
}

.woolentor-product-grid-editorial .woolentor-review-count {
    font-size: 12px;
    color: var(--woolentor-editorial-text-muted);
}

/* Product Price */
.woolentor-product-grid-editorial .woolentor-product-price {
    font-size: 16px;
    font-weight: 400;
    color: var(--woolentor-editorial-text-secondary);
    margin-bottom: 8px;
}

.woolentor-product-grid-editorial .woolentor-product-price del {
    color: var(--woolentor-editorial-text-muted);
    margin-right: 8px;
}

.woolentor-product-grid-editorial .woolentor-product-price ins {
    text-decoration: none;
    color: var(--woolentor-editorial-text-primary);
}

/* Stock Status */
.woolentor-product-grid-editorial .woolentor-stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--woolentor-editorial-text-muted);
    margin-top: auto;
}

.woolentor-product-grid-editorial .woolentor-stock-status .stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4CAF50;
}

.woolentor-product-grid-editorial .woolentor-stock-status.out-of-stock .stock-dot {
    background: #ef4444;
}

/* Card Hover Effects */
.woolentor-card-hover-lift .woolentor-editorial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.woolentor-card-hover-lift .woolentor-editorial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--woolentor-editorial-shadow-hover);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .woolentor-product-grid-editorial {
        gap: 32px;
    }

    .woolentor-product-grid-editorial .woolentor-product-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .woolentor-product-grid-editorial {
        gap: 24px;
    }

    .woolentor-product-grid-editorial .woolentor-product-content {
        padding: 24px 0;
    }

    .woolentor-product-grid-editorial .woolentor-product-title {
        font-size: 18px;
    }

    .woolentor-product-grid-editorial .woolentor-quick-actions {
        flex-wrap: wrap;
    }
}

/* No Products Message */
.woolentor-no-products {
    text-align: center;
    padding: 40px 20px;
    color: var(--woolentor-editorial-text-secondary);
    font-size: 16px;
}

/* Pagination Styles */
.woolentor-product-grid-editorial + .woolentor-pagination {
    margin-top: 64px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--woolentor-editorial-accent);
    color: white;
}

/* Animation for Product Cards on Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woolentor-product-grid-editorial .woolentor-product-item {
    animation: fadeInUp 0.6s ease both;
}

.woolentor-product-grid-editorial .woolentor-product-item:nth-child(1) {
    animation-delay: 0.1s;
}

.woolentor-product-grid-editorial .woolentor-product-item:nth-child(2) {
    animation-delay: 0.2s;
}

.woolentor-product-grid-editorial .woolentor-product-item:nth-child(3) {
    animation-delay: 0.3s;
}

.woolentor-product-grid-editorial .woolentor-product-item:nth-child(4) {
    animation-delay: 0.4s;
}

.woolentor-product-grid-editorial .woolentor-product-item:nth-child(5) {
    animation-delay: 0.5s;
}

.woolentor-product-grid-editorial .woolentor-product-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* ========================================
   LIST VIEW LAYOUT STYLES
   ======================================== */

/* Layout Mode Specific Containers */
.woolentor-product-grid-editorial.woolentor-layout-grid {
    display: grid;
    grid-auto-rows: 1fr;
}

.woolentor-product-grid-editorial.woolentor-layout-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Layout View Content Visibility Control */
.woolentor-editorial-grid-card .woolentor-list-view-content {
    display: none !important;
}

.woolentor-editorial-list-card .woolentor-grid-view-content {
    display: none !important;
}

.woolentor-editorial-grid-card .woolentor-grid-view-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.woolentor-editorial-list-card .woolentor-list-view-content {
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: stretch;
}

/* List Card Layout */
.woolentor-product-grid-editorial .woolentor-editorial-list-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--woolentor-editorial-card-bg);
    box-shadow: var(--woolentor-editorial-shadow-soft);
    overflow: hidden;
    border: 1px solid var(--woolentor-editorial-border);
    transition: var(--woolentor-editorial-transition);
}

.woolentor-product-grid-editorial .woolentor-editorial-list-card:hover {
    box-shadow: var(--woolentor-editorial-shadow-hover);
    border-color: transparent;
}

/* List View Image Container */
.woolentor-editorial-list-card .woolentor-product-image {
    position: relative;
    flex-shrink: 0;
    width: 320px;
    background: var(--woolentor-editorial-bg);
    overflow: hidden;
}

/* List View Image Aspect Ratios */
.woolentor-product-grid-editorial.list-aspect-1-1 .woolentor-editorial-list-card .woolentor-product-image {
    padding-top: 0;
    height: 320px;
}

.woolentor-product-grid-editorial.list-aspect-4-3 .woolentor-editorial-list-card .woolentor-product-image {
    padding-top: 0;
    height: 240px;
}

.woolentor-product-grid-editorial.list-aspect-16-9 .woolentor-editorial-list-card .woolentor-product-image {
    padding-top: 0;
    height: 180px;
}

.woolentor-product-grid-editorial.list-aspect-3-4 .woolentor-editorial-list-card .woolentor-product-image {
    padding-top: 0;
    height: 426px;
}

.woolentor-editorial-list-card .woolentor-product-image > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.woolentor-editorial-list-card .woolentor-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* List View Content */
.woolentor-editorial-list-card .woolentor-product-content {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.woolentor-editorial-list-card .woolentor-content-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.woolentor-editorial-list-card .woolentor-product-categories {
    margin-bottom: 0;
}

.woolentor-editorial-list-card .woolentor-product-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.woolentor-editorial-list-card .woolentor-product-description {
    margin-bottom: 16px;
}

.woolentor-editorial-list-card .woolentor-product-description p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--woolentor-editorial-text-secondary);
}

.woolentor-editorial-list-card .woolentor-product-rating {
    margin-bottom: 12px;
}

.woolentor-editorial-list-card .woolentor-product-stars .star {
    width: 16px;
    height: 16px;
}

.woolentor-editorial-list-card .woolentor-content-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--woolentor-editorial-border);
}

.woolentor-editorial-list-card .woolentor-product-price {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 0;
}

.woolentor-editorial-list-card .woolentor-discount-percentage {
    display: inline-block;
    margin-left: 12px;
    padding: 4px 12px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
}

.woolentor-editorial-list-card .woolentor-stock-status {
    font-size: 13px;
    margin-top: 0;
}

.woolentor-editorial-list-card .woolentor-stock-status .stock-dot {
    width: 8px;
    height: 8px;
    animation: pulse 2s infinite;
}

.woolentor-editorial-list-card .woolentor-stock-status.out-of-stock .stock-dot {
    animation: none;
    opacity: 0.6;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* List View Add to Cart Button */
.woolentor-editorial-list-card .woolentor-product-actions {
    margin-top: 0;
}

.woolentor-editorial-list-card a.woolentor-cart-btn {
    background-color: transparent;
    color: var(--woolentor-editorial-text-primary);
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid var(--woolentor-editorial-text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    border-radius: 0;
}

.woolentor-editorial-list-card a.woolentor-cart-btn:hover {
    background-color: var(--woolentor-editorial-accent);
    background: var(--woolentor-editorial-accent) !important;
    border-color: var(--woolentor-editorial-accent);
    color: #FFFFFF;
}

/* List View Badges */
.woolentor-editorial-list-card .woolentor-badges {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* List View Product Overlay */
.woolentor-editorial-list-card .woolentor-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 4;
}

/* Show overlay when hovering the entire product item (parent) */
.woolentor-product-item:hover .woolentor-editorial-list-card .woolentor-product-overlay,
.woolentor-editorial-list-card:hover .woolentor-product-overlay {
    opacity: 1;
}

/* List View Quick Actions */
.woolentor-editorial-list-card .woolentor-quick-actions {
    display: flex;
    gap: 12px;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

/* Show quick actions when hovering the entire product item (parent) */
.woolentor-product-item:hover .woolentor-editorial-list-card .woolentor-quick-actions,
.woolentor-editorial-list-card:hover .woolentor-quick-actions {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* List View Quick Action Buttons - use same style as grid */
.woolentor-editorial-list-card .woolentor-quick-action {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    color: var(--woolentor-editorial-text-primary);
}

.woolentor-editorial-list-card .woolentor-quick-action a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
}

.woolentor-editorial-list-card .woolentor-quick-action svg {
    width: 18px;
    height: 18px;
}

.woolentor-editorial-list-card .woolentor-quick-action:hover {
    background: var(--woolentor-editorial-accent);
    color: white;
    transform: scale(1.1) translateY(-2px);
}

.woolentor-editorial-list-card .woolentor-quick-action.active {
    background: var(--woolentor-editorial-accent);
    color: white;
}

/* List View Tooltip - Position to Left */
.woolentor-editorial-list-card .woolentor-quick-action::before {
    content: attr(data-tooltip);
    position: absolute;
    left: auto;
    right: calc(100% + 7px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(-5px);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    line-height: 1;
}

.woolentor-editorial-list-card .woolentor-quick-action::after {
    content: '';
    position: absolute;
    left: auto;
    right: calc(100% + -3px);
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) translateX(-5px);
    border: 5px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
    border-top-color: transparent;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    display: block;
}

.woolentor-editorial-list-card .woolentor-quick-action:hover::before,
.woolentor-editorial-list-card .woolentor-quick-action:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Responsive - List View */
@media (max-width: 1024px) {
    .woolentor-editorial-list-card .woolentor-product-image {
        width: 280px;
    }

    .woolentor-product-grid-editorial.list-aspect-1-1 .woolentor-editorial-list-card .woolentor-product-image {
        height: 280px;
    }

    .woolentor-product-grid-editorial.list-aspect-4-3 .woolentor-editorial-list-card .woolentor-product-image {
        height: 210px;
    }

    .woolentor-product-grid-editorial.list-aspect-16-9 .woolentor-editorial-list-card .woolentor-product-image {
        height: 157px;
    }

    .woolentor-product-grid-editorial.list-aspect-3-4 .woolentor-editorial-list-card .woolentor-product-image {
        height: 373px;
    }

    .woolentor-editorial-list-card .woolentor-product-content {
        padding: 32px;
    }

    .woolentor-editorial-list-card .woolentor-product-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .woolentor-editorial-list-card .woolentor-list-view-content {
        flex-direction: column;
    }

    .woolentor-editorial-list-card .woolentor-product-image {
        width: 100%;
        height: auto;
        padding-top: 125%; /* Default 4:5 aspect ratio */
    }

    .woolentor-product-grid-editorial.list-aspect-1-1 .woolentor-editorial-list-card .woolentor-product-image {
        padding-top: 100%;
        height: auto;
    }

    .woolentor-product-grid-editorial.list-aspect-4-3 .woolentor-editorial-list-card .woolentor-product-image {
        padding-top: 75%;
        height: auto;
    }

    .woolentor-product-grid-editorial.list-aspect-16-9 .woolentor-editorial-list-card .woolentor-product-image {
        padding-top: 56.25%;
        height: auto;
    }

    .woolentor-product-grid-editorial.list-aspect-3-4 .woolentor-editorial-list-card .woolentor-product-image {
        padding-top: 133.33%;
        height: auto;
    }

    .woolentor-editorial-list-card .woolentor-product-content {
        padding: 24px;
    }

    .woolentor-editorial-list-card .woolentor-product-title {
        font-size: 22px;
    }

    .woolentor-editorial-list-card .woolentor-product-description p {
        font-size: 14px;
    }

    .woolentor-editorial-list-card .woolentor-product-price {
        font-size: 20px;
    }

    .woolentor-editorial-list-card .woolentor-content-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
