/*
 * empresa_detail.css — Company Detail Page
 * Figma: 1711:28637 / 1008:22749
 *
 * Color palette (from Figma):
 *   Page bg:       #f9fafb  (gray-50)
 *   Card bg:       #ffffff
 *   Text primary:  var(--skin-dark-900)  (dark-900)
 *   Text muted:    var(--skin-text-muted)
 *   Text label:    var(--skin-text-muted)  16px / fw500
 *   Text value:    var(--skin-dark-900)  16px / fw400
 *   Brand blue:    var(--skin-darkblue-500)  (darkblue-500)
 *   Badge active:  #f0fdf4 bg / #008236 text
 *   Icon color:    #303b4f
 *   Border:        var(--skin-border-subtle-strong)
 *   Tab active bg: #e7efff  text: var(--skin-darkblue-500)  fw700
 *   Tab idle:      #ffffff  text: var(--skin-text-muted)  fw500
 */

/* Prevent horizontal scroll caused by 100vw full-bleed trick */
body.has-fullbleed-section {
    overflow-x: clip;
}

/* ── Root wrapper ─────────────────────────────────────────────── */
.section-empresa-detail {
    font-family: var(--skin-font-base);
    background: #f9fafb;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* ── Container ────────────────────────────────────────────────── */
.ed-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 80px;
}

/* ── Breadcrumb ───────────────────────────────────────────────── */
.ed-breadcrumb {
    background: #f9fafb;
    padding: 16px 0 8px;
}

.ed-breadcrumb__nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.ed-breadcrumb__item {
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--skin-text-muted);
    text-decoration: none;
}

.ed-breadcrumb__item--current {
    font-weight: 600;
    color: var(--skin-dark-900);
}

.ed-breadcrumb__item:hover:not(.ed-breadcrumb__item--current) {
    text-decoration: underline;
}

.ed-breadcrumb__sep {
    margin: 0 8px;
    color: var(--skin-text-muted);
    font-size: 14px;
    line-height: 17px;
}

/* ── Company header ───────────────────────────────────────────── */
.ed-header {
    background: #f9fafb;
    padding-bottom: 32px;
}

.ed-header__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0;
    background: #f9fafb;
}

.ed-header__left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.ed-header__logo {
    width: 64px;
    height: 64px;
    background: var(--skin-darkblue-500);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -4px rgba(0,0,0,0.10), 0 10px 15px -3px rgba(0,0,0,0.10);
}

.ed-header__info {
    flex: 1;
    min-width: 0;
}

.ed-header__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ed-header__name {
    font-family: var(--skin-font-display);
    font-size: 28px;
    font-weight: 600;
    line-height: 34px;
    color: var(--skin-dark-900);
    margin: 0;
}

/* Status badge */
.ed-header__status {
    display: inline-flex;
    align-items: center;
    padding: 2px 12px;
    border-radius: 8px;
    font-family: var(--skin-font-base);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.ed-header__status--active {
    background: #f0fdf4;
    color: #008236;
    border: 1px solid #b9f8cf;
}

.ed-header__status--inactive,
.ed-header__status--dissolved,
.ed-header__status--extinct {
    background: #fef2f2;
    color: #b91c1c;
}

.ed-header__status--insolvency {
    background: #fff7ed;
    color: #c2410c;
}

/* Meta row */
.ed-header__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.ed-header__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--skin-text-muted);
}

.ed-header__link {
    color: var(--skin-text-muted);
    text-decoration: none;
}

.ed-header__link:hover {
    text-decoration: underline;
    color: var(--skin-text-link);
}

.ed-icon {
    flex-shrink: 0;
}

/* Right: notification toggle */
.ed-header__right {
    flex-shrink: 0;
    padding-top: 4px;
}

.ed-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.ed-toggle {
    position: relative;
    width: 36px;
    height: 20px;
}

.ed-toggle__input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ed-toggle__track {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: #e7efff;
    transition: background 0.2s;
    cursor: pointer;
}

.ed-toggle__track::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #91b7ff;
    transition: transform 0.2s;
}

.ed-toggle__input:checked + .ed-toggle__track {
    background: var(--skin-darkblue-500);
}

.ed-toggle__input:checked + .ed-toggle__track::after {
    transform: translateX(16px);
    background: #ffffff;
}

.ed-toggle-label__text {
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #414651;
}

/* ── Official data section ────────────────────────────────────── */
.ed-official {
    background: #f9fafb;
    padding-top: 80px;
    padding-bottom: 80px;
}

.ed-official__heading {
    text-align: center;
    margin-bottom: 32px;
}

.ed-official__title {
    font-family: var(--skin-font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: var(--skin-dark-900);
    margin: 0 0 8px;
}

.ed-official__subtitle {
    font-family: var(--skin-font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 29px;
    color: var(--skin-text-muted);
    margin: 0;
}

.ed-official__body {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: stretch;
}

/* ── Company overview card ────────────────────────────────────── */
.ed-overview {
    width: 100%;
}

.ed-overview__card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 1px 2px 0 rgba(10,12,18,0.05);
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.ed-overview__header {
    margin-bottom: 0;
}

.ed-overview__title {
    font-family: var(--skin-font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    color: var(--skin-dark-900);
    margin: 0 0 16px;
}

.ed-overview__divider {
    height: 1px;
    background: var(--skin-white-500);
}

.ed-overview__fields {
    display: flex;
    gap: 32px;
}

.ed-overview__col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Data field ───────────────────────────────────────────────── */
.ed-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--skin-white-500);
}

.ed-field:last-child {
    border-bottom: none;
}

.ed-field__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.ed-field__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.ed-field__label {
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    color: var(--skin-text-muted);
}

.ed-field__value {
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: var(--skin-dark-900);
    word-break: break-word;
}

.ed-field__value--link {
    color: var(--skin-text-link, #1849d6);
    text-decoration: none;
}

.ed-field__value--link:hover {
    text-decoration: underline;
}

/* ── Product cards (above company overview, centered) ─────────── */
.ed-product-cards {
    display: grid;
    grid-template-columns: 320px 320px 320px;
    gap: 16px;
    margin: 0 auto;
    width: fit-content;
}

/* Card container */
.ed-pcard {
    width: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Image zone — fills card height, background rendered by CSS */
.ed-pcard__image {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: border-radius 0.2s;
}

.ed-pcard__image--open {
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -1px 0 0 rgba(255,255,255,0.2);
}

.ed-pcard__image--annual {
    background-image: url('images/card-annual-bg.webp');
}

.ed-pcard__image--financial {
    background-image: url('images/card-financial-bg.webp');
}

.ed-pcard__image--simple {
    background-image: url('images/card-simple-bg.webp');
    background-size: cover;
    background-position: center;
}

/* Overlay: drives the card height — grows with content */
.ed-pcard__overlay {
    display: flex;
    flex-direction: column;
    padding: 10px 14px 14px;
    min-height: 211px;
    box-sizing: border-box;
    gap: 0;
}

/* Badge row — Premium left, Ver detalles right */
.ed-pcard__badge-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    gap: 6px;
}

/* Single badge also aligns right */
.ed-pcard__badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.14);
    border-radius: 17px;
    padding: 7px 10px;
    font-family: var(--skin-font-base);
    font-size: 10px;
    font-weight: 700;
    color: var(--skin-white-500);
    line-height: 1.37;
    align-self: flex-end;
}

/* "Most popular" badge — white bg, brand navy text (mirrors Figma "Most Salled" badge) */
.ed-pcard__badge--popular {
    background: rgba(255, 255, 255, 0.92);
    color: var(--skin-darkblue-500);
    font-weight: 600;
}

/* Premium badge */

/* Bottom block: info + footer row — below badge, top-aligned */
.ed-pcard__bottom {
    display: flex;
    flex-direction: column;
    gap: 41px;
    margin-top: 16px;
}

.ed-pcard__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ed-pcard__title {
    font-family: var(--skin-font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--skin-white-500);
    line-height: 1.21;
}

.ed-pcard__price {
    font-family: var(--skin-font-base);
    font-size: 20px;
    font-weight: 600;
    color: var(--skin-white-500);
    line-height: 1.21;
}

/* Footer row: toggle (left) + buy button (right) — wraps when text is too long */
.ed-pcard__footer {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.ed-pcard__toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: var(--skin-font-base);
    font-size: 12px;
    font-weight: 500;
    color: var(--skin-white-500);
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-pcard__buy {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 14px;
    height: 36px;
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 10px;
    box-shadow: 0 2px 0 0 rgba(0,0,0,0.02);
    font-family: var(--skin-font-base);
    font-size: 12px;
    font-weight: 600;
    color: var(--skin-darkblue-500);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.ed-pcard__buy:hover {
    background: var(--skin-darkblue-500);
    color: #ffffff;
    border-color: var(--skin-darkblue-500);
}

/* Year selector box — floats over content, anchored below image */
.ed-pcard__yearbox {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 4px 12px 0 rgba(10,13,18,0.15);
    border-radius: 0 0 10px 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10;
}

.ed-pcard__yearbox-label {
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 400;
    color: var(--skin-text-muted);
    margin: 0;
}

.ed-pcard__yearlist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ed-pcard__yearitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    cursor: pointer;
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 500;
    color: var(--skin-text-muted);
    transition: background 0.15s, border-color 0.15s;
}

.ed-pcard__yearitem input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--skin-darkblue-500);
}

.ed-pcard__yearitem span:first-of-type {
    flex: 1;
}

.ed-pcard__yearitem--active {
    background: #E7EFFF;
    border-color: #E7EFFF;
    color: var(--skin-darkblue-500);
    font-weight: 600;
}

.ed-pcard__yeartag {
    font-family: var(--skin-font-base);
    font-size: 12px;
    font-weight: 700;
    color: var(--skin-darkblue-500);
    text-transform: uppercase;
    flex: 0 !important;
}

.ed-pcard__show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 3px 0;
    cursor: pointer;
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 500;
    color: var(--skin-darkblue-500);
    text-decoration: none;
    text-transform: capitalize;
    width: 100%;
}

.ed-pcard__show-more:hover {
    opacity: 0.8;
}

/* ── Popup modal ──────────────────────────────────────────────── */
.ed-pcard__popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 13, 18, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.ed-pcard__popup {
    width: 503px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px 0 rgba(10, 13, 18, 0.25);
}

.ed-pcard__popup-header {
    position: relative;
    height: 179px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background-size: cover;
    background-position: center;
}

.ed-pcard__popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.ed-pcard__popup-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.ed-pcard__popup-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.ed-pcard__popup-header .ed-pcard__title {
    font-size: 24px;
}

.ed-pcard__popup-header .ed-pcard__price {
    font-size: 24px;
}

.ed-pcard__popup-body {
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ed-pcard__popup-desc {
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 500;
    color: var(--skin-dark-900);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.ed-pcard__popup-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ed-pcard__popup-list li {
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 500;
    color: var(--skin-text-muted);
    line-height: 1.5;
}

/* ── Skeleton loaders ─────────────────────────────────────────── */
.ed-skeleton {
    background: linear-gradient(90deg, #e9ecef 25%, #f1f3f5 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: ed-shimmer 1.5s infinite;
    border-radius: 4px;
}

.ed-skeleton--rect {
    display: block;
    width: 100%;
}

.ed-skeleton--line {
    display: block;
    height: 16px;
}

.ed-skeleton--btn {
    display: block;
    height: 40px;
    border-radius: 8px;
    width: 100%;
}

.ed-skeleton--number {
    display: block;
    height: 40px;
    width: 60%;
    margin-top: 8px;
    border-radius: 4px;
}

.ed-skeleton--row {
    display: block;
    height: 48px;
    width: 100%;
    margin-bottom: 8px;
    border-radius: 4px;
}

@keyframes ed-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ── Financials section ───────────────────────────────────────── */
.ed-financials {
    background: #f9fafb;
    padding: 39px 0;
}

.ed-financials__header {
    margin-bottom: 32px;
}

.ed-financials__title {
    font-family: var(--skin-font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    color: var(--skin-dark-900);
    margin: 0 0 8px;
}

.ed-financials__subtitle {
    font-family: var(--skin-font-display);
    font-size: 20px;
    font-weight: 500;
    line-height: 29px;
    color: var(--skin-text-muted);
    margin: 0;
}

.ed-financials__loading,
.ed-financials__grid {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.ed-financials__no-data {
    font-size: 14px;
    color: var(--skin-text-muted);
    padding: 24px 0;
}

/* Metric card */
.ed-metric-card {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    background: #ffffff;
    border: 1px solid var(--skin-white-500);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 2px 0 rgba(10,12,18,0.05);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ed-metric-card--skeleton {
    border-color: transparent;
    background: #f9fafb;
}

.ed-metric-card__label {
    display: block;
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    color: var(--skin-dark-900);
}

.ed-metric-card__body {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.ed-metric-card__left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ed-metric-card__chart {
    flex-shrink: 0;
    align-self: flex-end;
}

.ed-metric-card__value {
    font-family: var(--skin-font-display);
    font-size: 32px;
    font-weight: 600;
    line-height: 43px;
    color: var(--skin-dark-900);
}

.ed-metric-card__change-row {
    display: flex;
    align-items: center;
}

.ed-metric-card__change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 2px 8px 2px 4px;
    border-radius: 4px;
}

.ed-metric-card__change svg {
    flex-shrink: 0;
}

.ed-metric-card__change--up {
    background: #f0fdf4;
    color: #00a63e;
}

.ed-metric-card__change--down {
    background: #fbe9ea;
    color: #c61b24;
}

/* ── More info / tabs section ─────────────────────────────────── */
.ed-more-info {
    background: #f9fafb;
    padding: 48px 0;
}

.ed-more-info__title {
    font-family: var(--skin-font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    color: var(--skin-dark-900);
    margin: 0 0 20px;
}

/* Tabs */
.ed-tabs {
    display: flex;
    gap: 4px;
    border-bottom: none;
    margin-bottom: 24px;
    overflow-x: auto;
}

.ed-tab {
    font-family: var(--skin-font-display);
    font-size: 16px;
    font-weight: 500;
    line-height: 26px;
    color: var(--skin-text-muted);
    background: #ffffff;
    border: none;
    padding: 12px;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    text-transform: none;
    transition: color 0.15s, background 0.15s;
}

.ed-tab--active {
    color: var(--skin-darkblue-500);
    font-family: var(--skin-font-display);
    font-weight: 700;
    background: #e7efff;
    border-radius: 6px;
}

.ed-tab:hover:not(.ed-tab--active) {
    color: var(--skin-dark-900);
}

/* Filters */
.ed-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.ed-filters__search {
    flex: 1;
    height: 44px;
    border: 1px solid var(--skin-border-subtle-strong);
    border-radius: 8px;
    padding: 0 14px;
    font-family: var(--skin-font-base);
    font-size: 14px;
    color: var(--skin-dark-900);
    background: #ffffff;
    outline: none;
    transition: border-color 0.15s;
}

.ed-filters__search:focus {
    border-color: var(--skin-darkblue-500);
}

.ed-filters__select {
    height: 44px;
    border: 1px solid var(--skin-border-subtle-strong);
    border-radius: 8px;
    padding: 0 14px;
    font-family: var(--skin-font-base);
    font-size: 14px;
    color: var(--skin-dark-900);
    background: #ffffff;
    outline: none;
    cursor: pointer;
    min-width: 120px;
}

/* Table */
.ed-table-wrap {
    overflow-x: auto;
}

.ed-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--skin-font-base);
    font-size: 14px;
}

.ed-table thead tr {
    background: #f9fafb;
    border-bottom: 1px solid var(--skin-border-subtle-strong);
}

.ed-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--skin-text-muted);
    white-space: nowrap;
}

.ed-table tbody tr {
    border-bottom: 1px solid #f1f3f5;
    transition: background 0.1s;
}

.ed-table tbody tr:hover {
    background: #f9fafb;
}

.ed-table td {
    padding: 16px;
    color: var(--skin-dark-900);
    vertical-align: middle;
}

.ed-table__link {
    color: var(--skin-text-link, #1849d6);
    text-decoration: none;
    font-weight: 500;
    text-transform: capitalize;
}

.ed-table__link:hover {
    text-decoration: underline;
}

.ed-table__empty {
    font-size: 14px;
    color: var(--skin-text-muted);
    padding: 32px 0;
    text-align: center;
}

.ed-table-skeleton {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
}

/* Pagination */
.ed-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--skin-border-subtle-strong);
}

.ed-pagination__btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--skin-border-subtle-strong);
    border-radius: 8px;
    background: #ffffff;
    color: var(--skin-dark-900);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}

.ed-pagination__btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.ed-pagination__btn:not(:disabled):hover {
    background: #f1f3f5;
}

.ed-pagination__numbers {
    display: flex;
    gap: 4px;
}

.ed-pagination__num {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: transparent;
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--skin-text-muted);
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-pagination__num--active {
    background: #e9eaf2;
    color: var(--skin-darkblue-500);
    font-weight: 600;
}

.ed-pagination__num:not(.ed-pagination__num--active):hover {
    background: #f1f3f5;
}

.ed-pagination__num:disabled {
    cursor: default;
}

/* ── See More button ──────────────────────────────────────────── */
.ed-see-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.ed-see-more__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--skin-darkblue-500);
    color: var(--skin-white-500);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-family: var(--skin-font-base);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: background 0.15s;
}

.ed-see-more__btn:hover {
    background: var(--skin-navy-hover);
}

/* ── About section ────────────────────────────────────────────── */
.ed-about {
    background: #f9fafb;
    padding: 48px 0 64px;
}

.ed-about__card {
    max-width: 1280px;
    background: #f9fafb;
    border-radius: 10px;
    padding: 32px 20px;
}

.ed-about__title {
    font-family: var(--skin-font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
    color: var(--skin-dark-900);
    margin: 0 0 20px;
}

.ed-about__body {
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    color: var(--skin-text-muted);
    margin: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ed-about__body--collapsed {
    max-height: 85px;
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.ed-about__body--expanded {
    max-height: 2000px;
    -webkit-mask-image: none;
    mask-image: none;
}

.ed-about__p {
    margin: 0 0 12px;
}
.ed-about__p:last-child {
    margin-bottom: 0;
}

.ed-about__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--skin-font-base);
    font-size: 14px;
    font-weight: 600;
    line-height: 17px;
    color: var(--skin-darkblue-500);
    padding: 0;
    text-align: center;
}

.ed-about__read-more:hover {
    text-decoration: underline;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .ed-container {
        padding: 0 40px;
    }

    .ed-official__body {
        flex-direction: column;
    }

    .ed-product-cards {
        grid-template-columns: 320px 320px;
        width: fit-content;
    }

    .ed-product-cards__skeleton {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .ed-product-cards {
        grid-template-columns: 320px;
        width: fit-content;
    }
}

@media (max-width: 768px) {
    .ed-container {
        padding: 0 16px;
    }

    .ed-header__inner {
        flex-direction: column;
    }

    .ed-header__name {
        font-size: 20px;
        line-height: 26px;
    }

    .ed-official__title {
        font-size: 24px;
        line-height: 32px;
    }

    .ed-official__subtitle {
        font-size: 16px;
        line-height: 22px;
    }

    .ed-overview__fields {
        flex-direction: column;
        gap: 0;
    }

    .ed-financials__grid,
    .ed-financials__loading {
        flex-direction: column;
    }

    .ed-metric-card {
        min-width: unset;
    }

    .ed-metric-card__value {
        font-size: 24px;
    }

    .ed-more-info__title,
    .ed-about__title,
    .ed-financials__title {
        font-size: 20px;
        line-height: 26px;
    }

    .ed-tabs {
        gap: 0;
    }

    .ed-tab {
        font-size: 13px;
        padding: 10px 12px;
    }

    .ed-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .ed-filters__select {
        min-width: unset;
    }
}

