/* Modul A – oppdag: søk, nær meg, ledig nå, byer, behandlinger, salong- og terapeutsider. */

.dc-js .dc-nojs { display: none !important; }

/* ---------- søk ---------- */
.dc-searchbar { box-shadow: 0 14px 36px -24px rgba(43, 27, 18, .45); }
.dc-filters .form-check { margin-bottom: .35rem; }
.dc-legend { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mg-muted); margin-bottom: .4rem; }
@media (min-width: 992px) { .dc-filters { position: sticky; top: 90px; } #dcFilters .offcanvas-body { padding: 0; } }
.dc-chip { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .75rem; border-radius: 999px; background: var(--mg-jade-l); color: var(--mg-jade-d); font-weight: 600; font-size: .88rem; text-decoration: none; border: 1px solid #b6d3c5; }
.dc-chip:hover { background: var(--mg-jade); color: #fff; }
.dc-tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.dc-tag { background: var(--mg-sand); color: var(--mg-ink); border: 1px solid var(--mg-line); font-weight: 600; }
.dc-ad { background: #FFF4D6; color: #6B5310; border: 1px solid #E5C76B; }
.dc-card-price { display: flex; justify-content: space-between; gap: .5rem; border-top: 1px dashed var(--mg-line); padding-top: .5rem; }
.mg-slot.dc-more { background: #fff; }
.mg-slots .mg-slot { min-height: 2.25rem; display: inline-flex; align-items: center; justify-content: center; }

/* ---------- nær meg / ledig nå ---------- */
.dc-near-row { display: grid; grid-template-columns: 4.5rem 1fr; gap: .9rem; align-items: center; padding: 1rem; border: 1px solid var(--mg-line); border-radius: 1rem; background: #fff; }
.dc-near-row + .dc-near-row { margin-top: .7rem; }
.dc-thumb { width: 4.5rem; height: 4.5rem; border-radius: .8rem; background: var(--mg-sand) center/cover no-repeat; display: block; }
.dc-near-meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .92rem; }
.dc-near-act { grid-column: 1 / -1; display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
@media (min-width: 768px) {
  .dc-near-row { grid-template-columns: 5rem 1fr auto; }
  .dc-thumb { width: 5rem; height: 5rem; }
  .dc-near-act { grid-column: auto; flex-direction: column; align-items: flex-end; justify-content: center; }
}
.dc-km { font-weight: 700; color: var(--mg-jade-d); }
.dc-lm { background: #B5462F; color: #fff; }
.dc-when { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: #B5462F; }
.dc-wins .btn { border-radius: 999px !important; }
.dc-wins { display: flex; flex-wrap: wrap; gap: .4rem; }
.dc-ln-card .card-body { display: flex; flex-direction: column; }
.dc-price-now { font-size: 1.35rem; font-weight: 800; }

/* ---------- datobrikker ---------- */
.dc-dates { display: flex; gap: .4rem; overflow-x: auto; padding: .2rem .1rem .6rem; scrollbar-width: thin; }
.dc-date { flex: 0 0 auto; min-width: 4.4rem; text-align: center; border: 1px solid var(--mg-line); border-radius: .8rem; padding: .4rem .5rem; text-decoration: none; color: var(--mg-ink); background: #fff; line-height: 1.15; }
.dc-date span { display: block; font-size: .74rem; color: var(--mg-muted); }
.dc-date b { display: block; font-size: 1.05rem; }
.dc-date:hover { border-color: var(--mg-jade); }
.dc-date.active { background: var(--mg-jade); border-color: var(--mg-jade); color: #fff; }
.dc-date.active span { color: rgba(255, 255, 255, .85); }
.dc-slots-box { min-height: 3rem; }
.dc-slots-box.is-loading { opacity: .5; }

/* ---------- salongside ---------- */
.dc-hero { position: relative; color: #fff; background: var(--mg-teak) center/cover no-repeat; padding: 2.4rem 0 2rem; }
.dc-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25, 14, 8, .94) 0%, rgba(25, 14, 8, .82) 45%, rgba(25, 14, 8, .45)); }
.dc-hero > .container { position: relative; }
.dc-hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); margin-bottom: .2rem; }
.dc-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .7); font-size: .9rem; }
.dc-hero .breadcrumb a { color: #fff; }
.dc-hero .breadcrumb-item.active { color: rgba(255, 255, 255, .75); }
.dc-hero .stars b { color: #fff; }
.dc-hero :focus-visible { outline-color: var(--mg-gold) !important; }
.dc-hero-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; align-items: center; color: rgba(255, 255, 255, .92); }
.dc-heart[aria-pressed="true"] .bi { color: #E0565B; }
.dc-heart .bi-heart-fill { color: #E0565B; }
.dc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .5rem; }
.dc-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: .7rem; overflow: hidden; background: var(--mg-sand); }
.dc-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.dc-gallery a:hover img { transform: scale(1.04); }
.dc-treat { border: 1px solid var(--mg-line); border-radius: .9rem; padding: 1rem 1.1rem; background: #fff; }
.dc-treat + .dc-treat { margin-top: .6rem; }
.dc-treat h4 { font-size: 1.02rem; margin-bottom: .2rem; }
.dc-durs { display: flex; flex-wrap: wrap; gap: .4rem; }
.dc-hours td { padding: .3rem 0; }
.dc-hours tr.is-today td { font-weight: 700; color: var(--mg-jade-d); }
.dc-hours tr.is-today { background: var(--mg-jade-l); }
.dc-hours tr.is-today td:first-child { padding-left: .5rem; border-radius: .4rem 0 0 .4rem; }
.dc-hours tr.is-today td:last-child { padding-right: .5rem; border-radius: 0 .4rem .4rem 0; }
.dc-review { border-bottom: 1px solid var(--mg-line); padding: 1rem 0; }
.dc-review:last-child { border-bottom: 0; }
.dc-reply { background: var(--mg-sand); border-left: 3px solid var(--mg-bronze); border-radius: 0 .6rem .6rem 0; padding: .6rem .9rem; margin-top: .6rem; font-size: .94rem; }
.dc-ver { background: var(--mg-jade-l); color: var(--mg-jade-d); font-weight: 600; }
.dc-fac-list { list-style: none; padding: 0; margin: 0; columns: 1; column-gap: 1rem; font-size: .9rem; }
@media (min-width: 576px) and (max-width: 991.98px) { .dc-fac-list { columns: 2; } }
.dc-fac-list li { break-inside: avoid; padding: .15rem 0; display: flex; gap: .4rem; align-items: baseline; overflow-wrap: anywhere; }
.dc-fac-list .bi { color: var(--mg-jade); }
.dc-badge-img { max-width: 100%; height: auto; }
.dc-ther { display: flex; gap: .9rem; align-items: flex-start; }
.dc-ther-ph { width: 4.5rem; height: 5.2rem; border-radius: .8rem; object-fit: cover; background: var(--mg-jade-l); color: var(--mg-jade); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.4rem; font-family: var(--mg-serif); }
.dc-ther-ph.lg { width: 11rem; height: 13rem; font-size: 3.4rem; border-radius: 1.2rem; }
.dc-sticky { position: sticky; top: 90px; }
.dc-prod img { aspect-ratio: 1; height: auto; object-fit: cover; background: var(--mg-sand); }
.dc-prod .ph { aspect-ratio: 1; background: var(--mg-sand); display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--mg-bronze); }

/* ---------- behandlinger, priser, byer ---------- */
.dc-treat-card .dc-price-list { font-size: .92rem; }
.dc-treat-card .dc-price-list div { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--mg-line); padding: .25rem 0; }
.dc-cat-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
.dc-info h2 { font-size: 1.35rem; margin-top: 1.8rem; }
.dc-info h2:first-child { margin-top: 0; }
.dc-fact { display: flex; gap: .7rem; align-items: flex-start; }
.dc-fact .bi { font-size: 1.3rem; color: var(--mg-bronze); }
.dc-links a { display: inline-block; margin: 0 .4rem .5rem 0; }
.dc-faq .accordion-button { font-weight: 600; }
.dc-faq .accordion-button:not(.collapsed) { background: var(--mg-jade-l); color: var(--mg-jade-d); }
.dc-table th, .dc-table td { white-space: nowrap; vertical-align: middle; }
.dc-table td.wrap, .dc-table th.wrap { white-space: normal; min-width: 11rem; }
.dc-level { display: flex; gap: 1rem; align-items: flex-start; }
.dc-level { flex-wrap: wrap; }
@media (max-width: 575.98px) { .dc-level { flex-direction: column; gap: .5rem; } }
.dc-level .mg-level { font-size: .9rem; flex-shrink: 0; min-width: 8.5rem; justify-content: center; }
.dc-checks li { padding: .3rem 0 .3rem 1.8rem; position: relative; }
.dc-checks li::before { content: '\F26A'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: .25rem; color: var(--mg-jade); }
.dc-city-card h2 { font-size: 1.3rem; }
@media print { .dc-filters, .dc-searchbar, #dcPriceForm { display: none !important; } }
.dc-table tr.dc-cont td { border-top-color: transparent; }
.font-sans { font-family: var(--mg-sans) !important; }
.dc-faq .accordion-button { font-family: var(--mg-sans); }
