
        :root {
            --primary-color: #4a6bff;
            --secondary-color: #6c757d;
            --success-color: #28a745;
            --danger-color: #dc3545;
            --warning-color: #ffc107;
            --info-color: #17a2b8;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --border-radius: 8px;
            --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            font-family: 'Inter', sans-serif;
            color: #333;
            background-color: #f5f7fa;
            line-height: 1.6;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            color: var(--dark-color);
        }

        a {
            text-decoration: none;
            color: var(--primary-color);
            transition: var(--transition);
        }

        a:hover {
            color: #3a56d4;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        /* Spinner */
        .spinner-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--primary-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Auction Container */
        .auction-container {
            max-width: 100%;
            width: 100%;
            margin: 0 auto;
            padding: 10px;
            box-sizing: border-box;
        }

        .auction-breadcrumb {
            margin-bottom: 15px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            white-space: nowrap;
            padding-bottom: 5px;
        }

        .auction-breadcrumb .breadcrumb {
            background-color: transparent;
            padding: 0;
            display: inline-block;
            min-width: 100%;
        }

        .auction-breadcrumb .breadcrumb-item {
            display: inline-block;
        }

        .auction-breadcrumb .breadcrumb-item a {
            color: var(--secondary-color);
        }

        .auction-breadcrumb .breadcrumb-item.active {
            color: var(--primary-color);
        }

        .auction-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 20px;
            width: 100%;
        }

        @media (min-width: 992px) {
            .auction-layout {
                grid-template-columns: 1fr 1fr;
            }
        }

        /* Gallery Section */
        .gallery-section {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .main-image-container {
            position: relative;
            width: 100%; /* Takes parent width */
            max-width: 600px; /* Prevents container from stretching beyond this */
            margin: 0 auto; /* Centers the container */
            overflow: hidden; /* Ensures image doesn't overflow */
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            aspect-ratio: 1/1; /* Forces a square ratio (adjust as needed: 16/9, 4/3, etc.) */
        }
        .main-image-container img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Shrinks image to fit (no stretching) */
            display: block; /* Removes extra space below image */
        }

        .main-image {
            width: 100%;
            height: auto;
            max-height: 60vh;
            object-fit: contain;
            display: block;
        }

        .image-actions {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            gap: 8px;
        }

        .image-action-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
        }

        .image-action-btn:hover {
            background-color: var(--primary-color);
            transform: scale(1.1);
        }

        .thumbnail-scroller {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 8px;
            width: 100%;
            scrollbar-width: thin;
        }

        .thumbnail-wrapper {
            min-width: 70px;
            height: 70px;
            border-radius: var(--border-radius);
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: var(--transition);
            flex-shrink: 0;
        }

        .thumbnail-wrapper:hover {
            border-color: var(--primary-color);
        }

        .thumbnail-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Auction Details */
        .auction-details {
            width: 100%;
            max-width: 100%;
            padding: 15px;
            margin: 0;
            box-sizing: border-box;
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            overflow: visible;
        }

        .auction-header {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            width: 100%;
            max-width: 100%;
        }

        .auction-title {
            font-size: clamp(20px, 5vw, 28px);
            margin-bottom: 10px;
            color: var(--dark-color);
            word-break: break-word;
            line-height: 1.3;
        }

        .auction-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }

        .meta-badge {
            background-color: #f0f2f5;
            padding: 4px 10px;
            border-radius: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }

        .meta-badge i {
            font-size: 10px;
        }

        .condition-new {
            background-color: #e6f7ee;
            color: #28a745;
        }

        .condition-used {
            background-color: #fff8e6;
            color: #ff9500;
        }

        .condition-refurbished {
            background-color: #e6f3ff;
            color: #007aff;
        }

        /* Auction Stats */
        .auction-stats {
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            width: 100%;
        }

        .stat-item {
            text-align: center;
            flex: 1;
        }

        .stat-value {
            font-size: clamp(16px, 4vw, 20px);
            font-weight: 700;
            color: var(--primary-color);
        }

        .stat-label {
            font-size: clamp(10px, 3vw, 12px);
            color: var(--secondary-color);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Price Section */
        .price-section {
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            width: 100%;
        }

        .current-price {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 8px;
            flex-wrap: wrap;
        }

        .price-label {
            font-size: clamp(14px, 3.5vw, 16px);
            color: var(--secondary-color);
        }

        .price-amount {
            font-size: clamp(20px, 6vw, 28px);
            font-weight: 700;
            color: var(--primary-color);
        }

        .reserve-notice {
            font-size: clamp(12px, 3vw, 14px);
            color: var(--danger-color);
            background-color: #fef2f2;
            padding: 3px 8px;
            border-radius: 4px;
        }

        .next-bid {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .bid-label {
            font-size: clamp(12px, 3.5vw, 14px);
            color: var(--secondary-color);
        }

        .bid-amount {
            font-size: clamp(16px, 4vw, 18px);
            font-weight: 600;
            color: var(--dark-color);
        }

        /* Countdown Section */
        .countdown-section {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            width: 100%;
        }

        .countdown-timer {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 5px;
            margin-bottom: 12px;
        }

        .timer-segment {
            text-align: center;
        }

        .timer-value {
            display: block;
            font-size: clamp(14px, 4vw, 18px);
            font-weight: 700;
            color: var(--primary-color);
            background-color: #f0f2f5;
            padding: 6px;
            border-radius: var(--border-radius);
        }

        .timer-label {
            display: block;
            font-size: clamp(8px, 2.5vw, 10px);
            color: var(--secondary-color);
            text-transform: uppercase;
            margin-top: 4px;
            letter-spacing: 0.5px;
        }

        .countdown-status {
            text-align: center;
        }

        .status-badge {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: clamp(12px, 3vw, 13px);
            font-weight: 500;
        }

        .status-badge.active {
            background-color: #e6f7ee;
            color: #28a745;
        }

        .status-badge.ended {
            background-color: #fef2f2;
            color: #dc3545;
        }

        /* Bid Section */
        .bid-section {
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
            width: 100%;
        }

        .bid-form {
            margin-bottom: 15px;
            width: 100%;
        }

        .bid-input-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 8px;
            width: 100%;
        }

        @media (min-width: 400px) {
            .bid-input-group {
                flex-direction: row;
                align-items: center;
            }
        }

        .input-prefix {
            font-size: 16px;
            font-weight: 600;
            color: var(--dark-color);
            display: none;
        }

        @media (min-width: 400px) {
            .input-prefix {
                display: inline-block;
            }
        }

        .bid-input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: var(--border-radius);
            font-size: 16px;
            transition: var(--transition);
            box-sizing: border-box;
        }

        .bid-input:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.2);
        }

        .bid-button {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: var(--border-radius);
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: var(--transition);
            width: 100%;
            box-sizing: border-box;
        }

        @media (min-width: 400px) {
            .bid-button {
                width: auto;
            }
        }

        .bid-button:hover {
            background-color: #3a56d4;
            transform: translateY(-2px);
        }

        .bid-button:disabled {
            background-color: var(--secondary-color);
            cursor: not-allowed;
            transform: none;
        }

        .bid-button.ended {
            background-color: var(--danger-color);
            width: 100%;
            justify-content: center;
        }

        .btn-text {
            display: inline-block;
        }

        .btn-icon {
            display: inline-block;
        }

        .bid-hint {
            font-size: clamp(12px, 3vw, 13px);
            color: var(--secondary-color);
            text-align: center;
        }

        .user-balance {
            background-color: #f8f9fa;
            padding: 12px 15px;
            border-radius: var(--border-radius);
            margin-top: 15px;
            width: 100%;
        }

        .balance-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
        }

        .balance-label {
            font-size: clamp(12px, 3vw, 14px);
            color: var(--secondary-color);
        }

        .balance-amount {
            font-size: clamp(14px, 3.5vw, 16px);
            font-weight: 600;
            color: var(--dark-color);
        }

        .balance-warning {
            font-size: clamp(11px, 3vw, 13px);
            color: var(--danger-color);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .reserve-warning {
            font-size: clamp(11px, 3vw, 13px);
            color: var(--warning-color);
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 5px;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            flex-direction: column;
            width: 100%;
        }

        @media (min-width: 400px) {
            .action-buttons {
                flex-direction: row;
            }
        }

        .watchlist-button {
            background-color: white;
            border: 1px solid #ddd;
            padding: 10px;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            width: 100%;
            text-align: center;
        }

        @media (min-width: 400px) {
            .watchlist-button {
                width: auto;
                flex: 1;
            }
        }

        .watchlist-button:hover {
            border-color: var(--primary-color);
        }

        .watchlist-button.active {
            background-color: #fef2f2;
            border-color: var(--danger-color);
        }

        .button-content {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .watchlist-icon {
            color: var(--danger-color);
        }

        .watchlist-text {
            font-size: clamp(12px, 3vw, 14px);
            font-weight: 500;
        }

        .watchlist-spinner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            display: none;
            color: var(--primary-color);
        }

        .share-button {
            background-color: white;
            border: 1px solid #ddd;
            padding: 10px;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
        }

        @media (min-width: 400px) {
            .share-button {
                width: 50px;
            }
        }

        .share-button:hover {
            border-color: var(--primary-color);
        }

        .action-icon {
            display: inline-block;
        }

        .action-text {
            display: none;
        }

        @media (max-width: 399px) {
            .action-text {
                display: inline-block;
            }
        }

        .share-menu {
            position: absolute;
            right: 0;
            bottom: 100%;
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 10px;
            display: none;
            z-index: 10;
            margin-bottom: 10px;
        }

        .share-menu::after {
            content: '';
            position: absolute;
            top: 100%;
            right: 15px;
            border-width: 8px;
            border-style: solid;
            border-color: white transparent transparent transparent;
        }

        .share-option {
            display: inline-block;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            color: white;
            text-align: center;
            line-height: 36px;
            margin: 0 3px;
            transition: var(--transition);
        }

        .share-option:hover {
            transform: translateY(-3px);
        }

        .facebook {
            background-color: #3b5998;
        }

        .twitter {
            background-color: #1da1f2;
        }

        .whatsapp {
            background-color: #25d366;
        }

        .email {
            background-color: var(--secondary-color);
        }

        /* Details Tabs */
        .details-tabs {
            background-color: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            margin-bottom: 30px;
            width: 100%;
            overflow: hidden;
        }

        .nav-tabs {
            border-bottom: 1px solid #eee;
            padding: 0 15px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            white-space: nowrap;
            display: flex;
            flex-wrap: nowrap;
        }

        .nav-tabs .nav-link {
            border: none;
            color: var(--secondary-color);
            font-weight: 500;
            padding: 12px 15px;
            position: relative;
            white-space: nowrap;
            font-size: clamp(12px, 3vw, 14px);
        }

        .nav-tabs .nav-link:hover {
            color: var(--primary-color);
        }

        .nav-tabs .nav-link.active {
            color: var(--primary-color);
            background-color: transparent;
        }

        .nav-tabs .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: var(--primary-color);
        }

        .tab-content {
            padding: 15px;
        }

        .description-content h3 {
            margin-bottom: 15px;
            font-size: clamp(18px, 4vw, 22px);
        }

        .description-text {
            line-height: 1.8;
            font-size: clamp(14px, 3vw, 16px);
        }

        .specs-content h3 {
            margin-bottom: 15px;
            font-size: clamp(18px, 4vw, 22px);
        }

        .specs-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }

        @media (min-width: 400px) {
            .specs-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }

        .spec-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .spec-label {
            color: var(--secondary-color);
            font-size: clamp(12px, 3vw, 14px);
        }

        .spec-value {
            font-weight: 500;
            font-size: clamp(12px, 3vw, 14px);
        }

        .bids-content h3 {
            margin-bottom: 15px;
            font-size: clamp(18px, 4vw, 22px);
        }

        .bid-history {
            max-height: 400px;
            overflow-y: auto;
        }

        .bid-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f0f0f0;
            flex-wrap: wrap;
            gap: 8px;
        }

        .bid-item:last-child {
            border-bottom: none;
        }

        .winning-bid {
            background-color: #f8f9fa;
            border-radius: var(--border-radius);
            padding: 12px 15px;
        }

        .bid-amount {
            font-weight: 600;
            color: var(--primary-color);
            min-width: 80px;
            text-align: right;
            font-size: clamp(14px, 3vw, 16px);
        }

        .bidder-info {
            flex: 1;
            padding: 0 10px;
            min-width: 150px;
        }

        .bidder-name {
            font-weight: 500;
            font-size: clamp(12px, 3vw, 14px);
        }

        .winning-badge {
            font-size: clamp(10px, 2.5vw, 12px);
            background-color: #e6f7ee;
            color: #28a745;
            padding: 2px 8px;
            border-radius: 10px;
            margin-left: 8px;
        }

        .bid-time {
            font-size: clamp(11px, 2.8vw, 13px);
            color: var(--secondary-color);
            min-width: 120px;
            text-align: right;
        }

        .no-bids {
            text-align: center;
            padding: 30px 0;
            color: var(--secondary-color);
        }

        .no-bids i {
            font-size: 40px;
            margin-bottom: 15px;
            color: #ddd;
        }

        .shipping-content h3 {
            margin-bottom: 15px;
            font-size: clamp(18px, 4vw, 22px);
        }

        .shipping-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }

        @media (min-width: 400px) {
            .shipping-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }

        .shipping-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .shipping-label {
            color: var(--secondary-color);
            font-size: clamp(12px, 3vw, 14px);
        }

        .shipping-value {
            font-weight: 500;
            font-size: clamp(12px, 3vw, 14px);
        }

        /* Similar Items */
        .similar-items-section {
            margin-bottom: 30px;
            width: 100%;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .section-header h2 {
            font-size: clamp(18px, 4vw, 24px);
        }

        .view-all {
            font-size: clamp(12px, 3vw, 14px);
            color: var(--primary-color);
        }

        .similar-items-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        @media (min-width: 600px) {
            .similar-items-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }

        .similar-item {
            background-color: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
        }

        .similar-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .item-link {
            display: block;
            color: inherit;
        }

        .item-image {
            position: relative;
            height: 150px;
            overflow: hidden;
        }

        @media (min-width: 600px) {
            .item-image {
                height: 180px;
            }
        }

        .item-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .similar-item:hover .item-image img {
            transform: scale(1.05);
        }

        .item-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            font-size: 11px;
            padding: 2px 8px;
            border-radius: 10px;
        }

        .item-details {
            padding: 12px;
        }

        .item-title {
            font-size: clamp(12px, 3vw, 16px);
            margin-bottom: 6px;
            font-weight: 600;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 40px;
        }

        .item-price {
            font-size: clamp(14px, 3.5vw, 18px);
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 6px;
        }

        .item-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            font-size: 11px;
            color: var(--secondary-color);
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        /* Footer */
        .auction-footer {
            background-color: var(--dark-color);
            color: white;
            padding: 40px 0 0;
            width: 100%;
        }

        .footer-container {
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            padding: 0 15px;
            box-sizing: border-box;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
            margin-bottom: 30px;
        }

        @media (min-width: 600px) {
            .footer-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            }
        }

        .footer-col {
            margin-bottom: 20px;
        }

        .footer-logo {
            height: 35px;
            margin-bottom: 15px;
            max-width: 100%;
        }

        .footer-about {
            font-size: 14px;
            color: #aaa;
            margin-bottom: 20px;
            line-height: 1.7;
        }

        .social-links {
            display: flex;
            gap: 10px;
        }

        .social-link {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .social-link:hover {
            background-color: var(--primary-color);
            color: white;
            transform: translateY(-3px);
        }

        .footer-title {
            font-size: 18px;
            margin-bottom: 15px;
            position: relative;
            padding-bottom: 8px;
        }

        .footer-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #aaa;
            font-size: 14px;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .footer-contact {
            list-style: none;
        }

        .footer-contact li {
            margin-bottom: 15px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 14px;
            color: #aaa;
        }

        .footer-contact i {
            margin-top: 3px;
            color: var(--primary-color);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding: 15px 0;
            text-align: center;
        }

        .copyright {
            font-size: 14px;
            color: #aaa;
            margin-bottom: 8px;
        }

        .developer {
            font-size: 13px;
            color: #777;
        }

        .developer a {
            color: #aaa;
        }

        /* Modals */
        .modal-content {
            border: none;
            border-radius: var(--border-radius);
            overflow: hidden;
            max-width: 95vw;
            margin: 0 auto;
        }

        .modal-header {
            border-bottom: none;
            padding: 15px;
        }

        .modal-title {
            font-weight: 700;
            font-size: clamp(16px, 4vw, 20px);
        }

        .modal-body {
            padding: 15px;
        }

        .modal-footer {
            border-top: none;
            padding: 15px;
        }

        .btn-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background-size: 60%;
            opacity: 0.7;
            transition: var(--transition);
        }

        .btn-close:hover {
            opacity: 1;
        }

        .zoomed-image {
            width: 100%;
            height: auto;
            max-height: 80vh;
            object-fit: contain;
        }

        /* Toast */
        .toast {
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            border: none;
            max-width: 95vw;
            width: auto;
            margin: 10px;
        }

        .toast-header {
            border-bottom: none;
        }

        /* Ultra-small devices (phones under 350px) */
        @media (max-width: 349px) {
            .auction-title {
                font-size: 18px;
            }

            .price-amount {
                font-size: 18px;
            }

            .timer-value {
                font-size: 12px;
            }

            .timer-label {
                font-size: 7px;
            }

            .bid-input,
            .bid-button {
                padding: 8px 10px;
                font-size: 14px;
            }

            .similar-items-grid {
                grid-template-columns: 1fr;
            }

            .thumbnail-wrapper {
                min-width: 50px;
                height: 50px;
            }

            .action-buttons {
                gap: 6px;
            }

            .watchlist-text {
                font-size: 11px;
            }
        }
