.template-full-home {
    background-color: #f7f8fa;
    padding-bottom: 50px;
    overflow: hidden;
    max-width: 100vw !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.home-slider-section {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden !important;
}

/* Ensure any internal slider containers don't force width */
.home-slider-section > div,
.home-slider-section > div > div {
    max-width: 100vw !important;
}
.fh-section {
    padding: 60px 0;
}
.fh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.fh-center {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.fh-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #1a1a1a;
    position: relative;
    padding-inline-start: 15px;
}
.fh-title::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 24px;
    background-color: #0b3d91;
    border-radius: 3px;
}
.fh-center .fh-title::before {
    display: none;
}
.fh-subtitle {
    color: #0b3d91;
    background: rgba(11, 61, 145, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: 600;
}
.fh-link {
    color: #0b3d91;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
html[dir="rtl"] .fh-link i {
    transform: scaleX(-1);
}
.fh-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.fh-grid > * {
    flex: 0 0 auto;
}
.fh-grid-6 > * { width: calc(16.666% - 16.666px); }
.fh-grid-5 > * { width: calc(20% - 16px); }
.fh-grid-4 > * { width: calc(25% - 15px); }
.fh-grid-3 > * { width: calc(33.333% - 13.333px); }
.fh-grid-2 > * { width: calc(50% - 10px); }

/* Category Cards */
.fh-cat-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: block;
    aspect-ratio: 1/1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fh-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.fh-cat-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eee;
    z-index: 1;
}
.fh-cat-img-wrapper img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.fh-cat-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 38%;
    padding: 15px 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}
.fh-cat-overlay h3 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 20px;
    font-weight: 700;
}
.fh-cat-overlay span {
    font-size: 14px;
    opacity: 0.9;
    color: #fff;
}

/* Products Override */
.fh-products .product {
    margin-bottom: 0 !important;
    height: 100%;
}

/* Buttons */
.fh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 10px;
    border: none;
    cursor: pointer;
}
html[dir="rtl"] .fh-btn i.fa-arrow-left {
    transform: scaleX(-1);
}
.btn-primary { background: #0b3d91; color: #fff; }
.btn-primary:hover { background: #082d6b; color: #fff; }
.btn-secondary { background: #fff; color: #0b3d91; border: 1px solid #fff; }
.btn-secondary:hover { background: #f0f0f0; color: #0b3d91; }
.btn-light-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-light-outline:hover { background: #fff; color: #0b3d91; }
.btn-dark-full { background: #000; color: #fff; width: 100%; }
.btn-dark-full:hover { background: #222; color: #fff; }
.btn-outline-white { border: 1px solid #fff; color: #fff; background: transparent;}
.btn-outline-white:hover { background: #fff; color: #000; }

.fh-center-btn { text-align: center; }
.mt-50 { margin-top: 50px; }

/* Band */
.fh-band {
    background: #0b3d91;
    color: #fff;
    padding: 25px 0;
}
.fh-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fh-band-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}
.fh-band-item i {
    font-size: 32px;
    color: #fff;
}
.fh-band-item h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
}
.fh-band-item p {
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}

/* Promos */
.fh-promo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.fh-promo-main, .fh-promo-half {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}
.fh-promo-main {
    min-height: 400px;
    display: flex;
    align-items: center;
}
.fh-promo-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.fh-promo-half {
    flex: 1;
    min-height: 190px;
    display: flex;
    align-items: center;
}
.fh-promo-overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    transition: background 0.3s ease;
}
.fh-promo-main:hover .fh-promo-overlay-dark,
.fh-promo-half:hover .fh-promo-overlay-dark {
    background: rgba(0,0,0,0.7);
}
.fh-promo-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: #fff;
}
.fh-promo-content h3 {
    color: #fff;
    font-size: 28px;
    margin: 15px 0;
    font-weight: 800;
}
.fh-promo-content p {
    margin-bottom: 25px;
    font-size: 16px;
    opacity: 0.9;
}
.fh-promo-half .fh-promo-content h3 {
    font-size: 20px;
    margin: 10px 0 20px;
}
.fh-promo-badge {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}
.fh-promo-badge-dark {
    background: #000;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Flash Sale */
.fh-flash-banner {
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 60px;
    color: #fff;
}
.fh-flash-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
}
html[dir="rtl"] .fh-flash-overlay {
    background: linear-gradient(to left, rgba(0,0,0,0.9), rgba(0,0,0,0.4));
}
.fh-flash-text, .fh-flash-timer, .fh-flash-btn-wrap {
    position: relative;
    z-index: 2;
}
.fh-flash-text h2 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 32px;
    font-weight: 800;
}
.fh-flash-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}
.fh-flash-timer {
    display: flex;
    gap: 15px;
}
.fh-time-box {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.fh-time-box span { font-size: 26px; font-weight: 800; line-height: 1; margin-bottom: 2px;}
.fh-time-box small { font-size: 12px; font-weight: 500; }

/* Trending */
.fh-trending-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
}
.fh-trending-banner {
    border-radius: 16px;
    min-height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.fh-trending-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: #fff;
    text-align: center;
    width: 100%;
}
.fh-trending-content h2 { margin: 20px 0 10px; color: #fff; font-size: 36px; font-weight: 800;}
.fh-badge { background: #0b3d91; padding: 6px 16px; border-radius: 20px; font-size: 14px; color: #fff; font-weight: 600;}

/* Features */
.fh-feature-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.fh-feature-card:hover {
    transform: translateY(-8px);
}
.fh-feature-card i { font-size: 48px; color: #0b3d91; margin-bottom: 25px; }
.fh-feature-card h3 { font-size: 20px; margin: 0 0 15px 0; font-weight: 700; color: #1a1a1a;}
.fh-feature-card p { color: #666; font-size: 15px; margin: 0; line-height: 1.6;}

/* Huge Banner */
.fh-huge-banner {
    border-radius: 16px;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px;
    color: #fff;
    overflow: hidden;
}
.fh-huge-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}
.fh-huge-content h2 { color: #fff; font-size: 48px; margin: 25px 0 15px; font-weight: 800;}
.fh-huge-content p { font-size: 18px; margin-bottom: 30px; opacity: 0.9;}
.fh-discount-blob { background: #fff; color: #1a1a1a; font-weight:800; padding: 10px 24px; border-radius: 30px; font-size: 16px;}
.fh-huge-actions { display: flex; gap: 15px; justify-content: center; }

/* Payment Banner */
.fh-pay-banner {
    border-radius: 16px;
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    padding: 0 80px;
    overflow: hidden;
}
html[dir="rtl"] .fh-pay-banner {
    background-position: 10% center;
}
.fh-pay-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 50%;
}
.fh-pay-content h2 { color: #fff; font-size: 36px; margin: 0 0 15px 0; font-weight: 800;}
.fh-pay-content p { font-size: 16px; opacity: 0.9; margin-bottom: 25px;}

/* Responsive */
@media (max-width: 1200px) {
    .fh-grid-6 > * { width: calc(20% - 16px); }
    .fh-grid-5 > * { width: calc(25% - 15px); }
}

@media (max-width: 1024px) {
    .fh-grid-6 > * { width: calc(25% - 15px); }
    .fh-grid-5 > * { width: calc(33.333% - 13.333px); }
    .fh-grid-4 > * { width: calc(50% - 10px); }
    .fh-band-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
    .fh-promo-grid { grid-template-columns: 1fr; }
    .fh-promo-side { flex-direction: row; }
    .fh-trending-grid { grid-template-columns: 1fr; }
    .fh-trending-products { order: 2; }
    .fh-trending-banner { order: 1; min-height: 350px; }
    .fh-pay-content { max-width: 70%; }
}

@media (max-width: 768px) {
    .fh-grid-6 > *, .fh-grid-5 > *, .fh-grid-4 > *, .fh-grid-2 > * { width: calc(50% - 10px); }
    .fh-grid-3 > * { width: 100%; }
    .fh-promo-side { flex-direction: column; }
    .fh-flash-banner { flex-direction: column; text-align: center; gap: 20px; padding: 40px 20px; }
    .fh-pay-content { max-width: 100%; text-align: center; }
    .fh-pay-banner { padding: 50px 20px; justify-content: center; text-align: center; }
    .fh-huge-content h2 { font-size: 32px; }
    .fh-huge-banner { min-height: 350px; }
    .fh-band-grid { grid-template-columns: 1fr; }
    .fh-section { padding: 40px 0; }
    .fh-title { font-size: 20px; }
    .fh-section-header { flex-direction: column; gap: 15px; align-items: flex-start; }
    .fh-trending-content h2 { font-size: 28px; }
}

@media (max-width: 480px) {
    .fh-grid-6 > *, .fh-grid-5 > *, .fh-grid-4 > *, .fh-grid-2 > * { width: calc(50% - 10px); }
    .fh-grid-3 > * { width: 100%; }
    
    /* Ensure no container overflow on very small devices */
    .fh-grid {
        gap: 15px;
    }
    .fh-grid-6 > *, .fh-grid-5 > *, .fh-grid-4 > *, .fh-grid-2 > * { 
        width: calc(50% - 7.5px); 
    }

    /* Mobile Category Cards Adjustments */
    .fh-cat-overlay {
        min-height: 40%;
        padding: 10px;
    }
    .fh-cat-overlay h3 {
        font-size: 16px;
        margin-bottom: 0;
    }
    .fh-cat-overlay span {
        display: none !important; /* Hide count on mobile as requested */
    }
}

/* Premium Product Card Redesign */
.wasla-product-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wasla-product-card:hover {
    border-color: #0b3d91;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.wasla-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.wasla-card-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.wasla-card-rating i {
    color: #ffb400;
}

.wasla-card-wishlist {
    font-size: 18px;
    cursor: pointer;
}

.wasla-card-wishlist .yith-wcwl-add-to-wishlist {
    margin: 0;
}

.wasla-card-wishlist i {
    color: #ddd;
    transition: color 0.3s;
}

.wasla-card-wishlist:hover i {
    color: #ff4d4d;
}

/* Hide YITH text, keep only icon */
.wasla-card-wishlist .yith-wcwl-add-to-wishlist a {
    font-size: 0 !important;
}
.wasla-card-wishlist .yith-wcwl-add-to-wishlist i {
    font-size: 18px !important;
    margin: 0 !important;
}

.wasla-card-image-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wasla-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

.wasla-product-card:hover .wasla-card-image img {
    transform: scale(1.05);
}

.wasla-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: right; 
}

html[dir="ltr"] .wasla-card-body {
    text-align: left;
}

.wasla-product-title {
    margin: 0 0 10px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
}

.wasla-product-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.wasla-product-price {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 800;
    color: #0b3d91;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

html[dir="ltr"] .wasla-product-price {
    justify-content: flex-start;
}

.wasla-product-price del {
    color: #aaa;
    font-size: 14px;
    font-weight: 500;
    text-decoration: line-through;
}

.wasla-product-price ins {
    text-decoration: none;
}

.wasla-card-meta {
    margin-top: auto;
    padding-top: 10px;
}

.wasla-meta-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #999;
    font-size: 14px;
}

html[dir="ltr"] .wasla-meta-item {
    justify-content: flex-start;
}

.wasla-card-footer {
    margin-top: 20px;
}

.wasla-card-btn {
    display: flex;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #0b3d91;
    text-decoration: none !important;
}

.wasla-btn-icon {
    background: #0b3d91;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.wasla-btn-text {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b3d91;
    font-weight: 700;
    font-size: 14px;
    background: #fff;
    transition: background 0.3s;
}

.wasla-card-btn:hover .wasla-btn-text {
    background: #f0f7ff;
}

/* RTL Specific Adjustments for Product Card */
html[dir="rtl"] .wasla-card-btn {
    flex-direction: row-reverse;
}

html[dir="rtl"] .wasla-card-wishlist .yith-wcwl-add-to-wishlist {
    text-align: left;
}

/* Further Refinements for Product Card */
.wasla-card-wishlist .yith-wcwl-add-to-wishlist i.fas.fa-heart {
    color: #ff4d4d; /* Liked state color */
}

.wasla-card-wishlist a {
    text-decoration: none !important;
}

.wasla-brand-label {
    font-weight: 500;
}

.wasla-product-card:hover .wasla-btn-text {
    background: #0b3d91;
    color: #fff;
}

/* Horizontal Card (Trending Widget) */
.wasla-horizontal-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    align-items: center;
}

.wasla-horizontal-card:hover {
    border-color: #0b3d91;
    box-shadow: 0 8px 25px rgba(11, 61, 145, 0.1);
}

.wasla-hoz-image-wrap {
    width: 30%;
    min-width: 90px;
    aspect-ratio: 1/1;
    border-radius: 12px;
    background: #eef2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
    margin-right: 15px;
}

html[dir="rtl"] .wasla-hoz-image-wrap {
    margin-right: 0;
    margin-left: 15px;
}

.wasla-hoz-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.wasla-hoz-sale-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #ff3b3b;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 6px;
    z-index: 2;
}

html[dir="rtl"] .wasla-hoz-sale-badge {
    left: auto;
    right: -5px;
}

.wasla-hoz-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wasla-hoz-cat {
    font-size: 11px;
    color: #888;
    margin-bottom: 2px;
}

.wasla-hoz-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.wasla-hoz-title a {
    color: #000;
    text-decoration: none;
}

.wasla-hoz-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #ffb400;
    margin-bottom: 8px;
}

.wasla-hoz-rating .count {
    color: #999;
    font-size: 11px;
}

.wasla-hoz-rating.empty-rating i {
    color: #ddd;
}

.wasla-hoz-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.wasla-hoz-price {
    font-size: 16px;
    font-weight: 800;
    color: #0b3d91;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.wasla-hoz-price del {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
    font-weight: 400;
}

.wasla-hoz-price ins {
    text-decoration: none;
}

.wasla-hoz-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wasla-hoz-cart-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0b3d91;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.wasla-hoz-cart-btn:hover {
    background: #0e4fb8;
    color: #fff;
}

.wasla-hoz-wishlist .yith-wcwl-add-to-wishlist {
    margin: 0 !important;
}

.wasla-hoz-wishlist a {
    font-size: 0 !important;
    text-decoration: none !important;
}

.wasla-hoz-wishlist i {
    font-size: 18px !important;
    color: #ccc;
    margin: 0 !important;
    transition: color 0.3s;
}

.wasla-hoz-wishlist:hover i {
    color: #ff3b3b;
}

.wasla-hoz-wishlist i.fas.fa-heart {
    color: #ff3b3b;
}

/* Adjust Trending products grid gap */
.fh-trending-products {
    gap: 15px;    
}

@media (max-width: 991px) {
    .fh-trending-products {
        grid-template-columns: 1fr;
    }
}

/* Wasla Feature Cards (Why Choose Us) */
.fh-features-header {
    text-align: center;
    margin-bottom: 40px;
}

.fh-features-subtitle {
    display: inline-block;
    background: #e6eef5;
    color: #0b3d91;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.fh-features-title {
    font-size: 28px;
    font-weight: 800;
    color: #002244;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-inline-end: 15px;
}

.fh-features-title::after {
    content: '';
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 28px;
    background-color: #0b3d91;
    border-radius: 4px;
}

.fh-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.fh-feature-card {
    background: #f4f7fa;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.fh-feature-card:hover {
    transform: translateY(-5px);
}

.fh-feature-icon {
    font-size: 45px;
    color: #0b3d91;
    margin-bottom: 25px;
}

.fh-feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0b3d91;
    margin: 0 0 15px 0;
}

.fh-feature-card p {
    font-size: 16px;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .fh-features-grid {
        grid-template-columns: 1fr;
    }
}

/* Shop List View Adjustments */
ul.products.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

ul.products.list-view > li.product {
    width: 100% !important;
}

ul.products.list-view .wasla-product-card {
    flex-direction: row;
    align-items: stretch;
    padding: 20px;
    gap: 20px;
}

ul.products.list-view .wasla-card-image-wrap {
    width: 250px;
    height: 100%;
    margin-bottom: 0;
    flex-shrink: 0;
}

ul.products.list-view .wasla-card-body {
    flex-direction: column;
    justify-content: space-between;
}

ul.products.list-view .wasla-card-top {
    justify-content: flex-start;
    gap: 15px;
    order: -1;
    margin-bottom: 10px;
}

html[dir="rtl"] ul.products.list-view .wasla-product-price {
    justify-content: flex-start;
}

/* Shop Toggle Buttons */
.wasla-shop-view-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: flex-end;
}
.wasla-shop-view-toggle .view-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}
.wasla-shop-view-toggle .view-btn.active, .wasla-shop-view-toggle .view-btn:hover {
    background: #0b3d91;
    color: #fff;
    border-color: #0b3d91;
}

@media (max-width: 768px) {
    ul.products.list-view .wasla-product-card {
        flex-direction: column;
    }
    ul.products.list-view .wasla-card-image-wrap {
        width: 100%;
        height: 200px;
        margin-bottom: 15px;
    }
}
