/* =========================================================
   Compact Product Buying Guide
========================================================= */

.variant-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-guide-link {
    padding: 0;
    border: 0;
    border-bottom: 1px dashed rgba(35, 86, 216, 0.38);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2356d8;
    background: transparent;
    font-family: inherit;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
}

.variant-guide-link::before {
    content: "?";
    width: 19px;
    height: 19px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2356d8;
    font-size: 10px;
}

.buying-guide-wrap {
    width: 100%;
    max-width: none;
}

.buying-guide-intro {
    margin-bottom: 16px;
    padding: 17px 18px;
    border: 1px solid rgba(35, 86, 216, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 13px;
    background: linear-gradient(
        135deg,
        rgba(35, 86, 216, 0.07),
        rgba(255, 212, 59, 0.08)
    );
}

.buying-guide-intro__icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2356d8, #0f2f82);
    font-size: 20px;
    font-weight: 950;
    box-shadow: 0 9px 22px rgba(35, 86, 216, 0.2);
}

.buying-guide-intro span {
    color: #2356d8;
    font-size: 10.5px;
    font-weight: 950;
}

.buying-guide-intro h2 {
    margin: 3px 0 3px;
    color: #111827;
    font-size: 19px;
    line-height: 1.6;
}

.buying-guide-intro p {
    margin: 0;
    color: #6b7280;
    font-size: 11.5px;
    line-height: 1.9;
}

.buying-guide-accordion {
    display: grid;
    gap: 9px;
}

.buying-guide-item {
    width: 100%;
    border: 1px solid rgba(30, 30, 30, 0.08);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.045);
}

.buying-guide-item[open] {
    border-color: rgba(35, 86, 216, 0.24);
    box-shadow: 0 10px 26px rgba(35, 86, 216, 0.08);
}

.buying-guide-item summary {
    min-height: 66px;
    padding: 11px 14px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 11px;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.buying-guide-item summary::-webkit-details-marker {
    display: none;
}

.buying-guide-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    background: #2356d8;
    font-size: 10.5px;
    font-weight: 950;
}

.buying-guide-item:nth-child(2) .buying-guide-number {
    background: #f59f00;
}

.buying-guide-item:nth-child(3) .buying-guide-number {
    background: #16a34a;
}

.buying-guide-item:nth-child(4) .buying-guide-number {
    background: #7c3aed;
}

.buying-guide-title strong,
.buying-guide-title small {
    display: block;
}

.buying-guide-title strong {
    margin-bottom: 2px;
    color: #111827;
    font-size: 13px;
    line-height: 1.7;
}

.buying-guide-title small {
    color: #7b8190;
    font-size: 10.5px;
    line-height: 1.6;
}

.buying-guide-plus {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #2356d8;
    background: #eef4ff;
    font-size: 17px;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.buying-guide-item[open] .buying-guide-plus {
    transform: rotate(45deg);
}

.buying-guide-body {
    padding: 0 14px 14px;
}

.buying-guide-body::before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 11px;
    background: #edf0f4;
}

.buying-guide-compare,
.buying-guide-size-list,
.buying-guide-paper-list {
    display: grid;
    gap: 9px;
}

.buying-guide-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buying-guide-size-list,
.buying-guide-paper-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.buying-guide-body article {
    padding: 11px 12px;
    border: 1px solid rgba(30, 30, 30, 0.055);
    border-radius: 13px;
    background: #f8fafc;
}

.buying-guide-body b {
    color: #111827;
    font-size: 11.5px;
}

.buying-guide-body p {
    margin: 4px 0 0;
    color: #667085;
    font-size: 11px;
    line-height: 1.9;
}

@media (max-width: 700px) {
    .buying-guide-intro {
        align-items: flex-start;
    }

    .buying-guide-intro h2 {
        font-size: 17px;
    }

    .buying-guide-compare,
    .buying-guide-size-list,
    .buying-guide-paper-list {
        grid-template-columns: 1fr;
    }

    .variant-note {
        align-items: flex-start;
        flex-direction: column;
    }
}
