.listing-shell,
.main > .top {
    width: min(1120px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.main > .top {
    margin-bottom: 24px;
}

.listing-shell {
    margin-top: 8px;
}

.product {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.95fr);
    gap: 20px;
    align-items: stretch;
    margin-top: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    color: #161B2B;
}

.listing-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0 4px;
    color: #98A2B3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.listing-crumbs a {
    color: #667085;
    text-decoration: none;
}

.listing-crumbs a:hover {
    color: #14532D;
}

.product.is-wanted {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 10px;
    align-items: stretch;
}

.product.is-wanted .gallery {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.product.is-wanted .detail {
    padding: 28px 28px 24px;
    border-color: #EEF0F2;
    box-shadow: none;
}

.product.is-wanted .stage {
    width: 100%;
    background: #F3F4F6;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    aspect-ratio: auto;
    max-height: none;
}

.product.is-wanted .stage img,
.product.is-wanted .stage .deal-fallback {
    max-height: none;
}

.product.is-wanted .stage .deal-fallback {
    font-size: 48px;
    min-height: 0;
    background: #F3F4F6;
}

.product.is-wanted .stage:has(.deal-fallback) {
    aspect-ratio: auto;
    min-height: 0;
}

.product.is-wanted .stage-tools .heart {
    display: none;
}

.photo-count {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    min-width: 42px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.gallery-caption {
    margin: 10px 2px 0;
    color: #98A2B3;
    font-size: 12px;
    line-height: 1.45;
}

.wanted-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.wanted-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #F2F4F7;
    color: #475467;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 650;
}

.wanted-badge.is-pickup {
    background: #E8F8EF;
    color: #147A3F;
}

.product.is-wanted h1 {
    margin: 0 0 10px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 22px;
    font-weight: 650;
    letter-spacing: -0.4px;
    line-height: 1.3;
}

.wanted-place {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 16px;
    color: #667085;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.4;
}

.wanted-place svg {
    flex: none;
    margin-top: 2px;
}

.wanted-budget {
    margin: 0 0 12px;
    color: #161B2B;
    font-family: Manrope, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.4px;
    line-height: 1.2;
}

.wanted-budget strong {
    font-family: Manrope, sans-serif;
    font-size: inherit;
    font-weight: 800;
    letter-spacing: inherit;
}

.wanted-note {
    margin: 0 0 16px;
    color: #4B5563;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.wanted-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.wanted-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid #E4E7EC;
    border-radius: 999px;
    background: #fff;
    color: #344054;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 400;
}

.wanted-seller {
    margin-top: 0;
    margin-bottom: 4px;
}

.seller-verified {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-top: 4px !important;
    color: #147A3F !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
}

.seller-verified svg {
    flex: none;
    color: #20CB78;
}

.seller-stats {
    display: block !important;
    margin-top: 4px !important;
    color: #6B7280 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    position: relative;
    z-index: 2;
}

a.seller-stats:hover {
    color: #14532D !important;
    text-decoration: underline !important;
}

.price.is-kes {
    margin: 0 0 12px;
    color: #111827;
    font-family: Manrope, sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.item-badges {
    margin-bottom: 12px;
}

.product.is-wanted .ask-seller {
    border-radius: 14px;
    background: #20CB78;
}

.product.is-wanted .ask-seller:hover {
    filter: none;
    background: #1aad6a;
}

.product.is-wanted .listing-actions .save-later,
.product.is-wanted .listing-actions .share-wide {
    width: 52px;
    height: 52px;
    border-radius: 14px;
}

.wanted-trust {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #F0FDF4;
    color: #14532D;
}

.wanted-trust svg {
    flex: none;
    margin-top: 2px;
    color: #16A34A;
}

.wanted-trust strong {
    display: block;
    margin-bottom: 4px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.6;
}

.wanted-trust p {
    margin: 0;
    color: #3F6212;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
}

.wanted-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.wanted-links-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wanted-links a,
.wanted-links button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #98A2B3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
}

.wanted-links > a:first-child {
    color: #667085;
    font-size: 13px;
    font-weight: 600;
}

.wanted-links a:hover,
.wanted-links button:hover {
    color: #475467;
}

/* Wanted: hide Explore all chevron */
.product.is-wanted + .related .block-head a svg {
    display: none;
}

.gallery,
.detail {
    min-width: 0;
}

.gallery {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.detail {
    padding: 24px;
    border: 1px solid rgba(232, 234, 237, 0.95);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(22, 27, 43, 0.04);
}

.stage {
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 100%;
    max-height: 645px;
    border-radius: 24px;
    background: #f6fffa;
    box-shadow: 0 8px 28px rgba(22, 27, 43, 0.08);
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
}

.stage-track {
    display: flex;
    align-items: center;
    width: 100%;
    max-height: 645px;
    transform: translate3d(calc(var(--gallery-index, 0) * -100%), 0, 0);
    transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    touch-action: pan-y;
}

.stage-track img,
.stage > img {
    width: 100%;
    max-height: 645px;
    display: block;
    object-fit: contain;
    object-position: center;
}

.stage > img {
    height: 100%;
}

.stage-track img {
    flex: 0 0 100%;
    min-width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}

@media (prefers-reduced-motion: reduce) {
    .stage-track {
        transition: none;
    }
}

.stage .deal-fallback {
    width: 100%;
    height: 100%;
    min-height: 280px;
    display: grid;
    place-items: center;
    color: #9CA3AF;
    font-size: 64px;
    font-weight: 700;
    background: #f6fffa;
}

.stage:has(.deal-fallback) {
    aspect-ratio: 4 / 3;
    min-height: 280px;
}

.round {
    position: absolute;
    top: 16px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.96);
    color: #161B2B;
    font: inherit;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.16);
    z-index: 2;
}

.round svg {
    width: 20px;
    height: 20px;
}

.round.back {
    left: 16px;
    text-decoration: none;
    line-height: 0;
}

.round.back svg {
    width: 22px;
    height: 22px;
    display: block;
}

.stage-tools {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    z-index: 2;
}

.stage-tools .round {
    position: static;
}

.stage-tools .share {
    grid-column: 1;
    grid-row: 1;
}

.stage-tools .more {
    grid-column: 2;
    grid-row: 1;
}

.stage-tools .heart {
    grid-column: 2;
    grid-row: 2;
}

.round.heart.is-on {
    color: #EF4444;
}

.dots {
    position: absolute;
    left: 50%;
    bottom: 16px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.45);
    box-shadow: 0 2px 10px rgba(17, 24, 39, 0.18);
    transform: translateX(-50%);
    backdrop-filter: blur(6px);
}

.dots button {
    width: 8px;
    height: 8px;
    border: 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.dots button.is-on {
    width: 18px;
    background: #fff;
}

.price {
    margin: 0;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #161B2B;
}

.product h1 {
    margin: 8px 0 14px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.3;
    letter-spacing: -0.4px;
    color: #161B2B;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-height: 32px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #F3F4F6;
    color: #4B5563;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    word-break: break-word;
}

.pill svg {
    flex: none;
    align-self: center;
    margin-top: 0;
}

.pill-verified {
    background: #ECFDF3;
    color: #15803D;
}

.seller {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid #EEF0F2;
    border-radius: 16px;
    background: #fff;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.seller:hover {
    border-color: #D1D5DB;
    box-shadow: 0 6px 16px rgba(22, 27, 43, 0.05);
}

.avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    background: #EDE9FE;
    color: #6D28D9;
    font-size: 16px;
    font-weight: 700;
    flex: none;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.seller .grow {
    flex: 1;
    min-width: 0;
}

.seller strong {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #161B2B;
}

.seller-check {
    color: #20CB78;
    font-weight: 800;
}

.seller .grow > span {
    display: block;
    margin-top: 2px;
    color: #6B7280;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.seller-chev {
    color: #9CA3AF;
    font-size: 22px;
    line-height: 1;
}

.label {
    margin: 20px 0 8px;
    color: #9CA3AF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.08em;
}

.note {
    margin: 0;
    color: #4B5563;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.note.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.more-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6C5CE7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.more-text svg {
    flex: none;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.more-text.is-open svg {
    transform: rotate(180deg);
}

.facts {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.facts td {
    padding: 12px 0;
    border-top: 1px solid #F3F4F6;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    vertical-align: top;
}

.facts td:first-child {
    color: #6B7280;
    font-weight: 400;
    padding-right: 16px;
}

.facts td:last-child {
    text-align: right;
    font-weight: 600;
    color: #161B2B;
}

.listing-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.ask-seller-form {
    flex: 1 1 auto;
    min-width: 0;
}

.ask-seller,
.listing-actions .save-later,
.listing-actions .share-wide {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 650;
    cursor: pointer;
}

.listing-actions > .ask-seller,
.ask-seller-form .ask-seller {
    width: 100%;
}

.listing-actions > .ask-seller {
    flex: 1 1 auto;
    min-width: 0;
}

.ask-seller {
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #20CB78;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.ask-seller:hover {
    filter: brightness(1.05);
}

.ask-seller svg {
    width: 18px;
    height: 18px;
    flex: none;
}

.listing-actions .save-later,
.listing-actions .share-wide {
    width: 48px;
    height: 48px;
    flex: none;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    background: #fff;
    color: #667085;
}

.listing-actions .save-later:hover,
.listing-actions .share-wide:hover {
    background: #F9FAFB;
    color: #161B2B;
}

.listing-actions .save-later svg,
.listing-actions .share-wide svg {
    width: 20px;
    height: 20px;
}

.listing-actions .save-later.is-on {
    color: #EF4444;
    border-color: #FECACA;
    background: #FEF2F2;
}

.listing-actions .save-later.is-on svg {
    fill: currentColor;
}

.share-wide {
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.related {
    margin-top: 28px;
    margin-bottom: 12px;
}

.block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.block-head h2 {
    margin: 0;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.2;
    color: #161B2B;
}

.block-head a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #16A34A;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.block-head a svg {
    display: none;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.related-card {
    display: block;
    overflow: hidden;
    border: 1px solid #EEF0F2;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(22, 27, 43, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(22, 27, 43, 0.08);
}

.related-card img,
.mini {
    width: 100%;
    height: 140px;
    object-fit: contain;
    object-position: center;
    background: #f6fffa;
    display: block;
}

.mini {
    display: grid;
    place-items: center;
    color: #9CA3AF;
    font-size: 28px;
    font-weight: 700;
}

.related-meta {
    padding: 12px 14px 14px;
}

.related-meta strong {
    display: -webkit-box;
    overflow: hidden;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.1px;
    color: #161B2B;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-meta span {
    display: block;
    margin-top: 6px;
    font-family: Manrope, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.2px;
    color: #161B2B;
}

.sheet,
.modal-back {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(17, 24, 39, 0.45);
}

.sheet.is-open,
.modal-back.is-open {
    display: flex;
}

.dialog {
    position: relative;
    width: min(440px, calc(100% - 32px));
    padding: 20px;
    border-radius: 18px;
    background: #fff;
}

.dialog h2 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
}

.report-dialog h2 {
    margin-right: 36px;
}

.report-dialog .profile-close {
    top: 12px;
    right: 12px;
}

.ask-dialog {
    position: relative;
    width: min(520px, calc(100% - 24px));
    padding: 28px 28px 24px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse 70% 55% at 100% 0%, rgba(167, 243, 208, 0.55), transparent 60%),
        #fff;
    box-shadow: 0 24px 60px rgba(22, 27, 43, 0.18);
    overflow: hidden;
}

.ask-dialog h2 {
    margin: 0 36px 12px 0;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #161B2B;
}

.ask-dialog > p {
    margin: 0 0 18px;
    color: #757575;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.dialog-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #E5E7EB;
    border-radius: 99px;
    background: #fff;
    color: #6B7280;
    cursor: pointer;
}

.ask-message {
    width: 100%;
    min-height: 140px;
    margin: 0;
    padding: 14px 16px;
    border: 1.5px solid #86EFAC;
    border-radius: 16px;
    background: #F0FDF4;
    color: #161B2B;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    resize: vertical;
}

.ask-message:focus {
    outline: none;
    border-color: #20CB78;
    box-shadow: 0 0 0 3px rgba(32, 203, 120, 0.15);
}

.ask-actions {
    display: flex;
    align-items: center;
    margin-top: 18px;
    gap: 12px;
}

.btn-cancel,
.btn-send {
    height: 48px;
    border-radius: 999px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cancel {
    flex: 0 0 auto;
    min-width: 110px;
    padding: 0 22px;
    border: 1px solid #E5E7EB;
    background: #fff;
    color: #161B2B;
}

.btn-send {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 22px;
    border: 0;
    background: #22C55E;
    color: #fff;
    box-shadow: none;
}

.btn-send svg {
    flex: none;
    width: 16px;
    height: 16px;
}

.btn-send:hover {
    filter: brightness(1.05);
}

.reason {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    margin-bottom: 8px;
    padding: 0 14px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}

.reason.is-on {
    border-color: #20CB78;
}

.quiet {
    margin: 8px 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F5F3FF;
    color: #6D28D9;
    font-size: 14px;
}

.send {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: #86EFAC;
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.send.is-ready {
    background: #20CB78;
}

.menu {
    position: absolute;
    top: 62px;
    right: 16px;
    z-index: 3;
    min-width: 190px;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #EEF0F2;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.16);
}

.menu button,
.menu form button,
.menu a {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #161B2B;
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    line-height: 40px;
    cursor: pointer;
}

.menu button:hover,
.menu a:hover {
    background: #F3F4F6;
}

a.ask-seller,
a.save-later {
    text-decoration: none;
}

.profile,
.dialog.profile {
    position: relative;
    display: grid;
    justify-items: center;
    width: min(400px, calc(100% - 32px));
    padding: 20px 22px 22px;
    border-radius: 24px;
    background: #fff;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.profile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
}

.profile-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 99px;
    background: #F3F4F6;
    color: #4B5563;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
}

.dialog.profile .profile-close {
    position: static;
    width: 32px;
    height: 32px;
    background: transparent;
    color: #9CA3AF;
    font-size: 24px;
}

.profile-title {
    margin: 0;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.profile-avatar,
.dialog.profile .profile-avatar {
    width: 88px;
    height: 88px;
    margin-top: 10px;
    overflow: hidden;
    border: 3px solid #E7F8F0;
    box-shadow: 0 0 0 1px #D1FAE5;
    font-family: Manrope, sans-serif;
    font-size: 32px;
    font-weight: 750;
    background: #EDE9FE;
    color: #6D28D9;
}

.profile-avatar img,
.dialog.profile .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile h2,
.dialog.profile h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 4px;
    font-family: Manrope, "DM Sans", sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111827;
}

.dialog.profile .seller-check {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #20CB78;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.profile-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 10px;
    margin: 10px 0 0;
    color: #6B7280;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

a.profile-stats:hover {
    color: #14532D;
}

.profile-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6B7280;
}

.profile-rating svg {
    color: #9CA3AF;
}

.profile-stats-sep {
    width: 1px;
    height: 14px;
    background: #D1D5DB;
}

.profile-reviews-link {
    display: none;
}

.profile-campus,
.dialog.profile .profile-campus {
    margin: 0;
    color: #6B7280;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
}

.profile-badge,
.dialog.profile .profile-badge,
.dialog.profile .quiet.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin: 14px 0 0;
    padding: 8px 14px;
    border: 1px solid #BBF7D0;
    border-radius: 999px;
    background: #ECFDF5;
    color: #15803D;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 650;
}

.profile-badge svg {
    flex: none;
}

.verified-dialog {
    position: relative;
    width: min(440px, calc(100% - 32px));
    padding: 22px 24px 20px;
    text-align: left;
}

.verified-dialog h2 {
    margin: 0 36px 6px 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.verified-lead {
    margin: 0 0 16px;
    color: #6B7280;
    font-size: 14px;
}

.verified-points {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 14px;
}

.verified-points li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 10px;
    align-items: start;
}

.verified-points svg {
    margin-top: 2px;
    color: #16A34A;
}

.verified-points strong {
    display: block;
    margin-bottom: 2px;
    font-size: 14px;
    color: #111827;
}

.verified-points span {
    color: #4B5563;
    font-size: 13px;
    line-height: 1.45;
}

.verified-got-it {
    width: 100%;
    margin-top: 0;
}

.profile-actions {
    width: 100%;
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.profile .ask-seller,
.dialog.profile .ask-seller {
    width: 100%;
    min-height: 48px;
    margin-top: 0;
    border: 0;
    border-radius: 999px;
    background: #20CB78;
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.28);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.dialog.profile .ask-seller:hover {
    background: #16A34A;
}

.profile-history,
.dialog.profile .profile-history {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    background: #fff;
    color: #111827;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 650;
}

.dialog.profile .profile-history:hover {
    background: #F9FAFB;
}

.flash {
    margin: 0 0 10px;
    color: #16A34A;
    font-size: 14px;
}

.form-error {
    margin: 0 0 10px;
    color: #B91C1C;
    font-size: 14px;
}

.toast {
    position: fixed;
    bottom: 18px;
    left: 50%;
    z-index: 130;
    transform: translateX(-50%);
    padding: 10px 14px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .product {
        gap: 16px;
    }

    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .product,
    .related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product {
        grid-template-columns: 1fr;
        margin-bottom: 12px;
    }

    .stage {
        flex: none;
        width: 100%;
        height: auto;
        max-height: 645px;
        aspect-ratio: 4 / 3;
    }

    .stage img {
        max-height: 645px;
        object-fit: contain;
    }

    .detail {
        padding: 20px 18px;
    }

    .product.is-wanted {
        grid-template-columns: 1fr;
    }

    .product.is-wanted .stage {
        flex: none;
        height: auto;
        aspect-ratio: 16 / 10;
        max-height: 280px;
    }

    .product.is-wanted .stage .deal-fallback {
        font-size: 36px;
    }

    .product.is-wanted .detail {
        padding: 20px 16px;
    }

    .wanted-links {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .main > .top {
        margin-bottom: 6px;
    }

    .campus.is-guest .main > .top {
        display: none;
    }

    .listing-shell {
        margin-top: 0;
    }

    .listing-crumbs {
        margin: 0 0 6px;
    }
}

@media (max-width: 767px) {
    .stage,
    .detail,
    .seller,
    .ask-dialog,
    .dialog {
        border-radius: 10px;
    }

    .detail {
        padding: 18px 14px;
    }

    .pills {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .pill {
        align-items: center;
        width: fit-content;
        max-width: 100%;
        min-height: 28px;
        padding: 5px 12px;
        border-radius: 999px;
        background: #F3F4F6;
        color: #4B5563;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .pill-verified {
        background: #ECFDF3;
        color: #15803D;
    }

    .pill svg {
        width: 14px;
        height: 14px;
        align-self: center;
        margin-top: 0;
    }

    .related-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .related-grid::-webkit-scrollbar {
        display: none;
    }

    .related-card {
        flex: 0 0 min(46vw, 168px);
        width: min(46vw, 168px);
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        scroll-snap-align: start;
    }

    .related-card:hover {
        transform: none;
        box-shadow: none;
    }

    .related-card img,
    .related-card .mini {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        object-fit: contain;
        object-position: center;
        border-radius: 18px;
        background: #f6fffa;
    }

    .price {
        font-family: Manrope, "DM Sans", sans-serif;
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -0.4px;
        line-height: 1.15;
    }

    .product h1 {
        font-family: Manrope, "DM Sans", sans-serif;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.4;
        letter-spacing: -0.2px;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
    }

    .label {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
    }

    .note {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 15px;
        font-weight: 400;
        line-height: 1.5;
        color: #374151;
    }

    .more-text {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 14px;
        font-weight: 700;
    }

    .seller strong {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 14px;
        font-weight: 700;
    }

    .seller .grow > span {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 12px;
        font-weight: 400;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .facts td {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.45;
    }

    .facts td:first-child {
        font-weight: 500;
        color: #6B7280;
    }

    .facts td:last-child {
        font-weight: 600;
        color: #161B2B;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .ask-seller {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 15px;
        font-weight: 700;
    }

    .save-later,
    .share-wide {
        font-size: 13px;
    }

    .block-head {
        align-items: flex-start;
    }

    .block-head h2 {
        flex: 1 1 auto;
        min-width: 0;
        font-family: Manrope, "DM Sans", sans-serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.3px;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .block-head a {
        flex: none;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 12px;
        font-weight: 600;
        white-space: nowrap;
    }

    .related .block-head a svg {
        display: inline-block;
    }

    .related-meta {
        padding: 8px 2px 0;
    }

    .related-meta strong {
        display: block;
        overflow: hidden;
        font-family: "DM Sans", sans-serif;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        letter-spacing: -0.1px;
        white-space: nowrap;
        text-overflow: ellipsis;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .related-meta span {
        margin-top: 4px;
        font-family: Manrope, sans-serif;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: -0.2px;
    }

    .listing-crumbs {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 10px;
        font-weight: 400;
    }

    .product.is-wanted h1 {
        font-family: Manrope, "DM Sans", sans-serif;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: -0.2px;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: none;
    }

    .wanted-badge {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 10px;
        font-weight: 650;
    }

    .wanted-place {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 10px;
        font-weight: 400;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .wanted-budget {
        font-family: "DM Sans", sans-serif;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: normal;
        line-height: 1.35;
        color: #819080;
    }

    .wanted-budget strong {
        font-family: Manrope, sans-serif;
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.4px;
        line-height: 1.2;
        color: #161B2B;
    }

    .wanted-budget:not(:has(strong)) {
        font-family: Manrope, sans-serif;
        font-size: 28px;
        font-weight: 800;
        letter-spacing: -0.4px;
        color: #161B2B;
    }

    .wanted-note {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.55;
        color: #4B5563;
    }

    .wanted-chips span {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 12px;
        font-weight: 400;
    }

    .product.is-wanted .seller strong {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 14px;
        font-weight: 700;
    }

    .product.is-wanted .seller .grow > span,
    .product.is-wanted .seller-verified {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
        font-size: 12px !important;
        font-weight: 400 !important;
    }

    .product.is-wanted .ask-seller {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 15px;
        font-weight: 700;
    }

    .wanted-trust strong {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.6;
    }

    .wanted-trust p {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.5;
    }

    .wanted-links a,
    .wanted-links button {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 11px;
        font-weight: 400;
    }

    .dialog.profile,
    .profile {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .dialog.profile .profile-avatar,
    .profile-avatar {
        font-family: Manrope, sans-serif;
        font-size: 28px;
        font-weight: 750;
    }

    .dialog.profile h2,
    .profile h2 {
        font-family: Manrope, "DM Sans", sans-serif;
        font-size: 30px;
        font-weight: 700;
        letter-spacing: -1px;
        line-height: 1.2;
    }

    .dialog.profile .profile-campus,
    .profile-campus {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 10px;
        font-weight: 400;
    }

    .dialog.profile .profile-badge,
    .dialog.profile .quiet.profile-badge,
    .profile-badge {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 10px;
        font-weight: 650;
    }

    .dialog.profile .ask-seller,
    .profile .ask-seller {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 13px;
        font-weight: 650;
    }

    .dialog.profile .profile-history,
    .profile-history {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 11px;
        font-weight: 650;
    }

    .seller strong {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 14px;
        font-weight: 700;
    }

    .seller .grow > span,
    .seller-verified {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
        font-size: 12px !important;
        font-weight: 400 !important;
    }

    .ask-dialog {
        padding: 18px 16px 16px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    .ask-dialog h2 {
        font-family: Manrope, "DM Sans", sans-serif;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.02em;
        line-height: 1.25;
    }

    .ask-dialog > p {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 13px;
        font-weight: 400;
        line-height: 1.45;
        color: #757575;
    }

    .ask-message {
        min-height: 110px;
        padding: 12px 14px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.45;
    }

    .btn-cancel,
    .btn-send {
        height: 44px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        font-size: 13px;
        font-weight: 600;
    }

    .ask-actions {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    .btn-cancel {
        flex: 0 0 auto;
        min-width: 88px;
        padding: 0 16px;
    }

    .btn-send {
        flex: 1 1 auto;
        gap: 6px;
        padding: 0 16px;
    }

    .btn-send svg {
        width: 14px;
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .related-card:hover {
        transform: none;
    }
}
