.ag-attached-crumb {
    margin-bottom: 0;
}
.ag-attached-page {
    --attached-ink: #30152f;
    --attached-muted: #515151;
    --attached-accent: #b52c68;
    --attached-border: #eee8ec;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 40px);
    padding: 12px 0 28px;
    color: var(--attached-ink);
    text-align: start;
}
.ag-attached-intro,
.ag-attached-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}
.ag-attached-intro h1 {
    margin: 0;
    font-size: clamp(25px, 3.1vw, 40px);
    font-weight: 700;
    line-height: 1.15;
}
.ag-attached-intro .ag-attached-copy {
    margin-top: 12px;
}
.ag-attached-copy {
    color: var(--attached-muted);
    font-size: 1em;
    line-height: 1.65;
}
.ag-attached-copy > :first-child {
    margin-top: 0;
}
.ag-attached-copy > :last-child {
    margin-bottom: 0;
}
.ag-attached-copy :is(h2, h3, h4, h5, h6) {
    color: var(--attached-ink);
    font-weight: 600;
    line-height: 1.25;
}
.ag-attached-copy a {
    color: #87204d;
    text-decoration: underline;
}
.ag-attached-copy .ai-portrait-compare .ai-portrait-btn {
    color: #fff;
    text-decoration: none;
}
.ag-attached-copy :is(img, iframe, video) {
    max-width: 100%;
}
.ag-attached-copy table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}
.ag-attached-section-title {
    margin: 0 0 12px;
    color: var(--attached-ink);
    font-size: clamp(20px, 2.1vw, 26px);
    font-weight: 600;
    line-height: 1.25;
}
.ag-attached-section-grid,
.ag-attached-product-grid.ag-sgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(8px, 1.4vw, 16px);
}
.ag-attached-section-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--attached-border);
    border-radius: 14px;
    background: #fff;
    color: var(--attached-ink);
    box-shadow: 0 4px 16px rgba(50, 20, 40, .05);
}
.ag-attached-section-card:hover {
    color: var(--attached-accent);
}
.ag-attached-section-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    background: #f9f1f5;
    color: #a54270;
}
.ag-attached-section-media i,
.ag-scard-empty-photo {
    font-size: clamp(26px, 4vw, 42px);
}
.ag-attached-section-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100% !important;
    background: #f9f1f5;
    object-fit: cover;
}
.ag-attached-section-media img[data-image-kind="product"] {
    background: #fff;
    object-fit: contain;
}
.ag-attached-section-name {
    display: block;
    flex: 1;
    padding: 10px 12px;
    font-size: max(14px, .9375em);
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.ag-attached-page a:focus-visible {
    outline: 2px solid var(--attached-accent);
    outline-offset: 3px;
}
.ag-attached-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}
.ag-attached-product {
    min-width: 0;
}
.ag-attached-product .ag-scard-name {
    overflow-wrap: anywhere;
}
.ag-scard-empty-photo {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: #f9f1f5;
    color: #a54270;
}
@media (min-width: 900px) {
    .ag-attached-section-grid,
    .ag-attached-product-grid.ag-sgrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1200px) {
    .ag-attached-section-grid,
    .ag-attached-product-grid.ag-sgrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .ag-attached-section-card {
        transition: transform 180ms ease, box-shadow 180ms ease;
    }
    .ag-attached-section-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(50, 20, 40, .1);
    }
}
