/* ====================================================================
   FLASH DEAL SPECIALIZED PRODUCT CARD (Noon Inspired UI)
   ==================================================================== */

.flash-product-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

[data-theme="dark"] .flash-product-card {
    background: #1a202c;
    border-color: #2d3748;
}

.flash-product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Badges */
.flash-product-card__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.flash-product-card__badge-save {
    background: #fdf2f2;
    color: #e53e3e;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

[data-theme="dark"] .flash-product-card__badge-save {
    background: rgba(229, 62, 62, 0.2);
}

.flash-product-card__badge-fast {
    background: #feee00;
    color: #1a1a1a;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

/* Image */
.flash-product-card__image-container {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
}

.flash-product-card__image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Brand & Meta */
.flash-product-card__meta {
    display: flex;
    justify-content: flex-start; /* Logical start */
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.flash-product-card__brand {
    font-size: 12px;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 4px;
}

[data-theme="dark"] .flash-product-card__brand {
    color: #e2e8f0;
}

/* Title */
.flash-product-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 8px;
    text-align: inherit; /* Use global direction */
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

[data-theme="dark"] .flash-product-card__title {
    color: #f7fafc;
}

.flash-product-card__title a {
    color: inherit;
    text-decoration: none;
}

/* Rating */
.flash-product-card__rating {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.flash-product-card__stars {
    color: #ffd700;
    font-size: 11px;
}

/* Price Section */
.flash-product-card__price-section {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start; /* Logical start */
    gap: 8px;
}

.flash-product-card__price-new {
    font-size: 16px;
    font-weight: 800;
    color: #1a1a1a;
}

[data-theme="dark"] .flash-product-card__price-new {
    color: #ffffff;
}

.flash-product-card__price-old {
    font-size: 13px;
    color: #a0aec0;
    text-decoration: line-through;
}

.flash-product-card__savings {
    font-size: 11px;
    font-weight: 700;
    color: #48bb78;
    background: #f0fff4;
    padding: 1px 6px;
    border-radius: 4px;
}

[data-theme="dark"] .flash-product-card__savings {
    background: rgba(72, 187, 120, 0.1);
}

/* Slider Controls Override for Flash Deals */
.flash-deals-modern .swiper-pagination-bullet {
    background: #2d3748;
}

.flash-deals-modern .swiper-pagination-bullet-active {
    background: #feee00;
    width: 25px;
    border-radius: 4px;
}
