.hf-hub-wrap {
    max-width: 1320px;
    margin: 40px auto;
    padding: 0 16px;
    color: #1e293b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hf-hub-hero {
    background: linear-gradient(145deg, #f8fafc, #eef2f7);
    border: 1px solid #dbe3ec;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 22px;
}

.hf-hub-title {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.15;
    color: #1f3440;
    font-weight: 800;
}

.hf-hub-intro {
    margin: 0;
    color: #52667a;
    font-size: 16px;
}

.hf-hub-trust-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hf-hub-trust-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d9e3ec;
    color: #355062;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
}

.hf-hub-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.hf-hub-step {
    background: #fff;
    border: 1px solid #dde6ef;
    border-radius: 12px;
    padding: 10px 12px;
    color: #355062;
    font-size: 13px;
    font-weight: 600;
}

.hf-hub-step strong {
    color: #1f3440;
    margin-right: 4px;
}

.hf-hub-steps-hint {
    margin: 0 0 14px;
    color: #52667a;
    font-size: 14px;
}

.hf-hub-goals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.hf-hub-goal-btn {
    border: 1px solid #cfdae5;
    border-radius: 999px;
    background: #fff;
    color: #345364;
    padding: 7px 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hf-hub-goal-btn.is-active {
    background: #234558;
    border-color: #234558;
    color: #fff;
}

.hf-hub-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

.hf-hub-input,
.hf-hub-select {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
    color: #1e293b;
}

.hf-hub-controls-simple .hf-hub-select {
    width: 260px;
    max-width: 100%;
}

.hf-hub-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.hf-hub-toolbar-actions {
    display: flex;
    gap: 8px;
}

.hf-hub-result-count {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.hf-hub-reset,
.hf-hub-load-more {
    border: 1px solid #cdd9e3;
    border-radius: 8px;
    background: #fff;
    color: #355062;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.hf-hub-load-more-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: center;
}

.hf-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.hf-hub-section {
    margin-bottom: 26px;
}

.hf-hub-section-title {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 800;
    color: #1f3440;
}

.hf-hub-card {
    border: 1px solid #d8e0e8;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.hf-hub-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center center;
    padding: 8px;
    box-sizing: border-box;
    background: #f3f6f9;
}

.hf-hub-content {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.hf-hub-top-pick {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hf-hub-badge {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: #eef6fb;
    color: #2f566f;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hf-hub-name {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    color: #1e293b;
}

.hf-hub-price {
    color: #1f3440;
    font-weight: 700;
    font-size: 16px;
    min-height: 24px;
}

.hf-hub-hint {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.hf-hub-photo-guide {
    border: 1px solid #d9e3ec;
    border-radius: 14px;
    background: #f8fafc;
    padding: 14px;
    margin-bottom: 14px;
}

.hf-hub-photo-guide h3 {
    margin: 0 0 6px;
    font-size: 17px;
    line-height: 1.25;
    color: #1f3440;
}

.hf-hub-photo-guide p {
    margin: 0 0 10px;
    color: #52667a;
    font-size: 14px;
}

.hf-hub-photo-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hf-hub-photo-examples {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 10px;
}

.hf-hub-photo-example {
    border: 1px solid #dbe4ed;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.hf-hub-photo-example.is-good {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.hf-hub-photo-example.is-bad {
    border-color: #fecaca;
    background: #fef2f2;
}

.hf-hub-photo-thumb {
    width: 72px;
    height: 46px;
    border-radius: 8px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
    flex: 0 0 72px;
    background: linear-gradient(180deg, #9ed5ff 0%, #d4ebff 40%, #8db47d 40%, #5f8652 100%);
}

.hf-hub-photo-thumb::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: 18%;
    height: 10px;
    background: #2f4958;
    border-radius: 6px;
}

.hf-hub-photo-thumb::after {
    content: "";
    position: absolute;
    left: 48%;
    bottom: 14%;
    width: 4px;
    height: 18px;
    border-radius: 4px;
    background: #1f3440;
}

.hf-hub-photo-thumb.is-bad {
    filter: grayscale(0.5) contrast(0.84) brightness(0.85);
}

.hf-hub-photo-thumb-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    background: #ffffff;
}

.hf-hub-photo-thumb.is-good .hf-hub-photo-thumb-badge {
    color: #16a34a;
}

.hf-hub-photo-thumb.is-bad .hf-hub-photo-thumb-badge {
    color: #dc2626;
}

.hf-hub-photo-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hf-hub-photo-copy strong {
    color: #1f3440;
    font-size: 13px;
    line-height: 1.2;
}

.hf-hub-photo-copy span {
    color: #52667a;
    font-size: 12px;
    line-height: 1.35;
}

.hf-hub-photo-tip {
    border: 1px solid #dbe4ed;
    border-radius: 10px;
    background: #fff;
    color: #345364;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}

.hf-hub-photo-tip strong {
    color: #1f3440;
    margin-right: 5px;
}

.hf-hub-actions {
    margin-top: auto;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hf-hub-btn {
    border-radius: 9px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
}

.hf-hub-btn-primary {
    background: #4d6a78;
    color: #fff !important;
    transition: background 0.2s, transform 0.1s;
}

.hf-hub-btn-primary:hover {
    background: #3a5360;
    color: #fff !important;
}

.hf-hub-btn-primary:active {
    transform: scale(0.98);
}

.hf-hub-btn-magic {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(135deg, #4d6a78 0%, #5f8092 54%, #435f6c 100%);
    border-color: #4b6876;
    box-shadow: 0 10px 22px rgba(30, 58, 75, 0.22);
    transition: transform 150ms ease, box-shadow 200ms ease, filter 200ms ease;
}

.hf-hub-btn-magic:hover,
.hf-hub-btn-magic:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(30, 58, 75, 0.3);
    filter: saturate(1.05);
}

.hf-hub-btn-magic:active {
    transform: translateY(0);
}

.hf-hub-btn-magic::after {
    content: "";
    position: absolute;
    top: -6%;
    left: -48%;
    width: 34%;
    height: 112%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.58) 52%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    animation: hf-hub-magic-shimmer 3.2s ease-in-out infinite;
    pointer-events: none;
}

.hf-hub-btn-magic-icon {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fef9c3;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.hf-hub-btn-magic-label {
    position: relative;
    z-index: 1;
}

@keyframes hf-hub-magic-shimmer {
    0%, 50%, 100% {
        left: -48%;
        opacity: 0;
    }
    56% {
        opacity: 1;
    }
    68% {
        left: 128%;
        opacity: 0.92;
    }
}

.hf-hub-btn-secondary {
    background: #fff;
    color: #355062;
    border-color: #cdd9e3;
}

.hf-hub-empty {
    display: none;
    margin-top: 14px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 20px;
    color: #64748b;
    text-align: center;
    background: #f8fafc;
}

html.hf-hub-modal-open,
body.hf-hub-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none;
    height: 100%;
}

.hf-hub-wrap.hf-hub-modal-active > :not(.hf-hub-modal) {
    visibility: hidden;
}

.hf-hub-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(6px, 1vh, 12px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.hf-hub-modal[hidden] {
    display: none !important;
}

.hf-hub-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
}

.hf-hub-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1700px, 99.4vw);
    max-height: min(94vh, 1320px);
    height: min(94vh, 1320px);
    max-height: min(94dvh, 1320px);
    height: min(94dvh, 1320px);
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #d7e0ea;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hf-hub-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(145deg, #f8fafc, #eef2f7);
}

.hf-hub-modal-title {
    font-size: 15px;
    color: #1f3440;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hf-hub-modal-close {
    border: 1px solid #94a3b8;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.hf-hub-modal-body {
    flex: 1;
    min-height: 0;
    background: #f8fafc;
}

.hf-hub-modal-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fff;
}

@media (max-width: 960px) {
    .hf-hub-controls {
        justify-content: stretch;
    }

    .hf-hub-steps {
        grid-template-columns: 1fr;
    }

    .hf-hub-controls-simple .hf-hub-select {
        width: 100%;
    }

    .hf-hub-photo-guide-grid {
        grid-template-columns: 1fr;
    }

    .hf-hub-photo-examples {
        grid-template-columns: 1fr;
    }

    .hf-hub-modal {
        padding: 8px;
    }

    .hf-hub-modal-dialog {
        width: 100%;
        max-height: 90vh;
        height: 90vh;
        max-height: 90dvh;
        height: 90dvh;
        border-radius: 12px;
    }
}

@media (max-width: 760px) {
    .hf-hub-title {
        font-size: 25px;
    }

    .hf-hub-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hf-hub-btn-magic::after {
        animation: none;
        opacity: 0.25;
        left: 82%;
    }
}

.hf-hub-hero {
    background: linear-gradient(145deg, #f4f7fa 0%, #eaf0f6 64%, #e4edf5 100%);
    border-color: #d1dbe6;
    padding: 22px;
    overflow: hidden;
}

.hf-hub-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1.08fr);
    gap: 20px;
    align-items: stretch;
}

.hf-hub-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hf-hub-title {
    font-size: 34px;
}

.hf-hub-hero-actions {
    margin-top: 14px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hf-hub-hero-cta {
    box-shadow: 0 12px 28px rgba(36, 66, 87, 0.26);
}

.hf-hub-photo-toggle {
    cursor: pointer;
}

.hf-hub-hero-media {
    background: #d9e4ee;
    border: 1px solid #c7d5e4;
    border-radius: 14px;
    overflow: hidden;
    min-height: 224px;
    position: relative;
}

.hf-hub-hero-slider {
    position: relative;
    min-height: 100%;
    height: 100%;
}

.hf-hub-hero-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 380ms ease;
}

.hf-hub-hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hf-hub-hero-launch {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 4;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
}

.hf-hub-hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 224px;
    object-fit: cover;
    display: block;
}

.hf-hub-hero-slide figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.3s;
}

.hf-hub-hero-slide:hover figcaption {
    background: rgba(15, 23, 42, 0.4);
}

.hf-hub-hero-slide figcaption span {
    font-size: 11px;
    font-weight: 700;
    color: #dbeafe;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.hf-hub-hero-slide figcaption strong {
    font-size: 14px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .hf-hub-hero-slide figcaption {
        padding: 8px 10px;
        bottom: 8px;
        left: 8px;
        right: 8px;
        gap: 2px;
    }
    .hf-hub-hero-slide figcaption strong {
        font-size: 12px;
        line-height: 1.25;
        /* Begræns til maksimalt 1 linje på mobil for at spare plads */
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hf-hub-hero-slide figcaption span {
        font-size: 10px;
    }
}

.hf-hub-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.92);
    color: #1f3440;
    width: 42px;
    min-width: 42px;
    max-width: 42px;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    padding: 0;
    z-index: 3;
}

.hf-hub-hero-nav.prev {
    left: 10px;
}

.hf-hub-hero-nav.next {
    right: 10px;
}

.hf-hub-hero-dots {
    display: none !important;
}

.hf-hub-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(226, 232, 240, 0.85);
    cursor: pointer;
    padding: 0;
}

.hf-hub-hero-dot.is-active {
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.25);
}

.hf-hub-hero-empty {
    min-height: 224px;
    display: grid;
    place-items: center;
    padding: 16px;
    color: #355062;
    font-weight: 700;
    text-align: center;
}

.hf-hub-photo-guide.is-compact {
    padding: 12px;
}

.hf-hub-photo-guide-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto;
    gap: 10px;
    align-items: center;
}

.hf-hub-photo-guide-title-wrap h3 {
    margin-bottom: 2px;
}

.hf-hub-photo-guide-title-wrap p {
    margin: 0;
}

.hf-hub-photo-guide-details[hidden] {
    display: none !important;
}

.hf-hub-photo-guide-details {
    margin-top: 10px;
}

.hf-hub-photo-guide-details:not([hidden]) {
    animation: hf-hub-guide-in 180ms ease;
}

@keyframes hf-hub-guide-in {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hf-hub-photo-examples.is-inline {
    margin: 0;
}

.hf-hub-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    padding: 0;
}

.hf-hub-content {
    padding: 12px;
    gap: 8px;
}

.hf-hub-name {
    font-size: 16px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hf-hub-price {
    font-size: 15px;
}

.hf-hub-hint {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hf-hub-btn-primary,
.hf-hub-btn-secondary {
    flex: 1 1 120px;
    text-align: center;
}

.hf-hub-hero-actions .hf-hub-btn,
.hf-hub-photo-guide-head .hf-hub-btn {
    flex: 0 0 auto;
}

@media (max-width: 960px) {
    .hf-hub-hero-grid {
        grid-template-columns: 1fr;
    }

    .hf-hub-photo-guide-head {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .hf-hub-modal {
        padding: 2px;
    }

    .hf-hub-modal-dialog {
        border-radius: 12px;
        max-height: 96vh;
        height: 96vh;
        max-height: 96dvh;
        height: 96dvh;
    }

    .hf-hub-modal-head {
        gap: 6px;
        padding: 4px 6px;
    }

    .hf-hub-modal-title {
        font-size: 13px;
        line-height: 1.2;
    }

    .hf-hub-modal-close {
        min-height: 34px;
        padding: 5px 9px;
        border-radius: 8px;
        font-size: 13px;
    }

    .hf-hub-wrap {
        margin: 18px auto 28px;
        padding: 0 12px;
    }

    .hf-hub-hero {
        padding: 18px;
        margin-bottom: 14px;
        border-radius: 14px;
    }

    .hf-hub-hero-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hf-hub-hero-copy {
        justify-content: flex-start;
        padding: 4px 2px 0;
    }

    .hf-hub-title {
        margin: 0 0 8px;
        font-size: clamp(26px, 8vw, 34px);
        line-height: 1.08;
    }

    .hf-hub-intro {
        font-size: 15px;
        line-height: 1.35;
        max-width: 30rem;
    }

    .hf-hub-trust-row,
    .hf-hub-steps,
    .hf-hub-steps-hint {
        display: none !important;
    }

    .hf-hub-hero-actions {
        display: none !important;
    }

    .hf-hub-hero-media {
        min-height: 0;
        aspect-ratio: 16 / 11;
        border-radius: 12px;
    }

    .hf-hub-hero-slider,
    .hf-hub-hero-slide,
    .hf-hub-hero-slide img {
        min-height: 0;
        height: 100%;
    }

    .hf-hub-hero-launch {
        top: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        padding: 8px 10px;
        font-size: 12px;
        line-height: 1.15;
        border-radius: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hf-hub-hero-slide figcaption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 7px 9px;
        border-radius: 10px;
        gap: 1px;
    }

    .hf-hub-hero-slide figcaption span {
        font-size: 9px;
        line-height: 1.1;
    }

    .hf-hub-hero-slide figcaption strong {
        font-size: 12px;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hf-hub-hero-nav {
        width: 38px;
        min-width: 38px;
        max-width: 38px;
        height: 38px;
        min-height: 38px;
        max-height: 38px;
        font-size: 22px;
    }

    .hf-hub-hero-nav.prev {
        left: 8px;
    }

    .hf-hub-hero-nav.next {
        right: 8px;
    }

    .hf-hub-section {
        margin-bottom: 20px;
    }

    .hf-hub-section-title {
        margin-bottom: 10px;
        font-size: 26px;
        line-height: 1.1;
    }

    .hf-hub-actions {
        gap: 6px;
    }
}

.hf-hub-wrap.hf-hub-variant-b .hf-hub-hero {
    background: linear-gradient(140deg, #edf7f5 0%, #dff1ec 58%, #d4ebe4 100%);
    border-color: #c2dfd6;
}

.hf-hub-wrap.hf-hub-variant-b .hf-hub-hero-cta {
    background: #2c6f64;
    box-shadow: 0 12px 30px rgba(32, 91, 82, 0.32);
}

.hf-hub-wrap.hf-hub-variant-b .hf-hub-steps {
    margin-bottom: 8px;
}

.hf-hub-wrap.hf-hub-variant-b .hf-hub-photo-guide {
    border-color: #c8ddd6;
    background: #f3faf8;
}

.hf-hub-wrap.hf-hub-variant-b .hf-hub-photo-tip {
    border-color: #d4e6e0;
}

/* ==========================================================================
   Galleri Sektion
   ========================================================================== */

.hf-hub-gallery-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eaeaea;
}

.hf-hub-gallery-intro {
    text-align: center;
    color: #475569;
    margin: 12px auto 32px auto;
    font-size: 0.9rem;
    font-weight: 500;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 6px 16px;
    border-radius: 24px;
    display: table;
    letter-spacing: 0.2px;
}

.hf-hub-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hf-hub-gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hf-hub-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.hf-hub-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.hf-hub-gallery-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.hf-hub-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hf-hub-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    opacity: 1;
    transition: background 0.3s ease;
}

.hf-hub-gallery-item:hover .hf-hub-gallery-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 100%);
}

.hf-hub-gallery-title {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.hf-hub-gallery-btn {
    display: inline-block;
    padding: 4px 12px;
    background: var(--hf-hub-accent, #333);
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.hf-hub-gallery-item:hover .hf-hub-gallery-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox Before/After */
.hf-hub-gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hf-hub-gallery-lightbox[hidden] {
    display: none;
}
.hf-hub-gallery-lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(4px);
}
.hf-hub-gallery-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: all 0.2s ease;
}
.hf-hub-gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}
.hf-hub-gallery-lightbox-content {
    position: relative;
    width: min(var(--hf-hub-lightbox-width, 90vw), calc(100vw - 48px));
    max-width: min(1200px, calc(100vw - 48px));
    height: min(var(--hf-hub-lightbox-height, 85vh), calc(100vh - 48px));
    max-height: calc(100vh - 48px);
    z-index: 5;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transition: width 160ms ease, height 160ms ease;
}
.hf-hub-before-after-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
    touch-action: pan-y;
}
.hf-hub-ba-original,
.hf-hub-ba-generated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}
.hf-hub-ba-generated-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
.hf-hub-ba-generated {
    width: 100%;
    height: 100%;
    max-width: none;
}
/* We use JavaScript to keep the inner image matching the container width so object-fit works correctly */
.hf-hub-ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 40px;
    height: 100%;
    margin-left: -20px;
    cursor: ew-resize;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hf-hub-ba-handle-line {
    position: absolute;
    top: 0;
    left: 19px;
    width: 2px;
    height: 100%;
    background: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
}
.hf-hub-ba-handle-button {
    position: relative;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 2;
}
.hf-hub-ba-label {
    position: absolute;
    bottom: 20px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}
.hf-hub-before-after-container:hover .hf-hub-ba-label {
    opacity: 1;
}
.hf-hub-ba-label-before {
    right: 20px;
}
.hf-hub-ba-label-after {
    left: 20px;
}

@media (max-width: 700px) {
    .hf-hub-gallery-lightbox-content {
        width: min(var(--hf-hub-lightbox-width, 94vw), calc(100vw - 20px));
        max-width: calc(100vw - 20px);
        height: min(var(--hf-hub-lightbox-height, 78vh), calc(100vh - 88px));
        max-height: calc(100vh - 88px);
        border-radius: 10px;
    }

    .hf-hub-gallery-lightbox-close {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
    }
}

.hf-hub-gallery-indicator {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background 0.3s ease, transform 0.3s ease;
}

.hf-hub-gallery-image-wrapper:hover .hf-hub-gallery-indicator {
    background: rgba(15, 23, 42, 0.95);
    transform: scale(1.05);
}

.hf-hub-gallery-section .hf-hub-section-title {
    text-align: center;
}
