/* =========================================================
   OnDelights Expert Store — Redesign (Lavender + Sage system)
   Palette + type tokens are scoped to the plugin's own wrappers
   so they never leak into the surrounding theme / Elementor page.
========================================================= */

.odoo-catalog-wrapper,
.odoo-category-page-wrapper,
.odoo-category-page-section,
.odoo-expert-catalog-wrapper,
.odoo-explore-products-container,
.odoo-expert-wrapper,
.odoo-detail-wrapper,
.odoo-products-slider-wrapper {
    --ode-ivory: #f6f4fb;
    --ode-paper: #ffffff;
    --ode-ink: #2c2a3a;
    --ode-ink-2: #565270;
    --ode-muted: #928da6;
    --ode-line: #e9e5f2;
    --ode-teal: #7b6fc0;
    --ode-teal-dk: #64589f;
    --ode-teal-soft: #eeecf8;
    --ode-coral: #6a9d63;
    --ode-coral-soft: #e9f3e6;
    --ode-gold: #a9c5a4;
    --ode-lav: #c4bfe7;
    --ode-sage: #b8d8b3;
    --ode-shadow: 0 18px 44px rgba(60, 44, 90, 0.10);
    --ode-shadow-sm: 0 6px 18px rgba(60, 44, 90, 0.07);
    --ode-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --ode-sans: 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    font-family: var(--ode-sans);
    color: var(--ode-ink);
    -webkit-font-smoothing: antialiased;
}

.odoo-catalog-wrapper *,
.odoo-category-page-wrapper *,
.odoo-category-page-section *,
.odoo-expert-catalog-wrapper *,
.odoo-explore-products-container *,
.odoo-expert-wrapper *,
.odoo-products-slider-wrapper * {
    box-sizing: border-box;
}

/* =========================================================
   SHARED PRIMITIVES
========================================================= */

.ode-btn {
    font-family: var(--ode-sans);
    font-weight: 700;
    border-radius: 40px;
    cursor: pointer;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    line-height: 1;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .1s ease, box-shadow .18s ease;
}

.ode-btn--solid {
    background: var(--ode-teal);
    color: #fff;
    padding: 11px 20px;
    font-size: 14px;
}

.ode-btn--solid:hover {
    background: var(--ode-teal-dk);
    color: #fff;
}

.ode-btn--solid:active {
    transform: translateY(1px);
}

.ode-btn--outline {
    background: transparent;
    color: var(--ode-ink);
    border-color: var(--ode-line);
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 800;
}

.ode-btn--outline:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

/* Result grids */
.ode-grid {
    display: grid;
    gap: 22px;
}

.ode-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ode-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ode-empty {
    padding: 40px 28px;
    border: 1px dashed var(--ode-line);
    border-radius: 18px;
    text-align: center;
    background: var(--ode-paper);
    color: var(--ode-ink-2);
    font-weight: 600;
}

/* Results toolbar (count + sort) */
.ode-results__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ode-results__count {
    font-size: 16px;
    color: var(--ode-ink-2);
    font-weight: 600;
}

.ode-results__count b {
    color: var(--ode-ink);
    font-weight: 800;
}

.ode-results__sort {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--ode-muted);
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.ode-results__sort select {
    font-family: var(--ode-sans);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    color: var(--ode-ink);
    background-color: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 40px;
    padding: 12px 42px 12px 18px;
    height: 46px;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237b6fc0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}

.ode-results__sort select:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal-dk);
}

.ode-results__sort select:focus {
    outline: 0;
    border-color: var(--ode-teal);
    box-shadow: 0 0 0 3px var(--ode-teal-soft);
}

/* Sits the results toolbar visually inline with the search bar's Search button */
.ode-search-view .ode-results__bar {
    align-items: center;
}

/* Filter chips */
.ode-chips {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.ode-chip {
    font-family: var(--ode-sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--ode-teal-dk);
    background: var(--ode-teal-soft);
    border: 1px solid transparent;
    padding: 8px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    line-height: 1;
}

.ode-chip:hover {
    border-color: var(--ode-teal);
}

.ode-chip b {
    font-size: 15px;
    line-height: 1;
}

/* Pagination */
.ode-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 0 10px;
    flex-wrap: wrap;
}

.ode-pager__link {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--ode-ink-2);
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    text-decoration: none;
    transition: all .15s ease;
}

.ode-pager__link:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

.ode-pager__link.is-active {
    background: var(--ode-teal);
    color: #fff;
    border-color: var(--ode-teal);
}

.ode-view__title {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 30px;
    color: var(--ode-ink);
    margin: 0 0 20px;
    line-height: 1.15;
}

/* =========================================================
   SERVICE CARD  (.pcard style)
========================================================= */

.ode-service-card {
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 22px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ode-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ode-shadow);
    border-color: transparent;
}

/* Soft, alternating card backgrounds (admin: Card background = Soft tints) */
.ode-service-card--tint1 { background: #f3f1fb; }
.ode-service-card--tint2 { background: #eef6ec; }
.ode-service-card--tint3 { background: #f7f4fc; }
.ode-service-card--tint4 { background: #ebf3e8; }
.ode-service-card--tint5 { background: #f1eefa; }
.ode-service-card--tint6 { background: #f4f8f1; }

/* Keep inner meta chips legible on tinted cards */
.ode-service-card[class*="--tint"] .ode-meta-chip {
    background: #ffffff;
}

.ode-service-card__media {
    display: block;
    margin: -4px 0 16px;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--ode-teal-soft);
}

.ode-service-card__media img {
    /* !important defeats theme/Elementor `.elementor img { height:auto }`
       which would otherwise ignore the media box height (custom mode). */
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    display: block;
}

/* Fit — show the whole image (natural ratio, scaled to card width). */
.ode-service-card__media--contain {
    aspect-ratio: auto;
    background: transparent;
}

.ode-service-card__media--contain img {
    height: auto !important;
    object-fit: contain;
}

/* Custom — width/height come from admin settings (inline style); the whole
   image is shown inside that box. */
.ode-service-card__media--custom {
    aspect-ratio: auto;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.ode-service-card__media--custom img {
    object-fit: contain;
}

.ode-service-card__title {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 21px;
    line-height: 1.2;
    color: var(--ode-ink);
    margin: 12px 0 0;
}

.ode-service-card__title a {
    color: inherit;
    text-decoration: none;
}

.ode-service-card__title a:hover {
    color: var(--ode-teal);
}

.ode-service-card__meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.ode-meta-chip {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ode-ink-2);
    background: var(--ode-ivory);
    border: 1px solid var(--ode-line);
    padding: 6px 11px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ode-meta-chip__label {
    color: var(--ode-muted);
    font-weight: 700;
}

.ode-service-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ode-ink-2);
    margin: 14px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.ode-service-card__expert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.ode-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 13px;
    color: #fff;
    background: var(--ode-teal);
}

.ode-avatar--1 { background: var(--ode-teal); }
.ode-avatar--2 { background: var(--ode-coral); }
.ode-avatar--3 { background: var(--ode-teal-dk); }
.ode-avatar--4 { background: #8a7fce; }

.ode-avatar--photo {
    background: var(--ode-teal-soft);
    overflow: hidden;
    padding: 0;
}

.ode-avatar--photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.ode-service-card__expert-info {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.ode-service-card__expert-info small {
    font-size: 11px;
    color: var(--ode-muted);
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.ode-service-card__expert-info b {
    font-size: 14px;
    color: var(--ode-ink);
    font-weight: 800;
}

.ode-service-card__expert-info a {
    text-decoration: none;
    color: inherit;
}

.ode-service-card__expert-info a:hover b {
    color: var(--ode-teal);
}

.ode-service-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ode-line);
}

.ode-price {
    display: flex;
    flex-direction: column;
}

.ode-price b {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 26px;
    color: var(--ode-ink);
    line-height: 1.1;
}

.ode-price span {
    font-size: 12.5px;
    color: var(--ode-muted);
    font-weight: 700;
    margin-top: 2px;
}

.ode-service-card__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* =========================================================
   SEARCH VIEW  (search bar + sticky category sidebar)
========================================================= */

/* ---------- Hero (search view) ---------- */
.ode-hero {
    position: relative;
    overflow: hidden;
    padding: 52px 0 34px;
}

.ode-hero__blob {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 46% 54% 62% 38% / 50% 42% 58% 50%;
    background: var(--ode-teal-soft);
    top: -230px;
    right: -150px;
    z-index: 0;
    pointer-events: none;
}

.ode-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.ode-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ode-sans);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--ode-teal);
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    padding: 8px 16px;
    border-radius: 30px;
}

.ode-hero__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ode-coral);
    flex: none;
}

.ode-hero__title {
    font-family: var(--ode-serif);
    font-weight: 500;
    font-size: 48px;
    line-height: 1.06;
    letter-spacing: -.5px;
    margin: 20px 0 0;
    color: var(--ode-ink);
}

.ode-hero__subtitle {
    font-family: var(--ode-sans);
    font-size: 18px;
    line-height: 1.55;
    color: var(--ode-ink-2);
    margin: 18px 0 0;
    max-width: 600px;
}

.ode-hero__stats {
    display: flex;
    gap: 44px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.ode-hero__stat b {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 30px;
    line-height: 1;
    color: var(--ode-teal);
    display: block;
}

.ode-hero__stat span {
    font-size: 14px;
    color: var(--ode-muted);
    font-weight: 600;
}

@media (max-width: 640px) {
    .ode-hero {
        padding: 34px 0 24px;
    }
    .ode-hero__title {
        font-size: 34px;
    }
    .ode-hero__subtitle {
        font-size: 16px;
    }
    .ode-hero__stats {
        gap: 26px;
    }
}

.ode-searchbar {
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 20px;
    box-shadow: var(--ode-shadow);
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    max-width: 860px;
    margin-bottom: 34px;
}

.ode-searchbar__field {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 14px;
    color: var(--ode-muted);
}

.ode-searchbar__field--divider {
    border-left: 1px solid var(--ode-line);
    flex: 0 0 auto;
    min-width: 160px;
}

.ode-searchbar__icon {
    flex: none;
    color: var(--ode-muted);
}

.ode-searchbar__control {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ode-searchbar__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--ode-muted);
}

/* Flat, borderless fields. !important defeats theme form styling that would
   otherwise draw a bordered box around the input/select (see reported UI). */
.ode-searchbar input,
.ode-searchbar select,
.ode-searchbar input[type="text"],
.ode-searchbar input[type="search"] {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    height: auto !important;
    min-height: 0 !important;
    line-height: 1.4 !important;
    width: 100%;
    font-family: var(--ode-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--ode-ink);
    cursor: pointer;
}

.ode-searchbar input:focus,
.ode-searchbar select:focus {
    outline: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

.ode-searchbar input {
    cursor: text;
}

.ode-searchbar input::placeholder {
    color: var(--ode-muted);
    opacity: 1;
    font-weight: 600;
}

.ode-searchbar select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.ode-searchbar__submit {
    padding: 13px 26px;
    font-size: 15px;
    flex: 0 0 auto;
}

/* Experts filter bar carries three fields + button, so let it span full width. */
.ode-experts-filter {
    max-width: none;
}

/* Slider block heading (services + experts sliders) */
.odoo-slider-block {
    margin: 0 0 8px;
}

.ode-slider-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.ode-slider-head__title {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 28px;
    line-height: 1.1;
    color: var(--ode-ink);
    margin: 0;
}

.ode-slider-head__link {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ode-teal);
    white-space: nowrap;
}

.ode-slider-head__link:hover {
    color: var(--ode-teal-dk);
}

/* Search pages (services + experts): responsive side padding.
   Desktop 100px, tablet 30px, mobile 2px. */
.ode-search-view,
.ode-experts-view {
    padding-inline: 100px;
}

@media (max-width: 1024px) {
    .ode-search-view,
    .ode-experts-view {
        padding-inline: 30px;
    }
}

@media (max-width: 767px) {
    .ode-search-view,
    .ode-experts-view {
        padding-inline: 2px;
    }
}

.ode-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 34px;
    align-items: start;
}

/* Sidebar */
.ode-side {
    position: sticky;
    top: 96px;
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 22px;
    padding: 24px 22px;
    box-shadow: var(--ode-shadow-sm);
}

.ode-side__title {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 19px;
    color: var(--ode-ink);
    margin: 0 0 4px;
}

.ode-side__sub {
    font-size: 13px;
    color: var(--ode-muted);
    font-weight: 600;
    margin: 0 0 18px;
}

.ode-cat {
    border-top: 1px solid var(--ode-line);
    padding: 12px 0;
}

.ode-cat:first-of-type {
    border-top: 0;
}

.ode-cat__head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ode-cat__title {
    font-family: var(--ode-sans);
    font-weight: 800;
    font-size: 14.5px;
    color: var(--ode-ink);
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
    flex: 1;
    line-height: 1.3;
}

.ode-cat__title:hover,
.ode-cat__title.is-active {
    color: var(--ode-teal);
}

.ode-cat__count {
    font-size: 12px;
    font-weight: 700;
    color: var(--ode-teal);
    background: var(--ode-teal-soft);
    padding: 2px 9px;
    border-radius: 20px;
}

.ode-cat__toggle {
    width: 22px;
    height: 22px;
    border: 0;
    background: none;
    cursor: pointer;
    color: var(--ode-muted);
    position: relative;
    flex: none;
    padding: 0;
}

.ode-cat__toggle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform .2s ease;
}

.ode-cat.is-collapsed .ode-cat__toggle::before {
    transform: translate(-50%, -30%) rotate(-135deg);
}

.ode-cat__sub {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.ode-cat.is-collapsed .ode-cat__sub {
    display: none;
}

.ode-cat__link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ode-ink-2);
    padding: 7px 12px;
    border-radius: 9px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
    transition: background-color .14s ease, color .14s ease;
}

.ode-cat__link.is-nested {
    padding-left: 22px;
}

.ode-cat__link:hover {
    background: var(--ode-ivory);
    color: var(--ode-teal);
}

.ode-cat__link.is-active {
    background: var(--ode-teal-soft);
    color: var(--ode-teal-dk);
}

.ode-cat__link span {
    color: var(--ode-muted);
    font-weight: 700;
    font-size: 12px;
}

.ode-side__clear {
    margin-top: 18px;
    width: 100%;
    padding: 11px;
    border-radius: 12px;
    background: var(--ode-ivory);
    border: 1px solid var(--ode-line);
    font-family: var(--ode-sans);
    font-weight: 700;
    font-size: 14px;
    color: var(--ode-ink-2);
    cursor: pointer;
    transition: all .14s ease;
}

.ode-side__clear:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

.odoo-catalog-results-container.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

/* =========================================================
   EXPERT CARD  (photo-forward)
========================================================= */

.ode-expert-card {
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ode-expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ode-shadow);
    border-color: transparent;
}

.ode-expert-card__photo {
    position: relative;
    display: block;
    /* Match the source images (450 x 511) so the whole photo is shown
       without cropping. */
    aspect-ratio: 450 / 511;
    background: var(--ode-teal-soft);
    overflow: hidden;
}

.ode-expert-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .4s ease;
}

.ode-expert-card:hover .ode-expert-card__photo img {
    transform: scale(1.04);
}

.ode-expert-card__photo--1 { background: #eeecf8; }
.ode-expert-card__photo--2 { background: #e9f3e6; }
.ode-expert-card__photo--3 { background: #f2eefb; }
.ode-expert-card__photo--4 { background: #e4f0e1; }
.ode-expert-card__photo--5 { background: #eae7f6; }
.ode-expert-card__photo--6 { background: #edf5ea; }

.ode-expert-card__initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 46px;
    color: var(--ode-teal-dk);
    opacity: .65;
}

.ode-expert-card__lang {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
    font-size: 11.5px;
    font-weight: 800;
    color: #fff;
    background: rgba(44, 42, 58, 0.62);
    backdrop-filter: blur(4px);
    padding: 6px 11px;
    border-radius: 20px;
    letter-spacing: .4px;
    line-height: 1.35;
    text-align: right;
}

.ode-expert-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ode-expert-card__id a {
    text-decoration: none;
    color: inherit;
}

.ode-expert-card__id b {
    display: block;
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 21px;
    color: var(--ode-ink);
    line-height: 1.15;
}

.ode-expert-card__id a:hover b {
    color: var(--ode-teal);
}

.ode-expert-card__id span {
    font-size: 13.5px;
    color: var(--ode-teal);
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

.ode-expert-card__loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    color: var(--ode-muted);
    font-weight: 700;
    margin-top: 12px;
}

.ode-expert-card__loc svg {
    flex: none;
}

.ode-expert-card__langs {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13px;
    color: var(--ode-teal);
    font-weight: 700;
    margin-top: 8px;
    line-height: 1.4;
}

.ode-expert-card__langs svg {
    flex: none;
    margin-top: 2px;
    color: var(--ode-teal);
}

.ode-expert-card__bio {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ode-ink-2);
    margin: 12px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.ode-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.ode-tag {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ode-teal);
    background: var(--ode-teal-soft);
    padding: 6px 12px;
    border-radius: 20px;
}

.ode-tag--lang {
    color: var(--ode-ink-2);
    background: var(--ode-ivory);
    border: 1px solid var(--ode-line);
}

.ode-tag--world {
    color: var(--ode-teal);
    background: var(--ode-teal-soft);
}

.ode-tag--local {
    color: var(--ode-coral);
    background: var(--ode-coral-soft);
}

/* Worldwide + Local expertise groups (shared: service cards, expert cards, detail) */
.ode-expertise {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--ode-ivory);
    border: 1px solid var(--ode-line);
    border-radius: 16px;
}

.ode-expertise__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ode-expertise__group + .ode-expertise__group {
    padding-top: 12px;
    border-top: 1px dashed var(--ode-line);
}

.ode-expertise__label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--ode-ink-2);
}

.ode-expertise__label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ode-teal);
    flex: none;
}

.ode-expertise__group--local .ode-expertise__label::before {
    background: var(--ode-coral);
}

.ode-expertise .ode-tags {
    margin-top: 0;
    gap: 7px;
}

.odoo-detail-section .ode-expertise {
    margin-top: 0;
}

.ode-expert-card__foot .ode-btn {
    flex: 1;
    text-align: center;
}

.ode-expert-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--ode-line);
}

.ode-link-view {
    font-weight: 800;
    font-size: 14.5px;
    color: var(--ode-ink);
    text-decoration: none;
}

.ode-link-view:hover {
    color: var(--ode-teal);
}

/* =========================================================
   EXPLORE / NAV BLOCKS  (.ecard style)
========================================================= */

.ode-explore {
    width: 100%;
}

.ode-explore__title {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 32px;
    color: var(--ode-ink);
    margin: 0 0 24px;
    line-height: 1.15;
}

.ode-explore__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ode-ecard {
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 20px;
    padding: 28px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ode-ecard:hover {
    transform: translateY(-3px);
    box-shadow: var(--ode-shadow-sm);
    border-color: transparent;
}

.ode-ecard__ico {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--ode-teal-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--ode-teal);
}

.ode-ecard__ico img,
.ode-ecard__ico .cat-icon {
    width: 24px !important;
    height: auto !important;
    margin: 0 !important;
}

.ode-ecard__title {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 20px;
    color: var(--ode-ink);
    margin: 16px 0 0;
    line-height: 1.2;
}

.ode-ecard__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ode-ink-2);
    margin: 10px 0 0;
}

.ode-ecard__link {
    display: inline-block;
    margin-top: 14px;
    font-weight: 800;
    font-size: 14px;
    color: var(--ode-teal);
    text-decoration: none;
}

.ode-ecard__link:hover {
    color: var(--ode-teal-dk);
}

/* Legacy decorative line no longer used in the redesign */
.odoo-explore-card-line {
    display: none;
}

/* =========================================================
   CATEGORY NAVIGATION  (chips + breadcrumb)
========================================================= */

.odoo-product-cat-nav,
.odoo-expert-catalog-nav {
    margin-bottom: 26px;
}

.odoo-product-cat-nav .nav-breadcrumb,
.odoo-expert-catalog-nav .nav-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ode-muted);
    margin-bottom: 18px;
}

.odoo-product-cat-nav .nav-breadcrumb a,
.odoo-expert-catalog-nav .nav-breadcrumb a {
    color: var(--ode-ink-2);
    text-decoration: none;
}

.odoo-product-cat-nav .nav-breadcrumb a:hover,
.odoo-expert-catalog-nav .nav-breadcrumb a:hover {
    color: var(--ode-teal);
}

.odoo-product-cat-nav .nav-arrow,
.odoo-expert-catalog-nav .nav-arrow {
    color: var(--ode-line);
}

.odoo-product-cat-nav .current-item,
.odoo-expert-catalog-nav .current-item {
    color: var(--ode-ink);
}

.odoo-product-cat-nav .nav-children,
.odoo-expert-catalog-nav .nav-children {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.odoo-product-cat-nav .child-tag,
.odoo-expert-catalog-nav .child-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ode-ink-2);
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 30px;
    padding: 11px 20px;
    text-decoration: none;
    transition: all .16s ease;
    white-space: nowrap;
}

.odoo-product-cat-nav .child-tag:hover,
.odoo-expert-catalog-nav .child-tag:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

.odoo-category-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--ode-ink-2);
    background: var(--ode-ivory);
    border: 1px solid var(--ode-line);
    border-radius: 30px;
    padding: 9px 18px;
    text-decoration: none;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all .15s ease;
}

.odoo-category-back-btn:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

/* Legacy catalog pagination hook keeps the shared pill look */
.odoo-catalog-pagination,
.odoo-expert-profile-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.odoo-expert-profile-pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: var(--ode-ink-2);
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    text-decoration: none;
    transition: all .15s ease;
}

.odoo-expert-profile-pagination .page-numbers:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

.odoo-expert-profile-pagination .page-numbers.current {
    background: var(--ode-teal);
    color: #fff;
    border-color: var(--ode-teal);
}

.odoo-expert-profile-empty {
    padding: 40px 28px;
    border: 1px dashed var(--ode-line);
    border-radius: 18px;
    text-align: center;
    background: var(--ode-paper);
    color: var(--ode-ink-2);
    font-weight: 600;
}

/* =========================================================
   ELEMENTOR WIDGET / SHORTCODE GRID (API products)
========================================================= */

.odoo-expert-wrapper {
    width: 100%;
}

.odoo-expert-grid {
    display: grid;
    grid-template-columns: repeat(var(--odoo-grid-cols, 3), minmax(0, 1fr));
    gap: 22px;
    justify-content: var(--odoo-grid-justify, center);
}

.odoo-store-btn-container {
    margin-top: 32px;
}

.odoo-main-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ode-teal);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 40px;
    text-decoration: none;
    transition: background-color .18s ease;
}

.odoo-main-store-btn:hover {
    background: var(--ode-teal-dk);
    color: #fff;
}

/* =========================================================
   PRODUCT DETAIL VIEW  (re-skinned with the new palette)
========================================================= */

.odoo-detail-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.odoo-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 420px) 1fr;
    gap: 40px;
    align-items: start;
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 26px;
    padding: 30px;
    box-shadow: var(--ode-shadow-sm);
}

.odoo-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

.odoo-detail-title {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 34px;
    line-height: 1.1;
    color: var(--ode-ink);
    margin: 0;
}

.odoo-detail-expert-name {
    margin-top: 12px;
    font-size: 15px;
    color: var(--ode-ink-2);
    font-weight: 600;
}

.odoo-detail-expert-name a {
    color: var(--ode-teal);
    text-decoration: none;
    font-weight: 800;
}

.odoo-detail-main-price {
    margin-top: 18px;
}

.odoo-detail-price {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 30px;
    color: var(--ode-ink);
}

.odoo-card-meta {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.odoo-card-meta li {
    font-size: 13px;
    font-weight: 700;
    color: var(--ode-ink-2);
    background: var(--ode-ivory);
    border: 1px solid var(--ode-line);
    padding: 8px 13px;
    border-radius: 20px;
}

.odoo-card-meta li strong {
    color: var(--ode-muted);
    font-weight: 700;
    margin-right: 4px;
}

.odoo-detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.odoo-detail-book-btn {
    box-sizing: border-box;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ode-teal);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 40px;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.odoo-detail-book-btn:hover {
    background: var(--ode-teal-dk);
    color: #fff;
}

.odoo-profile-btn {
    background: transparent;
    color: var(--ode-ink);
    border: 1px solid var(--ode-line);
}

.odoo-profile-btn:hover {
    background: transparent;
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

.odoo-detail-body {
    margin-top: 30px;
}

.odoo-detail-section {
    background: var(--ode-paper);
    border: 1px solid var(--ode-line);
    border-radius: 22px;
    padding: 26px 28px;
    margin-bottom: 20px;
}

.odoo-detail-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 21px;
    color: var(--ode-ink);
    margin: 0 0 14px;
}

.odoo-detail-section h3 svg {
    color: var(--ode-teal);
}

.odoo-detail-content {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ode-ink-2);
}

.odoo-detail-content p {
    margin: 0 0 12px;
}

.penalty-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.penalty-list li {
    background: var(--ode-ivory);
    border: 1px solid var(--ode-line);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 14.5px;
    color: var(--ode-ink-2);
}

.odoo-detail-footer {
    margin-top: 10px;
    margin-bottom: 20px;
}

.odoo-detail-related-products {
    margin-top: 40px;
}

.odoo-detail-related-products h2 {
    font-family: var(--ode-serif);
    font-weight: 600;
    font-size: 28px;
    color: var(--ode-ink);
    margin: 0 0 24px;
}

/* =========================================================
   PRODUCTS SLIDER
========================================================= */

.odoo-products-slider-wrapper {
    position: relative;
    /* Full-width, no reserved side padding — the arrows overlay the track. */
    width: 100%;
}

.odoo-products-slider-track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 2px 12px;
}

.odoo-products-slider-track::-webkit-scrollbar {
    display: none;
}

.odoo-products-slider-item {
    flex: 0 0 clamp(280px, 32%, 360px);
    max-width: 360px;
}

.odoo-products-slider-item .ode-service-card {
    height: 100%;
}

/* Arrows are overlaid on top of the slider (absolute), so they take no
   horizontal space and the cards use the full width. */
.odoo-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--ode-line);
    background: var(--ode-paper);
    color: var(--ode-ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ode-shadow-sm);
    transition: all .15s ease;
}

.odoo-slider-prev {
    left: 8px;
}

.odoo-slider-next {
    right: 8px;
}

.odoo-slider-arrow:hover {
    border-color: var(--ode-teal);
    color: var(--ode-teal);
}

/* =========================================================
   LANGUAGE BANNER  [odoo_language_banner]
========================================================= */

.odoo-language-banner {
    width: 100%;
    margin: 0 0 20px;
}

.odoo-language-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .ode-layout {
        grid-template-columns: 1fr;
    }

    .ode-side {
        position: static;
    }

    .ode-grid--3,
    .ode-explore__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .odoo-detail-header {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .ode-grid--2,
    .ode-grid--3,
    .ode-explore__grid {
        grid-template-columns: 1fr;
    }

    .ode-searchbar {
        flex-direction: column;
        align-items: stretch;
    }

    .ode-searchbar__field--divider {
        border-left: 0;
        border-top: 1px solid var(--ode-line);
    }

    .ode-searchbar__submit {
        width: 100%;
    }

    .ode-service-card__foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .ode-view__title {
        font-size: 26px;
    }

    .odoo-detail-title {
        font-size: 28px;
    }

    /* Sliders: smaller overlay arrows on phones; cards fill the width. */
    .odoo-slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 19px;
    }

    .odoo-products-slider-item {
        flex-basis: 82vw;
        max-width: 340px;
    }

    .ode-slider-head {
        margin-bottom: 14px;
    }

    .ode-slider-head__title {
        font-size: 22px;
    }

    /* Toolbars / pagination wrap instead of overflowing */
    .ode-results__bar,
    .toolbar {
        flex-wrap: wrap;
        gap: 10px;
    }

    .odoo-expert-profile-pagination,
    .ode-pager,
    .odoo-catalog-pagination {
        flex-wrap: wrap;
    }

    /* Detail action buttons stack full width */
    .odoo-detail-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .odoo-detail-actions .odoo-detail-book-btn {
        width: 100%;
        text-align: center;
    }

    .ode-layout {
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .ode-hero__title {
        font-size: 28px;
    }

    .ode-hero__stats {
        gap: 18px 26px;
    }

    .ode-hero__stat b {
        font-size: 26px;
    }

    .ode-searchbar {
        padding: 8px;
    }

    .ode-expert-card__body,
    .ode-service-card {
        padding-left: 18px;
        padding-right: 18px;
    }

    .odoo-products-slider-item {
        flex-basis: 86vw;
    }
}

/* ---------------------------------------------------------------------------
   Video embeds (ACF video_url — YouTube)
--------------------------------------------------------------------------- */
.ode-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.ode-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video shown inside a service card on the profile page */
.ode-service-card__video {
    margin-bottom: 16px;
}

.ode-service-card__video .ode-video {
    border-radius: 14px;
}

/* Expert video on the profile view page */
.ode-profile-video-wrap {
    margin-top: 28px;
}

.ode-profile-video,
.odoo-detail-video-section .ode-video {
    max-width: 760px;
}
