.telecom-page {
    background: #f4f6f8;
    color: #1f2937;
}

.telecom-page .navbar {
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.telecom-page .nav-link-telecom.active {
    color: #0f766e;
}

.telecom-main {
    flex: 1 0 auto;
}

.telecom-hero {
    position: relative;
    min-height: 238px;
    overflow: hidden;
    background: #7f1d1d;
    isolation: isolate;
}

.telecom-hero-image,
.telecom-hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.telecom-hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    filter: none;
}

.telecom-hero-shade {
    z-index: -1;
    display: none;
    background: transparent;
}

.telecom-hero-content {
    min-height: 238px;
    display: flex;
    align-items: flex-end;
    gap: 18px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.telecom-store-avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: #fff;
}

.telecom-store-copy {
    min-width: 0;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.telecom-eyebrow {
    margin: 0 0 4px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.88rem;
    font-weight: 700;
}

.telecom-store-copy h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.telecom-store-copy > p:last-child {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.telecom-catalog {
    padding: 30px 0 36px;
}

.telecom-catalog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.telecom-catalog-head h2 {
    margin: 0;
    color: #111827;
    font-size: 1.45rem;
    line-height: 1.3;
}

.telecom-catalog-head p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.telecom-catalog-head strong {
    color: #0f766e;
}

.telecom-search {
    position: relative;
    width: min(420px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 84px;
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.telecom-search:focus-within {
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.telecom-search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 44px 0 13px;
    color: #111827;
    font: inherit;
}

.telecom-search input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
    appearance: none;
}

.telecom-search-clear,
.telecom-search-submit {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.telecom-search-clear {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 84px;
    width: 38px;
    height: 100%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #64748b;
    font-size: 1.35rem;
}

.telecom-search-clear[hidden] {
    display: none;
}

.telecom-search-submit {
    min-width: 84px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #0d6963;
    background: #0f766e;
    color: #fff;
    font-weight: 700;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.telecom-search-submit:hover {
    background: #115e59;
}

.telecom-search-submit:active {
    background: #134e4a;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.2);
}

.telecom-search-submit:focus-visible {
    outline: 2px solid #fff;
    outline-offset: -4px;
}

.telecom-filters {
    display: inline-flex;
    max-width: 100%;
    margin-top: 22px;
    overflow-x: auto;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
}

.telecom-filter {
    min-width: 72px;
    min-height: 38px;
    padding: 7px 14px;
    border: 0;
    border-right: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.telecom-filter:last-child {
    border-right: 0;
}

.telecom-filter:hover {
    background: #f0fdfa;
    color: #0f766e;
}

.telecom-filter.active {
    background: #0f766e;
    color: #fff;
}

.telecom-status {
    min-height: 24px;
    margin: 14px 0 4px;
    color: #64748b;
    font-size: 0.9rem;
}

.telecom-status.is-error {
    color: #b91c1c;
}

.telecom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.telecom-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 184px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.telecom-card:hover {
    transform: translateY(-2px);
    border-color: #99f6e4;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.telecom-card-media {
    min-height: 258px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-right: 1px solid #eef2f7;
    background: #f8fafc;
}

.telecom-card-media img {
    width: 100%;
    height: 100%;
    max-height: 258px;
    object-fit: contain;
}

.telecom-card-media.is-missing::before {
    content: "套餐图片";
    color: #94a3b8;
    font-size: 0.85rem;
}

.telecom-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.telecom-card-badges {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 24px;
}

.telecom-badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 2px 7px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
}

.telecom-badge.operator-mobile {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.telecom-badge.operator-unicom {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.telecom-badge.operator-telecom {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.telecom-badge.operator-broadcast {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

.telecom-card h3 {
    margin: 9px 0 8px;
    color: #111827;
    font-size: 1rem;
    line-height: 1.45;
    letter-spacing: 0;
}

.telecom-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.telecom-price {
    color: #dc2626;
    font-size: 1.45rem;
    font-weight: 800;
}

.telecom-price small {
    font-size: 0.76rem;
    font-weight: 600;
}

.telecom-original-price {
    color: #94a3b8;
    font-size: 0.76rem;
    text-decoration: line-through;
}

.telecom-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 10px;
    padding: 9px 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.telecom-spec {
    min-width: 0;
    padding: 0 7px;
    border-right: 1px solid #eef2f7;
    text-align: center;
}

.telecom-spec:first-child {
    padding-left: 0;
}

.telecom-spec:last-child {
    padding-right: 0;
    border-right: 0;
}

.telecom-spec strong,
.telecom-spec span {
    display: block;
}

.telecom-spec strong {
    color: #0f172a;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.telecom-spec span {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 0.68rem;
    white-space: nowrap;
}

.telecom-charge {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.telecom-card-action {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
    border: 1px solid #0f766e;
    border-radius: 7px;
    background: #0f766e;
    color: #fff;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 700;
}

.telecom-card-action:hover {
    background: #115e59;
    border-color: #115e59;
}

.telecom-skeleton {
    min-height: 258px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #e5e7eb;
    animation: telecomPulse 1.2s ease-in-out infinite alternate;
}

@keyframes telecomPulse {
    from { opacity: 0.48; }
    to { opacity: 0.82; }
}

.telecom-empty {
    grid-column: 1 / -1;
    min-height: 220px;
    display: grid;
    place-items: center;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
    text-align: center;
}

.telecom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
    color: #475569;
    font-size: 0.9rem;
}

.telecom-page-button {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #0f766e;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 800;
}

.telecom-page-button:hover:not(:disabled) {
    border-color: #0f766e;
    background: #f0fdfa;
}

.telecom-page-button:disabled {
    cursor: not-allowed;
    color: #cbd5e1;
    background: #f8fafc;
}

.telecom-disclosure {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 12px;
    margin-top: 28px;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.6;
}

.telecom-disclosure strong {
    color: #92400e;
}

.telecom-footer {
    background: #334155;
}

.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;
}

@media (max-width: 1040px) {
    .telecom-grid {
        grid-template-columns: 1fr;
    }

    .telecom-card {
        grid-template-columns: 210px minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .telecom-hero,
    .telecom-hero-content {
        min-height: 190px;
    }

    .telecom-hero-content {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .telecom-store-copy h1 {
        font-size: 1.5rem;
    }

    .telecom-catalog-head {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }

    .telecom-search {
        width: 100%;
    }

    .telecom-filters {
        width: 100%;
    }

    .telecom-filter {
        flex: 1 0 64px;
    }

    .telecom-card {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .telecom-card-media {
        min-height: 220px;
    }

    .telecom-card-media img {
        max-height: 220px;
    }

    .telecom-spec strong {
        font-size: 0.82rem;
    }

    .telecom-disclosure {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
