.product-checker-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: calc(100vh - 60px);
    padding: 30px 16px;
    max-width: 600px;
    margin: 0 auto;
    gap: 24px;
    width: 100%;
}

.search-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checker-input {
    width: 100%;
    padding: 16px 20px;
    background-color: #1a1a1a;
    border: 2px solid #2d2d2d;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    outline: none;
    transition: border-color 0.2s, background-color 0.2s;
}

.checker-input:focus {
    border-color: #75a821;
    background-color: #202020;
}

.checker-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #75a821 0%, #5d8717 100%);
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s, filter 0.2s;
}

.checker-btn:hover {
    filter: brightness(1.1);
}

.checker-btn:active {
    transform: scale(0.98);
}

.results-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-results {
    color: #666666;
    text-align: center;
    padding: 40px 20px;
    font-size: 1.05rem;
    font-weight: 500;
}

.product-list-item {
    background-color: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.product-list-item:hover {
    background-color: #202020;
    border-color: #3d3d3d;
    transform: translateY(-2px);
}

.product-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.product-item-sub {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 500;
}

.product-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #75a821;
}

.product-details-view {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.back-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-btn:hover {
    background-color: rgba(117, 168, 33, 0.1);
    border-color: rgba(117, 168, 33, 0.3);
    color: #ffffff;
}

.back-btn:hover .material-icons {
    transform: translateX(-4px);
}

.back-btn .material-icons {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.product-details-flat {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-details-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 3px solid #75a821;
    padding-left: 16px;
}

.product-brand-text {
    color: #75a821;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.product-title-flat {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.product-details-list-flat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
}

@media (max-width: 480px) {
    .product-details-list-flat {
        grid-template-columns: 1fr;
    }
    .product-details-list-flat > div {
        grid-column: span 1 !important;
    }
}

.detail-item-flat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-header-flat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-icon-flat {
    font-size: 1.15rem;
    color: #8cc427;
    opacity: 0.85;
}

.detail-label-flat {
    color: #888888;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value-flat {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.price-val {
    color: #8cc427;
}

.highlight-ean {
    font-family: monospace;
    letter-spacing: 0.5px;
    color: #dddddd;
}
