.personal-search { min-width: 0; }
.personal-search h1 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.personal-search__intro, .personal-search__retention { color: #687084; font-size: 14px; line-height: 1.6; }
.personal-search__retention { margin: 16px 0 0; font-size: 12px; }
.personal-search__history { padding: 24px 0; margin: 20px 0 28px; border-top: 1px solid #e6e8ee; border-bottom: 1px solid #e6e8ee; }
.personal-search__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.personal-search h2 { font-size: 18px; font-weight: 600; margin: 0; }
.personal-search__text-button { padding: 0; border: 0; background: none; color: #006bff; font-size: 13px; cursor: pointer; }
.personal-search__text-button:disabled { opacity: .45; cursor: default; }
.personal-search__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.personal-search-chip { display: inline-flex; align-items: stretch; max-width: 100%; border-radius: 10px; background: #f1f5fb; }
.personal-search-chip a { padding: 9px 8px 9px 12px; color: #33435a; overflow-wrap: anywhere; }
.personal-search-chip button { border: 0; background: none; padding: 6px 12px; color: #687084; cursor: pointer; font-size: 20px; }
.personal-search__badge { color: #006bff; background: #eaf3ff; padding: 5px 10px; border-radius: 8px; font-size: 12px; }
.personal-search__badge:empty { display: none; }
.personal-search__advice-text { color: #33435a; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.personal-category { display: inline-block; padding: 10px 14px; color: #006bff; border-radius: 10px; background: #eaf3ff; font-size: 14px; }
.personal-search__products { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px; margin-top: 24px; }
.personal-product { display: flex; flex-direction: column; gap: 14px; padding: 16px; border: 1px solid #e6e8ee; border-radius: 14px; color: #25282b; overflow-wrap: anywhere; }
.personal-product img { width: 100%; height: 150px; object-fit: contain; }
.personal-product span { font-size: 14px; line-height: 1.5; }
.personal-search a:focus-visible, .personal-search button:focus-visible { outline: 3px solid #006bff; outline-offset: 3px; }
@media(max-width: 575px) {
    .personal-search.profile__content { padding: 20px 14px; }
    .personal-search h1 { font-size: 23px; }
    .personal-search__products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .personal-product { padding: 10px; }
    .personal-product img { height: 120px; }
}

.personalized-home[hidden] { display: none; }
.personalized-home { padding: 12px 0 24px; }
.personal-recommendation-section { margin: 28px 0; min-width: 0; }
.personal-recommendation-section h2 { font-size: 20px; font-weight: 600; line-height: 1.4; margin: 0 0 16px; overflow-wrap: anywhere; }
.personal-search__empty { color: #687084; font-size: 14px; padding: 18px; border-radius: 12px; background: #f6f8fb; }
.personal-product { position: relative; background: #fff; }
.personal-product .personal-product__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.personal-product__price { font-size: 17px; color: #006bff; margin-top: auto; }
.personal-product__old { color: #8792a6; font-size: 12px; }
.personal-product .personal-product__discount { align-self: flex-start; border-radius: 7px; background: #ffeded; color: #d53d3d; font-size: 12px; padding: 3px 7px; }
.personal-product__reference, .personal-product__difference { color: #687084; font-size: 12px; line-height: 1.5; }
.personal-product__reason { font-weight: 600; color: #243c61; font-size: 12px; }
.personalized-home .personal-search__products { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(160px, 200px); overflow-x: auto; align-items: stretch; padding: 2px 2px 14px; }
@media(max-width: 575px) {
    .personal-recommendation-section h2 { font-size: 18px; }
    .personal-product__price { font-size: 15px; }
    .personalized-home .personal-search__products { grid-auto-columns: 165px; }
}
