:root {
    --modern-bg: #f8fafc;
    --modern-card-bg: rgba(255, 255, 255, 0.85);
    --modern-text: #0f172a;
    --modern-text-muted: #64748b;
    --modern-orange: #ea580c;
    --modern-orange-glow: rgba(234, 88, 12, 0.35);
    --modern-gradient-orange: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
    --modern-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --modern-border: #e2e8f0;
    --modern-radius-lg: 16px;
    --modern-radius-md: 10px;
    --modern-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --modern-shadow-glow: 0 8px 25px rgba(234, 88, 12, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.theme-modern-body {
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
    background-color: var(--modern-bg);
    color: var(--modern-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--modern-text);
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Header */
.modern-header {
    background: #0f172a;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 14px 20px;
}

.modern-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 8px rgba(234, 88, 12, 0.6));
}

.logo-text .highlight {
    color: #f97316;
}

/* Modern Search Box */
.modern-search-box {
    display: flex;
    align-items: center;
    flex-grow: 1;
    max-width: 580px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4px 6px 4px 18px;
    transition: all 0.3s ease;
}

.modern-search-box:focus-within {
    background: #ffffff;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.3);
}

.search-icon {
    font-size: 1rem;
    color: #94a3b8;
    margin-right: 10px;
}

.modern-search-box input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
}

.modern-search-box:focus-within input {
    color: #0f172a;
}

.search-btn {
    background: var(--modern-gradient-orange);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
    transition: transform 0.2s;
}

.search-btn:hover {
    transform: scale(1.04);
}

/* Header Actions */
.modern-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-ghost {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: 20px;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-glow {
    background: var(--modern-gradient-orange);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: var(--modern-shadow-glow);
}

.btn-glow:hover {
    transform: translateY(-2px);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
}

.user-link {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Subnav Category Chips */
.modern-subnav {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
}

.cat-pill-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
}

.cat-chip {
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

.cat-chip:hover {
    background: #f97316;
    color: #ffffff;
    border-color: #f97316;
}

/* Main Content Wrapper */
.modern-main-content {
    padding: 30px 20px;
}

/* Modern Card Glass Panel */
.modern-glass-card {
    background: #ffffff;
    border: 1px solid var(--modern-border);
    border-radius: var(--modern-radius-lg);
    box-shadow: var(--modern-shadow);
    padding: 30px;
}

/* Modern Product Detail Layout (Ultra Sleek) */
.product-showcase-container {
    display: grid;
    grid-template-columns: minmax(300px, 460px) 1fr;
    gap: 35px;
    margin-bottom: 40px;
    align-items: start;
}

/* Product Media Showcase */
.product-media-card {
    background: #ffffff;
    border: 1px solid var(--modern-border);
    border-radius: var(--modern-radius-lg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: var(--modern-shadow);
    max-width: 100%;
    overflow: hidden;
}

.live-badge-pulse {
    position: absolute;
    top: 18px;
    left: 18px;
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.4);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.media-hero-view {
    width: 100%;
    height: 380px;
    max-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 15px;
}

.media-hero-view img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.media-hero-view img:hover {
    transform: scale(1.05);
}

/* Auction Command Center (Right Column) */
.auction-command-card {
    background: #ffffff;
    border: 1px solid var(--modern-border);
    border-radius: var(--modern-radius-lg);
    padding: 35px;
    box-shadow: var(--modern-shadow);
    display: flex;
    flex-direction: column;
}

.product-meta-header {
    margin-bottom: 20px;
}

.category-tag-pill {
    background: #ffedd5;
    color: #c2410c;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-meta-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 12px 0 10px;
    line-height: 1.25;
}

.seller-trust-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #64748b;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--modern-border);
}

.seller-trust-badge .stars {
    color: #f59e0b;
    font-weight: 700;
}

/* Digital Countdown Clock */
.digital-clock-card {
    background: var(--modern-gradient-dark);
    color: #ffffff;
    border-radius: var(--modern-radius-md);
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.clock-label {
    font-size: 0.88rem;
    color: #94a3b8;
    font-weight: 500;
}

.clock-digits {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f97316;
    letter-spacing: 1px;
    font-family: monospace;
}

/* Price Pulse Box */
.price-pulse-box {
    margin-bottom: 20px;
}

.price-pulse-label {
    font-size: 0.88rem;
    color: #64748b;
    font-weight: 500;
}

.price-pulse-amount {
    font-size: 2.6rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
}

/* Bidding Controls */
.bidding-action-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bid-input-container {
    display: flex;
    gap: 10px;
}

.bid-input-modern {
    flex-grow: 1;
    padding: 14px 18px;
    border: 2px solid var(--modern-border);
    border-radius: var(--modern-radius-md);
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    outline: none;
    transition: border-color 0.2s;
}

.bid-input-modern:focus {
    border-color: #ea580c;
}

.btn-bid-submit {
    background: var(--modern-gradient-orange);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: var(--modern-radius-md);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--modern-shadow-glow);
    transition: transform 0.2s;
}

.btn-bid-submit:hover {
    transform: translateY(-2px);
}

/* Chips presets */
.chip-presets {
    display: flex;
    gap: 10px;
}

.chip-btn {
    flex: 1;
    background: #f8fafc;
    border: 1px solid var(--modern-border);
    color: #ea580c;
    font-weight: 700;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.chip-btn:hover {
    background: #ea580c;
    color: #ffffff;
    border-color: #ea580c;
}

/* Recent Activity Timeline */
.activity-timeline {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--modern-border);
}

.activity-timeline h4 {
    font-size: 0.92rem;
    color: #475569;
    margin-bottom: 12px;
}

.timeline-list {
    list-style: none;
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 0.9rem;
}

.timeline-user {
    font-weight: 600;
    color: #1e293b;
}

.timeline-price {
    font-weight: 700;
    color: #16a34a;
}

/* Lower Section Tabs */
.content-deck-card {
    background: #ffffff;
    border: 1px solid var(--modern-border);
    border-radius: var(--modern-radius-lg);
    box-shadow: var(--modern-shadow);
    padding: 35px;
}

.deck-tabs-nav {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid var(--modern-border);
    margin-bottom: 30px;
}

.deck-tab-link {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.deck-tab-link.active {
    color: #ea580c;
    border-bottom-color: #ea580c;
}

.deck-tab-pane {
    line-height: 1.7;
    font-size: 1.05rem;
    color: #334155;
}

/* Modern Footer */
.modern-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.92rem;
}

.theme-switcher-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-label {
    color: #e2e8f0;
    font-weight: 600;
}

.theme-opt {
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

.theme-opt.active {
    background: #ea580c;
    color: #ffffff;
    font-weight: 700;
    border-color: #ea580c;
}

/* Responsive Media Queries */
@media (max-width: 850px) {
    .product-showcase-container {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .modern-search-box {
        width: 100%;
        max-width: 100%;
    }

    .footer-flex {
        flex-direction: column;
        text-align: center;
    }
}

/* Hero Banner (Classic Graphic + Modern Theme) */
.hero-banner-container {
    position: relative;
    width: 100%;
    min-height: 220px;
    border-radius: var(--modern-radius-lg);
    overflow: hidden;
    margin: 10px 0 30px;
    background: #0f172a url('../img/hero_banner.jpg') center/cover no-repeat;
    box-shadow: 0 10px 30px -5px rgba(234, 88, 12, 0.25);
    display: flex;
    align-items: center;
}

.hero-banner-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.75) 45%, rgba(15, 23, 42, 0.15) 100%);
    z-index: 1;
}

.hero-banner-content {
    position: relative;
    z-index: 2;
    padding: 30px 40px;
    max-width: 680px;
    color: #ffffff;
}

.hero-badge {
    display: inline-block;
    background: var(--modern-gradient-orange);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.hero-banner-content h1 {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.hero-banner-content p {
    font-size: 1.1rem;
    color: #ffedd5;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}

/* Modern Home Page Grid & Cards */
.modern-section-header {
    margin: 30px 0 20px;
}

.modern-section-header h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
}

.modern-section-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.modern-card {
    background: #ffffff;
    border: 1px solid var(--modern-border);
    border-radius: var(--modern-radius-lg);
    overflow: hidden;
    box-shadow: var(--modern-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -10px rgba(234, 88, 12, 0.15);
    border-color: #fed7aa;
}

.card-image-box {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-image-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.modern-card:hover .card-image-box img {
    transform: scale(1.06);
}

.card-cat-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffedd5;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 15px;
    height: 2.7em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-title a {
    color: #0f172a;
}

.card-title a:hover {
    color: #ea580c;
}

.card-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 15px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.price-stack {
    display: flex;
    flex-direction: column;
}

.price-type {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.price-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.type-tag {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.tag-fixed {
    background: #e0f2fe;
    color: #0369a1;
}

.tag-auction {
    background: #ffedd5;
    color: #c2410c;
}

.btn-card-action {
    display: block;
    text-align: center;
    background: #f8fafc;
    border: 1px solid var(--modern-border);
    color: #ea580c;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-card-action:hover {
    background: var(--modern-gradient-orange);
    color: #ffffff;
    border-color: #ea580c;
}

/* Social Sharing Deck */
.social-sharing-deck {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--modern-border);
}

.share-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-wa { background: #25d366; color: #ffffff; }
.share-fb { background: #1877f2; color: #ffffff; }
.share-tw { background: #000000; color: #ffffff; }
.share-copy { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; }

/* Featured Products Ribbon & Card Styling */
.modern-card {
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}

.card-featured {
    border: 2px solid #f59e0b !important;
    box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.25) !important;
}

.featured-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(217, 119, 6, 0.95));
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.btn-featured-action {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

/* Admin Dashboard Submenus & Nav Tabs */
.admin-nav-tabs {
    display: flex;
    gap: 8px;
    background: #0f172a;
    border: 1px solid #334155;
    padding: 8px;
    border-radius: 12px;
    margin-bottom: 25px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.admin-tab-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-tab-btn:hover {
    color: #ffffff;
    background: #1e293b;
}

.admin-tab-btn.active {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.admin-tab-pane {
    display: none;
    animation: fadeIn 0.25s ease-in-out;
}

.admin-tab-pane.active {
    display: block;
}

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

/* AdServer Banner Styling */
.ad-server-banner {
    position: relative;
    border-radius: var(--modern-radius-md);
    overflow: hidden;
    margin: 25px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--modern-border);
    background: #0f172a;
}

.ad-server-banner img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ad-server-banner:hover img {
    transform: scale(1.015);
}

.ad-tag {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #cbd5e1;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 10;
}

/* In-Grid Sponsored Ad Card */
.card-ad-sponsored {
    border: 2px dashed #ea580c !important;
    background: linear-gradient(145deg, #ffffff 0%, #fff7ed 100%) !important;
}

.ad-sponsored-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ea580c;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Multi-Image Gallery Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.gallery-thumb {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    border: 2px solid var(--modern-border);
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.gallery-thumb:hover, .gallery-thumb.active {
    opacity: 1;
    border-color: #ea580c;
    transform: scale(1.05);
}

/* Sidebar Ad Container Fix */
.banner-sidebar {
    max-width: 100%;
    margin-top: 20px !important;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.banner-sidebar img {
    max-height: 250px;
    object-fit: cover;
}

/* PWA Install Banner */
.pwa-banner-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-bottom: 2px solid #ea580c;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 12px 18px;
    z-index: 9990;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.35);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 14px;
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .modern-search-box {
        max-width: 100%;
        width: 100%;
    }

    .modern-header-actions {
        justify-content: space-between;
        width: 100%;
        overflow-x: auto;
    }

    .subnav-scroll {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .subnav-chips {
        display: flex;
        gap: 8px;
    }

    /* Product Showcase Mobile Grid */
    .product-showcase-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .media-hero-view, #main-hero-img {
        max-height: 280px !important;
    }

    .modern-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .modern-card .card-body {
        padding: 12px !important;
    }

    .modern-card .card-title {
        font-size: 0.92rem !important;
    }

    .mobile-sticky-bar {
        display: flex !important;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .modern-product-grid {
        grid-template-columns: 1fr !important;
    }

    .bid-input-container {
        flex-direction: column;
    }

    .btn-bid-submit {
        width: 100%;
        text-align: center;
    }
}
