/* Content Area */
        .content-wrapper {
            padding: 2.25rem;
        }

        .page-header {
            margin-bottom: 2.25rem;
        }

        .page-title {
            font-size: 2.5rem;
            font-weight: 900;
            color: var(--text-dark);
            margin-bottom: 0.625rem;
            letter-spacing: -1px;
        }

        .page-subtitle {
            color: var(--text);
            font-size: 1.05rem;
            font-weight: 400;
        }

        .search-section {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            border: 2px solid var(--border);
            margin-bottom: 2.25rem;
        }

        .product-display {
            background: white;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
            border: 2px solid var(--border);
            padding: 2rem;
            margin-bottom: 2.25rem;
            display: none;
        }

        .product-display.active {
            display: block;
        }

        .product-image {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 1.5rem;
        }

        .product-info h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .product-info p {
            color: #666;
            line-height: 1.6;
        }

        .offers-section {
            margin-top: 2rem;
        }

        /* Modern Offer Cards */
        .offer-card {
            border: 2px solid var(--border);
            border-radius: 16px;
            padding: 0;
            margin-bottom: 1.5rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: white;
            overflow: hidden;
            position: relative;
        }

        .offer-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .offer-card:hover {
            border-color: var(--primary);
            box-shadow: 0 8px 24px rgba(220, 38, 38, 0.12);
            transform: translateY(-4px);
        }

        .offer-card:hover::before {
            opacity: 1;
        }

        .offer-card.editing {
            border-color: var(--warning);
            background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
            box-shadow: 0 8px 24px rgba(245, 158, 11, 0.15);
        }

        .offer-card.editing::before {
            background: linear-gradient(90deg, var(--warning) 0%, #fbbf24 100%);
            opacity: 1;
        }

        .offer-card-header {
            padding: 1.5rem;
            border-bottom: 2px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
        }

        .offer-card-body {
            padding: 1.5rem;
        }

        .retailer-info {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .retailer-logo {
            max-width: 100px;
            max-height: 45px;
            object-fit: contain;
            border-radius: 8px;
            padding: 0.5rem;
            background: white;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .retailer-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0;
        }

        .btn-edit-modern {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            border: none;
            padding: 0.625rem 1.25rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
        }

        .btn-edit-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
            background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
        }

        .btn-edit-modern i {
            font-size: 0.85rem;
        }

        .price-display-modern {
            display: flex;
            align-items: baseline;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .price-main {
            font-size: 2rem;
            font-weight: 800;
            color: var(--primary);
            letter-spacing: -0.5px;
        }

        .price-change-modern {
            font-size: 0.875rem;
            padding: 0.375rem 0.75rem;
            border-radius: 8px;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.375rem;
        }

        .price-change-modern.increase {
            background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
            color: #dc2626;
        }

        .price-change-modern.decrease {
            background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
            color: #16a34a;
        }

        .price-change-modern i {
            font-size: 0.75rem;
        }

        .price-meta {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid var(--border);
        }

        .price-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: var(--text);
        }

        .price-meta-item i {
            color: var(--primary);
            width: 16px;
        }

        .btn-view-retailer {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 0.625rem 1.25rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            text-decoration: none;
            margin-top: 1rem;
        }

        .btn-view-retailer:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
        }

        /* Modern Edit Form */
        .edit-form-modern {
            margin-top: 1.5rem;
            padding: 1.5rem;
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            border-radius: 12px;
            border: 2px solid var(--border);
        }

        .edit-form-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid var(--border);
        }

        .edit-form-header i {
            color: var(--warning);
            font-size: 1.25rem;
        }

        .edit-form-header h6 {
            margin: 0;
            font-weight: 700;
            color: var(--text-dark);
            font-size: 1rem;
        }

        .price-input-group-modern {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.25rem;
            margin-bottom: 1.25rem;
        }

        .form-group-modern {
            display: flex;
            flex-direction: column;
        }

        .form-group-modern label {
            font-weight: 600;
            font-size: 0.875rem;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .form-group-modern label i {
            color: var(--primary);
            font-size: 0.75rem;
        }

        .form-control-modern {
            padding: 0.875rem 1rem;
            border: 2px solid var(--border);
            border-radius: 10px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            background: white;
            font-weight: 500;
        }

        .form-control-modern:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
        }

        .form-actions-modern {
            display: flex;
            gap: 0.75rem;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 2px solid var(--border);
        }

        .btn-update-modern {
            background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
            color: white;
            border: none;
            padding: 0.875rem 2rem;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
        }

        .btn-update-modern:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
            background: linear-gradient(135deg, #15803d 0%, #16a34a 100%);
        }

        .btn-cancel-modern {
            background: white;
            color: var(--text);
            border: 2px solid var(--border);
            padding: 0.875rem 2rem;
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .btn-cancel-modern:hover {
            background: var(--light);
            border-color: var(--text);
            color: var(--text-dark);
        }

        /* Modern Specs Section */
        .specs-section-modern {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 2px solid var(--border);
        }

        .specs-section-modern h5 {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
        }

        .specs-section-modern h5 i {
            color: var(--primary);
            font-size: 1.25rem;
        }

        .specs-grid-modern {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }

        .spec-item-modern {
            background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
            padding: 1.25rem;
            border-radius: 12px;
            border: 2px solid var(--border);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .spec-item-modern::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 4px;
            height: 100%;
            background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%);
            transition: width 0.3s ease;
        }

        .spec-item-modern:hover {
            border-color: var(--primary);
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.1);
            transform: translateY(-2px);
        }

        .spec-item-modern:hover::before {
            width: 100%;
            opacity: 0.1;
        }

        .spec-label-modern {
            font-weight: 700;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: var(--primary);
            margin-bottom: 0.625rem;
            display: block;
        }

        .spec-value-modern {
            font-size: 0.95rem;
            color: var(--text-dark);
            font-weight: 500;
            line-height: 1.5;
        }

        .loading-spinner {
            display: none;
            text-align: center;
            padding: 2rem;
        }

        .loading-spinner.active {
            display: block;
        }

        .alert-custom {
            border-radius: 10px;
            border: none;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        .price-history-section {
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 2px solid #e0e0e0;
        }

        .history-item {
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 5px;
            margin-bottom: 0.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .history-item .date {
            color: #666;
            font-size: 0.9rem;
        }

        .history-item .price-info {
            text-align: right;
        }

        .empty-state {
            text-align: center;
            padding: 3rem;
            color: #999;
        }

        .empty-state i {
            font-size: 4rem;
            margin-bottom: 1rem;
            opacity: 0.3;
        }

        .search-suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            max-height: 400px;
            overflow-y: auto;
            z-index: 1000;
            margin-top: 2px;
        }

        .suggestion-item {
            padding: 12px 15px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
            transition: background-color 0.2s;
        }

        .suggestion-item:hover {
            background-color: #f8f9fa;
        }

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

        .suggestion-item.active {
            background-color: #fef2f2;
        }

        .suggestion-model {
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 4px;
        }

        .suggestion-details {
            font-size: 0.85rem;
            color: #666;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .suggestion-details span {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .suggestion-details i {
            font-size: 0.75rem;
        }

        .suggestion-price {
            color: var(--success-color);
            font-weight: 600;
        }

        /* Breadcrumb Styles */
        .breadcrumb-container {
            background: white;
            padding: 1rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid var(--border);
        }

        .breadcrumb {
            background: transparent;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            align-items: center;
        }

        .breadcrumb-item {
            display: flex;
            align-items: center;
        }

        .breadcrumb-item+.breadcrumb-item::before {
            content: "/";
            display: inline-block;
            padding: 0 0.5rem;
            color: var(--text);
            font-weight: 400;
        }

        .breadcrumb-item a {
            color: var(--primary);
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .breadcrumb-item a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }

        .breadcrumb-item.active {
            color: var(--text-dark);
            font-weight: 500;
        }

        .breadcrumb-item.active a {
            color: var(--text-dark);
            pointer-events: none;
            cursor: default;
        }

        /* Search Input Wrapper Styling (matching admin-product-management.html) */
        .search-wrapper {
            position: relative;
            margin-top: 0.5rem;
        }

        .search-input-group {
            display: flex;
            background: white;
            border-radius: 25px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            transition: all 0.3s ease;
            border: 2px solid #e9ecef;
        }

        .search-input-group:focus-within {
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            border-color: #dc3545;
            transform: translateY(-1px);
        }

        .search-input {
            flex: 1;
            padding: 0.75rem 1.25rem;
            border: none;
            outline: none;
            font-size: 0.95rem;
            background: transparent;
            color: #333;
            font-weight: 500;
        }

        .search-input:focus {
            border: none;
            box-shadow: none;
            outline: none;
        }

        .search-input::placeholder {
            color: #6c757d;
            font-weight: 400;
        }

        .search-btn {
            background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
            border: none;
            padding: 0.75rem 1.5rem;
            color: white;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 60px;
        }

        .search-btn:hover {
            background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
            transform: scale(1.05);
        }

        .search-btn:active {
            transform: scale(1);
        }

        /* Sidebar Toggle States */
        .sidebar.hidden {
            transform: translateX(-100%);
            left: -100%;
        }

        .main-content.sidebar-hidden {
            margin-left: 0;
        }

        /* Desktop toggle support */
        @media (min-width: 1025px) {
            .sidebar.hidden {
                transform: translateX(-100%);
                left: -100%;
            }

            .main-content.sidebar-hidden {
                margin-left: 0;
            }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .sidebar {
                left: -100%;
            }

            .sidebar.active {
                left: 0;
            }

            .main-content {
                margin-left: 0;
            }

            .menu-toggle {
                display: block;
            }

        }

        @media (max-width: 768px) {

            .content-wrapper {
                padding: 1.5rem;
            }
        }

        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: transparent;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .sidebar-overlay.active {
            display: block;
            opacity: 1;
        }