body {
    background-color: #f8f9fa;
}

.main-header .navbar-brand {
    letter-spacing: 0.01em;
}

.category-card,
.product-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.product-thumb {
    width: 110px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb--barcode {
    width: 150px;
    height: 90px;
}

.product-thumb__placeholder {
    border: 1px dashed #d0d5dd;
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-thumb__barcode {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 1px solid #d0d5dd;
    border-radius: 0.5rem;
    padding: 4px;
    background: #fff;
}

.product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-photo__barcode {
    max-height: 190px;
    object-fit: contain;
}

.search-form {
    max-width: 480px;
}

.search-suggest {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    z-index: 10;
    margin-top: 0.5rem;
    padding: 0.25rem;
}

.suggest-button {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.suggest-button:hover,
.suggest-button.is-active {
    background: #f1f5f9;
}

.suggest-button__name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
    font-weight: 600;
}

.suggest-button__code {
    flex-shrink: 0;
    color: #6b7280;
    font-size: 0.85rem;
    text-align: right;
}

.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    background: rgba(16, 24, 40, 0.95);
    color: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    display: none;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    z-index: 1000;
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner__text {
    font-size: 0.9rem;
}

.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
}

.text-content ul {
    padding-left: 1.2rem;
}

.product-meta li {
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .cookie-banner {
        left: auto;
        right: 2rem;
        max-width: 420px;
    }
}
