/* ============================================================
   Startpage redesign — hero, popular categories, guides
   ============================================================ */

/* ---- Hero ------------------------------------------------- */

.start-hero {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    margin-bottom: 3rem;
    background: #000;
}

.start-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0) 85%);
    z-index: 1;
}

.start-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.start-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 900px;
    padding: 3rem 2rem 2.5rem;
    text-align: left;
    color: #fff;
}

.start-hero__title {
    font-size: 2.75rem;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.start-hero__subtitle {
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 400;
    max-width: 640px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.start-hero__search {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.start-hero__search-title {
    font-size: 1.4rem;
    margin: 0 0 1rem;
    color: #111;
}

.start-hero__search-input-wrapper {
    display: flex;
    align-items: stretch;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.15s ease;
}

.start-hero__search-input-wrapper:focus-within {
    border-color: #111;
}

.start-hero__search-input {
    flex: 1;
    border: 0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
}

.start-hero__search-input::placeholder {
    color: #888;
}

.start-hero__search-button {
    border: 0;
    background: #111;
    color: #fff;
    padding: 0 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.start-hero__search-button:hover {
    background: #333;
}

.start-hero__search-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.start-hero__search-tagline {
    font-size: 0.9rem;
    color: #666;
    margin: 0.85rem 0 1.25rem;
}

.start-hero__chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.start-hero__chip {
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #222;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.start-hero__chip:hover {
    background: #f0f0f0;
    border-color: #999;
}

.start-hero__chip:focus-visible {
    outline: 2px solid #111;
    outline-offset: 2px;
}

/* ---- Populära kategorier ---------------------------------- */

.start-categories {
    margin: 0 0 3.5rem;
}

.start-categories__heading {
    font-size: 1.75rem;
    margin: 0 0 1.75rem;
    color: #111;
}

.start-categories__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.start-categories__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    padding: 1.75rem 0.75rem;
    color: inherit;
    text-decoration: none;
}

.start-categories__card:hover {
    background: #f0f0f0;
}

.start-categories__icon {
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.start-categories__icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.start-categories__icon-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
}

.start-categories__title {
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
    color: #111;
}

.start-categories__desc {
    font-size: 0.875rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

/* ---- Guider ----------------------------------------------- */

.start-guides {
    margin: 0 0 4rem;
}

.start-guides__heading {
    font-size: 1.75rem;
    margin: 0 0 1.75rem;
    color: #111;
}

.start-guides__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.start-guides__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    overflow: hidden;
}

.start-guides__card:hover {
    background: #f0f0f0;
}

.start-guides__image-link {
    display: block;
    position: relative;
}

.start-guides__image {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #eee;
}

.start-guides__image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.start-guides__body {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.start-guides__title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0;
}

.start-guides__title a {
    color: #111;
    text-decoration: none;
}

.start-guides__title a:hover {
    text-decoration: underline;
}

.start-guides__subtitle {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.start-guides__actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.start-guides__read,
.start-guides__product {
    color: var(--brand-orange, #f58220);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
}

.start-guides__read:hover,
.start-guides__product:hover {
    text-decoration: underline;
}

.start-guides__see-all {
    display: inline-block;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 2px solid currentColor;
    padding-bottom: 2px;
}

.start-guides__see-all:hover {
    color: var(--brand-orange, #f58220);
}

.start-guides__see-all:focus-visible {
    outline: 2px solid #111;
    outline-offset: 4px;
}

/* ---- Responsive ------------------------------------------- */

@media (max-width: 1023px) {
    .start-categories__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .start-categories__icon {
        width: 72px;
        height: 72px;
    }

    .start-guides__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .start-categories,
    .start-guides {
        padding: 0 0.5rem;
    }

    .start-hero {
        min-height: 380px;
    }

    .start-hero__title {
        font-size: 1.85rem;
    }

    .start-hero__subtitle {
        font-size: 0.95rem;
    }

    .start-hero__content {
        padding: 2rem 1rem 1.75rem;
    }

    .start-hero__search-title {
        font-size: 1.2rem;
    }

    .start-categories__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .start-categories__card {
        padding: 1.25rem 0.75rem;
    }

    .start-categories__icon {
        width: 64px;
        height: 64px;
    }

    .start-guides__grid {
        grid-template-columns: 1fr;
    }

    .start-categories__heading,
    .start-guides__heading {
        font-size: 1.4rem;
    }
}
