:root {
    --dy-primary: #2b6cff;
    --dy-primary-2: #4b7dff;
    --dy-ink: #14213d;
    --dy-text: #4a5568;
    --dy-muted: #8a96aa;
    --dy-line: #d9e5fb;
    --dy-soft: #f3f7ff;
    --dy-price: #f25a35;
}

.dy-cloud-page[v-cloak] .dy-cloud-section {
    visibility: hidden;
}

.dy-cloud-page {
    position: relative;
    min-height: 100vh;
    padding-top: 64px;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(236, 244, 255, 0.96) 0, rgba(247, 250, 255, 0.94) 180px, #f6f9ff 100%);
}

.dy-cloud-page::before {
    content: "";
    position: absolute;
    top: 86px;
    right: max(4vw, 48px);
    width: 340px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(72, 130, 255, 0.13) 0, rgba(72, 130, 255, 0) 70%);
    pointer-events: none;
}

.dy-cloud-section {
    padding: 14px 0 44px;
}

.dy-cloud-section .dianle-width {
    width: 100%;
    max-width: 1400px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

.dy-cloud-catalog {
    position: relative;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dbe7ff;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(31, 66, 145, 0.05);
    overflow: hidden;
}

.dy-cloud-catalog::after {
    content: "";
    position: absolute;
    top: -54px;
    right: -24px;
    width: 190px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(68, 125, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.dy-catalog-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid #e8eef9;
}

.dy-catalog-row:last-child {
    border-bottom: 0;
}

.dy-catalog-label {
    color: #172443;
    font-size: 13px;
    font-weight: 700;
    padding-left: 14px;
}

.dy-catalog-options {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 9px;
    padding: 8px 10px;
}

.dy-catalog-chip {
    height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #d8e3f8;
    border-radius: 6px;
    background: #fbfdff;
    color: #3c4b67;
    padding: 0 11px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.dy-catalog-chip:hover,
.dy-catalog-chip.is-active {
    color: #fff;
    border-color: var(--dy-primary);
    background: linear-gradient(135deg, var(--dy-primary-2), var(--dy-primary));
    box-shadow: 0 8px 18px rgba(43, 108, 255, 0.2);
}

.dy-chip-flag {
    min-width: 20px;
    height: 20px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, #ec6a70, #d7434d);
    font-size: 12px;
    font-weight: 700;
}

.dy-chip-flag.is-blue {
    background: linear-gradient(135deg, #5f8cff, #2b6cff);
}

.dy-cloud-group-description {
    min-height: 44px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    padding: 10px 14px;
    border: 1px solid #c9dcff;
    border-radius: 8px;
    color: #526985;
    background: #eff6ff;
    font-size: 14px;
    line-height: 1.6;
    box-sizing: border-box;
}

.dy-cloud-group-description .el-icon-info {
    flex: 0 0 auto;
    margin-top: 4px;
    color: var(--dy-primary);
    font-size: 16px;
}

.dy-cloud-group-description span {
    min-width: 0;
    display: -webkit-box;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.dy-cloud-state {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dy-line);
    border-radius: 8px;
    background: #fff;
    color: var(--dy-muted);
}

.dy-cloud-grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dy-cloud-product-list {
    --dy-cloud-columns: minmax(210px, 1.7fr) minmax(140px, 0.95fr) minmax(100px, 0.75fr) minmax(145px, 1fr) minmax(135px, 0.95fr) minmax(210px, 1.5fr);
    width: 100%;
}

.dy-cloud-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.dy-cloud-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c7890;
    font-size: 13px;
}

.dy-cloud-sort button {
    height: 34px;
    padding: 0 13px;
    border: 1px solid #cad8ec;
    border-radius: 5px;
    color: #32405a;
    background: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.dy-cloud-sort button:hover,
.dy-cloud-sort button.is-active {
    color: var(--dy-primary);
    border-color: var(--dy-primary);
    background: #eef4ff;
}

.dy-cloud-sort button:focus-visible,
.dy-table-buy:focus-visible,
.dy-card-actions a:focus-visible {
    outline: 3px solid rgba(47, 99, 246, 0.3);
    outline-offset: 3px;
}

.dy-cloud-table-row {
    position: relative;
    display: grid;
    grid-template-columns: var(--dy-cloud-columns);
    align-items: center;
    column-gap: 16px;
    padding: 0 22px;
    box-sizing: border-box;
}

.dy-cloud-table-row {
    min-height: 76px;
    margin-bottom: 10px;
    border: 1px solid #dce6f5;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(39, 72, 123, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dy-cloud-table-row:hover {
    transform: translateY(-2px);
    border-color: #c3d3ee;
    box-shadow: 0 15px 32px rgba(39, 72, 123, 0.11);
}

.dy-table-product {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.dy-table-product > strong {
    overflow: hidden;
    color: #172747;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dy-table-spec {
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    white-space: nowrap;
}

.dy-spec-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    flex: 0 0 18px;
    background: #8c9aae;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.dy-spec-icon.is-cpu {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 1v3M15 1v3M9 20v3M15 20v3M20 9h3M20 14h3M1 9h3M1 14h3'/%3E%3Crect x='9' y='9' width='6' height='6' rx='1'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M9 1v3M15 1v3M9 20v3M15 20v3M20 9h3M20 14h3M1 9h3M1 14h3'/%3E%3Crect x='9' y='9' width='6' height='6' rx='1'/%3E%3C/g%3E%3C/svg%3E");
}

.dy-spec-icon.is-memory {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Cpath d='M6 10h3v4H6zM12 10h3v4h-3zM18 10h1M6 18v3M10 18v3M14 18v3M18 18v3'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='6' width='20' height='12' rx='2'/%3E%3Cpath d='M6 10h3v4H6zM12 10h3v4h-3zM18 10h1M6 18v3M10 18v3M14 18v3M18 18v3'/%3E%3C/g%3E%3C/svg%3E");
}

.dy-spec-icon.is-disk {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14l3 6v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9l3-6Z'/%3E%3Cpath d='M2 10h20M6 16h4M16 16h2'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h14l3 6v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9l3-6Z'/%3E%3Cpath d='M2 10h20M6 16h4M16 16h2'/%3E%3C/g%3E%3C/svg%3E");
}

.dy-spec-icon.is-network {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16M4 16h16M8 4 4 8l4 4M16 12l4 4-4 4'/%3E%3C/g%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h16M4 16h16M8 4 4 8l4 4M16 12l4 4-4 4'/%3E%3C/g%3E%3C/svg%3E");
}

.dy-spec-icon.is-bandwidth {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.4 1 4 14h7l-1 9 10-14h-7l.4-8Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.4 1 4 14h7l-1 9 10-14h-7l.4-8Z'/%3E%3C/svg%3E");
}

.dy-spec-icon.is-default {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='7' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

.dy-table-spec strong {
    max-width: 100%;
    overflow: hidden;
    color: #18243b;
    font-family: "DIN Alternate", "Bahnschrift", sans-serif;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 800;
    text-overflow: ellipsis;
}

.dy-table-action {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 108px;
    align-items: center;
    gap: 14px;
}

.dy-table-price {
    min-width: 0;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 3px;
    white-space: nowrap;
}

.dy-table-price strong {
    overflow: hidden;
    color: var(--dy-price);
    font-family: "DIN Alternate", "Bahnschrift", sans-serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    text-overflow: ellipsis;
}

.dy-table-price span {
    color: #d34c27;
    font-size: 13px;
    font-weight: 700;
}

.dy-table-buy {
    width: 108px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: #ffffff;
    background: linear-gradient(180deg, #3f72ff 0%, #2757e6 100%);
    box-shadow: 0 10px 18px rgba(47, 99, 246, 0.22);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
}

.dy-table-buy:hover {
    color: #ffffff;
    background: #2757e6;
}

.dy-product-card {
    min-width: 0;
    min-height: 292px;
    display: flex;
    flex-direction: column;
    padding: 12px;
    border: 1px solid #e1e9fb;
    border-radius: 16px;
    background:
        radial-gradient(220px 160px at 100% 0%, rgba(43, 108, 255, 0.07), transparent 72%),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: 0 8px 24px rgba(29, 73, 156, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dy-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(43, 108, 255, 0.36);
    box-shadow: 0 16px 34px rgba(20, 40, 90, 0.12);
}

.dy-card-tags {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    min-height: 20px;
    margin-bottom: 10px;
}

.dy-card-tags span {
    height: 20px;
    line-height: 18px;
    padding: 0 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.dy-location-tag {
    color: #ec4f70;
    border: 1px solid #ffc8d9;
    background: #fff1f5;
}

.dy-status-tag.is-green {
    color: #2ca957;
    border: 1px solid #bdeed0;
    background: #edfff4;
}

.dy-status-tag.is-blue {
    color: var(--dy-primary);
    border: 1px solid #cfe0ff;
    background: #eff5ff;
}

.dy-status-tag.is-orange {
    color: #f08a22;
    border: 1px solid #ffd8ad;
    background: #fff6eb;
}

.dy-card-title {
    color: var(--dy-ink);
    font-size: 15px;
    line-height: 1.32;
    font-weight: 700;
    min-height: 34px;
    word-break: break-word;
}

.dy-spec-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 2px;
}

.dy-spec-row {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-height: 17px;
}

.dy-spec-row span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7a808a;
    font-size: 11px;
    font-weight: 700;
}

.dy-spec-row strong {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    color: #3d424b;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: normal;
}

.dy-spec-row .dy-spec-icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.dy-main-price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
}

.dy-main-price strong {
    color: var(--dy-price);
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}

.dy-main-price span {
    color: #68748b;
    font-size: 11px;
    padding-bottom: 2px;
    min-width: 0;
}

.dy-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 7px;
}

.dy-card-actions a {
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.dy-buy-btn {
    color: #fff;
    background: linear-gradient(180deg, #3f70ff 0%, #255de8 100%);
    box-shadow: 0 8px 18px rgba(43, 108, 255, 0.24);
}

.dy-buy-btn:hover {
    color: #fff;
    box-shadow: 0 12px 24px rgba(43, 108, 255, 0.32);
}

@media screen and (max-width: 1180px) {
    .dy-cloud-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dy-cloud-table-row {
        display: none;
    }

    .dy-cloud-toolbar {
        margin-bottom: 14px;
    }

    .dy-product-card {
        min-height: 310px;
        padding: 16px;
    }

    .dy-card-title {
        min-height: 42px;
        font-size: 17px;
    }

    .dy-spec-row {
        min-height: 23px;
    }

    .dy-spec-row span,
    .dy-spec-row strong {
        font-size: 12px;
    }

    .dy-main-price strong {
        font-size: 26px;
    }

    .dy-card-actions a {
        min-height: 44px;
        height: 44px;
        line-height: 44px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dy-cloud-table-row,
    .dy-product-card,
    .dy-catalog-chip,
    .dy-table-buy,
    .dy-card-actions a {
        transition: none !important;
    }

    .dy-cloud-table-row:hover,
    .dy-product-card:hover {
        transform: none !important;
    }
}

@media screen and (max-width: 920px) {
    .dy-cloud-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dy-cloud-section .dianle-width {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dy-product-card {
        min-height: 0;
    }
}

@media screen and (max-width: 768px) {
    .dy-cloud-page {
        padding-top: 66px;
    }

    .dy-cloud-section {
        padding: 14px 0 38px;
    }

    .dy-cloud-section .dianle-width {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dy-cloud-page::before {
        top: 82px;
        right: -110px;
        width: 260px;
        height: 150px;
    }

    .dy-cloud-catalog {
        margin-bottom: 14px;
    }

    .dy-cloud-group-description {
        gap: 8px;
        margin-bottom: 12px;
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.55;
    }

    .dy-cloud-group-description span {
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .dy-catalog-row {
        display: block;
        min-height: 0;
        align-items: flex-start;
        padding: 10px 0;
    }

    .dy-catalog-label {
        padding: 0 12px 8px;
        font-size: 14px;
    }

    .dy-catalog-options {
        flex-wrap: nowrap;
        gap: 8px;
        padding: 0 12px 4px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dy-catalog-options::-webkit-scrollbar {
        display: none;
    }

    .dy-catalog-chip {
        flex: 0 0 auto;
        max-width: 220px;
        min-height: 40px;
        height: 40px;
        padding: 0 13px;
        white-space: nowrap;
        overflow: hidden;
        line-height: 40px;
        text-overflow: ellipsis;
    }

    .dy-cloud-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .dy-cloud-table-row {
        display: none;
    }

    .dy-cloud-toolbar {
        display: block;
        margin-bottom: 12px;
    }

    .dy-cloud-sort {
        width: 100%;
        display: grid;
        grid-template-columns: auto repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .dy-cloud-sort > span {
        display: flex;
        align-items: center;
        padding-right: 2px;
    }

    .dy-cloud-sort button {
        min-width: 0;
        height: 40px;
        padding: 0 8px;
    }

    .dy-product-card {
        min-height: 0;
        padding: 14px;
        border-radius: 16px;
    }

    .dy-card-title {
        min-height: 0;
        margin-bottom: 10px;
        font-size: 18px;
    }

    .dy-spec-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .dy-spec-row {
        min-height: 52px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
        padding: 8px 10px;
        border: 1px solid #e1e9f8;
        border-radius: 8px;
        background: linear-gradient(180deg, #fbfdff, #f5f8ff);
    }

    .dy-spec-row span {
        color: #7b88a0;
        font-size: 11px;
    }

    .dy-spec-row strong {
        width: 100%;
        display: block;
        color: #25324c;
        font-size: 13px;
        line-height: 1.35;
        text-align: left;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .dy-main-price {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid #e8eef8;
    }

    .dy-main-price strong {
        font-size: 28px;
    }

    .dy-main-price span {
        font-size: 12px;
    }

    .dy-card-actions {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 10px;
    }

    .dy-card-actions a {
        min-height: 44px;
        height: 44px;
        line-height: 44px;
        border-radius: 7px;
        font-size: 14px;
    }
}

@media screen and (max-width: 420px) {
    .dy-catalog-options {
        gap: 8px;
    }

    .dy-catalog-chip {
        width: auto;
        max-width: 200px;
        justify-content: flex-start;
    }

    .dy-spec-row {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .dy-main-price {
        align-items: flex-end;
        flex-direction: row;
        gap: 6px;
    }

    .dy-card-actions {
        grid-template-columns: 1fr;
    }

    .dy-card-actions a {
        width: 100%;
    }
}

@media screen and (max-width: 360px) {
    .dy-cloud-section .dianle-width {
        padding-left: 10px;
        padding-right: 10px;
    }

    .dy-cloud-sort {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dy-cloud-sort > span {
        grid-column: 1 / -1;
    }

    .dy-spec-list {
        grid-template-columns: 1fr;
    }

    .dy-card-actions {
        grid-template-columns: 1fr;
    }
}
