/* =========================================================
   MODERN SHOP & PRODUCT GRID STYLES
   ========================================================= */

.shop-page-wrapper {
    background-color: #f8fafc;
    min-height: 80vh;
}

/* Shop Header & Breadcrumb */
.shop-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.shop-header-title {
    font-family: "Anek Bangla", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.shop-product-count-badge {
    background: #e0f2fe;
    color: #0284c7;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: "Anek Bangla", sans-serif;
}

.shop-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.shop-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shop-breadcrumb a:hover {
    color: #0f172a;
}

/* Ultra Minimal Section Titles */
.section-title-wrap {
    position: relative;
    margin-top: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1.5px solid #e2e8f0;
    background: linear-gradient(90deg, #ae2448, #00c9d6);
    border-radius: 2px;
}

.section-modern-title {
    font-family: "Anek Bangla", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    padding-left: 15px;
    margin: 0;
    letter-spacing: -0.2px;
    margin-bottom: -2px;
    margin-top: 7px;
    padding-bottom: 2px;
}

.section-modern-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: #ae2448;
    border-radius: 2px;
}

.section-title-wrap .btn-see-all {
    font-family: "Anek Bangla", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #ae2448;
    background: transparent;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 14px;
    background: aliceblue;
    padding: 4px;
    margin-top: 7px;
    border-radius: 11px;
    font-weight: 700;
}

.section-title-wrap .btn-see-all:hover {
    color: #6e1a37 !important;
    text-decoration: underline;
}

/* =========================================================
   AMEENA LUXURY PRODUCT CARD / LOOP STYLES
   ========================================================= */

.luxury-product-card,
.shop-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

/* Thumbnail Container (3:4 Portrait Ratio matching luxury fashion themes) */
.luxury-thumb-wrap,
.shop-product-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 4px;
    display: block;
}

.luxury-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
}

.luxury-thumb-img,
.shop-product-thumb img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: fill !important;
    object-position: center center !important;
    transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

.luxury-product-card:hover .luxury-thumb-img,
.shop-product-card:hover .shop-product-thumb img {
    transform: scale(1.05);
}

/* Badges (Top Left) */
.luxury-badge-wrap {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}

.luxury-badge,
.shop-discount-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 2px;
    line-height: 1.2;
    box-shadow: none !important;
}

.luxury-badge-new {
    background: rgba(28, 25, 23, 0.85);
    color: #ffffff;
    backdrop-filter: blur(4px);
}

.luxury-badge-sale {
    background: #18181b;
    color: #ffffff;
}

.luxury-badge-options {
    background: rgba(244, 236, 225, 0.9);
    color: #785226;
    border: 1px solid #e0d1be;
    backdrop-filter: blur(4px);
}

/* Wishlist Button (Top Right) */
.luxury-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(4px);
    color: #44403c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.luxury-wishlist-btn:hover {
    background: #ffffff;
    color: #e11d48;
    transform: scale(1.1);
}

/* Quick Add / Action Bar (Sliding up from bottom of image on hover) */
.luxury-quick-action {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.luxury-product-card:hover .luxury-quick-action,
.shop-product-card:hover .luxury-quick-action {
    transform: translateY(0);
    opacity: 1;
}

.luxury-quick-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    background: rgba(24, 24, 27, 0.95);
    color: #ffffff !important;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease;
    border: none;
}

.luxury-quick-btn:hover {
    background: #000000;
    color: #ffffff !important;
}

.luxury-quick-btn.disabled {
    background: rgba(161, 161, 170, 0.9);
    cursor: not-allowed;
}

/* Product Info Box Below Image */
.luxury-card-info,
.shop-product-body {
    padding: 12px 2px 4px 2px !important;
    background: transparent !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.luxury-card-title-link,
.shop-product-title-link {
    text-decoration: none;
    color: inherit;
}

.luxury-card-title,
.shop-product-title {
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #1c1917 !important;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
    height: auto !important;
}

.luxury-card-title:hover,
.shop-product-card:hover .shop-product-title {
    color: #78716c !important;
}

/* Subtitle (Fabric / Collection / Short description) */
.luxury-card-subtitle {
    font-size: 12px;
    color: #78716c;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

/* Pricing */
.luxury-card-pricing,
.shop-product-pricing {
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap !important;
    column-gap: 6px;
    row-gap: 0;
    margin-top: 3px !important;
    white-space: nowrap !important;
}

/* Price range container */
.luxury-card-pricing.has-price-range,
.shop-product-pricing.has-price-range {
    flex-wrap: nowrap !important;
    column-gap: 0;
    white-space: nowrap !important;
}

.luxury-price-current,
.shop-current-price {
    font-family: 'Outfit', 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1c1917 !important;
    letter-spacing: 0.01em;
    white-space: nowrap !important;
    display: inline-block !important;
    line-height: 1.25;
}

.luxury-price-current.is-range-price,
.shop-current-price.is-range-price,
.has-price-range .luxury-price-current,
.has-price-range .shop-current-price {
    font-size: 13.5px !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
    display: inline-block !important;
}

.luxury-price-old,
.shop-old-price {
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #a8a29e !important;
    text-decoration: line-through;
    white-space: nowrap !important;
    display: inline-block !important;
}

@media (max-width: 767px) {

    .luxury-card-pricing,
    .shop-product-pricing {
        flex-wrap: nowrap !important;
        column-gap: 5px;
        white-space: nowrap !important;
    }

    .luxury-price-current,
    .shop-current-price {
        font-size: 13px !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }

    .luxury-price-current.is-range-price,
    .shop-current-price.is-range-price,
    .has-price-range .luxury-price-current,
    .has-price-range .shop-current-price {
        font-size: 12px !important;
        letter-spacing: -0.025em !important;
        white-space: nowrap !important;
        display: inline-block !important;
        max-width: 100%;
    }

    .luxury-price-old,
    .shop-old-price {
        font-size: 11px !important;
        white-space: nowrap !important;
        display: inline-block !important;
    }
}

@media (max-width: 360px) {

    .luxury-price-current,
    .shop-current-price {
        font-size: 12px !important;
    }

    .luxury-price-current.is-range-price,
    .shop-current-price.is-range-price,
    .has-price-range .luxury-price-current,
    .has-price-range .shop-current-price {
        font-size: 11px !important;
        letter-spacing: -0.035em !important;
    }

    .luxury-price-old,
    .shop-old-price {
        font-size: 10px !important;
    }
}

/* 5 Columns Grid Rule on Large Screens */
@media (min-width: 1200px) {
    .row-cols-xl-5>* {
        flex: 0 0 auto;
        width: 20% !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .row-cols-lg-5>* {
        flex: 0 0 auto;
        width: 20% !important;
    }
}

/* Mobile & Touch Devices */
@media (hover: none) {
    .luxury-quick-action {
        transform: translateY(0);
        opacity: 0.95;
    }

    .luxury-quick-btn {
        padding: 6px 10px;
        font-size: 10.5px;
    }
}

.shop-btn-options {
    background-color: #0f172a;
    color: #ffffff !important;
}

.shop-btn-options:hover {
    background-color: #ae2448;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 201, 214, 0.25);
    transform: translateY(-1px);
}

/* Swiper Product Cards Override */
.mySwiper {
    padding: 10px 4px 10px 4px !important;
    position: relative;
    overflow: hidden;
}

.mySwiper .swiper-wrapper {
    align-items: stretch !important;
    display: flex !important;
}

.mySwiper .swiper-slide {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    place-items: unset !important;
    text-align: left !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.mySwiper .swiper-slide .shop-product-card {
    width: 100% !important;
    height: 100% !important;
    flex: 1 1 auto !important;
}

.mySwiper .swiper-button-next,
.mySwiper .swiper-button-prev {
    width: 38px !important;
    height: 38px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    color: #0f172a !important;
    z-index: 10 !important;
    transition: all 0.2s ease !important;
    top: 45% !important;
    display: none;
}

.mySwiper .swiper-button-next:after,
.mySwiper .swiper-button-prev:after {
    font-size: 14px !important;
    font-weight: bold !important;
    color: #0f172a !important;
}

.mySwiper .swiper-button-next:hover,
.mySwiper .swiper-button-prev:hover {
    background: #0f172a !important;
    border-color: #0f172a !important;
}

.mySwiper .swiper-button-next:hover:after,
.mySwiper .swiper-button-prev:hover:after {
    color: #ffffff !important;
}

.mySwiper .swiper-button-prev {
    left: 2px !important;
}

.mySwiper .swiper-button-next {
    right: 2px !important;
}

.mySwiper .swiper-pagination-bullet-active {
    background: #ae2448 !important;
}

/* Empty State */
.shop-empty-state {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
}

.shop-empty-icon {
    width: 70px;
    height: 70px;
    background: #f1f5f9;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #64748b;
    margin-bottom: 16px;
}

.shop-empty-title {
    font-family: "Anek Bangla", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.shop-empty-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 20px;
}

/* Pagination Styling */
.shop-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.shop-pagination-wrap .pagination {
    margin-bottom: 0;
    gap: 4px;
}

.shop-pagination-wrap .page-item .page-link {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    padding: 8px 14px;
    font-family: "Anek Bangla", sans-serif;
    transition: all 0.2s ease;
}

.shop-pagination-wrap .page-item.active .page-link {
    background-color: #ae2448;
    border-color: #ae2448;
    color: #ffffff;
}

.shop-pagination-wrap .page-item .page-link:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

/* Related Products Area inside single product page */
.related-products-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .shop-header-card {
        padding: 12px 16px;
    }

    .shop-header-title,
    .section-modern-title {
        font-size: 17px;
    }

    .shop-product-body {
        padding: 10px;
        gap: 6px;
    }

    .shop-product-title {
        font-size: 13px;
        height: 35px;
    }

    .shop-current-price {
        font-size: 14.5px;
    }

    .shop-old-price {
        font-size: 12px;
    }

    .shop-btn-action {
        font-size: 16px;
        padding: 6px 8px;
    }

    .related-products-card {
        padding: 16px;
    }
}