/* Greenhamster - Vergleichsportal CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    border-bottom: 2px solid #27ae60;
    padding: 1rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header h1 {
    font-size: 1.8rem;
    margin: 0;
}

header h1 a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 700;
}

header nav {
    display: flex;
    gap: 1.5rem;
}

header nav a {
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.5rem 0;
    position: relative;
}

header nav a:hover,
header nav a.active {
    color: #27ae60;
}

header nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #27ae60;
}

/* Main Content */
main {
    min-height: 60vh;
    padding: 1rem 0 3rem;
}

/* Home Section - Hero */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1e8449 0%, #27ae60 50%, #229954 100%);
    color: white;
    padding: 4rem 2rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.4);
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Hintergrundbild aktivieren - Bild in assets/images/hero-bg.jpg ablegen */
/* .hero {
    background-image: url('/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
} */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 132, 73, 0.85) 0%, rgba(39, 174, 96, 0.85) 50%, rgba(34, 153, 84, 0.85) 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/><circle cx="200" cy="150" r="100" fill="rgba(255,255,255,0.05)"/><circle cx="1000" cy="450" r="150" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 1;
    z-index: 1;
}

/* Falls ein Hintergrundbild verwendet wird */
.hero.has-image .hero-background {
    background: linear-gradient(135deg, rgba(30, 132, 73, 0.75) 0%, rgba(39, 174, 96, 0.75) 50%, rgba(34, 153, 84, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.98;
    margin: 0 0 2rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.view-all-link {
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.view-all-link:hover {
    color: #229954;
    text-decoration: underline;
}

.categories-section,
.top-deals-section {
    margin-bottom: 3rem;
}

/* Search Section */
.search-section {
    margin: 0 0 2.5rem 0;
}

.search-form {
    display: flex;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.search-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.search-btn {
    padding: 0.875rem 2rem;
    white-space: nowrap;
    font-size: 1rem;
}

/* Search Results */
.search-results {
    margin-top: 1rem;
}

.search-header {
    margin-bottom: 2rem;
}

.search-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.search-query {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.search-query strong {
    color: #27ae60;
    font-weight: 600;
}

.result-count {
    color: #666;
    font-size: 0.95rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 2px solid transparent;
}

.result-card:hover {
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.15);
    transform: translateY(-4px);
    border-color: #27ae60;
}

.result-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-header h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.result-header h3 a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.result-header h3 a:hover {
    color: #27ae60;
}

.result-category {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    width: fit-content;
}

.result-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.result-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    margin: 0;
}

.offer-count {
    color: #666;
    font-size: 0.9rem;
}

.no-results {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    color: #666;
}

.no-results p {
    margin-bottom: 1rem;
}

/* Category Grid - Kompakt */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin: 1rem 0;
}

.category-card {
    background: #fff;
    padding: 1rem 0.75rem;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    text-align: center;
    border: 2px solid #f0f0f0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.15);
    border-color: #27ae60;
    background: linear-gradient(135deg, #ffffff 0%, #f8fff9 100%);
}

.category-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(39, 174, 96, 0.25);
}

.category-card:hover .category-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.35);
}

.category-card h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.category-arrow {
    display: none;
}

/* Deals Grid */
.deals-grid, .deals-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.deal-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border-left: 4px solid #27ae60;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deal-card:hover {
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.15);
    transform: translateY(-4px);
    border-left-width: 6px;
}

.deal-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.deal-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.deal-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.deal-card h3 a:hover {
    color: #27ae60;
}

.deal-category {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    width: fit-content;
}

.deal-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.deal-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #27ae60;
    margin: 0;
    line-height: 1;
}

.shop-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #27ae60;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    width: fit-content;
}

.deal-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Breadcrumb */
.breadcrumb {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #27ae60;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
}

/* Product Page */
.product-header {
    margin-bottom: 2rem;
}

.product-header h1 {
    font-size: 2.2rem;
    margin: 0.5rem 0;
    color: #1a1a1a;
    font-weight: 700;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.brand-label {
    color: #666;
    font-size: 0.9rem;
}

.brand-name {
    color: #27ae60;
    font-weight: 600;
    font-size: 1rem;
}

.category-header h1 {
    font-size: 2.2rem;
    margin: 0.5rem 0;
    color: #1a1a1a;
    font-weight: 700;
}

.category-count,
.deals-count,
.offers-count {
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

.deals-header {
    margin-bottom: 2rem;
}

.deals-header h1 {
    font-size: 2.2rem;
    margin: 0.5rem 0;
    color: #1a1a1a;
    font-weight: 700;
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 2px solid transparent;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.15);
    transform: translateY(-4px);
    border-color: #27ae60;
}

.product-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card h3 {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.product-card h3 a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.product-card h3 a:hover {
    color: #27ae60;
}

.product-brand-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    width: fit-content;
}

.product-price-section {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
}

.product-card .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    margin: 0;
}

.no-offers-text {
    color: #999;
    font-size: 0.9rem;
    margin: 0;
}

.btn-outline {
    background: transparent;
    border: 2px solid #27ae60;
    color: #27ae60;
}

.btn-outline:hover {
    background: #27ae60;
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn:hover {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #229954 0%, #1e8449 100%);
    box-shadow: 0 6px 16px rgba(39, 174, 96, 0.5);
}

/* Product Detail */
.product h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.product .brand {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.product .description {
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Offers Section */
.offers-section {
    margin-top: 2rem;
}

.offers-container {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.no-offers,
.no-products,
.no-deals {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    color: #666;
}

.offers-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.offers-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #27ae60;
}

.offers-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offers-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.offers-table tbody tr {
    transition: background 0.2s;
}

.offers-table tbody tr:hover {
    background: #f8f9fa;
}

.offers-table tbody tr.best-price {
    background: linear-gradient(90deg, #e8f5e9 0%, #fff 10%);
    border-left: 4px solid #27ae60;
}

.offers-table tbody tr:last-child td {
    border-bottom: none;
}

.shop-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.best-price-badge {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.price-cell {
    font-weight: 700;
}

.offers-table .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #27ae60;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.shipping-cell {
    color: #666;
    font-size: 0.9rem;
}

.offers-table .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Filters */
.filters-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.filters-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #27ae60;
    position: relative;
}

.filters-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #27ae60, #229954);
    border-radius: 2px;
}

.filters-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-header h3::before {
    content: '🔍';
    font-size: 1.3rem;
}

.filters-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.filters-form::after {
    content: '';
    width: 100%;
    order: 999;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    width: 100%;
    max-width: 220px;
    flex: 0 0 auto;
}

.filter-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    color: #1a1a1a;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2327ae60' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
    cursor: pointer;
}

.filter-group input:hover,
.filter-group select:hover {
    border-color: #27ae60;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.15);
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.15), 0 4px 12px rgba(39, 174, 96, 0.2);
    transform: translateY(-1px);
}

.filter-group input::placeholder {
    color: #999;
    font-weight: 400;
}

.filters-form .btn {
    order: 999;
    margin-top: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 220px;
}

.filters-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.filters-form .btn:active {
    transform: translateY(0);
}

/* Responsive Filter */
@media (max-width: 768px) {
    .filters-card {
        padding: 1.5rem;
    }
    
    .filters-form {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .filter-group {
        max-width: 100%;
        width: 100%;
    }
    
    .filters-form .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Products Grid */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

/* Category & Deals Pages */
.categories-section,
.top-deals-section,
.products-section,
.deals-section {
    margin-bottom: 3rem;
}

/* Error Pages */
.error-page {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.error-page h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e74c3c;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    color: #ccc;
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 4rem;
    font-size: 0.9rem;
    border-top: 3px solid #27ae60;
}

footer p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }

    header nav {
        display: flex;
        gap: 1rem;
    }

    header nav a {
        margin: 0;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .filters form {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .deals-grid,
    .deals-list,
    .products {
        grid-template-columns: 1fr;
    }

    .offers-table {
        font-size: 0.85rem;
    }

    .offers-table th,
    .offers-table td {
        padding: 0.75rem 0.5rem;
    }

    .offers-table .price {
        font-size: 1.2rem;
    }

    .hero {
        padding: 2.5rem 1.5rem;
        min-height: 220px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-feature {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .product-header h1,
    .category-header h1,
    .deals-header h1 {
        font-size: 1.6rem;
    }

    .filters-form {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .search-form {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }
}
