/* ==========================================================================
   Best Self Care Florida - Main Stylesheet
   Variables set via :root in layout.php (--color-primary, --color-secondary)
   ========================================================================== */

/* ----- Reset & Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #353535;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.2; font-weight: 600; letter-spacing: .01em; color: #2c2c2c; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

/* ----- Container ------------------------------------------------------- */
.container { max-width: 1440px; margin: 0 auto; padding: 0 1.5rem; }

/* ----- Buttons --------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: .375rem;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
    padding: .625rem 1.25rem;
    font-size: .9375rem;
    line-height: 1.4;
    font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn--primary:hover {
    background: color-mix(in srgb, var(--color-primary) 85%, #000);
    border-color: color-mix(in srgb, var(--color-primary) 85%, #000);
}
.btn--secondary {
    background: var(--color-secondary);
    color: #fff;
    border-color: var(--color-secondary);
}
.btn--secondary:hover {
    background: color-mix(in srgb, var(--color-secondary) 85%, #000);
    border-color: color-mix(in srgb, var(--color-secondary) 85%, #000);
}
.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn--outline:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(201, 169, 110, .3);
}
.btn--link {
    background: none;
    border: none;
    color: var(--color-primary);
    padding: 0;
    text-decoration: underline;
}
.btn--link:hover { color: color-mix(in srgb, var(--color-primary) 75%, #000); }
.btn--sm { padding: .375rem .875rem; font-size: .8125rem; }
.btn--lg { padding: .75rem 1.75rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ----- Header ---------------------------------------------------------- */
.site-header {
    background: #fff;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, var(--color-primary), var(--color-accent, #c9a96e)) 1;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.logo:hover { text-decoration: none; }
.logo-img { height: 56px; width: auto; }

/* ----- Unified Search Bar ------------------------------------------------ */
.header-searchbar {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    min-width: 0;
}
.searchbar {
    display: flex;
    align-items: stretch;
    border: none;
    border-radius: .5rem;
    overflow: visible;
    background: transparent;
    height: 44px;
    max-width: 600px;
    width: 100%;
}
.searchbar__segment {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: 0 .875rem;
    font-size: .9375rem;
    color: #353535;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: background .15s;
}
.searchbar__segment:hover { background: #f3f4f6; }
.searchbar__segment--cat {
    border-radius: .5rem 0 0 .5rem;
    flex-shrink: 0;
    border-right: none;
}
.searchbar__segment--city {
    flex: 0 1 auto;
    min-width: 0;
    position: relative;
    border-radius: 0;
    border-left: none;
    border-right: none;
}
.searchbar__segment--city > svg {
    flex-shrink: 0;
    color: #6b7280;
    pointer-events: none;
}
.searchbar__select {
    width: auto;
    border: none;
    padding: 0 .35rem;
    font-size: .9375rem;
    background: transparent;
    color: #353535;
    min-width: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
}
.searchbar__select:focus { outline: none; background-color: #fff; }
.searchbar__city-chevron {
    color: #6b7280;
    flex-shrink: 0;
    pointer-events: none;
}
.searchbar__segment--city .searchbar__select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.searchbar__segment--city .searchbar__city-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}
.searchbar__divider {
    width: 1px;
    background: #e5e7eb;
    align-self: stretch;
    margin: 8px 0;
    flex-shrink: 0;
}
.searchbar__label {
    overflow: hidden;
    text-overflow: ellipsis;
}
.searchbar__selected-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
    line-height: 1;
}
.searchbar__selected-icon svg {
    width: 15px;
    height: 15px;
    stroke-width: 2;
}
.searchbar__chevron { transition: transform .2s; flex-shrink: 0; color: #6b7280; }
.searchbar__segment--cat[aria-expanded="true"] .searchbar__chevron { transform: rotate(180deg); }
.searchbar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    padding: 0 1rem;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
    border-radius: 0 .5rem .5rem 0;
}
.searchbar__btn:hover {
    background: color-mix(in srgb, var(--color-primary) 85%, #000);
}

/* Mega menu panel (attached to searchbar) */
.header-megamenu__panel {
    display: none;
    position: absolute;
    top: calc(100% + .375rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    padding: 1rem;
    z-index: 200;
}
.header-megamenu__panel.is-open { display: block; }
.header-megamenu__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}
.header-megamenu__all {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-primary);
    font-size: .9rem;
    font-weight: 400;
    cursor: pointer;
}
.header-megamenu__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    border-radius: .25rem;
    transition: color .15s, background .15s;
}
.header-megamenu__close:hover {
    color: #374151;
    background: #f3f4f6;
}
.header-megamenu__all:hover {
    text-decoration: underline;
}
.header-megamenu__grid {
    display: grid;
    gap: .5rem;
}
.megamenu-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: .5rem;
    padding: .65rem .7rem;
    border-radius: .5rem;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: #353535;
    font-size: .9rem;
    font-weight: 500;
    transition: box-shadow .2s, transform .2s, background .15s;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
    min-width: 0;
}
.megamenu-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
    text-decoration: none;
    background: #fdf8f2;
}
.megamenu-card--active {
    background: #fdf8f2;
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 600;
}
.megamenu-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.megamenu-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--color-primary);
    stroke-width: 1.5;
}
.megamenu-card__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.header-megamenu__empty {
    margin: .85rem 0 .2rem;
    color: #6b7280;
    font-size: .9rem;
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    flex-shrink: 0;
}
.lang-switcher__icon {
    color: #6b7280;
}
.lang-switcher__item {
    font-size: .8125rem;
    font-weight: 600;
    padding: .15rem .4rem;
    border-radius: .25rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-decoration: none;
    transition: color .2s, background .2s;
}
.lang-switcher__item--active {
    color: var(--color-primary);
}
.lang-switcher__item:not(.lang-switcher__item--active) {
    color: #9ca3af;
}
.lang-switcher__item:not(.lang-switcher__item--active):hover {
    color: var(--color-primary);
    background: #f3f4f6;
}

/* Tablet */
@media (max-width: 1024px) {
    .searchbar { max-width: 480px; }
    .searchbar__label { max-width: 100px; }
}

/* Mobile nav */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
        height: auto;
        padding: .5rem 0;
    }
    /* Logo and lang-switcher on the same line */
    .logo { flex: 1; }
    .header-searchbar {
        order: 3;
        flex: 0 0 100%;
        margin: .5rem 0;
    }
    .searchbar { max-width: 100%; height: 42px; }
    .searchbar__label { max-width: 80px; }
    .header-megamenu__panel {
        position: absolute;
        top: calc(100% + .375rem);
        left: -1rem;
        right: -1rem;
        bottom: auto;
        border-radius: .5rem;
        max-height: 70vh;
        overflow-y: auto;
        padding: .75rem;
    }
    .header-megamenu__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: .35rem;
    }
    .megamenu-card {
        padding: .45rem .55rem;
        gap: .35rem;
        font-size: .85rem;
    }
    .megamenu-card__name {
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
    }
    .lang-switcher { order: 2; }
    /* Scroll-aware: hide logo & lang switcher */
    .header--scrolled .logo { display: none; }
    .header--scrolled .lang-switcher { display: none; }
    .header--scrolled .header-inner { padding: .25rem 0; }
    .header--scrolled .header-searchbar { margin: 0; }
}

/* ----- Breadcrumbs ----------------------------------------------------- */
.breadcrumbs {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: .625rem 0;
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    font-size: .875rem;
    align-items: center;
}
.breadcrumbs-item::after {
    content: '/';
    margin-left: .5rem;
    color: #9ca3af;
}
.breadcrumbs-item:last-child::after { display: none; }
.breadcrumbs-item a { color: var(--color-primary); }
.breadcrumbs-item--active { color: #6b7280; }

/* ----- Flash Messages -------------------------------------------------- */
.flash {
    padding: .75rem 1rem;
    border-radius: .375rem;
    margin: 1rem 0;
    font-size: .9375rem;
}
.flash--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash--error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.flash--info    { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* ----- Stars ----------------------------------------------------------- */
.stars { display: inline-flex; gap: 1px; }
.star { color: #fbbf24; font-size: 1rem; line-height: 1; }
.star--full  { color: #fbbf24; }
.star--empty { color: #d1d5db; }
.star--half {
    color: #fbbf24;
    background: linear-gradient(90deg, #fbbf24 50%, #d1d5db 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- Hero Section ---------------------------------------------------- */
.hero {
    position: relative;
    background:
        linear-gradient(135deg,
            var(--color-primary),
            color-mix(in srgb, var(--color-primary) 60%, #000));
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
    border-bottom: 4px solid var(--color-accent, #c9a96e);
}
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 0;
}
.hero__content {
    position: relative;
    z-index: 1;
}
.hero__title {
    font-size: 3.25rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    font-weight: 600;
}
.hero__subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: .95;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .2);
}

@media (max-width: 768px) {
    .hero { padding: 3rem 0; }
    .hero__title { font-size: 2rem; }
    .hero__subtitle { font-size: 1.0625rem; }
}

/* ----- Section --------------------------------------------------------- */
.section { padding: 3rem 0; }
.section--alt { background: #f5f3ef; }
.section__header {
    text-align: center;
    margin-bottom: 2rem;
}
.section__header h2 { margin-bottom: .5rem; position: relative; display: inline-block; }
.section__header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--color-accent, #c9a96e);
    border-radius: 2px;
    margin: .5rem auto 0;
}
.section__header p {
    color: #6b7280;
    font-size: 1.0625rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ----- Grid Utilities -------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .grid--2,
    .grid--3,
    .grid--4 { grid-template-columns: 1fr; }
}

/* ----- Card (generic) -------------------------------------------------- */
.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.5rem;
    transition: box-shadow .2s, transform .2s;
}
.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}
.card__icon {
    font-size: 2rem;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card__icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--color-primary);
    stroke-width: 1.5;
    flex-shrink: 0;
}
.card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: .375rem;
}
.card__title a { color: #353535; }
.card__title a:hover { color: var(--color-primary); text-decoration: none; }
.card__desc {
    color: #6b7280;
    font-size: .9375rem;
    margin-bottom: .75rem;
}
.card__link {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.card__link:hover { text-decoration: underline; }

/* ----- Category & City Cards ------------------------------------------- */
.category-card,
.city-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: #353535;
    transition: box-shadow .2s, transform .2s;
}
.category-card:hover,
.city-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
    text-decoration: none;
}
.category-card__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.category-card__icon svg {
    width: 1.75rem;
    height: 1.75rem;
    stroke: var(--color-primary);
    stroke-width: 1.5;
}
.category-card__name,
.city-card__name {
    font-weight: 600;
    color: #353535;
}
.category-card__count,
.city-card__count {
    font-size: .8125rem;
    color: #9ca3af;
}

/* ----- Business Card (listing) ----------------------------------------- */
.biz-card {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.25rem;
    position: relative;
    transition: box-shadow .2s;
}
.biz-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .1); }
.biz-card__rank {
    position: absolute;
    top: 12px;
    left: 12px;
    min-width: 54px;
    height: 30px;
    padding: 0 .65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--color-primary) 88%, #000);
    border: 1px solid rgba(255, 255, 255, .45);
    box-shadow: 0 6px 14px rgba(0,0,0,.22);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.biz-card__rank span {
    color: #fff;
    font-weight: 900;
    font-size: .9rem;
    letter-spacing: .01em;
    line-height: 1;
}
.biz-card__rank--medal1 { background: linear-gradient(135deg, #f5b220 0%, #e07b00 100%); }
.biz-card__rank--medal2 { background: linear-gradient(135deg, #c0c8d0 0%, #8a9299 100%); }
.biz-card__rank--medal3 { background: linear-gradient(135deg, #cd7c2f 0%, #a05c1a 100%); }
.biz-card__position {
    display: none;
}
.biz-card__photo {
    flex: 0 0 calc(50% - .625rem);
    max-width: calc(50% - .625rem);
}
.biz-card__photo img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: .375rem;
}
.biz-card__body {
    flex: 1 1 calc(50% - .625rem);
    min-width: 0;
}
.biz-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .375rem;
}
.biz-card__name a { color: #353535; }
.biz-card__name a:hover { color: var(--color-primary); text-decoration: none; }
.biz-card__rating {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin-bottom: .375rem;
}
.biz-card__rating-num {
    font-weight: 600;
    color: #353535;
}
.biz-card__reviews {
    font-size: .8125rem;
    color: #9ca3af;
}
.biz-card__address-box {
    display: inline-flex;
    align-items: flex-start;
    gap: .375rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .375rem;
    padding: .5rem .75rem;
    font-size: .85rem;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: .5rem;
}
.biz-card__address-icon { flex-shrink: 0; color: #6b7280; line-height: 0; }
.biz-card__address-icon svg { width: .875rem; height: .875rem; margin-top: .15rem; }
.biz-card__desc {
    font-size: .9375rem;
    color: #6b7280;
    margin-bottom: .75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.biz-card__actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .biz-card {
        flex-wrap: wrap;
    }
    .biz-card__photo,
    .biz-card__body {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .biz-card__photo img {
        min-height: 190px;
        height: 190px;
    }
}

/* ----- Business Profile ------------------------------------------------ */
.biz-profile { padding: 2rem 0; }
.biz-profile__header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.biz-profile__header img {
    width: 180px;
    height: 130px;
    object-fit: cover;
    border-radius: .5rem;
    flex-shrink: 0;
}
.biz-profile__info { flex: 1; min-width: 260px; }
.biz-profile__info h1 { margin-bottom: .375rem; }
.biz-profile__info .stars { margin-bottom: .5rem; }
.biz-profile__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .875rem;
    border-radius: 2rem;
    font-size: .8125rem;
    font-weight: 600;
}
.biz-profile__badge--claimed   { background: #ecfdf5; color: #065f46; }
.biz-profile__badge--unclaimed { background: #fef3c7; color: #92400e; }

.biz-profile__grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
}
.biz-profile__main {}
.biz-profile__sidebar {}

.biz-profile__contact {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.5rem;
}
.biz-profile__contact h3 { margin-bottom: 1rem; }
.biz-profile__contact-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: .75rem;
    font-size: .9375rem;
}
.biz-profile__contact-label {
    font-weight: 600;
    min-width: 80px;
    color: #6b7280;
}
.biz-profile__photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 1.5rem;
}
.biz-profile__photos img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: .375rem;
    cursor: pointer;
    transition: opacity .2s;
}
.biz-profile__photos img:hover { opacity: .85; }

@media (max-width: 768px) {
    .biz-profile__header { flex-direction: column; }
    .biz-profile__header img { width: 100%; height: 200px; }
    .biz-profile__grid { grid-template-columns: 1fr; }
    .biz-profile__photos { grid-template-columns: repeat(2, 1fr); }
}

/* ----- How It Works / Steps -------------------------------------------- */
.steps {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}
.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
}
.step__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto .75rem;
}
.step:nth-child(even) .step__number {
    background: var(--color-accent, #c9a96e);
}
.step__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: .375rem;
}
.step__desc {
    font-size: .9375rem;
    color: #6b7280;
}

/* ----- CTA Section ----------------------------------------------------- */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--color-secondary),
        color-mix(in srgb, var(--color-secondary) 70%, #000)
    );
    color: #fff;
    padding: 3rem 0;
    text-align: center;
    border-top: 3px solid var(--color-accent, #c9a96e);
}
.cta-section__title {
    font-size: 1.75rem;
    margin-bottom: .75rem;
    color: #fff;
}
.cta-section__text {
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    opacity: .9;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.cta-section__button {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}
.cta-section__button:hover {
    background: #f3f4f6;
    color: var(--color-primary);
}

/* ----- Claim Page ------------------------------------------------------ */
.claim-page { padding: 0; }
.claim-page__hero {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 1rem;
}
.claim-page__hero h1 { margin-bottom: .75rem; }
.claim-page__hero p { color: #6b7280; font-size: 1.0625rem; }

/* ----- Claim Landing: Hero --------------------------------------------- */
.claim-hero {
    background: #f0f4f8;
    color: #1e293b;
    padding: 4rem 0 3.5rem;
    text-align: center;
}
.claim-hero__badge {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    font-size: .8125rem;
    font-weight: 700;
    padding: .35rem 1.25rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.claim-hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.claim-hero__subtitle {
    font-size: 1.125rem;
    opacity: .7;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.claim-hero__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.claim-hero__price-old {
    font-size: 1.25rem;
    text-decoration: line-through;
    opacity: .6;
}
.claim-hero__price-now {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-primary);
}
.claim-hero__price-period {
    font-size: .9375rem;
    opacity: .75;
}
.claim-secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .375rem;
    font-size: .8125rem;
    color: #6b7280;
    margin-top: 1.5rem;
}
.claim-section--pricing .claim-secure-badge {
    color: #6b7280;
    margin-top: 1.25rem;
}
.claim-secure-badge__icons {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-left: .25rem;
}

/* ----- Claim Landing: Sections ----------------------------------------- */
.claim-section {
    padding: 4rem 0;
}
.claim-section--alt {
    background: #f9fafb;
}
.claim-section--highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    text-align: center;
    padding: 3.5rem 0;
}
.claim-section--highlight h2 {
    font-size: 1.75rem;
    color: #92400e;
}
.claim-section--highlight .claim-section__lead {
    max-width: 640px;
    margin: .75rem auto 2rem;
    color: #78350f;
    font-size: 1.0625rem;
    line-height: 1.6;
}
.claim-section__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.claim-section--pricing {
    background: #f0f4f8;
    padding: 4rem 0;
}

.claim-section__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.claim-section__cols--reverse .claim-section__text { order: 2; }
.claim-section__cols--reverse .claim-section__visual { order: 1; }

.claim-section__text h2 {
    font-size: 1.75rem;
    margin-bottom: .75rem;
}
.claim-section__text > p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.claim-section__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}
.claim-icon-block {
    font-size: 6rem;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4f8;
    border-radius: 1rem;
}
.claim-section--alt .claim-icon-block {
    background: #fff;
}

/* Check list */
.claim-check-list { margin: 0; padding: 0; list-style: none; }
.claim-check-list li {
    position: relative;
    padding: .4rem 0 .4rem 1.75rem;
    font-size: .9375rem;
    color: #374151;
}
.claim-check-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

/* Extra category box */
.claim-extra-box {
    background: #fff;
    border: 2px dashed #d97706;
    border-radius: .75rem;
    padding: 1.5rem 2rem;
    max-width: 500px;
    margin: 1.5rem auto 2rem;
}
.claim-extra-box__main {
    font-weight: 700;
    font-size: 1.0625rem;
    margin-bottom: .25rem;
    color: #92400e;
}
.claim-extra-box__price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: .25rem;
}
.claim-extra-box__note {
    font-size: .875rem;
    color: #78350f;
}
.claim-extra-box__price-old {
    text-decoration: line-through;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: .55;
    margin-right: .25rem;
}

/* CTA banners */
.claim-cta-banner {
    background: var(--color-primary);
    color: #fff;
    padding: 2.5rem 0;
    text-align: center;
}
.claim-cta-banner .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
.claim-cta-banner__text {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}
.claim-cta-banner .btn--primary {
    background: #fff;
    color: var(--color-primary);
}
.claim-cta-banner .btn--primary:hover {
    background: #f0f4f8;
}

/* Mini steps */
.claim-steps-mini { margin-top: 1.5rem; }
.claim-steps-mini__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}
.claim-steps-mini__num {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .875rem;
}
.claim-steps-mini__item p {
    margin: .25rem 0 0;
    font-size: .875rem;
    color: #6b7280;
}
.claim-gpartners-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}
.claim-gpartners-badge img {
    max-width: 200px;
    height: auto;
    border-radius: .5rem;
}

/* Large button variant */
.btn--lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

/* Responsive */
@media (max-width: 768px) {
    .claim-hero__title { font-size: 1.75rem; }
    .claim-hero__price-now { font-size: 2rem; }
    .claim-section__cols { grid-template-columns: 1fr; gap: 2rem; }
    .claim-section__cols--reverse .claim-section__text { order: 1; }
    .claim-section__cols--reverse .claim-section__visual { order: 2; }
    .claim-icon-block { width: 120px; height: 120px; font-size: 4rem; }
    .claim-cta-banner .container { flex-direction: column; }
}

.pricing-card {
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: .75rem;
    padding: 2.5rem 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 480px;
    margin: 0 auto;
}
.pricing-card__ribbon {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--color-secondary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem 2.5rem;
    transform: rotate(45deg);
}
.pricing-card__price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 1rem 0;
}
.pricing-card__period {
    font-size: .875rem;
    color: #6b7280;
    font-weight: 400;
}

.feature-list { margin: 1.5rem 0; }
.feature-list li {
    padding: .5rem 0 .5rem 1.75rem;
    position: relative;
    font-size: .9375rem;
    text-align: left;
}
.feature-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: 700;
}

/* (claim-page grid moved to landing sections above) */

/* ----- Badge Page ------------------------------------------------------ */
.badge-page { padding: 2rem 0; max-width: 800px; margin: 0 auto; }
.badge-page__hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
}
.badge-page__hero h1 { margin-bottom: .75rem; }
.badge-page__description {
    text-align: center;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}
.badge-page__benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.badge-benefit {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .5rem;
    padding: 1.5rem;
}
.badge-benefit h3 { margin-bottom: .5rem; font-size: 1rem; }
.badge-preview {
    text-align: center;
    margin: 2rem 0;
}
.badge-preview img { max-width: 200px; margin: 0 auto; }
.badge-page__cta {
    text-align: center;
    margin: 2rem 0 3rem;
}

/* ----- Checkout -------------------------------------------------------- */
.checkout { padding: 2rem 0; }
.checkout__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

.checkout-form { padding-bottom: 4rem; }
.checkout-form h2 { margin-bottom: 1.25rem; }

.checkout-form__header { margin-bottom: 1rem; margin-top: 2.5rem; text-align: center; }
.checkout-test-banner {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
    padding: .75rem 1.25rem;
    border-radius: .5rem;
    text-align: center;
    font-size: .9375rem;
    margin-top: 2rem;
}
.checkout-form__header h1 { margin-bottom: .375rem; }
.checkout-form__header p { color: #6b7280; }

.checkout-form__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.checkout-form__secure {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .375rem;
    font-size: .8125rem;
    color: #6b7280;
    margin-top: .75rem;
}
.checkout-card-icons {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    margin-left: .25rem;
}

/* Payment buttons */
.checkout-pay-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: .5rem;
}
.checkout-pay-buttons {
    display: flex;
    gap: .75rem;
    align-items: stretch;
}

/* "Skip payment" testing block — only rendered when enabled in admin. */
.checkout-skip-payment {
    margin-top: 1rem;
    padding: 1rem;
    border: 2px dashed #d97706;
    border-radius: 8px;
    background: #fff7ed;
}
.checkout-skip-payment__warning {
    margin-bottom: .75rem;
    padding: .6rem .8rem;
    background: #fff3cd;
    border-left: 4px solid #d97706;
    color: #92400e;
    font-size: .9rem;
    line-height: 1.4;
    border-radius: 4px;
}
.checkout-skip-payment__btn {
    width: 100%;
    background: #fde68a;
    color: #78350f;
    border: 1px solid #d97706;
    font-weight: 600;
}
.checkout-skip-payment__btn:hover { background: #fcd34d; }
.btn--pay-card {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    white-space: nowrap;
    height: 55px;
    min-height: 55px;
    padding: 0 1.5rem;
    box-sizing: border-box;
    line-height: 1;
}
.checkout-paypal-btn {
    flex: 1;
    min-width: 0;
    height: 55px;
    overflow: hidden;
}
.checkout-paypal-btn .paypal-buttons {
    border: none !important;
    padding: 0 !important;
}
.checkout-paypal-btn iframe {
    border: none !important;
}
@media (max-width: 768px) {
    .checkout-pay-buttons {
        flex-direction: column;
    }
    /* Allow long button labels (e.g. "Pay with card (Stripe)") to wrap
       on narrow screens instead of forcing horizontal overflow. */
    .btn--pay-card {
        white-space: normal;
        height: auto;
        min-height: 55px;
        padding: .5rem 1rem;
        line-height: 1.2;
    }
}
@media (max-width: 480px) {
    /* Reduce container side padding so the form/order-summary fit on
       very narrow phones (320-360px). */
    .checkout-form .container { padding-left: 1rem; padding-right: 1rem; }
    .order-summary { padding: 1rem; }
}


/* PayPal button container styling */
#paypal-button-container {
    height: 55px;
}

/* Extra categories in checkout */
.extra-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .5rem;
}
.extra-cat-option {
    display: inline-flex !important;
    align-items: center;
    gap: .35rem;
    padding: .4rem .85rem;
    border: 1px solid #d1d5db;
    border-radius: 2rem;
    font-size: .875rem;
    font-weight: 400;
    cursor: pointer;
    background: #f9fafb;
    transition: all .15s;
    max-width: 100%;
}
.extra-cat-option:hover { border-color: var(--color-primary); background: #f0f4f8; }
.extra-cat-option:has(input:checked) { border-color: var(--color-secondary); background: #e8f5e9; }
.extra-cat-option--included { opacity: .85; cursor: default; }
.extra-cat-option--included:hover { border-color: var(--color-secondary); background: #e8f5e9; }
.extra-cat-included-badge {
    font-size: .7rem;
    font-weight: 500;
    color: #16a34a;
    background: #dcfce7;
    padding: .1rem .5rem;
    border-radius: 1rem;
    white-space: nowrap;
}
.extra-cat-option input[type="checkbox"] {
    margin: 0;
    flex: 0 0 auto;
    /* Override .form-group input { width: 100% } below, which would
       otherwise stretch the checkbox and push the text outside the pill. */
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    padding: 0;
}
.extra-cat-option span { white-space: nowrap; }
/* Larger checkboxes globally */
input[type="checkbox"] { width: 1.15rem; height: 1.15rem; min-width: 1.15rem; }
/* Larger radio buttons globally */
input[type="radio"] { width: 1.15rem; height: 1.15rem; min-width: 1.15rem; accent-color: var(--color-primary); }
.checkout-extra-price-hint { font-weight: 400; font-size: .8125rem; color: #6b7280; }
.order-summary__row--extras { color: #6b7280; font-size: .875rem; }
.order-summary__row--sub {
    font-size: .8rem;
    color: #9ca3af;
    padding-left: .5rem;
    border-left: 2px solid #e5e7eb;
    margin-left: .25rem;
}
.order-summary__included-badge {
    font-size: .7rem;
    font-weight: 500;
    color: #16a34a;
    background: #dcfce7;
    padding: .1rem .5rem;
    border-radius: 1rem;
    white-space: nowrap;
}
.order-summary__old-price {
    text-decoration: line-through;
    opacity: .5;
    font-size: .8125rem;
    margin-right: .25rem;
}

.checkout-summary,
.order-summary {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 80px;
}
.checkout-summary h3,
.order-summary h3,
.checkout-summary h2,
.order-summary h2 { margin-bottom: 1rem; font-size: 1.125rem; }
.checkout-summary__line,
.order-summary__line,
.order-summary__row {
    display: flex;
    justify-content: space-between;
    padding: .5rem 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: .9375rem;
}
.checkout-summary__line--total,
.order-summary__line--total,
.order-summary__row--total {
    font-weight: 700;
    font-size: 1.125rem;
    border-bottom: none;
}
.order-summary__nowrap { white-space: nowrap; }
.checkout-summary__secure {
    font-size: .8125rem;
    color: #6b7280;
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 768px) {
    .checkout__grid { grid-template-columns: 1fr; }
    .checkout-form__grid { grid-template-columns: 1fr; }
    /* Pills wrap to multiple rows but keep natural width per option */
    .extra-categories-list { flex-direction: row; }
    .extra-cat-option { width: auto; }
    .extra-cat-option--included { flex-wrap: wrap; }
}

/* ----- Forms ----------------------------------------------------------- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: .375rem;
    font-size: .9375rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .625rem .875rem;
    border: 1px solid #d1d5db;
    border-radius: .375rem;
    font-size: .9375rem;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 95, 115, .1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9ca3af; }
.form-group__hint {
    font-size: .8125rem;
    color: #6b7280;
    margin-top: .25rem;
}
.form-group--error input,
.form-group--error select,
.form-group--error textarea { border-color: #dc2626; }
.form-group__error {
    font-size: .8125rem;
    color: #dc2626;
    margin-top: .25rem;
}
.form-check {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}
.form-check input[type="checkbox"] {
    margin-top: .25rem;
    accent-color: var(--color-primary);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

/* ----- Result Pages (checkout-ok / checkout-ko) ------------------------ */
.result-page {
    text-align: center;
    padding: 4rem 0;
}
.result-page__icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.result-page--success .result-page__icon { color: #059669; }
.result-page--error .result-page__icon   { color: #dc2626; }
.result-page h1 { margin-bottom: .75rem; }
.result-page p {
    color: #6b7280;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.result-page__actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- Legal Pages ----------------------------------------------------- */
.legal-content {
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}
.legal-content h1 { margin-bottom: 1rem; }
.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: .75rem;
    font-size: 1.5rem;
}
.legal-content h3 {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}
.legal-content p { margin-bottom: .75rem; }
.legal-content ul,
.legal-content ol {
    margin: .75rem 0 .75rem 1.5rem;
    list-style: disc;
}
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: .375rem; }
.legal-content a { text-decoration: underline; }

/* ----- 404 Error Page -------------------------------------------------- */
.error-page {
    text-align: center;
    padding: 5rem 0;
}
.error-page__code {
    font-size: 6rem;
    font-weight: 800;
    color: var(--color-primary);
    opacity: .3;
    line-height: 1;
    margin-bottom: .5rem;
}
.error-page h1 { margin-bottom: .75rem; }
.error-page p {
    color: #6b7280;
    font-size: 1.0625rem;
    margin-bottom: 1.5rem;
}

/* ----- Footer ---------------------------------------------------------- */
.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}
.footer-grid h4 { color: #fff; margin-bottom: .75rem; }
.footer-tagline {
    font-size: .9375rem;
    line-height: 1.6;
}
.footer-col { flex: 1 1 0; }
.footer-col--brand {
    display: flex;
    flex-direction: column;
}
.footer-col--brand h4 { font-size: 1.125rem; }
.footer-col--brand .footer-tagline { font-size: 1rem; }
.footer-brand-badge {
    margin-top: auto;
    padding-top: 1.5rem;
    height: auto;
    width: 90px;
}
.footer-col--right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.footer-col--center {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-partners-logo {
    margin-top: auto;
    padding-top: 1.5rem;
    opacity: .75;
    transition: opacity .2s;
    height: auto;
}
.footer-partners-logo:hover { opacity: 1; }
.footer-links li { margin-bottom: .375rem; }
.footer-links a {
    color: #94a3b8;
    font-size: .9375rem;
    transition: color .2s;
}
.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--color-accent, #c9a96e);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: .8125rem;
    color: #64748b;
}
.footer-bottom__copy { margin: 0; }
.footer-bottom__legal { margin: 0; }
.footer-bottom a {
    color: #94a3b8;
    transition: color .2s;
}
.footer-bottom a:hover { color: #fff; text-decoration: none; }
.footer-bottom__sep { margin: 0 .4em; opacity: .5; }

@media (max-width: 768px) {
    .footer-grid { gap: 1.5rem; }
    .footer-col--right { align-items: flex-start; }
    .footer-col--center { align-items: flex-start; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
@media (max-width: 480px) {
    .footer-grid { flex-direction: column; }
}

/* ----- Consent Banner -------------------------------------------------- */
.consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 1.25rem;
    z-index: 1000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
    transform: translateY(0);
    transition: transform .3s;
}
.consent-banner[hidden] {
    display: none;
}
.consent-banner__inner {
    max-width: 1440px;
    margin: 0 auto;
}
.consent-banner__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .375rem;
}
.consent-banner__text {
    font-size: .875rem;
    color: #6b7280;
    margin-bottom: .75rem;
}
.consent-banner__text p { margin-bottom: .375rem; }
.consent-banner__actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}
.consent-banner__details { margin-top: .75rem; }
.consent-option { margin-bottom: .75rem; }
.consent-option label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9375rem;
    font-weight: 500;
    cursor: pointer;
}
.consent-option__desc {
    font-size: .8125rem;
    color: #6b7280;
    margin-left: 1.75rem;
}

/* ----- Utility Classes ------------------------------------------------- */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----- Checkout OK Options --------------------------------------------- */
.checkout-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 860px;
    margin: 2rem auto 0;
    text-align: left;
}
.checkout-option {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 2rem;
}
.checkout-option h2 {
    margin-bottom: .5rem;
    font-size: 1.25rem;
}
.checkout-option p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}
.checkout-option .form-group {
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .checkout-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ----- Checkout Assistance Confirmation ------------------------------------ */
.checkout-confirmation {
    background: #f0fdf4;
    border: 1.5px solid #bbf7d0;
    border-radius: 12px;
    padding: 2rem 2rem 1.5rem;
    margin: 0 auto 2rem;
    max-width: 540px;
    text-align: center;
}
.checkout-confirmation__icon {
    color: #16a34a;
    margin-bottom: 1rem;
}
.checkout-confirmation h2 {
    font-size: 1.5rem;
    color: #15803d;
    margin-bottom: .75rem;
}
.checkout-confirmation p {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}
.checkout-confirmation__contact {
    list-style: none;
    margin: 0 0 .5rem;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    gap: .25rem;
    text-align: left;
    background: #dcfce7;
    border-radius: 8px;
    padding: .75rem 1.25rem;
    font-size: .95rem;
    color: #166534;
}

/* ----- Image-based Category Cards ----------------------------------------- */
.category-card--img {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    text-decoration: none;
    color: #353535;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    transition: box-shadow .25s, transform .25s;
}
.category-card--img:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
    transform: translateY(-3px);
    text-decoration: none;
}

/* ── Image area ─────────────────────────────────────────────────────────── */
.category-card__img {
    height: 150px;
    background-color: #2a2a2a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.category-card__img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-card__img--placeholder {
    background-color: var(--color-primary, #005f73);
    background-image: linear-gradient(135deg, var(--color-primary, #005f73) 0%, #002d36 100%);
}
/* Dark overlay — fades in on hover */
.category-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.category-card--img:hover .category-card__img::after { opacity: 1; }

/* Centered icon + name over the image (visible only on hover) */
.category-card__hover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    z-index: 1;
    opacity: 0;
    transition: opacity .3s;
    padding: .75rem;
}
.category-card--img:hover .category-card__hover { opacity: 1; }
.category-card__hover-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-card__hover-icon svg {
    width: 2.25rem;
    height: 2.25rem;
    stroke: #fff;
    stroke-width: 1.5;
}
.category-card__hover-name {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: .02em;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

/* ── Default bottom bar ─────────────────────────────────────────────────── */
.category-card__body {
    padding: .8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
}
.category-card--img .category-card__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.category-card--img .category-card__icon svg {
    width: 1.9rem;
    height: 1.9rem;
    stroke: var(--color-primary);
    stroke-width: 1.5;
}
.category-card--img .category-card__name {
    font-size: 1.35rem;
    font-weight: 600;
    color: #353535;
    margin: 0;
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: .01em;
    transition: color .25s;
}
.category-card--img:hover .category-card__name { color: var(--color-primary); }

/* ----- Business Profile Redesign ------------------------------------------ */
.biz-profile { padding: 2rem 0; }

.biz-profile__header {
    display: block;
    padding: 1.5rem 0 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.75rem;
}
.biz-profile__header--has-photo {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}
.biz-profile__header--has-photo .biz-profile__header-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .5rem; }
.biz-profile__header-photo {
    flex: 0 0 480px;
    border-radius: .75rem;
    overflow: hidden;
    line-height: 0;
}
.biz-profile__header-photo > img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: .75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.biz-profile__header h1 { margin-bottom: 0; }
.biz-profile__header-address-box {
    margin-top: auto;
    align-self: flex-start;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1rem 1.25rem;
}
.biz-profile__header-address-box h3 {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: .375rem;
    text-transform: uppercase;
    letter-spacing: .025em;
}
.biz-profile__header-address-box h3 svg { width: 1rem; height: 1rem; }
.biz-profile__header-address-box p { font-size: .9375rem; color: #1e293b; line-height: 1.5; margin: 0; }
.biz-profile__rating {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: 0;
    flex-wrap: wrap;
}
.biz-profile__review-count { color: #6b7280; font-size: .9rem; }
.biz-profile__claimed {
    display: inline-block;
    align-self: flex-start;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: .25rem .875rem;
    border-radius: 2rem;
    font-size: .8125rem;
    font-weight: 600;
    margin-top: 0;
}
.biz-profile__unclaimed {
    display: inline-block;
    align-self: flex-start;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
    padding: .25rem .875rem;
    border-radius: 2rem;
    font-size: .8125rem;
    font-weight: 600;
    margin-top: 0;
}
.biz-profile__badge--rank {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: var(--color-primary);
    color: #fff;
    padding: .25rem .875rem;
    border-radius: 2rem;
    font-size: .8125rem;
    font-weight: 700;
    margin-bottom: 0;
}

.biz-profile__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}
.biz-profile__main {}
.biz-profile__sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Sidebar Carousel */
.biz-profile__carousel {
    border-radius: .5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    position: relative;
    line-height: 0;
}
.biz-profile__carousel-track { position: relative; }
.biz-profile__carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
    z-index: 0;
}
.biz-profile__carousel-slide--active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 1;
}
.biz-profile__carousel-slide--exit {
    opacity: 0;
    transform: translateX(-30px);
    z-index: 0;
}
.biz-profile__carousel-slide img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
/* Header carousel: 16:9 min aspect, stretches to full header height */
.biz-profile__carousel--header {
    border-radius: .75rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    height: 100%;
}
.biz-profile__carousel--header .biz-profile__carousel-track { height: 100%; }
.biz-profile__carousel--header .biz-profile__carousel-slide { height: 100%; }
.biz-profile__carousel--header .biz-profile__carousel-slide--active { height: 100%; }
.biz-profile__carousel--header .biz-profile__carousel-slide img {
    aspect-ratio: 16 / 9;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
}
/* Sidebar single photo */
.biz-profile__sidebar-photo {
    border-radius: .5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    line-height: 0;
}
.biz-profile__sidebar-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.biz-profile__carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.85);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    color: #333;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    transition: background .2s;
}
.biz-profile__carousel-btn:hover { background: #fff; }
.biz-profile__carousel-btn--prev { left: .5rem; }
.biz-profile__carousel-btn--next { right: .5rem; }
.biz-profile__carousel-dots {
    position: absolute;
    bottom: .5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .35rem;
    z-index: 2;
}
.biz-profile__carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    padding: 0;
    transition: background .2s;
}
.biz-profile__carousel-dot--active { background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }

/* Adaptive Photo Gallery */
.biz-profile__gallery {
    display: grid;
    gap: .75rem;
    margin-top: .375rem;
}
.biz-profile__gallery--1 { grid-template-columns: 1fr; max-width: 420px; }
.biz-profile__gallery--2 { grid-template-columns: repeat(2, 1fr); }
.biz-profile__gallery--3 { grid-template-columns: repeat(3, 1fr); }
.biz-profile__gallery--4 { grid-template-columns: repeat(2, 1fr); }
.biz-profile__gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: .375rem;
    cursor: pointer;
    transition: opacity .2s;
}
.biz-profile__gallery img:hover { opacity: .85; }

.biz-profile__section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}
.biz-profile__section h2 { margin-bottom: .875rem; font-size: 1.25rem; }
.biz-profile__section p { line-height: 1.7; color: #353535; }

.biz-profile__google-rating-block {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
    font-size: 1rem;
}

.biz-profile__contact {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.5rem;
}
.biz-profile__contact h2 { margin-bottom: 1rem; font-size: 1.25rem; }
.biz-profile__contact p {
    margin-bottom: .625rem;
    font-size: .9375rem;
    line-height: 1.5;
}
.biz-profile__contact p:last-child { margin-bottom: 0; }
.biz-profile__contact strong { color: #6b7280; font-size: .8125rem; display: block; margin-bottom: .125rem; }

/* Blurred contact fields for unclaimed businesses */
.biz-profile__contact-hidden {
    position: relative;
    margin-bottom: .625rem;
    cursor: pointer;
}
.biz-profile__contact-blurred {
    display: block;
    filter: blur(5px);
    user-select: none;
    pointer-events: none;
    font-size: .9375rem;
    line-height: 1.5;
}
.biz-profile__contact-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    min-height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: .875rem;
    line-height: 1.4;
    color: transparent;
    text-decoration: none;
    padding: .75rem;
    border-radius: .375rem;
}
.biz-profile__contact-hidden:hover .biz-profile__contact-overlay {
    display: flex;
    color: #fff;
    background: rgba(0, 0, 0, .8);
    z-index: 1;
}
.biz-profile__contact-hidden:hover .biz-profile__contact-blurred {
    filter: blur(8px);
}

.biz-profile__hours {
    background: #fefcf3;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: 1.5rem;
    margin-top: 1.25rem;
}
.biz-profile__hours h2 {
    margin-bottom: .875rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.biz-profile__hours h2 svg { width: 1.125rem; height: 1.125rem; }
.biz-profile__hours-list {
    font-size: .9375rem;
    line-height: 2;
    color: #1e293b;
}

.biz-profile__map {
    margin-top: 1.25rem;
    border-radius: .5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    line-height: 0;
}
.biz-profile__map iframe { display: block; }

.biz-profile__claim-cta {
    background: linear-gradient(135deg, var(--color-secondary), color-mix(in srgb, var(--color-secondary) 80%, #000));
    border-radius: .5rem;
    padding: 1.5rem;
    color: #fff;
    text-align: center;
}
.biz-profile__claim-cta p {
    color: rgba(255,255,255,.9);
    font-size: .9375rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.biz-profile__claim-cta .btn--primary {
    background: #fff;
    color: var(--color-secondary);
    border-color: #fff;
    font-weight: 700;
}
.biz-profile__claim-cta .btn--primary:hover {
    background: #f3f4f6;
    border-color: #f3f4f6;
}

.biz-profile__back {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    font-size: .9375rem;
}
.biz-profile__back a { color: var(--color-primary); }

@media (max-width: 900px) {
    .biz-profile__layout { grid-template-columns: 1fr; }
    .biz-profile__sidebar { position: static; }
    .biz-profile__gallery--3,
    .biz-profile__gallery--4 { grid-template-columns: repeat(2, 1fr); }
    .biz-profile__header--has-photo { flex-direction: column; }
    .biz-profile__header-photo { flex: none; width: 100%; max-width: 100%; }
    .biz-profile__header-photo > img { height: 220px; }
    .biz-profile__carousel--header .biz-profile__carousel-slide img { min-height: 180px; height: 220px; }
}
@media (max-width: 640px) {
    .biz-profile__gallery--2,
    .biz-profile__gallery--3,
    .biz-profile__gallery--4 { grid-template-columns: 1fr; }
}

/* ----- Checkout Step Indicator -------------------------------------------- */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 1.75rem 0 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.checkout-steps--compact { margin: 1.25rem auto 2rem; }

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    flex: 0 0 auto;
}
.checkout-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    transition: background .2s, color .2s, border-color .2s;
}
.checkout-step__label {
    font-size: .8125rem;
    font-weight: 500;
    color: #9ca3af;
    text-align: center;
    white-space: nowrap;
    transition: color .2s;
}
.checkout-step--active .checkout-step__num {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.checkout-step--active .checkout-step__label { color: var(--color-primary); font-weight: 600; }
.checkout-step--done .checkout-step__num {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}
.checkout-step--done .checkout-step__label { color: #10b981; font-weight: 600; }
.checkout-step__line {
    flex: 1;
    height: 2px;
    background: #e5e7eb;
    margin: 0 .75rem;
    margin-bottom: 1.25rem;
    min-width: 60px;
}
.checkout-step__line--done { background: #10b981; }

/* ----- Listing with Map (Yelp style) -------------------------------------- */
.listing-with-map {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}
.listing-with-map__list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-top: 1rem;
}
.listing-with-map__map {
    position: sticky;
    top: 88px;
}
.listing-map {
    border-radius: .5rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    line-height: 0;
}
.listing-map iframe { display: block; }

@media (max-width: 1024px) {
    .listing-with-map { grid-template-columns: 1fr; }
    .listing-with-map__map { position: static; order: 1; }
    .listing-map { height: 280px; }
    .listing-map iframe { height: 280px !important; min-height: 0 !important; }
}

/* ----- Simple Listing (without map) ------------------------------------- */
.listing-simple {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* ----- Front Pagination --------------------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: 1.5rem;
}
.pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 .75rem;
    border: 1px solid #e5e7eb;
    border-radius: .375rem;
    color: #353535;
    text-decoration: none;
    font-size: .9rem;
    transition: background .2s, color .2s, border-color .2s;
}
.pagination__item:hover {
    text-decoration: none;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.pagination__item.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

/* ----- Compact City Cards ------------------------------------------------- */
.cities-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .65rem;
}
.city-mini-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: .5rem .8rem;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    background: #fff;
    color: #353535;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.city-mini-card:hover {
    text-decoration: none;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .cities-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .cities-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .cities-mini-grid {
        grid-template-columns: 1fr;
    }
}

/* ----- Checkout form rows (50/50) and checkbox inline -------------------- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.form-row .form-group { margin-bottom: 0; }
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
}

.form-group--checkbox label,
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.5;
}
.form-group--checkbox input[type="checkbox"],
.checkbox-label input[type="checkbox"] {
    width: auto;
    flex-shrink: 0;
    margin-top: .2rem;
}

/* ----- Modal overlay ------------------------------------------------------- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.is-open { display: flex; }
.modal {
    background: #fff;
    border-radius: .5rem;
    max-width: 680px;
    width: 100%;
    max-height: 82vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .2);
}
.modal__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: .25rem .5rem;
    border-radius: .25rem;
}
.modal__close:hover { background: #f3f4f6; color: #111; }
.modal__content h2 { font-size: 1.25rem; margin: 1.25rem 0 .5rem; }
.modal__content h3 { font-size: 1rem; margin: 1rem 0 .375rem; }
.modal__content p,
.modal__content li { font-size: .9375rem; line-height: 1.65; margin-bottom: .5rem; }
.modal__content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: .75rem; }

/* ----- Warm accent section ------------------------------------------------ */
.section--warm { background: #fdf8f2; }

/* ----- Category card icon (img variant) handled in .category-card--img context above */

/* ----- Business card category tag ----------------------------------------- */
.biz-card__category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: .375rem;
}
.biz-card__category-tag {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    background: #fdf8f2;
    border: 1px solid #f0e6d8;
    border-radius: 2rem;
    padding: .2rem .65rem;
    font-size: .8125rem;
    color: #78350f;
}
.biz-card__category-tag--primary {
    background: #fef3c7;
    border-color: #f59e0b;
}
.biz-card__cat-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.biz-card__cat-icon svg {
    width: .85rem;
    height: .85rem;
    stroke: currentColor;
    stroke-width: 2;
}
.biz-card__cat-name { font-weight: 500; }

/* ----- Business profile category tag -------------------------------------- */
.biz-profile__category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .75rem;
    margin-top: .25rem;
}
.biz-profile__category-tag {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background: #fdf8f2;
    border: 1px solid #f0e6d8;
    border-radius: 2rem;
    padding: .3rem .875rem;
    font-size: .875rem;
    color: #78350f;
    font-weight: 500;
    text-decoration: none;
    transition: background .15s;
}
.biz-profile__category-tag:hover { background: #f5ede2; }
.biz-profile__category-tag--primary { border-color: var(--color-secondary); background: #e8f5e9; color: #1b5e20; }
.biz-profile__category-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.biz-profile__category-icon svg {
    width: .95rem;
    height: .95rem;
    stroke: currentColor;
    stroke-width: 2;
}

/* ----- Pricing card: struck-out original price ---------------------------- */
.pricing-card__original {
    margin-bottom: .25rem;
}
.pricing-card__struck {
    font-size: 1.25rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}
.pricing-card__annual-note {
    font-size: .8125rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    padding: .5rem .75rem;
    background: #f9fafb;
    border-radius: .375rem;
    border: 1px solid #e5e7eb;
}

/* ----- Order summary renewal note ----------------------------------------- */
.order-summary__renewal {
    font-size: .8125rem;
    color: #6b7280;
    padding: .375rem 0 .75rem;
    border-bottom: 1px solid #f3f4f6;
}

/* ----- Coupon block in order summary -------------------------------------- */
.order-summary__coupon {
    margin: .75rem 0 .25rem;
    padding-top: .75rem;
    border-top: 1px dashed #e5e7eb;
}
.order-summary__coupon label {
    display: block;
    font-size: .8125rem;
    color: #374151;
    margin-bottom: .25rem;
}
.order-summary__coupon-row {
    display: flex;
    gap: .5rem;
}
.order-summary__coupon-row input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: .5rem .625rem;
    font-size: .9rem;
    border: 1px solid #d1d5db;
    border-radius: .375rem;
    text-transform: uppercase;
}
.order-summary__coupon-row .btn {
    flex: 0 0 auto;
    padding: .5rem .9rem;
    font-size: .875rem;
}
.order-summary__coupon-feedback {
    font-size: .8125rem;
    margin-top: .375rem;
    min-height: 1em;
}
.order-summary__coupon-feedback.is-success { color: #059669; }
.order-summary__coupon-feedback.is-error   { color: #dc2626; }
.order-summary__row--discount {
    color: #059669;
    font-weight: 500;
}
.order-summary__row--discount code {
    background: #ecfdf5;
    color: #065f46;
    padding: .0625rem .375rem;
    border-radius: .25rem;
    font-size: .8125rem;
}
.order-summary__discount-left {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    flex-wrap: wrap;
}
.order-summary__discount-percent {
    color: #059669;
    font-size: .875rem;
    font-weight: 500;
}
.order-summary__coupon-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 1px solid #fecaca;
    background: #fff;
    color: #dc2626;
    border-radius: .25rem;
    cursor: pointer;
    line-height: 1;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.order-summary__coupon-remove:hover {
    background: #fef2f2;
    border-color: #f87171;
}
.order-summary__coupon-remove:focus-visible {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Override pricing card price layout to fit period inline */
.pricing-card__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .25rem;
    flex-wrap: wrap;
}
.pricing-card__period {
    font-size: .875rem;
    color: #6b7280;
    font-weight: 400;
    align-self: flex-end;
    padding-bottom: .25rem;
}


/* =========================================================================
   Featured Businesses Section (Homepage)
   ========================================================================= */

.section--featured {
    padding: 3rem 0;
    background: #fff;
}
.section--featured h2 {
    text-align: center;
    margin-bottom: .3rem;
}
.section__subtitle {
    text-align: center;
    color: #6b7280;
    font-size: .95rem;
    margin-bottom: 2rem;
}

/* Featured card grid */
.featured-grid {
    margin-top: 1.5rem;
    gap: 1.5rem;
}

.featured-card,
.featured-card:hover,
.featured-card:focus {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: transform .2s, box-shadow .2s;
}
.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

.featured-card__img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
}
.featured-card__img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card__body {
    padding: 1rem 1.25rem 1.25rem;
}

.featured-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 .5rem;
    color: var(--color-text, #353535);
    line-height: 1.3;
}

.featured-card__meta {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    color: #6b7280;
    flex-wrap: wrap;
    margin-bottom: .5rem;
}
.featured-card__cat-icon {
    display: inline-flex;
    align-items: center;
}
.featured-card__cat-icon svg {
    width: 14px;
    height: 14px;
}
.featured-card__sep {
    color: #ccc;
}
.featured-card__cat-tag {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    background: #fdf8f2;
    border: 1px solid #f0e6d8;
    border-radius: 2rem;
    padding: .1rem .5rem;
    font-size: .78rem;
    color: #78350f;
}
.featured-card__cat-tag--primary {
    background: #fef3c7;
    border-color: #f59e0b;
}

.featured-card__rating {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    color: #f59e0b;
}
.featured-card__rating span {
    color: #353535;
    font-weight: 600;
}

/* Featured CTA */
.featured-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px dashed #d1d5db;
}
.featured-cta__text {
    font-size: .95rem;
    color: #6b7280;
    margin-bottom: .75rem;
}

/* Featured request form */
.featured-form-wrapper {
    max-width: 640px;
    margin: 1.5rem auto 0;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}
.featured-form__title {
    text-align: center;
    font-size: 1.15rem;
    color: var(--color-primary, #005f73);
    margin-bottom: 1.25rem;
}
.featured-form__row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
}
.featured-form__group {
    flex: 1;
    margin-bottom: 1rem;
}
.featured-form__group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: .3rem;
    color: #374151;
}
.featured-form__group input,
.featured-form__group textarea {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .9rem;
    font-family: inherit;
    transition: border-color .2s;
    box-sizing: border-box;
}
.featured-form__group input:focus,
.featured-form__group textarea:focus {
    outline: none;
    border-color: var(--color-primary, #005f73);
}
.featured-form__group textarea {
    resize: vertical;
}
.required {
    color: #c62828;
}
.featured-form__actions {
    text-align: center;
    margin-top: .5rem;
}
.featured-form__privacy {
    margin-bottom: .75rem;
}
.featured-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .85rem;
    color: #374151;
    cursor: pointer;
    line-height: 1.4;
}
.featured-form__checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: .2rem;
    flex-shrink: 0;
}
.featured-form__checkbox-label a {
    color: var(--color-primary, #005f73);
    text-decoration: underline;
}
.featured-form__checkbox-label a:hover {
    text-decoration: none;
}
.featured-form__feedback {
    text-align: center;
    margin-top: 1rem;
    padding: .75rem 1rem;
    border-radius: 8px;
    font-size: .9rem;
}
.featured-form__feedback--success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.featured-form__feedback--error {
    background: #fde8e8;
    color: #c62828;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-form__row {
        flex-direction: column;
    }
    .featured-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}





/* --- Redsys InSite overlays ------------------------------------ */
.redsys-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .55);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.redsys-overlay.is-open { display: flex; }

.redsys-overlay__dialog {
    background: #fff;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    padding: 2rem 1.75rem 1.75rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.redsys-overlay__dialog--auth { max-width: 560px; text-align: center; }

.redsys-overlay__close {
    position: absolute;
    top: .5rem;
    right: .75rem;
    background: none;
    border: 0;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
.redsys-overlay__title { margin: 0 0 .25rem; font-size: 1.25rem; }
.redsys-overlay__subtitle { margin: 0 0 1.25rem; color: #666; font-size: .95rem; }

.redsys-insite-form { display: flex; flex-direction: column; gap: .85rem; }
.redsys-insite-row  { display: flex; gap: .75rem; }
.redsys-insite-col  { flex: 1; }
.redsys-insite-label {
    display: block;
    font-size: .85rem;
    font-weight: 500;
    color: #444;
    margin-bottom: .25rem;
}
.redsys-insite-field {
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    min-height: 44px;
    background: #fafafa;
    overflow: hidden;
}
.redsys-insite-field iframe { width: 100%; height: 44px; border: 0; display: block; }

/* Unified InSite (todo-en-uno): single iframe rendered by Redsys
   inside #card-form. Give it room to lay out its own fields/button. */
.redsys-insite-unified { min-height: 380px; height: 380px; }
.redsys-insite-unified iframe {
    width: 100% !important;
    height: 380px !important;
    border: 0;
    display: block;
}

/* Inline error banner used in forms (e.g. checkout-ok photo validation) */
.form-error-banner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #b91c1c;
    color: #7f1d1d;
    padding: .9rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.form-error-banner strong { display: block; margin-bottom: .35rem; }
.form-error-banner ul { margin: 0; padding-left: 1.25rem; }
.form-error-banner li { margin: .15rem 0; }

.redsys-spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e5e5e5;
    border-top-color: #1a1f71;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: redsys-spin 1s linear infinite;
}
@keyframes redsys-spin { to { transform: rotate(360deg); } }


/* ----- Homepage city links table ----------------------------------------- */
.city-links-section h2 { text-align: center; }
.city-links-section .section__subtitle { text-align: center; margin-bottom: 1.5rem; }
.city-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, max-content));
    gap: 1.5rem;
    justify-content: center;
}
.city-links-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}
.city-links-table thead th {
    background: #f7efe4;
    padding: 1rem 2.25rem;
    text-align: center;
    font-size: 1rem;
    border-bottom: 2px solid #e6d7c0;
}
.city-links-table__city {
    color: #8b4513;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
}
.city-links-table__city:hover { text-decoration: underline; }
.city-links-table tbody td {
    padding: 1rem 2.25rem;
    border-bottom: 1px solid #f0e6d6;
    vertical-align: top;
    text-align: center;
}
.city-links-table tbody tr:last-child td { border-bottom: 0; }
.city-links-table__link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 1rem;
}
.city-links-table__link:hover { color: #8b4513; text-decoration: underline; }
.city-links-table__icon i { width: 16px; height: 16px; }
@media (max-width: 900px) {
    .city-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .city-links-grid {
        grid-template-columns: 1fr;
    }
    .city-links-table thead th,
    .city-links-table tbody td { padding: .75rem 1.25rem; font-size: .9375rem; }
}


/* ----- Homepage city links table: city subtitle -------------------------- */
.city-links-table__subtitle {
    display: block;
    margin-top: .35rem;
    font-size: .9375rem;
    font-weight: 400;
    color: #6b5a47;
    line-height: 1.4;
    white-space: normal;
}
