/* ============================================================
   Showroom – Företagskatalog
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap');

:root {
    --sr-accent:       #59807c;
    --sr-accent-dark:  #3f5f5c;
    --sr-accent-light: #eaf2f1;
    --sr-text:         #111827;
    --sr-muted:        #6b7280;
    --sr-border:       #e5e7eb;
    --sr-bg:           #f8fafa;
    --sr-white:        #ffffff;
    --sr-radius:       14px;
    --sr-radius-sm:    8px;
    --sr-shadow:       0 1px 4px rgba(0,0,0,.07), 0 4px 12px rgba(0,0,0,.05);
    --sr-shadow-hover: 0 8px 28px rgba(0,0,0,.13);
}

body .sr-profile-wrap,
body .showroom-wrapper,
body .showroom-archive-wrap,
body .showroom-single-wrap,
body .sr-reviews-section,
body .showroom-card,
body .showroom-archive-header,
body .showroom-dropdown-filter,
body .sr-card,
body .sr-section,
body .sr-hero-inner,
body .showroom-card-name,
body .showroom-card-cta,
body .showroom-archive-title,
body .showroom-archive-desc,
body .showroom-archive-badge,
body .showroom-filter-select,
body .showroom-filter-reset,
body .sr-cta,
body .sr-cta-secondary {
    font-family: 'Sora', sans-serif;
}

.showroom-wrapper,
.showroom-archive-wrap,
.showroom-single-wrap,
body .sr-profile-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}
body .sr-profile-wrap { max-width: 1100px; padding-top: 0; }
.showroom-archive-wrap { padding-top: 0; }

/* ── Grid ── */
.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* ============================================================
   CARD – V2 clean
   ============================================================ */
body .showroom-card {
    border-radius: var(--sr-radius);
    background: var(--sr-white);
    border: 1px solid var(--sr-border);
    box-shadow: var(--sr-shadow);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
body .showroom-card:hover { transform: translateY(-3px); box-shadow: var(--sr-shadow-hover); }
body .showroom-card-inner {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit;
    height: 100%;
}
body .showroom-card-logo {
    background: var(--sr-bg);
    border-bottom: 1px solid var(--sr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 24px;
}
body .showroom-card-logo img { max-height: 110px; max-width: 80%; object-fit: contain; }
body .showroom-card-logo-placeholder {
    width: 72px; height: 72px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
body .showroom-card-logo-placeholder span {
    color: #fff; font-size: 26px; font-weight: 800;
    text-transform: uppercase; letter-spacing: -1px;
}
body .showroom-card-body {
    padding: 16px 18px 12px;
    flex: 1; display: flex; flex-direction: column; gap: 10px;
}
body .showroom-card-name {
    font-size: 17px !important; font-weight: 700 !important;
    color: var(--sr-text) !important; margin: 0 !important; line-height: 1.3 !important;
}
body .showroom-card-desc { font-size: 14px; color: var(--sr-muted); line-height: 1.55; margin: 0; flex: 1; }
body .showroom-card-meta { display: flex; flex-wrap: wrap; gap: 5px; }
.showroom-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; padding: 3px 10px;
    border-radius: 999px; line-height: 1.6;
}
.showroom-tag-bransch { background: var(--sr-accent-light); color: var(--sr-accent); }
.showroom-tag-stad    { background: #f0fdf4; color: #15803d; }
body .showroom-card-tjanster { display: flex; flex-wrap: wrap; gap: 5px; }
body .showroom-tjanst-tag {
    font-size: 12px; padding: 3px 10px; border-radius: var(--sr-radius-sm);
    background: var(--sr-bg); color: var(--sr-muted); border: 1px solid var(--sr-border);
}
body .showroom-tjanst-more {
    font-size: 12px; padding: 3px 8px; border-radius: var(--sr-radius-sm);
    background: #e5e7eb; color: var(--sr-muted);
}
body .showroom-card-footer { padding: 12px 18px; border-top: 1px solid var(--sr-border); margin-top: auto; }
body .showroom-card-cta { font-size: 14px; font-weight: 700; }

/* ── Filter bar ── */
.showroom-filter-bar { margin-bottom: 8px; }
.showroom-stad-filter {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding: 14px 20px; background: var(--sr-white);
    border: 1px solid var(--sr-border); border-radius: var(--sr-radius); box-shadow: var(--sr-shadow);
}
.showroom-filter-label { font-size: 13px; font-weight: 600; color: var(--sr-muted); margin-right: 4px; }
.showroom-filter-btn {
    display: inline-block; padding: 6px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600; text-decoration: none;
    background: var(--sr-bg); color: var(--sr-text);
    border: 1px solid var(--sr-border); transition: all .15s ease;
}
.showroom-filter-btn:hover,
.showroom-filter-btn.active { background: var(--sr-accent); color: #fff; border-color: var(--sr-accent); }

/* ── Empty state ── */
.showroom-empty { text-align: center; padding: 60px 20px; color: var(--sr-muted); }
.showroom-reset-link { display: inline-block; margin-top: 12px; color: var(--sr-accent); text-decoration: underline; font-size: 14px; }

/* ============================================================
   ARCHIVE HEADER – light/white with accent bar
   ============================================================ */
body .showroom-archive-header {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 44px 52px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
body .showroom-archive-header::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 5px;
    background: linear-gradient(to bottom, var(--sr-accent), var(--sr-accent-dark));
    border-radius: 14px 0 0 14px;
}
body .showroom-archive-header::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0; width: 280px;
    background-image: radial-gradient(circle, #d1d5db 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .5;
    pointer-events: none;
}
body .showroom-archive-eyebrow {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--sr-accent); margin-bottom: 10px;
}
body .showroom-archive-eyebrow-line {
    display: inline-block; width: 18px; height: 2px;
    background: var(--sr-accent); opacity: .5; border-radius: 2px;
}
body .showroom-archive-title {
    font-size: 42px !important; font-weight: 900 !important;
    color: #111827 !important; margin: 0 0 10px !important;
    line-height: 1.1 !important; letter-spacing: -1.5px !important;
}
body .showroom-archive-desc { font-size: 15px; color: #6b7280; max-width: 500px; margin: 0 0 18px; line-height: 1.65; }
body .showroom-archive-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; background: var(--sr-accent-light); border: 1px solid rgba(89,128,124,.2);
    border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sr-accent-dark);
}

/* ============================================================
   SINGLE COMPANY – HERO
   ============================================================ */
body .sr-hero {
    position: relative;
    background: linear-gradient(135deg, #0f1f1e 0%, #1a3533 60%, #59807c 100%);
    background-size: cover;
    background-position: center;
    border-radius: 0 0 20px 20px;
    margin-bottom: 32px;
    padding: 40px 40px 32px;
    min-height: 160px;
    display: flex;
    align-items: flex-end;
}
/* Dark overlay when cover image is set */
body .sr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,20,40,.75) 0%, rgba(10,20,40,.35) 100%);
    border-radius: inherit;
    pointer-events: none;
}
body .sr-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 24px;
}
body .sr-hero-logo {
    flex-shrink: 0;
    width: 90px; height: 90px;
    border-radius: 14px;
    background: #fff;
    border: 3px solid rgba(255,255,255,.25);
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 8px;
}
body .sr-hero-logo img { width: 100%; height: 100%; object-fit: contain; }
body .sr-hero-initials {
    width: 100%; height: 100%;
    background: var(--sr-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 800; color: #fff; text-transform: uppercase;
    border-radius: 8px;
}
body .sr-hero-name {
    font-size: 26px !important; font-weight: 800 !important;
    color: #fff !important; margin: 0 0 10px !important;
    line-height: 1.2 !important; text-shadow: 0 1px 3px rgba(0,0,0,.3);
}
body .sr-hero-tags { display: flex; flex-wrap: wrap; gap: 7px; }
body .sr-tag {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 12px; font-weight: 600; padding: 4px 11px;
    border-radius: 999px; text-decoration: none;
}
body .sr-tag-bransch { background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.sr-tag-stad    { background: rgba(34,197,94,.2); color: #86efac; border: 1px solid rgba(34,197,94,.3); }

/* ── Single layout ── */
body .sr-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
}
body .sr-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px;
    padding: 26px 28px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
body .sr-card-title {
    font-size: 15px !important; font-weight: 700 !important;
    color: #111827 !important; margin: 0 0 16px !important;
    padding-bottom: 12px !important; border-bottom: 2px solid #f3f4f6 !important;
    display: flex; align-items: center; gap: 8px;
}
.sr-card-title svg { color: #6b7280; flex-shrink: 0; }
body .sr-beskrivning { font-size: 15px; line-height: 1.75; color: #374151; margin: 0; }
body .sr-tjanster-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px;
}
body .sr-tjanst-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: var(--sr-accent-light); border: 1px solid rgba(89,128,124,.2); border-radius: 10px;
    font-size: 14px; color: var(--sr-accent-dark); font-weight: 500;
}
body .sr-tjanst-item svg { color: var(--sr-accent); flex-shrink: 0; }
body .sr-omraden { display: flex; flex-wrap: wrap; gap: 8px; }
body .sr-omrade-pill {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; background: #f0fdf4; border: 1px solid #bbf7d0;
    border-radius: 999px; font-size: 13px; font-weight: 600; color: #15803d; text-decoration: none;
}
body .sr-omrade-pill:hover { background: #dcfce7; }
body .sr-contact-item {
    display: flex; align-items: center; gap: 14px;
    padding: 11px 0; border-bottom: 1px solid #f3f4f6;
    text-decoration: none; color: #374151; font-size: 14px; transition: color .15s;
}
body .sr-contact-item:last-of-type { border-bottom: none; }
body .sr-contact-item:hover { color: var(--sr-accent); }
body .sr-contact-icon {
    width: 36px; height: 36px; border-radius: 9px;
    background: var(--sr-accent-light); color: var(--sr-accent);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
body .sr-contact-label { font-size: 11px; color: #9ca3af; display: block; margin-bottom: 1px; }
body .sr-contact-val { font-weight: 500; color: #111827; display: block; }
body .sr-cta {
    display: block; margin-top: 16px; padding: 13px; background: var(--sr-accent);
    color: #fff !important; text-align: center; border-radius: 10px;
    font-weight: 700; font-size: 15px; text-decoration: none !important; transition: background .15s;
}
body .sr-cta:hover { background: var(--sr-accent-dark); }
body .sr-cta-secondary {
    display: block; margin-top: 8px; padding: 11px; background: #f3f4f6;
    color: #374151 !important; text-align: center; border-radius: 10px;
    font-weight: 600; font-size: 14px; text-decoration: none !important; transition: background .15s;
}
body .sr-cta-secondary:hover { background: #e5e7eb; }
body .sr-info-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 9px 0; border-bottom: 1px solid #f3f4f6; font-size: 14px;
}
body .sr-info-row:last-child { border-bottom: none; }
body .sr-info-label { color: #6b7280; }
body .sr-info-val { font-weight: 600; color: #111827; }
body .sr-hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
body .sr-hours-table tr { border-bottom: 1px solid #f3f4f6; }
body .sr-hours-table tr:last-child { border-bottom: none; }
body .sr-hours-table tr.sr-today td { color: #15803d; font-weight: 600; }
body .sr-hours-table td { padding: 9px 4px; }
body .sr-hours-day { width: 50%; color: #374151; }
body .sr-hours-time { color: #6b7280; }
body .sr-today-badge {
    font-size: 10px; background: #dcfce7; color: #15803d;
    padding: 1px 5px; border-radius: 4px; margin-left: 4px; font-weight: 700;
}
body .sr-closed { color: #d1d5db !important; font-style: italic; }

/* ── Divi VB ── */
.et-fb-root-ancestor .showroom-card-inner,
.et-fb .showroom-card-inner { pointer-events: none; }

/* ── Responsive ── */
@media (max-width: 860px) {
    body .sr-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    /* Grid */
    body .showroom-grid { grid-template-columns: 1fr; gap: 16px; }
    body .showroom-archive-header { padding: 36px 20px; }
    body .showroom-archive-title { font-size: 28px !important; letter-spacing: -0.5px !important; }

    /* Profile wrap */
    body .sr-profile-wrap { padding: 0 !important; }

    /* Hero */
    body .sr-hero {
        padding: 80px 20px 24px !important;
        min-height: 200px;
        align-items: flex-end;
    }
    body .sr-hero-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    body .sr-hero-logo {
        width: 72px !important;
        height: 72px !important;
    }
    body .sr-hero-name {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    body .sr-hero-tags { gap: 6px; }
    body .sr-tag { font-size: 11px; padding: 3px 9px; }

    /* Layout stacking */
    body .sr-layout { gap: 16px; }
    body .sr-card { padding: 20px; margin-bottom: 14px; }
    body .sr-section { padding: 20px !important; margin-bottom: 14px; }

    /* Tjänster grid → single column */
    body .sr-tjanster-grid { grid-template-columns: 1fr !important; }

    /* Contact sidebar */
    body .sr-contact-item { padding: 10px 0; }
    body .sr-cta { padding: 12px !important; font-size: 14px !important; }

    /* Reviews */
    body .sr-reviews-section { padding: 20px !important; }
    body .sr-rating-summary { flex-wrap: wrap; gap: 8px; }
    body .sr-rating-avg { font-size: 28px; }
    body .sr-review-form-wrap { padding: 16px; }
    body .sr-form-row { grid-template-columns: 1fr; }
    body .sr-star-picker label { font-size: 34px; }

    /* Archive cover */
    body .showroom-archive-has-cover {
        padding: 0 20px 28px !important;
        min-height: 200px !important;
    }
}

/* ── Archive header with cover image ── */
body .showroom-archive-has-cover {
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin: 0 -20px 24px -20px;
    min-height: 280px;
    padding: 0 72px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    position: relative !important;
}
body .showroom-archive-has-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,15,30,.85) 0%, rgba(5,15,30,.3) 50%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}
body .showroom-archive-has-cover::after { display: none; }
body .showroom-archive-has-cover .showroom-archive-eyebrow,
body .showroom-archive-has-cover .showroom-archive-title,
body .showroom-archive-has-cover .showroom-archive-desc,
body .showroom-archive-has-cover .showroom-archive-badge {
    position: relative;
    z-index: 2;
}
body .showroom-archive-has-cover .showroom-archive-eyebrow { color: rgba(255,255,255,.65); }
body .showroom-archive-has-cover .showroom-archive-eyebrow-line { background: rgba(255,255,255,.4); }
body .showroom-archive-has-cover .showroom-archive-title { color: #fff !important; }
body .showroom-archive-has-cover .showroom-archive-desc  { color: rgba(255,255,255,.7) !important; }
body .showroom-archive-has-cover .showroom-archive-badge {
    background: rgba(255,255,255,.15) !important;
    border-color: rgba(255,255,255,.25) !important;
    color: #fff !important;
}
/* ── Archive cover hero fixes ── */
@media (max-width: 640px) {
    body .showroom-archive-has-cover { padding: 0 28px 32px !important; min-height: 220px !important; }
}

/* ══════════════════════════════════════════════════════════════
   DROPDOWN FILTER BAR
══════════════════════════════════════════════════════════════ */
body .showroom-dropdown-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 24px;
}
body .showroom-filter-dropdowns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex: 1;
}
body .showroom-select-wrap {
    position: relative;
    flex: 1;
    min-width: 160px;
}
body .showroom-filter-select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 36px 9px 14px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
}
body .showroom-filter-select:hover {
    border-color: var(--sr-accent);
}
body .showroom-filter-select:focus {
    outline: none;
    border-color: var(--sr-accent);
    box-shadow: 0 0 0 3px rgba(89,128,124,.12);
}
body .showroom-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9ca3af;
    width: 16px;
    height: 16px;
}
body .showroom-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    font-family: inherit;
}
body .showroom-filter-reset:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}
body .showroom-grid {
    transition: opacity .2s ease;
}
@media (max-width: 640px) {
    body .showroom-dropdown-filter { padding: 12px; }
    body .showroom-select-wrap { min-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   STARS – card
══════════════════════════════════════════════════════════════ */
body .showroom-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}
body .sr-stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
}
body .sr-stars-count {
    font-size: 12px;
    color: #6b7280;
    margin-left: 4px;
}

/* ══════════════════════════════════════════════════════════════
   REVIEWS SECTION – profile page
══════════════════════════════════════════════════════════════ */
body .sr-reviews-section {
    background: #fff;
    border: 1px solid var(--sr-border);
    border-radius: var(--sr-radius);
    padding: 32px 36px;
    margin-top: 24px;
    font-family: 'Sora', sans-serif;
}
body .sr-section-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}
body .sr-section-title {
    font-family: 'Sora', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--sr-text) !important;
    margin: 0 !important;
}
body .sr-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--sr-accent-light);
    border-radius: 10px;
    border: 1px solid rgba(89,128,124,.15);
}
body .sr-rating-avg {
    font-family: 'Sora', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--sr-accent);
    line-height: 1;
}
body .sr-rating-count {
    font-size: 13px;
    color: var(--sr-muted);
    font-family: 'Sora', sans-serif;
}

/* Review list */
body .sr-review-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
}
body .sr-review-item {
    padding: 20px 0;
    border-bottom: 1px solid #f3f4f6;
}
body .sr-review-item:last-child { border-bottom: none; }
body .sr-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
body .sr-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sr-accent), var(--sr-accent-dark));
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Sora', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body .sr-review-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
body .sr-review-name {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--sr-text);
}
body .sr-review-date {
    font-size: 12px;
    color: #9ca3af;
    font-family: 'Sora', sans-serif;
}
body .sr-review-stars { margin-left: auto; }
body .sr-review-text {
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    color: #374151;
    line-height: 1.65;
    margin: 0;
}
body .sr-no-reviews {
    font-family: 'Sora', sans-serif;
    color: var(--sr-muted);
    font-size: 14px;
    padding: 20px 0;
    margin: 0;
}

/* ── Form wrapper ── */
body .sr-review-form-wrap {
    background: var(--sr-bg);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid var(--sr-border);
    margin-top: 8px;
}
body .sr-form-title {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--sr-text);
    margin: 0 0 20px;
}

/* ── Star picker ── */
body .sr-star-picker {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 20px;
}
body .sr-star-picker input[type="radio"] { display: none; }
body .sr-star-picker label {
    font-size: 32px;
    color: #d1d5db;
    cursor: pointer;
    transition: color .15s, transform .1s;
    line-height: 1;
}
body .sr-star-picker label:hover { transform: scale(1.15); }
body .sr-star-picker label:hover,
body .sr-star-picker label:hover ~ label,
body .sr-star-picker input[type="radio"]:checked ~ label {
    color: #f59e0b;
}

/* ── Inputs ── */
body .sr-form-input,
body .sr-form-textarea,
body .sr-form-select {
    width: 100%;
    border: 1.5px solid var(--sr-border);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    color: var(--sr-text);
    background: #fff;
    margin-bottom: 12px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
}
body .sr-form-input::placeholder,
body .sr-form-textarea::placeholder {
    color: #adb5bd;
}
body .sr-form-input:focus,
body .sr-form-textarea:focus,
body .sr-form-select:focus {
    outline: none;
    border-color: var(--sr-accent);
    box-shadow: 0 0 0 3px rgba(89,128,124,.12);
}
body .sr-form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
    color: var(--sr-text);
}
body .sr-form-select option[value=""] { color: #adb5bd; }
body .sr-form-textarea { resize: vertical; min-height: 110px; }

body .sr-form-error {
    font-family: 'Sora', sans-serif;
    color: #dc2626;
    font-size: 13px;
    margin-bottom: 12px;
    padding: 10px 14px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid #fecaca;
}
body .sr-form-submit {
    background: var(--sr-accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    transition: background .2s, transform .1s, box-shadow .2s;
    letter-spacing: .01em;
}
body .sr-form-submit:hover {
    background: var(--sr-accent-dark);
    box-shadow: 0 4px 14px rgba(89,128,124,.35);
}
body .sr-form-submit:active { transform: scale(.98); }
body .sr-form-submit:disabled { opacity: .6; cursor: not-allowed; }

body .sr-form-success {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--sr-accent);
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 16px 20px;
    background: var(--sr-accent-light);
    border-radius: 10px;
    border: 1px solid rgba(89,128,124,.2);
}

/* ── Review form: row layout for contact fields ── */
body .sr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 0;
}
body .sr-form-row .sr-form-input { margin-bottom: 10px; }
body .sr-form-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}
body .sr-form-note::before {
    content: '🔒';
    font-size: 11px;
}

/* ── Verification notices ── */
body .sr-verify-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}
body .sr-verify-success {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
body .sr-verify-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@media (max-width: 640px) {
    body .sr-form-row { grid-template-columns: 1fr; }
}

/* ── Review tjänst badge ── */
body .sr-review-tjanst {
    background: var(--sr-accent-light);
    color: var(--sr-accent-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 999px;
    font-family: 'Sora', sans-serif;
}
