/**
 * Hudbas mobile phase 2 — page-specific layout polish
 * Builds on mobile-phase1.css (breakpoint max-width 991px)
 */

@media (max-width: 991px) {
  /* ------------------------------------------------------------------
   * Môj účet / profil v3 — neutralize legacy #account-account mobile rules
   * ------------------------------------------------------------------ */
  #account-account.manu-profile-v3 .container,
  #product-user.manu-profile-v3 .container,
  #account-account.manu-profile-v3 .ms_album_single_wrapper,
  #product-user.manu-profile-v3 .ms_album_single_wrapper {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }

  #account-account.manu-profile-v3 #content.col,
  #product-user.manu-profile-v3 #content.col {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #account-account.manu-profile-v3 .tab-content,
  #product-user.manu-profile-v3 .tab-content {
    margin-top: 0 !important;
  }

  #account-account.manu-profile-v3 .album_single_data,
  #product-user.manu-profile-v3 .album_single_data {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    justify-content: flex-start !important;
    margin-top: 0 !important;
  }

  #account-account.manu-profile-v3 .album_single_img,
  #product-user.manu-profile-v3 .album_single_img {
    margin: 0 auto 12px !important;
    width: var(--mp3-hero-thumb, 220px) !important;
    height: var(--mp3-hero-thumb, 220px) !important;
    max-width: min(var(--mp3-hero-thumb, 220px), 72vw);
    float: none !important;
    display: block !important;
    text-align: center !important;
    overflow: hidden;
  }

  #account-account.manu-profile-v3 .album_single_img img,
  #product-user.manu-profile-v3 .album_single_img img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center;
    background-color: transparent !important;
  }

  #account-account.manu-profile-v3 .album_single_text,
  #product-user.manu-profile-v3 .album_single_text {
    width: 100% !important;
    text-align: center !important;
    float: none !important;
    padding-left: 0 !important;
    padding-top: 0 !important;
  }

  #account-account.manu-profile-v3 .album_single_text .col-md-8,
  #product-user.manu-profile-v3 .album_single_text .col-md-8 {
    width: 100%;
    text-align: center;
  }

  #account-account.manu-profile-v3 .mp3-hero__follow-col,
  #product-user.manu-profile-v3 .mp3-hero__follow-col {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Verejný profil — prepísať desktop grid z manufacturer-profile-v3.css */
  #product-user.manu-profile-v3 .mp3-hero--legacy .album_single_data {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    align-items: center !important;
    text-align: center !important;
  }

  #product-user.manu-profile-v3 .mp3-hero--legacy .album_single_img {
    grid-column: auto !important;
    grid-row: auto !important;
    justify-content: center !important;
    align-self: center !important;
    margin: 0 auto 12px !important;
    float: none !important;
  }

  #product-user.manu-profile-v3 .mp3-hero--legacy .album_single_text.row {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-height: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  #product-user.manu-profile-v3 .mp3-hero--legacy .album_single_text h2,
  #product-user.manu-profile-v3 .mp3-hero--legacy .album_single_text h3 {
    text-align: center !important;
  }

  #product-user.manu-profile-v3 .mp3-hero--legacy .mp3-hero__stats-below {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100%;
    justify-content: center;
  }

  #product-user.manu-profile-v3 .mp3-hero__follow {
    justify-content: center;
  }

  /* Horizontal scroll tabs on profile pages */
  .manu-profile-v3 #mp3-tabs-nav.mp3-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 0 4px;
    padding-left: 0;
    padding-right: 0;
    margin-left: -4px;
    margin-right: -4px;
    padding-bottom: 2px;
  }

  .manu-profile-v3 #mp3-tabs-nav.mp3-tabs > li {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 14px 8px;
    margin-right: 4px;
  }

  .manu-profile-v3 #mp3-tabs-nav.mp3-tabs::-webkit-scrollbar {
    height: 3px;
  }

  .manu-profile-v3 #mp3-tabs-nav.mp3-tabs::-webkit-scrollbar-thumb {
    background: var(--mp3-accent, #46a4d7);
    border-radius: 2px;
  }

  .manu-profile-v3 .mp3-hero--legacy .album_single_text h1 {
    font-size: clamp(1.35rem, 5.2vw, 1.85rem) !important;
    line-height: 1.2 !important;
    word-break: break-word;
  }

  .manu-profile-v3 .mp3-grid > #mp3-tabs-nav.mp3-tabs {
    order: 0;
  }

  .manu-profile-v3 .mp3-main {
    order: 1;
  }

  .manu-profile-v3 .mp3-sidebar {
    order: 2;
  }

  /* ------------------------------------------------------------------
   * Homepage / home2
   * ------------------------------------------------------------------ */
  .page-home .home-hero,
  #page-home2 .home-hero {
    padding-top: 28px !important;
    min-height: 0;
  }

  .page-home .home-hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    gap: 10px;
  }

  .page-home .home-hero-btn {
    min-width: 0 !important;
    width: auto;
    max-width: min(248px, 72vw);
    padding-left: 16px;
    padding-right: 16px;
    min-height: var(--ms-touch-min, 44px);
    justify-content: center;
  }

  .page-home .home-hero-btn:has(.home-hero-btn-tag),
  #page-home2 .home-hero-btn:has(.home-hero-btn-tag) {
    max-width: min(calc(100vw - 40px), 340px) !important;
    width: max-content;
  }

  .page-home .home-hero-btn-tag,
  #page-home2 .home-hero-btn-tag {
    flex-shrink: 0;
  }

  #page-home2 .home-hero-btns {
    flex-direction: column;
    align-items: center;
  }

  #page-home2 .home-hero-btn {
    width: auto;
    max-width: min(248px, 72vw);
    min-width: 0 !important;
  }

  .page-home .home_container,
  #page-home2 .home_container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-home .home_container .ms_rcnt_slider,
  #page-home2 .home_container .ms_rcnt_slider {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-home .home2-albums-section .home2-albums-grid,
  #page-home2 .home2-albums-section .home2-albums-grid {
    width: 100%;
    max-width: min(420px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home2-albums-section .ms_heading,
  .page-home .home2-albums-section .home2-for-you-subtitle,
  #page-home2 .home2-albums-section .ms_heading,
  #page-home2 .home2-albums-section .home2-for-you-subtitle {
    max-width: min(420px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home-reviews-section .ms_heading.home-reviews-heading,
  .page-home .home-reviews-section .home-review-box,
  #page-home2 .home2-reviews-heading,
  #page-home2 .home2-review-box {
    width: 100%;
    max-width: min(420px, 100%);
    margin-left: auto;
    margin-right: auto;
  }

  .page-home .home-reviews-section .home-hscroll:not(.is-scrollable) .home-review-cards {
    justify-content: center;
  }

  /* Mobile: swipe scroll namiesto hover šípok (tie posúvali layout) */
  .page-home .home-hscroll-btn,
  #page-home2 .home-hscroll-btn {
    display: none !important;
  }

  .page-home .home-reviews-section .home-hscroll,
  .page-home .home-hscroll {
    position: relative;
  }

  .page-home .home-reviews-section .home-hscroll__track,
  .page-home .home-section-scroll.home-hscroll__track,
  .page-home .home2-best-album-scroll.home-hscroll__track {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .home-reviews-section .home-hscroll.is-scrollable::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 10px;
    width: 34px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(244, 246, 249, 0) 0%, rgba(244, 246, 249, 0.96) 82%);
    z-index: 3;
    transition: opacity 0.2s ease;
  }

  .page-home .home-reviews-section .home-hscroll.is-scrollable.is-at-end::after {
    opacity: 0;
  }

  .page-home .home-reviews-section .home-hscroll.is-scrollable:not(.is-at-start)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 10px;
    width: 24px;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(244, 246, 249, 0) 0%, rgba(244, 246, 249, 0.9) 82%);
    z-index: 3;
    transition: opacity 0.2s ease;
  }

  .page-home .home-reviews-section .home-review-cards {
    scroll-padding-inline: 4px;
  }

  .page-home .home-section .veiw_all,
  #page-home2 .home-section .veiw_all {
    padding-right: 0;
  }

  #page-home2 .home2-review-tabs,
  #page-home2 .home2-reviews-heading-actions .home2-review-tabs,
  .page-home .home-section .ms_heading.home-reviews-heading .home-review-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    justify-content: center !important;
    max-width: 100%;
    padding-bottom: 4px;
  }

  #page-home2 .home2-review-tab,
  .page-home .home-review-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: var(--ms-touch-min, 44px);
    display: inline-flex;
    align-items: center;
  }

  #page-home .home-homepage-info-blocks .home2-concert-cards-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #page-home .home-homepage-info-blocks .home2-concert-card-media {
    flex-basis: 72px;
    width: 72px;
    min-height: 72px;
  }

  /* ------------------------------------------------------------------
   * Katalóg albumov (manufacturer-list-v3)
   * ------------------------------------------------------------------ */
  .mfg-list-v3 .mfg-list-v3__year-filter-wrap {
    max-width: none;
    width: 100%;
  }

  #product-album-catalog.manu-profile-v3.mfg-list-v3 .mfg-list-v3__pills a,
  .mfg-list-v3 .mfg-list-v3__pills a {
    min-width: var(--ms-touch-min, 44px);
    min-height: var(--ms-touch-min, 44px);
  }

  #product-album-catalog.manu-profile-v3.mfg-list-v3 .mfg-list-v3__pills a {
    width: var(--ms-touch-min, 44px);
    height: var(--ms-touch-min, 44px);
  }

  .mfg-list-v3 .mfg-list-v3__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ------------------------------------------------------------------
   * Redakčné zoznamy / detail
   * ------------------------------------------------------------------ */
  .editorial-list__featured-link {
    flex-direction: column;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }

  .editorial-list__featured-art {
    width: 100%;
    justify-content: center;
    grid-template-columns: repeat(2, minmax(72px, 96px));
  }

  .editorial-list__featured-meta span {
    white-space: normal;
  }

  .editorial-list__card-art {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-list__filter-pill {
    min-height: var(--ms-touch-min, 44px);
    display: inline-flex;
    align-items: center;
  }

  .editorial-detail__meta-row span {
    white-space: normal;
  }

  #cms-editorial-detail .news-detail__engagement,
  #cms-editorial-detail .editorial-detail__engagement {
    gap: 0.65rem 1rem;
  }

  #cms-editorial-detail .news-detail__like-btn,
  #cms-editorial-detail .news-detail__stat-link {
    min-height: var(--ms-touch-min, 44px);
    padding: 0 4px;
    align-items: center;
  }

  /* ------------------------------------------------------------------
   * Rozcestník (Pridať obsah)
   * ------------------------------------------------------------------ */
  #product-rozces-page {
    --rozces-header-offset: 0;
    --rozces-content-gap: 12px;
  }

  .ms_main_wrapper:has(#product-rozces-page) {
    padding-top: 0 !important;
  }

  #product-rozces-page #content.col {
    padding-top: var(--rozces-content-gap) !important;
  }

  .rozces-hub,
  .rozces-hub:has(.rozces-hub__grid) {
    padding-top: 0 !important;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: 32px;
  }

  #product-rozces-page .rozces-hub__selected-list .remove-item,
  #product-rozces-page #selected_list.rozces-hub__selected-list .remove-item,
  #product-rozces-page #selected_list .list-group-item .remove-item,
  .rozces-hub__selected-list .remove-item {
    width: var(--ms-touch-min, 44px) !important;
    height: var(--ms-touch-min, 44px) !important;
    min-width: var(--ms-touch-min, 44px) !important;
    min-height: var(--ms-touch-min, 44px) !important;
  }

  #product-rozces-page #playlist_create .comment-form-submit,
  #product-rozces-page #playlist_edit .comment-form-submit {
    justify-content: stretch;
  }

  #product-rozces-page #playlist_create #comment-submit,
  #product-rozces-page #playlist_create #comment-submit.ms_btn,
  #product-rozces-page #playlist_edit #comment-submit,
  #product-rozces-page #playlist_edit #comment-submit.ms_btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: var(--ms-touch-min, 44px) !important;
  }

  #product-rozces-page .rozces-hub__grid .rozces-hub__card {
    min-height: var(--ms-touch-min, 44px);
  }

  /* ------------------------------------------------------------------
   * LP view-more (albumy, interpreti, skladby, recenzie, zoznamy…)
   * ------------------------------------------------------------------ */
  .lp-view-more-page.abl.abl2 {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .lp-view-more-page.abl.abl2.ppa {
    padding-top: 16px !important;
  }

  .lp-view-more-page .ms_heading {
    margin-bottom: 10px !important;
    padding-top: 4px;
  }

  .lp-view-more-page .home_container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100%;
  }

  .lp-view-more-page .ms_heading h1,
  .lp-view-more-page.abl.abl2 .ms_heading h1 {
    font-size: clamp(1.12rem, 4.2vw, 1.38rem) !important;
    line-height: 1.25;
  }

  .lp-view-more-page .lp-page-subtitle,
  .lp-view-more-page .lp-for-you-subtitle,
  .lp-najpopu-artists .lp-artists-subtitle {
    display: block;
    width: 100%;
    margin: 8px 0 14px !important;
    font-size: 13px;
    line-height: 1.45;
  }

  /* Genre / sort pills — horizontal scroll */
  .lp-view-more-page .lp-genre-filters,
  .lp-view-more-page .lp-artist-sort-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    max-width: 100%;
    padding-bottom: 4px;
    margin-left: -2px;
    margin-right: -2px;
  }

  .lp-view-more-page .lp-genre-filters .home-review-tab,
  .lp-view-more-page .lp-artist-sort-tabs .home-review-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: var(--ms-touch-min, 44px);
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
  }

  .lp-view-more-page .lp-genre-filters__more-wrap {
    flex: 0 0 auto;
  }

  .lp-view-more-page .lp-genre-filters__more-wrap .lp-genre-filters__select {
    min-width: 148px;
    min-height: var(--ms-touch-min, 44px);
    max-width: none;
    font-size: 16px !important;
  }

  .lp-view-more-page .lp-year-filters-block .home-home-news-tagline {
    margin: 0 0 8px;
    font-size: 11px;
  }

  .lp-view-more-page .lp-year-filters,
  .lp-view-more-page .lp-year-filters-block .lp-genre-filters__select {
    width: 100%;
    max-width: none;
  }

  .lp-view-more-page .lp-year-filters-block .lp-genre-filters__select {
    min-height: 36px;
    padding: 6px 32px 6px 12px;
    font-size: 12px !important;
    font-weight: 600;
  }

  /* Album / review / list card grids */
  .lp-najnovsie-albumy .lp-albums-grid,
  .lp-view-more-page .lp-albums-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
  }

  .lp-najnovsie-albumy .lp-album-card__artist {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  /* Artist LP */
  .lp-najpopu-artists .lp-artists-grid,
  .lp-view-more-page .home2-artist-grid.lp-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .lp-najpopu-artists .home2-artist-name {
    font-size: 16px;
  }

  /* Legacy ms_rcnt_slider / row-cols-6 (lp-popular-tracks, community…) */
  .lp-view-more-page .ms_rcnt_slider .ms_rcnt_box {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .lp-view-more-page .row.row-cols-6 {
    gap: 14px;
  }

  .lp-view-more-page .row.row-cols-6 > .col {
    flex: 0 0 calc((100% - 14px) / 2) !important;
    width: calc((100% - 14px) / 2) !important;
    max-width: calc((100% - 14px) / 2) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .lp-view-more-page .ms_rcnt_box_text h3,
  .lp-view-more-page .ms_rcnt_box_text h3 a {
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
  }

  .lp-view-more-page .ms_rcnt_box_text p,
  .lp-view-more-page .ms_rcnt_box_text p a {
    font-size: 12px;
  }

  /* Paginácia — nový footer aj starý Bootstrap riadok */
  .lp-view-more-page .lp-pagination-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .lp-view-more-page .lp-pagination-summary {
    margin-left: 0 !important;
    text-align: center;
    order: 2;
  }

  .lp-view-more-page .lp-pagination-nav {
    order: 1;
  }

  .lp-view-more-page .lp-pagination-nav .pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .lp-view-more-page .lp-pagination-nav .page-link {
    min-width: var(--ms-touch-min, 44px);
    min-height: var(--ms-touch-min, 44px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
  }

  .lp-view-more-page > .row + .row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e8ecf4;
  }

  .lp-view-more-page > .row + .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    text-align: center !important;
    padding-left: 0;
    padding-right: 0;
  }

  /* ------------------------------------------------------------------
   * Detail — tracklist v3 (album / skladba / interpret)
   * Prepíše legacy grid s margin-top: -40px a flex stlačenie na úzkom viewporte
   * ------------------------------------------------------------------ */
  .manu-profile-v3 .mp3-tracklist .album_list_wrapper,
  .manu-profile-v3 .mp3-v3-play-root.album_list_wrapper {
    overflow-x: visible !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay {
    display: grid !important;
    grid-template-columns: 56px minmax(0, 1fr) minmax(118px, 38%) 40px;
    grid-template-rows: auto auto auto;
    gap: 2px 10px;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
    padding: 10px 10px 10px 8px !important;
    box-sizing: border-box;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li:not(.withplayrow),
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li:not(.withplayrow),
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li:not(.withplayrow),
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li:not(.withplayrow) {
    float: none !important;
    position: static !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: unset !important;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.withplayrow,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow {
    float: none !important;
    position: relative !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    flex: unset !important;
    overflow: hidden;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.withplayrow,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 56px !important;
    height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
    align-self: start;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.withplayrow a,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow a,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow a,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.withplayrow img,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow img,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow img,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.withplayrow .play-button-overlay,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 30px !important;
    height: 30px !important;
    margin: auto !important;
    transform: none !important;
    border-radius: 50% !important;
    display: flex !important;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.withplayrow .play-button-overlay .fa-play,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay .fa-play,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay .fa-play,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay .fa-play,
  .manu-profile-v3 .mp3-tracklist ul.withplay > li.withplayrow .play-button-overlay .fa,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay .fa,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay .fa,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.withplayrow .play-button-overlay .fa {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 0 2px !important;
    background: transparent !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.title_col,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.title_col,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.title_col,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.title_col {
    grid-column: 2 / 4;
    grid-row: 1;
    min-width: 0;
    padding: 0 !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.title_col a,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.title_col a,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.title_col a,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.title_col a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.album_col,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.album_col,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.album_col,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.album_col {
    grid-column: 2 / 4;
    grid-row: 2;
    margin-top: 0 !important;
    padding: 0 !important;
    font-size: 12px;
    line-height: 1.35;
    color: #64748b !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.album_col a,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.album_col a,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.album_col a,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.album_col a {
    color: #64748b !important;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.manu_col,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.manu_col,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.manu_col,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.manu_col {
    display: none !important;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.text-center:not(.quick-rate-cell):not(.ms_more_icon),
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.text-center:not(.quick-rate-cell):not(.ms_more_icon),
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.text-center:not(.quick-rate-cell):not(.ms_more_icon),
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.text-center:not(.quick-rate-cell):not(.ms_more_icon) {
    grid-column: 2;
    grid-row: 3;
    justify-self: start;
    text-align: left !important;
    font-size: 12px;
    color: #6b7280;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.quick-rate-cell,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.quick-rate-cell,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.quick-rate-cell,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.quick-rate-cell {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100%;
    overflow: visible;
  }

  .manu-profile-v3 .quick-rate-cell__trigger {
    padding: 6px 10px;
  }

  .manu-profile-v3 .quick-rate-cell__display {
    gap: 6px;
    justify-content: flex-end;
  }

  .manu-profile-v3 .quick-rate-cell__trigger {
    max-width: none;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.quick-rate-cell .quick-rate .quick-rate__input.range__input,
  #product-album.manu-profile-v3 .mp3-tracklist .withplay > li.quick-rate-cell .quick-rate .quick-rate__input.range__input {
    width: 56px;
    min-width: 48px;
    max-width: 64px;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.ms_more_icon,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.ms_more_icon,
  #product-product.manu-profile-v3 .album_list_wrapper > ul.withplay > li.ms_more_icon,
  #product-manufacturer.manu-profile-v3 .album_list_wrapper > ul.withplay > li.ms_more_icon {
    grid-column: 4;
    grid-row: 1 / span 3;
    align-self: center;
    justify-self: center;
    min-width: 40px;
  }

  .manu-profile-v3 .mp3-tracklist ul.withplay > li.ms_more_icon > a,
  #product-album.manu-profile-v3 .album_list_wrapper > ul.withplay > li.ms_more_icon > a {
    min-width: var(--ms-touch-min, 44px);
    min-height: var(--ms-touch-min, 44px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ------------------------------------------------------------------
   * Side menu — mobile drawer (šírka, pozadie, po navigácii zatvorený cez JS)
   * ------------------------------------------------------------------ */
  .ms_sidemenu_wrapper,
  .ms_sidemenu_wrapper .ms_sidemenu_inner {
    width: min(280px, 86vw) !important;
  }

  .ms_sidemenu_wrapper:not(.open_menu) {
    left: calc(-1 * min(280px, 86vw)) !important;
  }

  .ms_sidemenu_wrapper .ms_nav_wrapper {
    position: relative !important;
    top: 0 !important;
    bottom: auto !important;
    height: auto !important;
    flex: 0 0 auto !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    box-sizing: border-box !important;
  }

  .ms_sidemenu_wrapper .ms_sidemenu_inner {
    justify-content: flex-start !important;
  }

  /* Kompaktný zoznam — bez roztiahnutia položiek po výške draweru */
  .ms_sidemenu_wrapper .ms_nav_wrapper > ul {
    display: block !important;
    height: auto !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ms_sidemenu_wrapper .ms_nav_wrapper > ul > li {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ms_sidemenu_wrapper .sidemenu-tip-strip {
    display: none;
  }

  /* ------------------------------------------------------------------
   * Side menu — fix tap/hover layout shift on touch (iOS sticky :hover)
   * ------------------------------------------------------------------ */
  .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a,
  body:has(#page-home2) .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a,
  body:has(#page-mfi2) .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a,
  body:has(#page-mfg2) .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a,
  .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a:hover,
  .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a:active,
  .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a:focus,
  .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a:focus-visible,
  .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper > ul > li > a.active {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    transition: background-color 0.15s ease !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .ms_sidemenu_wrapper.open_menu .ms_nav_wrapper .nav_icon {
    margin: 0 !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    justify-content: center !important;
  }

  .ms_sidemenu_wrapper.open_menu .nav_text {
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 1 auto;
    min-width: 0;
  }

  @media (hover: none) and (pointer: coarse) {
    .ms_sidemenu_wrapper .ms_nav_wrapper ul li a:hover:not(.active) {
      background-color: transparent !important;
    }
  }

  /* Homepage album grid — text na stred v kartách (len overlay variant mimo home grid) */
  .page-home .home2-album-card:not(.home2-album-card--home-grid) .home2-album-overlay,
  #page-home2 .home2-album-card:not(.home2-album-card--home-grid) .home2-album-overlay {
    align-items: center;
    text-align: center;
  }

  .page-home .home2-album-card:not(.home2-album-card--home-grid) .home2-album-topline,
  #page-home2 .home2-album-card:not(.home2-album-card--home-grid) .home2-album-topline {
    justify-content: center;
    width: 100%;
  }

  .page-home .home2-album-card:not(.home2-album-card--home-grid) .home2-album-title,
  .page-home .home2-album-card:not(.home2-album-card--home-grid) .home2-album-artist,
  .page-home .home2-album-card:not(.home2-album-card--home-grid) .home2-album-extra,
  #page-home2 .home2-album-card:not(.home2-album-card--home-grid) .home2-album-title,
  #page-home2 .home2-album-card:not(.home2-album-card--home-grid) .home2-album-artist,
  #page-home2 .home2-album-card:not(.home2-album-card--home-grid) .home2-album-extra {
    text-align: center;
    width: 100%;
  }

  .page-home .home2-album-card:not(.home2-album-card--home-grid) .home2-album-extra,
  #page-home2 .home2-album-card:not(.home2-album-card--home-grid) .home2-album-extra {
    justify-content: center;
  }

  /* Homepage artist grid — text na stred v kartách */
  .page-home .home2-artist-card .home2-artist-content,
  #page-home2 .home2-artist-card .home2-artist-content {
    align-items: center;
    text-align: center;
  }

  .page-home .home2-artist-name,
  .page-home .home2-artist-meta,
  #page-home2 .home2-artist-name,
  #page-home2 .home2-artist-meta {
    text-align: center;
    width: 100%;
  }

  /* Homepage skladby — filter na stred (obsah kariet bez zmeny) */
  .page-home .home-tracks-section .ms_heading.home-reviews-heading .home-review-tabs {
    justify-content: center !important;
  }

  /* ------------------------------------------------------------------
   * Detail skladby / albumu (#product-product, #product-album)
   * ------------------------------------------------------------------ */
  #product-product.manu-profile-v3 #content.col,
  #product-album.manu-profile-v3 #content.col {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy,
  #product-album.manu-profile-v3 .mp3-hero--legacy {
    --mp3-hero-thumb: 168px;
    border-radius: 16px;
    margin-bottom: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    min-height: 0 !important;
    overflow: visible !important;
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_data,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_data {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
    width: 100% !important;
    position: relative !important;
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_img,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_img {
    order: 1 !important;
    flex: 0 0 auto !important;
    margin: 16px auto 10px !important;
    width: var(--mp3-hero-thumb, 168px) !important;
    height: var(--mp3-hero-thumb, 168px) !important;
    float: none !important;
    position: static !important;
    grid-column: unset !important;
    grid-row: unset !important;
    overflow: hidden;
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_img img,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_img img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center;
    background-color: transparent !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_text,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_text.row,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_text,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_text.row {
    order: 2 !important;
    flex: 0 1 auto !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    height: auto !important;
    float: none !important;
    position: static !important;
    overflow: visible !important;
    grid-column: unset !important;
    grid-row: unset !important;
    flex-direction: column !important;
    align-items: center !important;
    align-self: stretch !important;
    text-align: center !important;
    padding: 0 16px 8px !important;
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_text.row > .col-md-8,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_text.row > .col-md-6,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_text .col-md-4,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_text.row > .col-md-8,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_text.row > .col-md-6,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_text .col-md-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy h2,
  #product-album.manu-profile-v3 .mp3-hero--legacy h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem) !important;
    line-height: 1.15 !important;
    word-break: break-word;
  }

  #product-product.manu-profile-v3 .mp3-hero--legacy .mp3-hero__follow-col,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_btn,
  #product-album.manu-profile-v3 .mp3-hero--legacy .mp3-hero__follow-col,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_btn {
    width: 100% !important;
    padding-right: 0 !important;
    align-items: center !important;
    margin-top: 10px !important;
  }

  #product-product.manu-profile-v3 .mp3-hero__follow-col .text-center,
  #product-product.manu-profile-v3 .mp3-hero__follow-col .mp3-hero__follow,
  #product-album.manu-profile-v3 .mp3-hero__follow-col .text-center,
  #product-album.manu-profile-v3 .mp3-hero__follow-col .mp3-hero__follow {
    justify-content: center !important;
    width: 100% !important;
  }

  #product-product.manu-profile-v3 .mp3-hero__play-wrap,
  #product-album.manu-profile-v3 .mp3-hero__play-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  #product-product.manu-profile-v3 .mp3-hero__play-wrap .mp3-btn--ghost,
  #product-album.manu-profile-v3 .mp3-hero__play-wrap .mp3-btn--ghost,
  #product-product.manu-profile-v3 .mp3-hero__follow-col .mp3-btn,
  #product-album.manu-profile-v3 .mp3-hero__follow-col .mp3-btn {
    width: 100%;
    max-width: 320px;
    min-height: var(--ms-touch-min, 44px);
    justify-content: center;
    border-radius: 12px;
  }

  /* Zoznamy / playlisty / recenzie — CTA hero na stred */
  #product-listy-info.manu-profile-v3 .mp3-hero--legacy .album_single_text .col-md-4,
  #product-playlisty-info.manu-profile-v3 .mp3-hero--legacy .album_single_text .col-md-4,
  #product-review-info.manu-profile-v3 .mp3-hero--legacy .album_single_text .col-md-4,
  #product-listy-info.manu-profile-v3 .mp3-hero--legacy .mp3-hero__follow-col,
  #product-listy-info.manu-profile-v3 .mp3-hero--legacy .album_btn,
  #product-playlisty-info.manu-profile-v3 .mp3-hero--legacy .mp3-hero__follow-col,
  #product-playlisty-info.manu-profile-v3 .mp3-hero--legacy .album_btn,
  #product-review-info.manu-profile-v3 .mp3-hero--legacy .mp3-hero__follow-col,
  #product-review-info.manu-profile-v3 .mp3-hero--legacy .album_btn {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-right: 0 !important;
    align-items: center !important;
    margin-top: 10px !important;
  }

  #product-listy-info.manu-profile-v3 .mp3-hero__follow-col .text-center,
  #product-playlisty-info.manu-profile-v3 .mp3-hero__follow-col .text-center,
  #product-review-info.manu-profile-v3 .mp3-hero__follow-col .text-center {
    display: flex;
    justify-content: center !important;
    width: 100% !important;
  }

  #product-listy-info.manu-profile-v3 .mp3-hero__follow-col .mp3-btn,
  #product-playlisty-info.manu-profile-v3 .mp3-hero__follow-col .mp3-btn,
  #product-review-info.manu-profile-v3 .mp3-hero__follow-col .mp3-btn {
    width: auto;
    max-width: min(320px, 100%);
    min-height: var(--ms-touch-min, 44px);
    justify-content: center;
    border-radius: 12px;
  }

  /* Recenzie — kompaktný dátum v hero (autor · 17.10.2025) */
  #product-review-info.manu-profile-v3 .mp3-hero__album-byline {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 4px !important;
  }

  #product-review-info.manu-profile-v3 .mp3-hero__album-date-full {
    display: none !important;
  }

  #product-review-info.manu-profile-v3 .mp3-hero__album-date-short {
    display: inline !important;
  }

  /* Hero štatistiky — všetky stránky s .manu-profile-v3 (interpret, album, skladba, user, …) */
  .manu-profile-v3 .artist-review-score-wrapper,
  .manu-profile-v3 .artist-review-score-wrapper.mp3-hero__stats-below {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 12px 0 0 !important;
    padding: 8px 10px 10px !important;
    border-top: 1px solid var(--mp3-border, #e2e8f0) !important;
    width: 100% !important;
    grid-column: unset !important;
    grid-row: unset !important;
    background: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  /* Album / skladba — štatistiky vždy pod textom (nie v grid riadku hero) */
  #product-product.manu-profile-v3 .mp3-hero--legacy .artist-review-score-wrapper.mp3-hero__stats-below,
  #product-album.manu-profile-v3 .mp3-hero--legacy .artist-review-score-wrapper.mp3-hero__stats-below {
    order: 3 !important;
    flex: 0 0 auto !important;
    align-self: stretch !important;
    clear: both !important;
    position: static !important;
    z-index: auto !important;
    margin-top: 12px !important;
    padding: 10px 12px 12px !important;
    box-sizing: border-box !important;
  }

  .manu-profile-v3 .artist-review-score-wrapper .rating-note-low {
    position: static !important;
    display: inline !important;
    color: var(--mp3-muted, #64748b) !important;
    background: transparent !important;
    padding: 0 !important;
    margin-left: 4px !important;
    width: auto !important;
    height: auto !important;
  }

  .manu-profile-v3 .artist-review-score-wrapper .ars-item {
    background: #fff !important;
    border: 1px solid var(--mp3-border, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 6px 4px !important;
    text-align: center !important;
    flex: unset !important;
  }

  .manu-profile-v3 .artist-review-score-wrapper .ars-item h4 {
    font-size: 1.05rem !important;
    margin: 0 0 2px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
  }

  .manu-profile-v3 .artist-review-score-wrapper .ars-item span {
    font-size: 8px !important;
    line-height: 1.2 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--mp3-muted, #64748b) !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  #product-product.manu-profile-v3 .rating-note-low,
  #product-album.manu-profile-v3 .rating-note-low {
    position: static !important;
    display: inline !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin-left: 4px !important;
    color: var(--mp3-muted, #64748b) !important;
    background: transparent !important;
  }

  #product-product.manu-profile-v3 .mp3-card,
  #product-album.manu-profile-v3 .mp3-card {
    border-radius: 16px;
    padding: 16px 14px;
    margin-bottom: 14px;
  }

  #product-product.manu-profile-v3 .mp3-reviews-toolbar,
  #product-album.manu-profile-v3 .mp3-reviews-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  #product-product.manu-profile-v3 .mp3-reviews-toolbar__left,
  #product-album.manu-profile-v3 .mp3-reviews-toolbar__left {
    text-align: center;
  }

  #product-product.manu-profile-v3 .mp3-reviews-sort-wrap,
  #product-album.manu-profile-v3 .mp3-reviews-sort-wrap {
    margin-left: 0;
    width: 100%;
  }

  #product-product.manu-profile-v3 .mp3-reviews-sort,
  #product-album.manu-profile-v3 .mp3-reviews-sort {
    width: 100%;
    max-width: none;
    min-height: var(--ms-touch-min, 44px);
    border-radius: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 767px) {
  #product-manufacturer .about_artist {
    display: none !important;
  }

  /* Album / skladba — hero stack: cover → názvy → štatistiky */
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_data,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_data {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_img,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_img {
    order: 1 !important;
    float: none !important;
    width: var(--mp3-hero-thumb, 168px) !important;
    height: var(--mp3-hero-thumb, 168px) !important;
    overflow: hidden;
  }

  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_img img,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_img img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    object-position: center center;
    background-color: transparent !important;
  }

  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_text,
  #product-album.manu-profile-v3 .mp3-hero--legacy .album_single_text.row,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_text,
  #product-product.manu-profile-v3 .mp3-hero--legacy .album_single_text.row {
    order: 2 !important;
    float: none !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
  }

  #product-album.manu-profile-v3 .mp3-hero--legacy .artist-review-score-wrapper.mp3-hero__stats-below,
  #product-product.manu-profile-v3 .mp3-hero--legacy .artist-review-score-wrapper.mp3-hero__stats-below {
    order: 3 !important;
    position: static !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  .manu-profile-v3 .mp3-hero--legacy .album_single_text h1 {
    font-size: clamp(1.25rem, 6vw, 1.65rem) !important;
  }

  #page-home2 .home2-review-cards,
  #page-home2 .home2-albums-grid {
    grid-template-columns: 1fr;
  }

  /* Štatistiky — globálne (legacy layouty mimo .manu-profile-v3) */
  :where(body:not(:has(.manu-profile-v3))) .artist-review-score-wrapper,
  .artist-review-score-wrapper:not(.mp3-hero__stats-below) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-top: 10px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
  }

  :where(body:not(:has(.manu-profile-v3))) .artist-review-score-wrapper .ars-item,
  .artist-review-score-wrapper:not(.mp3-hero__stats-below) .ars-item {
    padding: 6px 4px !important;
    border-right: none !important;
    flex: unset !important;
  }

  :where(body:not(:has(.manu-profile-v3))) .artist-review-score-wrapper .ars-item h4,
  .artist-review-score-wrapper:not(.mp3-hero__stats-below) .ars-item h4 {
    font-size: 1.05rem !important;
    margin: 0 0 2px !important;
    line-height: 1.1 !important;
  }

  :where(body:not(:has(.manu-profile-v3))) .artist-review-score-wrapper .ars-item span,
  .artist-review-score-wrapper:not(.mp3-hero__stats-below) .ars-item span {
    font-size: 8px !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  /* mp3-card — kompaktný tracklist (mobil), desktop bez zmeny */
  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 32px !important;
    grid-template-rows: auto auto auto !important;
    gap: 2px 8px !important;
    align-items: center !important;
    padding: 6px 8px !important;
    box-shadow: none !important;
    transform: none !important;
    text-align: left !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay:hover,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li {
    float: none !important;
    position: static !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: unset !important;
    text-align: left !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.withplayrow,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.withplayrow {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    width: 48px !important;
    height: 48px !important;
    max-width: 48px !important;
    max-height: 48px !important;
    position: relative !important;
    overflow: hidden;
    align-self: start !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.withplayrow a,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.withplayrow a {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.withplayrow img,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.withplayrow img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.withplayrow .play-button-overlay,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.withplayrow .play-button-overlay {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 28px !important;
    height: 28px !important;
    margin: auto !important;
    transform: none !important;
    border-radius: 50% !important;
    display: flex !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.manu_col,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.manu_col,
  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.text-center:not(.withplayrow):not(.quick-rate-cell):not(.ms_more_icon),
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.text-center:not(.withplayrow):not(.quick-rate-cell):not(.ms_more_icon) {
    display: none !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.quick-rate-cell,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.quick-rate-cell {
    grid-column: 2 / 3 !important;
    grid-row: 3 !important;
    justify-self: start !important;
    align-self: start !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: unset !important;
    margin-top: 2px !important;
  }

  #product-manufacturer.manu-profile-v3 .mp3-card .mp3-tracklist .withplay > li.quick-rate-cell,
  #product-album.manu-profile-v3 .mp3-card .mp3-tracklist .withplay > li.quick-rate-cell,
  #product-product.manu-profile-v3 .mp3-card .mp3-tracklist .withplay > li.quick-rate-cell {
    min-width: 0 !important;
    max-width: none !important;
    flex: unset !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.title_col,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.title_col {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.album_col,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.album_col {
    grid-column: 2 / 3 !important;
    grid-row: 2 !important;
    margin-top: 0 !important;
    padding: 0 4px 0 0 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    color: #64748b !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.ms_more_icon,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.ms_more_icon {
    grid-column: 3 !important;
    grid-row: 1 / span 3 !important;
    align-self: center !important;
    justify-self: center !important;
    order: unset !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist__list > .withplay > li.ms_more_icon > a,
  .manu-profile-v3 .mp3-card .mp3-tracklist ul.withplay > li.ms_more_icon > a {
    min-width: 32px !important;
    min-height: 32px !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist .quick-rate-cell__trigger {
    padding: 4px 8px !important;
  }

  .manu-profile-v3 .mp3-card .mp3-tracklist .quick-rate-cell__display {
    justify-content: flex-start !important;
  }

  /* ------------------------------------------------------------------
   * Komentáre (listy, playlisty, recenzie, novinky) — mobilný layout v3
   * Prepíše legacy .ms_comment_section zo style.css (text-align: center)
   * a custom.css (absolute avatar / likes)
   * ------------------------------------------------------------------ */
  #list-content .blog_comments h1,
  .manu-profile-v3 .mp3-card--comments .blog_comments h1 {
    margin: 0 0 12px !important;
    font-size: 17px !important;
    text-align: left !important;
  }

  #list-content .blog_comments > ol > li,
  .manu-profile-v3 .mp3-card--comments .mp3-comments > ol > li {
    margin-bottom: 10px !important;
  }

  #list-content .blog_comments .ms_comment_section,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    min-height: auto !important;
    position: relative !important;
    text-align: left !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__avatar,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_img {
    position: static !important;
    top: auto !important;
    left: auto !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
    margin: 0 !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__avatar img,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_img img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 0 !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__body,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_info {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    text-align: left !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__head::after,
  .manu-profile-v3 .mp3-card--comments .mp3-comment__body::after,
  .manu-profile-v3 .mp3-card--comments .comment_head::after,
  .manu-profile-v3 .mp3-card--comments .comment_info::after {
    display: none !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__head,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_head {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    margin-bottom: 6px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__author,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_head h3 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 4px 6px !important;
    width: 100% !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: left !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__author .user-badges {
    flex: 0 0 100% !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 3px !important;
    margin: 2px 0 0 !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__author .user-badges .badge {
    min-height: 16px !important;
    padding: 0 5px !important;
    font-size: 8px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__author .user-badges .badge__icon {
    font-size: 9px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__date,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_head p {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    color: var(--mp3-muted, #94a3b8) !important;
    text-align: left !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__text,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_info > .mp3-comment__text,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_info > *:not(.comment_head):not(.comment_actions):not(.mp3-comment__actions) {
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 0 0 6px !important;
    text-align: left !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment__actions,
  .manu-profile-v3 .mp3-card--comments .mp3-comment.ms_comment_section .comment_actions {
    position: static !important;
    top: auto !important;
    right: auto !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    text-align: left !important;
  }

  #list-content .blog_comments ol.nested,
  .manu-profile-v3 .mp3-card--comments .mp3-comments__replies,
  .manu-profile-v3 .mp3-card--comments .blog_comments ol.nested {
    margin: 6px 0 0 !important;
    padding-left: 12px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comments__replies::before {
    left: 4px !important;
    width: 1px !important;
    background: var(--mp3-border, #e2e8f0) !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comments__replies > li {
    margin-bottom: 6px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comments__replies > li::before {
    left: -8px !important;
    width: 8px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment--reply {
    padding: 8px 10px !important;
    border-left-width: 2px !important;
    background: #f8fafc !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment--reply .mp3-comment__avatar,
  .manu-profile-v3 .mp3-card--comments .mp3-comment--reply .comment_img {
    flex-basis: 32px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment--reply .mp3-comment__avatar img,
  .manu-profile-v3 .mp3-card--comments .mp3-comment--reply .comment_img img {
    width: 32px !important;
    height: 32px !important;
  }

  .manu-profile-v3 .mp3-card--comments .mp3-comment--reply .mp3-comment__author a {
    color: var(--mp3-text, #1e293b) !important;
  }

  /* ------------------------------------------------------------------
   * Eventy (product/events) — kompaktná hlavička a filtre
   * ------------------------------------------------------------------ */
  .page-concerts {
    padding: 16px 12px 32px;
  }

  .page-concerts .concerts-hero {
    margin-bottom: 12px !important;
  }

  .page-concerts .concerts-hero__top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .page-concerts .concerts-title {
    font-size: 1.375rem !important;
    line-height: 1.25;
    margin-bottom: 0.25rem;
  }

  .page-concerts .concerts-subtitle {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .page-concerts .concerts-btn-add {
    align-self: flex-start;
    padding: 7px 12px;
    font-size: 0.8125rem;
  }

  .page-concerts .concerts-filters {
    gap: 6px;
    margin-bottom: 12px !important;
  }

  .page-concerts .concerts-pill-group {
    gap: 4px;
  }

  .page-concerts .concerts-pill {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }

  /* Zoznam interpretov — kratší nadpis na úzkom displeji */
  .mfg-list-v3 .mfg-list-v3__hero.mfg-list-v3__hero--minimal .mfg-list-v3__title {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .mfg-list-v3 .mfg-list-v3__hero.mfg-list-v3__hero--minimal .mfg-list-v3__lead {
    font-size: 12px;
    line-height: 1.45;
  }

  .mfg-list-v3 .mfg-list-v3__hero.mfg-list-v3__hero--minimal .mfg-list-v3__hero-inner {
    padding: 14px 12px;
  }

  /* ------------------------------------------------------------------
   * Novinky / editoriály — kompaktná hlavička a filtre (vzor eventov)
   * ------------------------------------------------------------------ */
  #cms-news.editorial-list-page .editorial-list__inner,
  #cms-editorial-list.editorial-list-page .editorial-list__inner {
    padding: 16px 12px 0;
  }

  #cms-news.editorial-list-page .editorial-list__breadcrumb,
  #cms-editorial-list.editorial-list-page .editorial-list__breadcrumb {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
  }

  #cms-news.editorial-list-page .editorial-list__header,
  #cms-editorial-list.editorial-list-page .editorial-list__header {
    margin-bottom: 12px;
  }

  #cms-news.editorial-list-page .editorial-list__header-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #cms-news.editorial-list-page .editorial-list__header-top .editorial-list__title,
  #cms-editorial-list.editorial-list-page .editorial-list__title {
    font-size: 1.375rem !important;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
  }

  #cms-news.editorial-list-page .editorial-list__header-copy .editorial-list__lead,
  #cms-editorial-list.editorial-list-page .editorial-list__lead {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  #cms-news.editorial-list-page .editorial-list__submit-btn {
    align-self: flex-start;
    padding: 7px 12px;
    font-size: 0.8125rem;
  }

  #cms-news.editorial-list-page .news-section-nav,
  #cms-editorial-list.editorial-list-page .news-section-nav {
    gap: 6px;
    margin-bottom: 10px;
  }

  #cms-news.editorial-list-page .news-section-nav__tab,
  #cms-editorial-list.editorial-list-page .news-section-nav__tab {
    padding: 6px 10px;
    font-size: 0.8125rem;
  }

  #cms-news.editorial-list-page .editorial-list__filters,
  #cms-editorial-list.editorial-list-page .editorial-list__filters {
    gap: 6px;
    margin-bottom: 12px;
  }

  #cms-news.editorial-list-page .editorial-list__filter-pill,
  #cms-editorial-list.editorial-list-page .editorial-list__filter-pill {
    padding: 6px 10px;
    font-size: 0.8125rem;
    min-height: auto;
  }

  /* ------------------------------------------------------------------
   * Profil — album grid (cover + meta pod obalom, bez boxu)
   * ------------------------------------------------------------------ */
  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__cover,
  #product-album.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__cover,
  #product-product.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__cover {
    border-radius: 0;
    box-shadow: 0 0 5px rgba(4, 4, 4, 0.35);
  }

  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__meta,
  #product-album.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__meta,
  #product-product.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__meta,
  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text,
  #product-album.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text,
  #product-product.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text {
    padding: 6px 0 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left;
  }

  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__title,
  #product-album.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__title,
  #product-product.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__title,
  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text h3,
  #product-album.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text h3,
  #product-product.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text h3 {
    font-size: 13px;
  }

  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__artist,
  #product-album.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__artist,
  #product-product.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__artist,
  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text p,
  #product-album.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text p,
  #product-product.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_text p {
    font-size: 11px;
  }

  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__rating,
  #product-album.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__rating,
  #product-product.manu-profile-v3 .mp3-albums-grid .mp3-album-grid-card__rating,
  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .album_rating,
  #product-album.manu-profile-v3 .mp3-albums-grid .album_rating,
  #product-product.manu-profile-v3 .mp3-albums-grid .album_rating {
    z-index: 4;
  }

  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box,
  #product-album.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box,
  #product-product.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_img,
  #product-album.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_img,
  #product-product.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_img {
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: 0 0 5px rgba(4, 4, 4, 0.35);
  }

  #product-manufacturer.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_img img,
  #product-album.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_img img,
  #product-product.manu-profile-v3 .mp3-albums-grid .ms_rcnt_box_img img {
    border-radius: 0;
    box-shadow: none;
  }
}

/* Header icon sizes — unified in header-icons.css (loaded after bundle) */
html:has(#account-messages),
html:has(#account-messages-thread) {
  height: 100%;
  background: #f3f4f8;
}

body:has(#account-messages),
body:has(#account-messages-thread) {
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f3f4f8 !important;
}

.ms_main_wrapper:has(#account-messages),
.ms_main_wrapper:has(#account-messages-thread) {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f3f4f8 !important;
}

.ms_main_wrapper:has(#account-messages) > .container-fluid,
.ms_main_wrapper:has(#account-messages-thread) > .container-fluid {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 100%;
  width: 100%;
  background: #f3f4f8;
}

.ms_main_wrapper:has(#account-messages) .container-fluid > .row,
.ms_main_wrapper:has(#account-messages-thread) .container-fluid > .row {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  align-items: stretch;
  background: #f3f4f8;
}

.ms_main_wrapper:has(#account-messages) .ms_content_wrapper,
.ms_main_wrapper:has(#account-messages-thread) .ms_content_wrapper,
.ms_content_wrapper:has(#account-messages),
.ms_content_wrapper:has(#account-messages-thread) {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  padding-top: 0 !important;
  background: #f3f4f8 !important;
}

.ms_main_wrapper:has(#account-messages) .ms_footer_wrapper,
.ms_main_wrapper:has(#account-messages-thread) .ms_footer_wrapper,
.ms_content_wrapper:has(#account-messages) .ms_footer_wrapper,
.ms_content_wrapper:has(#account-messages-thread) .ms_footer_wrapper {
  margin-top: auto !important;
  flex-shrink: 0;
  width: 100%;
}

#account-messages.manu-profile-v3,
#account-messages-thread.manu-profile-v3 {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  background: transparent !important;
  padding-bottom: 0 !important;
}

#account-messages.messages-page,
#account-messages-thread.messages-page {
  padding-top: calc(var(--ms-mobile-header-offset, 64px) + 8px);
  padding-bottom: 24px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  #account-messages.messages-page,
  #account-messages-thread.messages-page {
    padding-top: calc(80px + 8px);
  }
}

#account-messages #content,
#account-messages-thread #content {
  min-height: 0 !important;
  background: transparent;
}
