/* Auction List Page Styles */

.auction-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.auction-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 2.5rem 0;
    margin-bottom: 2rem;
}

.auction-header h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auction-header p {
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.auction-breadcrumb {
    margin-bottom: 1rem;
}

.auction-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.auction-breadcrumb a:hover {
    color: #fff;
}

.auction-breadcrumb span {
    color: rgba(255,255,255,0.5);
    margin: 0 0.5rem;
}

/* Filter Sidebar */
.auction-filter-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1.5rem;
    position: sticky;
    top: 1rem;
}

.auction-filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.auction-filter-section {
    margin-bottom: 1.5rem;
}

.auction-filter-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.auction-filter-section-title svg {
    margin-left: auto;
    transition: transform 0.2s;
}

.auction-filter-section-title.collapsed svg {
    transform: rotate(-90deg);
}

.auction-filter-option {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.9rem;
    color: #555;
}

.auction-filter-option:hover {
    background: #f5f5f5;
}

.auction-filter-option.active {
    background: #e8f4fd;
    color: #0066cc;
    font-weight: 500;
}

.auction-check-icon {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.auction-filter-option.active .auction-check-icon {
    background: #0066cc;
    border-color: #0066cc;
}

.auction-filter-option.active .auction-check-icon svg {
    display: block;
}

.auction-check-icon svg {
    display: none;
    width: 12px;
    height: 12px;
    fill: #fff;
}

/* Search Box */
.auction-search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.auction-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.auction-search-box input:focus {
    outline: none;
    border-color: #0066cc;
}

.auction-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Clear Filters Button */
.auction-clear-filters-btn {
    width: 100%;
    padding: 0.75rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.auction-clear-filters-btn:hover {
    background: #e9ecef;
    color: #333;
}

/* Results Header */
.auction-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.auction-results-count {
    font-size: 1rem;
    color: #666;
}

.auction-results-count strong {
    color: #1a1a2e;
}

.auction-sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auction-sort-dropdown label {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.auction-sort-dropdown select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
}

.auction-sort-dropdown select:focus {
    outline: none;
    border-color: #0066cc;
}

/* Active Filters */
.auction-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.auction-active-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    background: #e8f4fd;
    color: #0066cc;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.auction-active-filter-tag button {
    background: none;
    border: none;
    margin-left: 0.5rem;
    padding: 0;
    cursor: pointer;
    color: #0066cc;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.auction-active-filter-tag button:hover {
    opacity: 1;
}

/* Vehicle Grid */
.auction-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.auction-vehicle-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.auction-vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.auction-vehicle-card-image {
    position: relative;
    aspect-ratio: 4/3;
    background: #f5f5f5;
    overflow: hidden;
}

.auction-vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.auction-vehicle-card:hover .auction-vehicle-card-image img {
    transform: scale(1.05);
}

.auction-vehicle-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    background: #ff6b35;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
}

.auction-vehicle-card-code {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.75rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
}

.auction-vehicle-card-body {
    padding: 1.25rem;
}

.auction-vehicle-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.auction-vehicle-card-title a {
    color: inherit;
    text-decoration: none;
}

.auction-vehicle-card-title a:hover {
    color: #0066cc;
}

.auction-vehicle-card-ref {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
}

/* Auction Bid Info */
.auction-bid-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.auction-current-bid {
    display: flex;
    flex-direction: column;
}

.auction-bid-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auction-bid-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.auction-timer {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ff6b35;
    font-size: 0.85rem;
    font-weight: 600;
}

.auction-timer svg {
    color: #ff6b35;
}

.auction-time-remaining {
    white-space: nowrap;
}

.auction-timer.ended {
    color: #dc3545;
}

.auction-timer.ended svg {
    color: #dc3545;
}

.auction-vehicle-card-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.auction-vehicle-spec {
    font-size: 0.85rem;
}

.auction-vehicle-spec-label {
    color: #888;
}

.auction-vehicle-spec-value {
    color: #333;
    font-weight: 500;
}

.auction-vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.auction-vehicle-location {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

.auction-vehicle-location svg {
    margin-right: 0.35rem;
    color: #999;
}

.auction-bid-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.auction-bid-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8820f 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.auction-bid-btn svg {
    margin-left: 0.5rem;
}

/* Empty State */
.auction-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.auction-empty-state svg {
    width: 80px;
    height: 80px;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.auction-empty-state h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.auction-empty-state p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Loading Indicator */
.auction-loading-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.auction-loading-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #f0f0f0;
    border-top-color: #0066cc;
    border-radius: 50%;
    animation: auction-spin 0.8s linear infinite;
}

.auction-loading-fade {
    opacity: 0.5;
    pointer-events: none;
}

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

/* Mobile Filter Toggle */
.auction-mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    margin-bottom: 1rem;
}

.auction-mobile-filter-toggle svg {
    margin-right: 0.5rem;
}

.auction-close-btn {
    display: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .auction-mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .auction-filter-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        border-radius: 0;
        overflow-y: auto;
        padding-top: 4rem;
    }

    .auction-filter-sidebar.show {
        display: block;
    }

    .auction-close-btn {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        background: #f0f0f0;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

    .auction-vehicle-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media (max-width: 575px) {
    .auction-header h1 {
        font-size: 1.5rem;
    }

    .auction-vehicle-grid {
        grid-template-columns: 1fr;
    }

    .auction-results-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ========================================
   AUCTION DETAIL PAGE STYLES
   ======================================== */

/* Badges */
.auction-detail-badge {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.auction-badge-live {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.auction-badge-stc {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    background: #ffc107;
    color: #333;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: help;
}

/* Timer */
.auction-detail-timer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 10px;
    padding: 0.875rem;
    margin-bottom: 1rem;
    text-align: center;
}

.auction-timer-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.auction-timer-display {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
}

.auction-timer-unit {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 0.6rem;
    border-radius: 6px;
    min-width: 50px;
}

.auction-timer-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.auction-timer-value span {
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin-left: 1px;
}

/* Bid Info */
.auction-detail-bid-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.auction-bid-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.auction-bid-row:last-child {
    border-bottom: none;
}

.auction-bid-row--highlight {
    background: #e8f4fd;
    margin: 0.35rem -0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border-bottom: none;
}

.auction-bid-row .auction-bid-label {
    font-size: 0.8rem;
    color: #666;
}

.auction-bid-row .auction-bid-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.auction-bid-value--current {
    font-size: 1rem;
    color: #0066cc;
}

/* Bid Actions */
.auction-detail-actions {
    margin-bottom: 1rem;
}

.auction-highest-bidder-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-weight: 500;
    font-size: 0.8rem;
}

.auction-highest-bidder-notice svg {
    color: #28a745;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.auction-detail-bid-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.auction-detail-bid-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #e8820f 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(255, 107, 53, 0.4);
}

.auction-detail-bid-btn--secondary {
    background: #6c757d;
    box-shadow: 0 3px 10px rgba(108, 117, 125, 0.3);
}

.auction-detail-bid-btn--secondary:hover {
    background: #5a6268;
    box-shadow: 0 5px 14px rgba(108, 117, 125, 0.4);
}

.auction-detail-bid-btn--disabled {
    background: #28a745;
    cursor: default;
    box-shadow: none;
}

.auction-detail-bid-btn--disabled:hover {
    background: #28a745;
    transform: none;
    box-shadow: none;
}

/* Bid History */
.auction-detail-history {
    margin-bottom: 1.5rem;
}

.auction-history-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.auction-history-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.auction-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.auction-history-item:last-child {
    border-bottom: none;
}

.auction-history-item:first-child {
    background: #e8f4fd;
}

.auction-history-user {
    font-size: 0.9rem;
    color: #666;
}

.auction-history-amount {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

/* Share */
.auction-detail-share {
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.auction-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #1877f2;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.auction-share-btn:hover {
    background: #166fe5;
    color: #fff;
    text-decoration: none;
}

/* Responsive for detail page */
@media (max-width: 767px) {
    .auction-timer-unit {
        min-width: 60px;
        padding: 0.5rem 0.75rem;
    }

    .auction-timer-value {
        font-size: 1.25rem;
    }

    .auction-detail-bid-btn {
        font-size: 1rem;
        padding: 0.875rem 1.25rem;
    }
}

/* ========================================
   AUCTION DETAIL PAGE - ENHANCED STYLES
   ======================================== */

/* Page Container */
.auction-detail-page {
    background: #f8f9fa;
}

/* Compact Breadcrumb Bar */
.auction-detail-breadcrumb-bar {
    background: #f8f9fa;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e9ecef;
}

.auction-compact-breadcrumb {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.auction-compact-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.auction-compact-breadcrumb a:hover {
    color: #ff6b35;
}

.auction-compact-breadcrumb span {
    color: #999;
    margin: 0 0.4rem;
}

.auction-compact-breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* Auction detail page block-split spacing */
.auction-detail-page .block-split {
    padding-top: 1rem;
}

/* Remove the block-space extra spacing on auction detail page */
.auction-detail-page .block-space--layout--divider-nl {
    height: 0;
    padding: 0;
    margin: 0;
}

.auction-detail-page .block-space--layout--before-footer {
    height: 1.5rem;
}

/* Ensure container uses full width properly */
.auction-detail-page .block-split__row.no-gutters {
    margin: 0;
}

.auction-detail-page .block-split__item.block-split__item-content {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* Override col-auto that restricts width */
.auction-detail-page .block-split__item.col-auto {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Ensure product container takes full width */
.auction-detail-page .product.product--layout--full {
    width: 100%;
}

/* Product Header Hidden */
.auction-product-header {
    display: none;
}

/* Hide the card background elements that create spacing issues */
.auction-detail-page .product__card--one,
.auction-detail-page .product__card--two {
    display: none !important;
}

/* Reset all inherited grid/flex from base product layout */
.auction-detail-page .product--layout--full .product__body {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
}

/* Reset base padding that causes spacing issues */
.auction-detail-page .product__gallery {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1rem 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.auction-detail-page .product__main.auction-product-main {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    order: 2;
}

.auction-detail-page .product__info {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    order: 3;
}

.auction-detail-page .auction-specs-wrapper {
    order: 4;
}

/* Two-column layout for gallery and auction info on desktop */
@media (min-width: 992px) {
    .auction-detail-page .product--layout--full .product__body {
        display: grid !important;
        flex-direction: unset !important;
        grid-template-columns: minmax(0, 1fr) 340px;
        grid-template-rows: auto auto auto;
        gap: 1.5rem;
        align-items: start;
    }

    .auction-detail-page .product__gallery {
        grid-column: 1;
        grid-row: 1;
        margin-bottom: 0 !important;
        /* Ensure gallery content aligns left and info stays right */
        justify-self: stretch;
    }

    .auction-detail-page .product__info {
        grid-column: 2;
        grid-row: 1 / 3;
        position: sticky;
        top: 1rem;
        align-self: start;
        justify-self: stretch;
        margin-left: 0 !important;
    }

    .auction-detail-page .product__main.auction-product-main {
        grid-column: 1;
        grid-row: 2;
    }

    .auction-detail-page .auction-specs-wrapper {
        grid-column: 1 / -1;
        grid-row: 3;
    }
}

/* Larger desktop screens - wider info column */
@media (min-width: 1200px) {
    .auction-detail-page .product--layout--full .product__body {
        grid-template-columns: minmax(0, 1fr) 380px;
    }
}

/* Gallery container styling */
.auction-detail-page .product-gallery.auction-gallery-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auction-detail-page .product-gallery__featured {
    max-height: 400px !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #f5f5f5 !important;
}

.auction-detail-page .product-gallery__featured img,
.auction-detail-page .product-gallery__featured .owl-carousel img,
.auction-detail-page .product-gallery__featured .owl-item img {
    width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: contain !important;
}

.auction-detail-page .product-gallery__featured .owl-carousel,
.auction-detail-page .product-gallery__featured .owl-stage-outer,
.auction-detail-page .product-gallery__featured .owl-stage,
.auction-detail-page .product-gallery__featured .owl-item {
    max-height: 400px !important;
}

.auction-detail-page .product-gallery__featured .owl-item a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-height: 400px !important;
    background: #f5f5f5 !important;
}

.auction-detail-page .product-gallery__thumbnails {
    margin-top: 0.75rem !important;
}

.auction-detail-page .product-gallery__thumbnails .owl-item img,
.auction-detail-page .product-gallery__thumbnails img {
    width: 100% !important;
    height: 60px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
}

/* Mobile specific adjustments */
@media (max-width: 991px) {
    .auction-detail-page .block-split {
        padding-top: 1rem;
    }

    .auction-detail-page .product-gallery.auction-gallery-wrapper {
        max-width: 100% !important;
    }

    .auction-detail-page .product-gallery__featured {
        max-height: 300px !important;
    }

    .auction-detail-page .product-gallery__featured img,
    .auction-detail-page .product-gallery__featured .owl-carousel img,
    .auction-detail-page .product-gallery__featured .owl-item img {
        max-height: 300px !important;
    }

    .auction-detail-page .product-gallery__featured .owl-carousel,
    .auction-detail-page .product-gallery__featured .owl-stage-outer,
    .auction-detail-page .product-gallery__featured .owl-stage,
    .auction-detail-page .product-gallery__featured .owl-item,
    .auction-detail-page .product-gallery__featured .owl-item a {
        max-height: 300px !important;
    }
}

/* Gallery Enhancements */
.auction-gallery-wrapper {
    position: relative;
}

.auction-image-counter {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
}

.auction-image-counter svg {
    opacity: 0.8;
}

.product-gallery__thumbnails-item {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
}

.product-gallery__thumbnails-item:hover,
.product-gallery__thumbnails-item.active {
    opacity: 1;
    border-color: #ff6b35;
}

/* Quick Features Section */
.auction-quick-features {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auction-section-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.auction-section-title svg {
    color: #ff6b35;
    width: 16px;
    height: 16px;
}

.auction-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.auction-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    transition: background 0.2s;
}

.auction-feature-item:hover {
    background: #f0f0f0;
}

.auction-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f4fd;
    border-radius: 6px;
    color: #0066cc;
    flex-shrink: 0;
}

.auction-feature-icon svg {
    width: 16px;
    height: 16px;
}

.auction-feature-icon.success {
    background: #d4edda;
    color: #28a745;
}

.auction-feature-icon.warning {
    background: #fff3cd;
    color: #856404;
}

.auction-feature-text {
    display: flex;
    flex-direction: column;
}

.auction-feature-text .label {
    font-size: 0.65rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.auction-feature-text .value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

.auction-feature-text .value.text-success {
    color: #28a745;
}

.auction-feature-text .value.text-warning {
    color: #856404;
}

/* Specifications Section */
.auction-specs-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.auction-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.auction-spec-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.875rem;
}

.auction-spec-card-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.auction-spec-card-title svg {
    color: #ff6b35;
    width: 16px;
    height: 16px;
}

.auction-spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.auction-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0;
    border-bottom: 1px solid #e9ecef;
}

.auction-spec-row:last-child {
    border-bottom: none;
}

.auction-spec-label {
    font-size: 0.8rem;
    color: #666;
}

.auction-spec-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.auction-spec-status.yes {
    color: #28a745;
    background: #d4edda;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

.auction-spec-status.no {
    color: #dc3545;
    background: #f8d7da;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

.auction-spec-status.warning {
    color: #856404;
    background: #fff3cd;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-size: 0.75rem;
}

.auction-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #e8f4fd;
    border-radius: 6px;
    color: #0066cc;
    font-size: 0.8rem;
    line-height: 1.4;
}

.auction-disclaimer svg {
    flex-shrink: 0;
    margin-top: 1px;
    width: 14px;
    height: 14px;
}

/* Responsive Styles for Detail Page */
@media (max-width: 991px) {
    .auction-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .auction-specs-grid {
        grid-template-columns: 1fr;
    }

    /* Better spacing on tablet */
    .auction-quick-features {
        padding: 1rem;
    }

    .auction-specs-wrapper {
        padding: 1rem;
    }

    .auction-detail-page .product__info-body {
        padding: 1rem;
    }
}

@media (max-width: 767px) {
    /* Stack everything on mobile */
    .auction-detail-page .product--layout--full .product__body {
        gap: 0.75rem;
    }

    .auction-detail-page .product-gallery.auction-gallery-wrapper {
        padding: 0.75rem;
        border-radius: 10px;
    }

    .auction-quick-features,
    .auction-specs-wrapper {
        padding: 0.875rem;
        border-radius: 10px;
    }

    .auction-detail-page .product__info-body {
        padding: 0.875rem;
    }

    .auction-detail-timer {
        padding: 0.75rem;
    }

    .auction-detail-bid-info {
        padding: 0.625rem;
    }
}

@media (max-width: 575px) {
    .auction-detail-title {
        font-size: 1.35rem;
    }

    .auction-features-grid {
        grid-template-columns: 1fr;
    }

    .auction-feature-item {
        padding: 0.6rem;
    }

    .auction-feature-icon {
        width: 36px;
        height: 36px;
    }

    .auction-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    /* Smaller text on mobile */
    .auction-section-title {
        font-size: 0.9rem;
    }

    .auction-spec-card-title {
        font-size: 0.85rem;
    }

    .auction-detail-bid-btn {
        font-size: 0.9rem;
        padding: 0.65rem 0.875rem;
    }
}

/* Autoplay Progress Bar for Carousel */
.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 1rem;
}

.owl-carousel .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    background: #ddd;
    border-radius: 50%;
    transition: all 0.3s;
}

.owl-carousel .owl-dot.active {
    background: #ff6b35;
    transform: scale(1.2);
}

/* Carousel Navigation */
.product-gallery__featured .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    pointer-events: none;
}

.product-gallery__featured .owl-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s;
    font-size: 1.25rem;
    color: #333;
}

.product-gallery__featured .owl-nav button:hover {
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.product-gallery__featured .owl-nav button.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Enhanced Auction Info Card */
.auction-detail-page .product__info-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.auction-detail-page .product__info-body {
    padding: 1.25rem;
}

/* Remove default margins/padding from product__info on auction detail page */
.auction-detail-page .product__info {
    display: block !important;
    flex-direction: unset !important;
}

/* Auction Info Title */
.auction-info-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 0.65rem 0;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.3;
}

@media (max-width: 575px) {
    .auction-info-title {
        font-size: 1rem;
    }
}

/* Bid Currency Symbol */
.bid-currency-symbol {
    font-weight: 700;
    font-size: 1.1em;
    margin-right: 0.25rem;
}
