/**
 * Black Friday Deals Styles
 * Comprehensive styling for the deals system
 *
 * @package Techi
 */

/* ========================================================================
   MAIN DEALS PAGE
   ======================================================================== */

.black-friday-deals-page {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Hero Section */
.bf-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5rem 2rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bf-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bf-hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bf-hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.bf-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.bf-hero-icon {
    font-size: 3rem;
    margin-right: 0.5rem;
    display: inline-block;
}

.bf-stats {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.bf-hero-cta {
    margin-top: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.bf-submit-deal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    padding: 1.15rem 1.35rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4),
                0 4px 16px rgba(118, 75, 162, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.bf-submit-deal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.bf-submit-deal-btn:hover::before {
    left: 100%;
}

.bf-submit-deal-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6b3fa0 50%, #e082f0 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 48px rgba(102, 126, 234, 0.5),
                0 8px 24px rgba(118, 75, 162, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.bf-submit-deal-btn:active {
    transform: translateY(-2px) scale(1);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4),
                0 4px 16px rgba(118, 75, 162, 0.3);
}

.bf-submit-icon {
    font-size: 1.375rem;
    display: inline-block;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.bf-submit-deal-btn:hover .bf-submit-icon {
    transform: rotate(15deg) scale(1.1);
}

.bf-stat-item {
    position: relative;
    /* min-width: 180px; */
    min-width: auto;
    padding: 1.15rem 1.35rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(10px);
}

.bf-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(135deg, #6366f1 0%, #22d3ee 45%, #f97316 100%);
}

.bf-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(99, 102, 241, 0.22);
    border-color: rgba(15, 23, 42, 0.25);
}

.bf-stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.98) 100%);
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bf-stat-item:hover .bf-stat-label {
    color: #ffffff;
    opacity: 1;
}

.bf-stat-item:hover .bf-stat-number {
    color: #ffffff;
}

.bf-stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.bf-stat-label {
    margin-top: 0.45rem;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* Legacy support */
.bf-hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.bf-hero-stat {
    text-align: center;
}

.bf-hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
}

.bf-hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Deals Section */
.bf-featured-section {
    margin-bottom: 4rem;
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(34, 211, 238, 0.12) 60%, rgba(249, 115, 22, 0.12) 100%);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.bf-featured-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.3), transparent 60%);
    pointer-events: none;
}

.bf-section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bf-featured-section .bf-section-title {
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    border: none;
    gap: 0.75rem;
}

.bf-section-title-icon {
    font-size: 2rem;
}

.bf-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.bf-featured-grid .bf-deal-card {
    background: linear-gradient(150deg, #ffffff 0%, #eef2ff 100%);
    border: 2px solid rgba(99, 102, 241, 0.28);
    box-shadow: 0 26px 54px rgba(99, 102, 241, 0.22);
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.bf-featured-grid .bf-deal-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #f97316 0%, #facc15 52%, #22d3ee 100%);
}

.bf-featured-grid .bf-deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 36px 68px rgba(99, 102, 241, 0.3);
}

/* Ensure stats are visible in featured grid */
.bf-featured-grid .bf-deal-stats {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.bf-featured-grid .bf-stat-item {
    display: flex !important;
    flex: 1 1 calc(33.333% - 8px);
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    color: #374151;
}

.bf-featured-grid .bf-stat-icon {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.875rem;
}

.bf-featured-grid .bf-stat-value {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.75rem;
    font-weight: 700;
    color: #111827;
}

/* Filters Section */
.bf-filters-section {
    position: relative;
    background: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.bf-filters-section::before {
    display: none;
}

.bf-filters-section > * {
    position: relative;
    z-index: 1;
}

.bf-search-bar {
    display: flex;
    justify-content: flex-end;
    flex: 1;
    min-width: 300px;
    margin-bottom: 0;
}

.bf-search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 400px;
    background: #f9fafb;
    border-radius: 8px;
    padding: 0.375rem 0.5rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.bf-search-form:focus-within {
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

.bf-layout-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.bf-layout-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.bf-layout-label {
    font-size: 0.95rem;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #1e293b;
    background: rgba(148, 163, 184, 0.25);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.bf-layout-select-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 14px;
    border: 1.5px solid rgba(148, 163, 184, 0.4);
    padding: 0.35rem 0.75rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.bf-layout-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    color: #0f172a;
    padding: 0.6rem 2.6rem 0.6rem 1rem;
    border-radius: 10px;
    cursor: pointer;
}

.bf-layout-select:focus {
    outline: none;
}

.bf-layout-select-wrapper::after {
    content: "\25BC";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: #64748b;
    pointer-events: none;
}

@media (max-width: 768px) {
    .bf-layout-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .bf-layout-inner {
        justify-content: space-between;
    }
    .bf-layout-select-wrapper {
        width: 100%;
    }
    .bf-layout-select {
        width: 100%;
    }
}

.bf-search-btn .bf-search-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.bf-search-btn .bf-search-text {
    font-weight: 600;
    letter-spacing: 0.25px;
}

.bf-search-btn .bf-search-loading {
    display: none;
    font-size: 1rem;
}


.bf-filters-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.bf-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
    flex-wrap: wrap;
}

.bf-filter-label {
    font-weight: 500;
    color: #6b7280;
    font-size: 0.8125rem;
    white-space: nowrap;
}

.bf-filter-select,
.bf-filter-input {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.8125rem;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s ease;
    min-width: 140px;
    box-shadow: none;
}

.bf-filter-select:focus,
.bf-filter-input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.1);
}

.bf-filter-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.bf-filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.24);
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.bf-filter-checkbox:hover {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.15);
}

.bf-filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #6366f1;
}

.bf-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 400px;
}

.bf-search-input {
    flex: 1;
    width: 100%;
    padding: 0.65rem 0.35rem 0.65rem 2.75rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background-color: transparent;
    color: #0f172a;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20fill=%22none%22%20stroke=%22%2394a3b8%22%20stroke-width=%222%22%20viewBox=%220%200%2024%2024%22%3E%3Ccircle%20cx=%2211%22%20cy=%2211%22%20r=%226%22/%3E%3Cline%20x1=%2217%22%20y1=%2217%22%20x2=%2221%22%20y2=%2221%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: 0.9rem 50%;
    background-size: 1.2rem;
    transition: color 0.3s ease;
}

.bf-search-input::placeholder {
    color: #94a3b8;
}

.bf-search-input:focus {
    outline: none;
    color: #0f172a;
}

.bf-search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bf-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1.55rem;
    background: linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.bf-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(34, 211, 238, 0.35);
}

/* Deals Grid */
.bf-deals-section {
    margin-bottom: 3rem;
}

.bf-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Grid layout - 4 columns */
.bf-layout-grid .bf-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed from 5 to 4 */
    gap: 2rem;
}

/* Row layout - Three Column Layout with Equal Height */
.bf-layout-row .bf-deals-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.bf-layout-row .bf-deal-card {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    max-width: 100%;
    min-height: 220px;
    align-items: stretch;
    background: #ffffff;
    border: 2px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Column 1: Image */
.bf-layout-row .bf-deal-card > .bf-deal-image-wrapper {
    grid-column: 1;
    border-right: 2px solid rgba(226, 232, 240, 0.5);
}

/* Column 2: Main Content */
.bf-layout-row .bf-deal-card > .bf-deal-content {
    grid-column: 2;
    border-right: 2px solid rgba(226, 232, 240, 0.5);
}

/* Column 3: Footer/Actions - Only show in row layout */
.bf-layout-row .bf-deal-card > .bf-deal-footer-wrapper {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    height: 100%;
}

/* Hide footer wrapper in grid layout */
.bf-layout-grid .bf-deal-footer-wrapper,
.bf-layout-table .bf-deal-footer-wrapper {
    display: none !important;
}

.bf-layout-row .bf-deal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f97316 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bf-layout-row .bf-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15), 0 4px 12px rgba(15, 23, 42, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.bf-layout-row .bf-deal-card:hover::before {
    opacity: 1;
}

/* Image Section - Column 1 */
.bf-layout-row .bf-deal-image-wrapper {
    padding-top: 0;
    height: 100%;
    min-height: 220px;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-layout-row .bf-deal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.bf-layout-row .bf-deal-card:hover .bf-deal-image {
    transform: scale(1.08);
}

.bf-layout-row .bf-deal-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.02) 100%);
    pointer-events: none;
}

/* Content Section - Column 2 */
.bf-layout-row .bf-deal-content {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem;
    justify-content: flex-start;
    gap: 1rem;
    min-width: 0;
    height: 100%;
}

.bf-layout-row .bf-deal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
}

.bf-layout-row .bf-deal-category {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.bf-layout-row .bf-deal-brand {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    flex-shrink: 0;
}

.bf-layout-row .bf-deal-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0.5rem 0 0.75rem 0;
    color: #0f172a;
}

.bf-layout-row .bf-deal-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bf-layout-row .bf-deal-title a:hover {
    color: #667eea;
}

/* Pricing Section */
.bf-layout-row .bf-deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin: 0.75rem 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 10px;
    border-left: 4px solid #10b981;
    width: fit-content;
}

.bf-layout-row .bf-deal-price-current {
    font-size: 1.85rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.bf-layout-row .bf-deal-price-original {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

/* Meta Section */
.bf-layout-row .bf-deal-meta {
    margin: 0.5rem 0;
}

.bf-layout-row .bf-deal-coupon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px dashed #f59e0b;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
}

.bf-layout-row .bf-coupon-code {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bf-layout-row .bf-deal-expiry {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6366f1;
}

/* Footer Section - Column 3 */
.bf-layout-row .bf-deal-footer {
    display: none !important; /* Hide default footer in row layout, we use footer-wrapper instead */
}

/* Show footer in grid layout */
.bf-layout-grid .bf-deal-footer {
    display: flex !important;
}

.bf-layout-row .bf-deal-footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
    height: 100%;
}

.bf-deal-pricing-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.bf-deal-price-current-large {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.bf-deal-price-original-small {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.bf-deal-discount-large {
    font-size: 0.9rem;
    font-weight: 700;
    color: #10b981;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border: 2px solid #10b981;
}

.bf-deal-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.bf-deal-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5568d3 0%, #6b3fa0 100%);
}

.bf-deal-stats-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.bf-stat-item-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    transition: all 0.3s ease;
}

.bf-stat-item-vertical:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.25);
    transform: translateY(-2px);
}

.bf-stat-item-vertical .bf-stat-icon {
    font-size: 1.2rem;
}

.bf-stat-item-vertical .bf-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.bf-stat-label-small {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for Row Layout */
@media (max-width: 1024px) {
    .bf-layout-row .bf-deal-card {
        grid-template-columns: 200px 1fr 200px;
    }
    
    .bf-layout-row .bf-deal-content {
        padding: 1.75rem 1.5rem;
    }
    
    .bf-layout-row .bf-deal-title {
        font-size: 1.2rem;
    }
    
    .bf-layout-row .bf-deal-footer-wrapper {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bf-layout-row .bf-deal-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .bf-layout-row .bf-deal-image-wrapper {
        width: 100%;
        height: 200px;
        border-radius: 20px 20px 0 0;
        border-right: none;
        border-bottom: 2px solid rgba(226, 232, 240, 0.5);
    }
    
    .bf-layout-row .bf-deal-image {
        border-radius: 20px 20px 0 0;
    }
    
    .bf-layout-row .bf-deal-content {
        padding: 1.5rem;
        border-right: none;
        border-bottom: 2px solid rgba(226, 232, 240, 0.5);
    }
    
    .bf-layout-row .bf-deal-footer-wrapper {
        padding: 1.5rem;
    }
    
    .bf-layout-row .bf-deal-footer {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .bf-layout-row .bf-deal-footer .bf-deal-btn {
        width: 100%;
        min-width: auto;
    }
    
    .bf-layout-row .bf-deal-footer .bf-deal-stats {
        width: 100%;
        justify-content: center;
    }
}

/* Category Sections - Sleek Design */
.bf-category-section {
    margin-bottom: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.bf-category-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bf-category-header {
    width: 100%;
    padding: 1.25rem 2rem;
    background: #f9fafb;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
}

.bf-category-header::before {
    display: none;
}

.bf-category-header-content {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    position: relative;
    z-index: 1;
}

.bf-category-icon {
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0.8;
}

.bf-category-name {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.bf-category-count {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    margin-left: auto;
}

/* Table layout - Professional Table with Headers */
.bf-deals-table-wrapper {
    overflow-x: auto;
    background: #ffffff;
    padding: 0;
}

.bf-deals-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    display: table !important;
    table-layout: auto;
}

.bf-deals-table thead {
    background: #f9fafb;
    color: #374151;
    display: table-header-group !important;
    border-bottom: 1px solid #e5e7eb;
}

.bf-deals-table thead th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    position: sticky;
    top: 0;
    z-index: 10;
    display: table-cell !important;
    background: #f9fafb;
}

.bf-deals-table tbody {
    display: table-row-group !important;
}

.bf-deals-table tbody tr {
    background: #ffffff;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
    display: table-row !important;
}

.bf-deals-table tbody tr:hover {
    background: #f9fafb;
}

.bf-deals-table tbody tr:last-child {
    border-bottom: none;
}

.bf-deals-table tbody td {
    padding: 1rem 1.25rem;
    vertical-align: middle;
    border-right: none;
    display: table-cell !important;
}

.bf-deals-table tbody td:last-child {
    border-right: none;
}

/* Table Column Styles */
.bf-table-col-number {
    width: 60px;
    min-width: 60px;
    text-align: center;
}

.bf-deal-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.bf-table-col-image {
    width: 80px;
    min-width: 80px;
    text-align: center;
}

.bf-deal-image-wrapper-table {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: visible;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bf-deal-image-wrapper-table .bf-deal-link {
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    height: 100%;
}

.bf-deal-image-table {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bf-badge-featured-small {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 5;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.bf-badge-verified-image {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.5);
    z-index: 10;
    font-weight: 700;
    border: 2px solid #ffffff;
}

.bf-table-col-title {
    min-width: 300px;
    max-width: 400px;
}

.bf-deal-title-wrapper-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bf-deal-title-table {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bf-deal-title-table a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
    min-width: 0;
}

.bf-deal-title-table a:hover {
    color: #111827;
    text-decoration: underline;
}

/* Inline badges in title */
.bf-badge-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.bf-badge-featured-inline {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

.bf-badge-hot-inline {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    animation: firePulse 2s ease-in-out infinite;
}

.bf-deal-meta-table {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.bf-deal-meta-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.bf-deal-category-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
}

.bf-category-icon-small {
    font-size: 0.9rem;
}

.bf-category-name-small {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bf-deal-brand-inline {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.bf-deal-expiry-inline {
    font-size: 0.75rem;
    color: #ef4444;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    margin-left: auto;
}

.bf-expiry-icon {
    font-size: 0.9rem;
}

.bf-expiry-text {
    white-space: nowrap;
}

.bf-table-col-price {
    width: 120px;
    min-width: 120px;
    text-align: center;
}

.bf-deal-pricing-table {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.bf-deal-price-current-table {
    font-size: 1.25rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.bf-deal-price-original-table {
    font-size: 0.8rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.bf-table-col-discount {
    width: 100px;
    min-width: 100px;
    text-align: center;
}

.bf-deal-discount-table {
    display: flex;
    justify-content: center;
}

.bf-discount-badge-table {
    font-size: 0.85rem;
    font-weight: 800;
    color: white;
    padding: 0.35rem 0.65rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-radius: 6px;
    display: inline-block;
}

.bf-no-discount {
    color: #94a3b8;
    font-size: 0.9rem;
}

.bf-table-col-coupon {
    width: 140px;
    min-width: 140px;
    text-align: center;
}

.bf-deal-coupon-table {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bf-deal-coupon-table:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    transform: scale(1.05);
}

.bf-coupon-code-table {
    font-size: 0.85rem;
    font-weight: 700;
    color: #78350f;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80px;
    flex: 1;
}

.bf-coupon-copy-table {
    font-size: 0.9rem;
    flex-shrink: 0;
}

.bf-no-coupon {
    color: #94a3b8;
    font-size: 0.9rem;
}

.bf-table-col-stats {
    width: 180px;
    min-width: 180px;
    text-align: center;
}

.bf-deal-stats-table {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bf-stat-item-table {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.65rem;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(102, 126, 234, 0.15);
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    transition: all 0.3s ease;
}

.bf-stat-item-table:hover {
    background: rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.bf-stat-item-table .bf-stat-icon {
    font-size: 0.9rem;
    display: inline-block;
}

.bf-stat-item-table .bf-stat-value {
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

/* Remove hot badge from stats - it's now in title/button */

.bf-table-col-action {
    width: 140px;
    min-width: 140px;
    text-align: center;
}

.bf-deal-btn-table {
    padding: 0.625rem 1.125rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    position: relative;
}

.bf-deal-btn-table:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6b3fa0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Button badges */
.bf-btn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.6875rem;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.bf-deal-btn-table.bf-btn-featured {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.bf-deal-btn-table.bf-btn-featured:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
}

.bf-deal-btn-table.bf-btn-verified {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.bf-deal-btn-table.bf-btn-verified:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

.bf-deal-btn-table.bf-btn-hot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.bf-deal-btn-table.bf-btn-hot:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6b3fa0 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.bf-btn-badge-hot {
    animation: firePulse 2s ease-in-out infinite;
}

/* Multiple badges on button */
.bf-deal-btn-table.bf-btn-featured.bf-btn-hot {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.bf-deal-btn-table.bf-btn-featured.bf-btn-hot:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
}

@media (max-width: 1400px) {
    .bf-deals-grid,
    .bf-layout-grid .bf-deals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .bf-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .bf-deals-grid,
    .bf-layout-grid .bf-deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bf-featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bf-layout-table .bf-deal-image-wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bf-deals-grid,
    .bf-layout-grid .bf-deals-grid {
        grid-template-columns: 1fr;
    }
    
    .bf-featured-grid {
        grid-template-columns: 1fr;
    }
    
    /* Table layout responsive */
    .bf-deals-table-wrapper {
        overflow-x: scroll;
    }
    
    .bf-deals-table {
        min-width: 1200px;
    }
    
    .bf-table-col-number {
        width: 50px;
        min-width: 50px;
    }
    
    .bf-table-col-image {
        width: 70px;
        min-width: 70px;
    }
    
    .bf-table-col-title {
        min-width: 200px;
        max-width: 250px;
    }
    
    .bf-table-col-price {
        width: 100px;
        min-width: 100px;
    }
    
    .bf-table-col-discount {
        width: 90px;
        min-width: 90px;
    }
    
    .bf-table-col-coupon {
        width: 120px;
        min-width: 120px;
    }
    
    .bf-table-col-stats {
        width: 160px;
        min-width: 160px;
    }
    
    .bf-table-col-action {
        width: 120px;
        min-width: 120px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Deal Card - Beautiful & Extraordinary Design */
.bf-deal-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ensure table rows don't inherit card styles */
.bf-deals-table tbody tr.bf-deal-card,
.bf-deals-table tbody tr.bf-deal-table-row {
    display: table-row !important;
    flex-direction: initial !important;
    border-radius: 0 !important;
    overflow: visible !important;
    box-shadow: none !important;
    border: none !important;
    height: auto !important;
    background: transparent !important;
    position: static !important;
}

/* Grid layout specific */
.bf-layout-grid .bf-deal-card {
    max-height: none; /* Allow grid cards to adjust height naturally */
}

.bf-deal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.bf-deal-image-wrapper {
    position: relative;
    padding-top: 55%; /* Adjusted from 50% for slightly taller images */
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    transition: all 0.3s ease;
}

.bf-deal-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.bf-deal-card:hover .bf-deal-image {
    transform: scale(1.05);
}

.bf-deal-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Badges - Small & Beautiful */
.bf-deal-badge {
    position: absolute;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    white-space: nowrap;
    width: auto;
    min-width: auto;
    max-width: none;
    display: inline-block;
}

/* Discount badge - Top Left */
.bf-badge-discount {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    top: 10px;
    left: 10px;
    right: auto;
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.4);
    white-space: nowrap;
    width: auto;
    min-width: auto;
}

/* Featured badge - Top Right */
.bf-badge-featured {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    top: 10px;
    right: 10px;
    box-shadow: 0 3px 12px rgba(251, 191, 36, 0.4);
}

/* Verified badge - Below Featured, or Top if Featured is missing */
.bf-badge-verified {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    top: 42px;
    right: 10px;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
}

/* When featured is missing, verified moves to top */
.bf-badge-verified.bf-badge-top {
    top: 10px;
}

/* Hot/Popular badge - Shows fire icon for popular deals */
.bf-badge-hot {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    right: 10px;
    box-shadow: 0 3px 12px rgba(249, 115, 22, 0.4);
    animation: firePulse 2s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 12px rgba(249, 115, 22, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(249, 115, 22, 0.6);
    }
}

.bf-deal-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}

.bf-deal-category {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 4px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.75rem;
}

.bf-deal-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.bf-deal-title a {
    color: #111827;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: visible;
    word-wrap: break-word;
}

.bf-deal-title a:hover {
    color: #667eea;
}

.bf-deal-brand {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.bf-deal-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 0.5rem;
}

.bf-deal-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.25rem 0;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 6px;
    border-left: 3px solid #10b981;
}

.bf-deal-price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: #10b981;
    line-height: 1;
}

.bf-deal-price-original {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.bf-deal-coupon {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px dashed #f59e0b;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
}

.bf-deal-coupon:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.bf-coupon-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
    white-space: nowrap;
}

.bf-coupon-code {
    font-size: 0.95rem;
    font-weight: 800;
    color: #92400e;
    font-family: 'Courier New', monospace;
    letter-spacing: 1.5px;
    padding: 0.2rem 0.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    flex-shrink: 1;
    min-width: 0;
}

.bf-coupon-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
    white-space: nowrap;
    flex-shrink: 0;
}

.bf-coupon-copy {
    font-size: 0.75rem;
    font-weight: 600;
    color: #92400e;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding-left: 0.5rem;
    border-left: 1px solid rgba(146, 64, 14, 0.2);
    transition: color 0.3s ease;
}

.bf-deal-coupon:hover .bf-coupon-copy {
    color: #78350f;
}

.bf-deal-coupon:active .bf-coupon-copy {
    color: #10b981;
}

.bf-deal-expiry-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #92400e;
    font-weight: 600;
    margin-left: auto;
    white-space: nowrap;
}

.bf-deal-expiry-inline .bf-expiry-icon {
    font-size: 0.85rem;
}

.bf-deal-expiry {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.25rem 0;
    font-weight: 500;
}

.bf-expiry-icon {
    font-size: 1rem;
}

.bf-deal-footer {
    display: flex;
    /* flex-direction: row; */
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.bf-deal-footer .bf-deal-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
}

.bf-deal-footer .bf-deal-stats {
    flex: 1 1 calc(33.333% - 8px);
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.65rem;
    overflow: hidden;
}

/* Row layout footer - same as default */
/* Row layout footer styles are defined above in the main row layout section */

/* Table layout footer */
.bf-layout-table .bf-deal-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.bf-layout-table .bf-deal-footer .bf-deal-btn,
.bf-layout-table .bf-deal-footer .bf-deal-stats {
    flex: 1;
    max-width: 50%;
}

.bf-deal-btn {
    padding: 0.7rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.bf-deal-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6b3fa0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.bf-deal-stats {
    display: flex !important;
    visibility: visible !important;
    gap: 0.5rem;
    font-size: 0.65rem;
    color: #6b7280;
    margin: 0;
    padding: 0;
    border: none;
    align-items: center;
    flex-wrap: nowrap;
    opacity: 1 !important;
    justify-content: flex-end;
}

.bf-stat-item {
    display: flex !important;
    visibility: visible !important;
    align-items: center;
    gap: 0.2rem;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    opacity: 1 !important;
}

/* Hot stat item styling */
.bf-stat-item.bf-stat-hot {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.bf-stat-item.bf-stat-hot .bf-stat-icon {
    animation: fireFlicker 1.5s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-2deg);
    }
    75% {
        transform: scale(1.1) rotate(2deg);
    }
}

.bf-stat-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.bf-stat-icon {
    font-size: 0.7rem;
    opacity: 1 !important;
    flex-shrink: 0;
    display: inline-block !important;
    visibility: visible !important;
}

.bf-stat-value {
    font-weight: 600;
    color: #374151;
    font-size: 0.65rem;
    line-height: 1;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Submit Deal CTA Footer */
.bf-submit-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin-top: 4rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
}

.bf-submit-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.bf-submit-cta-content {
    position: relative;
    z-index: 1;
}

.bf-submit-cta h3 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bf-submit-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
}

.bf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bf-btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.bf-btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #5568d3;
}

.bf-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* No Deals */
.bf-no-deals {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.bf-no-deals-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.bf-no-deals h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #374151;
}

.bf-no-deals p {
    color: #6b7280;
    font-size: 1rem;
}

/* Loading Overlay */
.bf-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 16px;
}

.bf-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.bf-loading-overlay p {
    color: #667eea;
    font-weight: 600;
    font-size: 1rem;
}

/* Pagination */
.bf-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.bf-pagination .page-numbers {
    padding: 0.6rem 1rem;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 44px;
    text-align: center;
}

.bf-pagination .page-numbers:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.bf-pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.bf-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}

.bf-pagination .page-numbers.dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
}

/* Submit Deal Page */
.submit-deal-page {
    padding: 2rem 0;
    background: #f8f9fa;
    min-height: 100vh;
}

.submit-deal-back-nav {
    margin-bottom: 2rem;
}

.bf-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: #374151;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.bf-back-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.bf-back-btn:hover .bf-back-icon {
    transform: translateX(-4px);
}

.submit-deal-hero {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.submit-deal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.submit-deal-icon {
    font-size: 3rem;
}

.submit-deal-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

.submit-deal-guidelines {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.guidelines-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guidelines-grid {
        grid-template-columns: 1fr;
    }
}

.guideline-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.guideline-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.guideline-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.guideline-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.guideline-item p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

.deal-form-wrapper {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* Submit Deal Page - Recent Deals Section */
.submit-deal-recent {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.recent-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
    text-align: center;
}

.recent-deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.no-recent-deals {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-size: 1.1rem;
}

/* Submit Deal Page - FAQ Section */
.submit-deal-faq {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

.faq-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #111827;
    text-align: center;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: #d1d5db;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
}

.faq-answer {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

/* Approve Deals Page */
.approve-deals-page {
    padding: 2rem 0;
}

.approve-deals-header {
    margin-bottom: 2rem;
}

.approve-deals-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.approve-deals-icon {
    font-size: 2.5rem;
}

.approve-deals-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
}

.approve-deals-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 600;
}

.stat-pending .stat-number { color: #f59e0b; }
.stat-approved .stat-number { color: #10b981; }
.stat-rejected .stat-number { color: #ef4444; }
.stat-total .stat-number { color: #667eea; }

.approve-deals-filters {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: #374151;
}

.filter-group select,
.filter-group input[type="search"] {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.filter-group button {
    padding: 0.5rem 1.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.bulk-actions-form {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bulk-actions-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.bulk-action-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
}

.bulk-action-btn {
    padding: 0.5rem 1.5rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.approve-deals-table-wrapper {
    overflow-x: auto;
}

.approve-deals-table {
    width: 100%;
    border-collapse: collapse;
}

.approve-deals-table th {
    background: #f9fafb;
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #e5e7eb;
}

.approve-deals-table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.approve-deals-table tr:hover {
    background: #f9fafb;
}

.deal-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-approved {
    background: #d1fae5;
    color: #065f46;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-approve {
    background: #10b981;
    color: white;
}

.action-reject {
    background: #ef4444;
    color: white;
}

.action-view {
    background: #667eea;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #6b7280;
}

/* Duplicate badge styles removed - using main styles above */

/* Duplicate coupon styles removed - using main styles above */

/* Responsive */
@media (max-width: 768px) {
    .bf-hero-title {
        font-size: 24px;
    }

    .bf-hero-icon {
        font-size: 24px;
    }

    .bf-hero-subtitle {
        font-size: 18px;
    }

    .bf-stat-number {
        font-size: 24px;
    }

    .bf-stat-item {
        padding: 8px;
    }

    .bf-submit-deal-btn {
        padding: 12px;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .bf-deals-grid,
    .bf-featured-grid {
        grid-template-columns: 1fr;
    }
    
    .bf-filters-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bf-filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .approve-deals-table-wrapper {
        overflow-x: scroll;
    }
    
    .approve-deals-table {
        min-width: 800px;
    }
    
    .bf-header-btn-wrapper {
        margin-right: 0.5rem;
    }
    
    .bf-header-btn {
        padding: 0.5rem 0.9rem;
        font-size: 0.8rem;
    }
    
    .bf-header-btn-text {
        display: none;
    }
    
    .bf-header-btn-badge {
        display: none;
    }

    .bf-featured-section {
        padding: 16px;
        border-radius: 12px;
    }

    .bf-deal-content {
        padding: 16px;
    }

    .bf-section-title {
        font-size: 24px;
    }

    .bf-deal-price-current {
        font-size: 18px;
    }

    .bf-hero-section {
        padding: 20px;
        border-radius: 12px;
    }

    .bf-filters-section {
        padding: 16px;
    }

    .bf-search-bar {
        min-width: 100%;
    }

    .bf-deal-card {
        border-radius: 10px;
    }

    .bf-submit-cta {
        padding: 20px;
        border-radius: 12px;
    }

    .bf-submit-cta h3 {
        font-size: 24px;
    }

    .bf-submit-cta p {
        font-size: 18px;
    }

    .bf-btn-large {
        padding: 12px 24px;
        border-radius: 6px;
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .bf-search-form {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .bf-search-form {
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        gap: 0.65rem;
    }

    .bf-search-btn {
        width: 100%;
        justify-content: center;
    }

    .bf-filter-group {
        width: 100%;
    }

    .bf-filter-select,
    .bf-filter-input {
        width: 100%;
    }
}

