@media only screen and (max-width: 1199px) {
    #create-album-white-rectangle {
        width: 544px;
        max-width: 472px;
        height: 265px;
        max-height: 100%;
        background: #ffffff;
        border-radius: 25px;
        text-align: center;
        /* caret-color: transparent; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* align-self: center; */
        align-items: center;
    }
    .cover-image {
        width: 100%;
        height: 160px;
        object-fit: contain;
        border-radius: 8px;
    }
    .blog-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
}

@media only screen and (max-width: 1080px) {
    .transactions-table thead {
        display: none;
    }
    .transactions-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 1rem;
    }
    .transactions-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.5rem 0;
        border: none;
    }
    .transactions-table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
    }
    img.confirm-album-cover-picture {
        max-width: 160px;
    }
    .main-menu {
        position: fixed;
        right: -300px;
        top: 0;
        width: 300px;
        height: 16%;
        transition: right 0.5s ease;
        z-index: 999;
    }
    .main-menu ul {
        list-style: none;
        margin: 0;
        min-height: 100%;
        width: 300px;
        background: rgba(0, 0, 0, 0.9);
    }
    .sales-message.full-width-break {
        grid-column: 1 / -1;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .mobile-margin-bottom-10px {
        margin-bottom: 10px !important;
        display: block;
    }
    .hero-section {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        justify-content: center;
        gap: 10px;
        /* margin-top: 5px; */
        margin-left: 0px;
        margin-right: 0px;
    }
    .payment-layout {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: none;
        margin: 0 10px;
    }
    .payments-kb-container {
        order: 1;
    }
    .payments-exclusivity-container {
        order: 2;
    }
    .payment-form-container {
        order: 3;
    }
    .top-header-pad {
        margin-top: 60px;
    }
    .ten-top-mobile {
        top: 10px !important;
    }
    .logo-img {
        height: 25px;
        width: auto;
        margin-top: 3px;
        margin-bottom: 12px;
        margin-left: 0;
    }
    .album-card {
        border-bottom: 1px solid #f3f3f3;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        background: white;
        /* max-width: clamp(20vw, 450px, 60vw); */
    }
    .search-bar-div {
        height: 0px;
        overflow: hidden;
        transition: height 0.5s;
        text-align: center;
    }
    .search-bar-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 40px;
    }
    .search-bar-d {
        display: none;
    }
    .search-icon-d {
        display: none;
    }
    .hide-desktop {
        display: block;
    }
    .search-bar-m {
        width: 80%;
        flex: 1;
        height: 36px;
        padding: 8px 12px;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        font-size: 14px;
    }
    .search-button-mobile {
        width: 36px;
        height: 36px;
        cursor: pointer;
        padding: 6px;
        border-radius: 4px;
        transition: background-color 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .search-button-mobile:hover {
        background-color: rgba(220, 53, 69, 0.1);
    }
    .search-button-mobile:active {
        background-color: rgba(220, 53, 69, 0.2);
    }
    .search-icon2 {
        cursor: pointer;
    }
    .section2-pane {
        position: absolute;
        width: 15px;
        text-align: center;
        z-index: 1;
        transition: opacity 0.375s ease;
    }
    .album-caption {
        padding: 6px;
        /* max-width: 260px; */
    }
    .album-caption2 {
        padding: 6px;
        max-width: 260px;
    }
    .album-card2 {
        max-width: 300px;
        width: 300px;
    }
    .album-card2-img {
        object-fit: cover;
        width: 100%;
        height: 411px;
        background-image: linear-gradient(#cac8c8, white);
        margin: 0;
        /* border-radius: 5px; */
    }
    p.promo-title {
        font-size: 15px;
        padding-top: 11px;
        text-align: center;
        margin-bottom: 0px;
    }
    div.promo-container {
        position: relative;
        height: 439px;
        width: 100%;
        max-width: 418px;
    }
    img.promo-img {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 1;
        width: 100%;
    }
    div.promo-text-container {
        line-height: 24px;
        color: black;
        /* border: 1px solid red; */
        border-radius: 3px;
        padding: 1em;
        margin: auto;
        margin-bottom: 10px;
        width: 100%;
        /* max-width: 350px; */
        box-shadow: 0px 2px 3px rgb(112, 112, 112);
        background-color: white;
        position: relative;
        top: 100%;
    }
    h1.promo-h1 {
        font-weight: bold;
        font-size: 22px;
    }
    h2.promo-h2 {
        font-size: 20px;
    }
    button.promo-sign-up-btn {
        width: 100%;
    }
    .home-container .home-title {
        font-size: 14px;
        margin-bottom: 0px;
        display: block;
        text-align: center;
        /* padding: 1.5rem; */
        /* margin-bottom: 0px; */
        padding-bottom: 0px;
        /* padding-top: 5px; */
        margin-bottom: 1rem;
        margin-top: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #create-album-fields {
        max-width: 1343px;
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin: auto;
        /* margin-top: 100px; */
    }
    #create-album-white-rectangle {
        width: 544px;
        max-width: 472px;
        height: 265px;
        max-height: 100%;
        background: #ffffff;
        border-radius: 25px;
        text-align: center;
        /* caret-color: transparent; */
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* align-self: center; */
        align-items: center;
    }
    #create-album-drag-files-p {
        font-family: Roboto;
        font-style: normal;
        font-weight: normal;
        font-size: 24px;
        line-height: 28px;
        color: #000000;
        margin-top: 8px;
    }
    #create-album-pictures-field {
        margin-top: 0px;
        margin-right: auto;
        margin-bottom: 20px;
        margin-left: auto;
        width: 100%;
        max-width: 1300px;
    }
    div.home-desktop-view {
        display: none !important;
    }
    .zoom-img {
        transform: scale(1.2);
        transition: transform 0.25s ease;
    }
    div.mobile-album-display {
        display: block !important;
        margin-top: 40px;
        -webkit-display: block !important;
        margin-top: 7rem;
        text-align: left;
        padding-left: 4px;
        padding-right: 4px;
    }
    p#index-title {
        display: none;
    }
    .index-category-mobile {
        text-align: left;
        margin-left: -200px;
    }
    .home-mobile-view {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        text-align: left;
    }
    .home-album-mobile-card {
        border-radius: 10px;
        border-bottom: 1px solid rgba(70, 69, 69, 0.295);
        max-width: 320px;
        min-width: 280px;
        min-width: 0px;
        background-color: none;
        width: 100%;
        margin: 0px auto;
        margin-left: 3px;
        margin-right: 3px;
    }
    img.home-album-cover-img-mobile {
        padding: 0;
        filter: drop-shadow(2px 5px 6px rgba(0, 0, 0, 0.45));
        cursor: pointer;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        /* aspect-ratio: 1/1.1; */
        width: 100%;
    }
    div.home-album-content-mobile {
        font-size: larger;
        width: 100%;
        padding: 0px 10px;
        margin-top: 20px;
    }
    p.home-album-description-mobile {
        width: 100%;
        /* height: 150px; */
        height: 58px;
        text-align: justify;
        /* display: inline; */
        word-wrap: break-word;
        /* border: 1px solid red; */
        overflow-y: scroll;
    }
    a.see-more {
        color: blue;
    }
    .front-card-content {
        /* position: relative;
    bottom: 30px; */
        z-index: 1;
        margin-top: -50px;
        display: flex;
        justify-content: space-between;
        color: white;
        width: 80%;
        min-width: 0px;
        background-color: rgba(12, 12, 12, 0.7);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        margin-right: 5px;
        padding: 1px 5px;
        border-radius: 6px;
    }
    .front-card-content p {
        margin-top: 10px;
    }
    .front-card-content .author-img {
        display: flex;
        justify-content: space-between;
    }
    #album-preview-load-more-images-a-mobile {
        /* color: red; */
        padding-bottom: 10px;
    }
    a.home-album-author-name-mobile {
        color: white;
    }
    div.mobile-album-display h3 {
        text-align: left;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }
    /* div.mobile-album-display h3::after{
    content: '';
    background-color: red;
    margin-top: 12px;
    width: 35%;
    height: 2px;
    display: block;
    animation-name: p-before;
    animation-duration: 15s;
    animation-iteration-count: infinite;
  }
  @keyframes p-before{
    0%{
      width: 0%;
    }
    25%{
      width: 25%;
    }
    50%{
      width: 35%;
    }
    100%{
      width: 50%;
    }
  } */
    div.profile-img {
        width: 100%;
        text-align: right;
        margin-top: -30px;
    }
    img.home-album-mobile-author-img {
        border-radius: 50%;
        width: 30px;
        height: 30px;
        object-fit: cover;
        margin-top: 0.3rem;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    }
    /* Navigation menu */
    /* #top-header-div{
    padding: 15px 7px 10px 7px;
    height: auto;
    position: fixed;
    z-index: 999;
    top: 0px;
    left: 0px;
    width: 100%;
    background: linear-gradient(180deg, rgba(207, 216, 220, 0) 4.99%, #CFD8DC 74.41%), #FFFFFF;
    backdrop-filter: blur(50px);
    transition: top 0.4s ease-in-out;
  } */
    #title-div {
        display: inline-block;
    }
    a.main-title {
        display: none !important;
    }
    a.main-title-mobile {
        display: inline-block !important;
        font-size: xx-large;
        text-decoration: none;
        font-family: Roboto;
        color: black;
        margin: 0px;
        /* height: 50px; */
        padding: 0px;
        width: 1.6rem;
        box-sizing: border-box;
    }
    img.top-header-user-icon {
        width: 2.6rem;
        height: 2.6rem;
        object-fit: cover;
        max-height: 81px;
        max-width: 81px;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
        vertical-align: middle;
        margin-left: 17px;
        margin-right: 10px;
        position: relative;
        top: 0px;
        cursor: pointer;
        border-radius: 50%;
    }
    div.desktop-navigation {
        display: none !important;
    }
    div.mobile-navigation {
        display: flex !important;
        padding: 0px;
        margin: 0px;
    }
    div#side-links-div .about {
        display: none;
    }
    .mobile-menu-icon-create-album {
        cursor: pointer;
        margin-left: 12px;
    }
    .mobile-menu-icon {
        cursor: pointer;
        margin-left: 12px;
    }
    .top-header-page-desc,
    .toggle-desc {
        display: none;
    }
    .mobile-icon {
        width: 1.6rem;
    }
    /* Align header padding with content */
    .top-header {
        padding: 10px 10px 0px 10px;
    }
    /* VIEW ALBUM PAGE */
    .view-album-info-top {
        padding: 0px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .author-profile-img {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        object-fit: cover;
        margin-left: 10px;
        cursor: pointer;
        filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    }
    .view-category {
        text-align: center;
        cursor: pointer;
        display: flex;
        justify-content: center;
        flex-grow: 1;
    }
    .view-category p {
        color: rgb(58, 58, 58);
        font-size: large;
        border-bottom: 1px solid rgb(58, 58, 58);
        width: 150px;
    }
    p.view-album-active-tab {
        color: #0038ff;
        border-bottom: 2px solid #0038ff;
    }
    .imgs-container-row {
        columns: 3 135px;
        gap: 0px;
    }
    .imgs-container-column {
        padding: 5px;
        /* border: 1px solid blue; */
    }
    #album-preview-imgs-container-mobile .album-preview-img {
        height: 145px;
        width: 100%;
        object-fit: cover;
    }
    .view-album-info {
        margin-top: 1.5rem;
        /* display: grid;
    grid-template-columns: 1fr 1fr; */
        width: 100%;
    }
    .album-info {
        margin-left: 10px;
    }
    .view-album-info-bottom {
        text-align: right;
        margin-top: 3px;
        padding: 0px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #album-market-album-button {
        width: 150px;
    }
    /* p.album-copies{
    display: block;
    width: 100%;
    margin-right: 10px;
  } */
    div.album-preview-imgs-div {
        overflow: unset;
        height: none;
    }
    div.full-screen-div {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    #full-screen-loading-img-mobile {
        width: 128px;
        height: 128px;
    }
    div#full-screen-fade-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: center;
    }
    div.full-screen-black-div {
        opacity: 0.8;
        background-color: black;
        position: fixed;
        top: 0px;
        left: 0px;
        right: 0px;
        bottom: 0px;
        /* z-index: 100000000; */
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #full-screen-album-view-img-mobile {
        position: fixed;
        top: 0px;
        /* left: 8%; */
        /* background: none; */
        /* z-index: 105000000000; */
    }
    #close-album-view-img-mobile {
        color: black;
        position: fixed;
        font-size: 25px;
        /* z-index: 105000000000; */
        top: 17px;
        right: 20px;
        border: 1px solid none;
        padding: 6px 10px 4px 10px;
        border-radius: 100px;
        background-color: white;
        cursor: pointer;
    }
    /* .full-screen-z-index {
        z-index: 105000000000;
    } */
    .view-album-tabs-content {
        display: none;
    }
    .show-tab-content {
        display: block;
    }
    img.av-commentbox-img {
        width: 30px;
        height: 30px;
    }
    div.comment-button-container {
        margin-top: -3px;
        text-align: center;
    }
    button.album-view-comment-button-mobile {
        padding: 9px 32px;
        color: #ffffff;
        border-radius: 5px;
        font-size: large;
        margin: 5px 8px;
    }
    button.album-view-cancel-button-mobile {
        padding: 9px 29px;
        border-radius: 5px;
        font-size: large;
        color: #000000;
        margin: 5px 8px;
    }
    /* PROFILE PAGE */
    p.payment-default-p {
        /* display: none; */
        position: absolute;
        left: -9999999999px;
        font-style: normal;
        font-weight: normal;
        font-size: 18px;
        line-height: 21px;
        color: #000000;
        margin-left: 20px;
        margin-top: 20px;
    }
    .user-payment-delete-crypto {
        order: 2;
        margin-left: 10px;
    }
    div.payment-greenbox-crypto-div::after {
        content: '';
        /* background-color: red; */
        background-image: url('/right.png');
        background-size: cover;
        background-position: center;
        text-align: right;
        /* width: 25%; */
        width: 22px;
        height: 20px;
        min-width: 22px;
        min-height: 20px;
        display: block;
        position: absolute;
        top: -10px;
        right: 0px;
        /* left: 220px; */
    }
    p.pop-up-description-aux {
        font-size: 24px;
    }
    input.pop-up-red-button {
        width: 150px;
        font-size: 20px;
    }
    input.pop-up-white-button {
        width: 150px;
        font-size: 20px;
    }
    /* ADD WALLET PAGE */
    div.payments-white-box-div {
        margin-top: 10rem;
    }
    /* .payment-title-div { */
    /* position: relative;
        top: -85px; */
    /* } */
    p.payment-title {
        font-family: Roboto;
        font-style: normal;
        font-weight: normal;
        font-size: 36px;
        padding-top: 0px;
        margin-bottom: 0px;
    }
    div.payment-method-div {
        position: static;
    }
    .album-action-buttons-container input,
    .album-action-buttons-container input:hover,
    .album-action-buttons-container input:focus,
    .album-action-buttons-container input:active,
    .album-action-buttons-container input:focus-visible {
        background-color: #5a83ce !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        color: white;
    }
}

@media screen and (max-width: 475px) {
    .hero-section {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        justify-content: center;
        gap: 10px;
        /* margin-top: 5px; */
        margin-left: 0px;
        margin-right: 0px;
    }
    .author-profile-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        text-align: center;
        margin-top: -0.08rem;
        vertical-align: top;
    }
    #full-screen-loading-img-mobile {
        width: 128px;
        height: 128px;
    }
    div.payment-method-div {
        position: relative;
        top: -80px;
        left: -80px;
        width: 120px;
        /* margin-top: 43px; */
        box-shadow: 4px 4px 7px black;
        max-height: 59px;
    }
    div.payment-credit-card-div {
        /* border: 0.75px solid #002196; */
        box-sizing: border-box;
        border-radius: 5px;
        text-align: center;
        /* height: 139px; */
        display: flex;
        justify-content: center;
    }
    img.payment-crypto-img {
        margin-top: 10px;
        width: 20px;
        height: 40px;
    }
    p.payment-credit-card-p {
        position: relative;
        top: -40px;
        font-family: Roboto;
        font-style: normal;
        font-weight: normal;
        font-size: x-large;
        color: #000000;
        /* padding-top: 50px; */
        margin-left: 14px;
    }
    div.payment-ci-div {
        max-width: 391px;
        display: inline-block;
        vertical-align: top;
        min-width: 0px;
        position: relative;
        top: -50px;
        /* margin-left: 185px; */
    }
    /* ABOUT PAGE */
    nav.guide-side-bar {
        display: none;
    }
    .show-nav {
        display: block;
    }
    p.hamburger-menu {
        display: block;
        margin-top: 100px;
        margin-bottom: -50px;
    }
    p.hamburger-menu span {
        display: inline;
        margin-top: 150px;
    }
    .view-album-mobile {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 0 2px 0 2px;
    }
    .sticky-bottom-container {
        /* position: sticky !important; */
        bottom: -1px !important;
        width: 100%;
        background: white;
        padding-bottom: 3px;
        /* z-index: 990; */
        /* height: 140px !important; */
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        margin: 0 auto 5px auto;
        /* Reduced bottom margin */
        /* margin-bottom: 40px !important ; */
        margin-top: 2px;
        padding: 9px 0 4px 0;
        /* Increased height to accommodate buttons */
        /* border: 5px solid blue !important; */
        position: sticky;
        bottom: 8px;
        z-index: 998;
    }
    /* .view-album-info-bottom{
        border: 2px solid red;
    } */
    .imgs-container-row {
        display: flex;
        flex-direction: column;
        gap: 2px;
        /* border: 2px solid red; */
        padding-bottom: 0;
        margin: 0;
    }
    .imgs-container-column {
        padding: 2px;
        width: 100%;
        padding-bottom: 0;
        /* border: 2px solid brown;
      background-color: red; */
        margin-bottom: 0;
    }
    #album-preview-imgs-container-mobile .album-preview-img {
        height: 320px;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
        /* border: 2px solid green; */
        object-fit: cover;
    }
    /* Ensure content area is scrollable and takes remaining space */
    /* .view-album-tab-content {
      padding-bottom: 0 !important;
      margin-bottom: 0 !important;
      
      flex: 1 1 auto; 
      overflow-y: auto; 
      min-height: 0; 
      border: 2px solid black !important;
    } */
    /* Remove flex growth for all tabs */
    .view-album-tab-content {
        flex: unset;
        min-height: auto;
        overflow-y: visible;
    }
    /* Keep full height only for images tab */
    #album-preview-imgs-mobile-div {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }
    #album-details-mobile-div {
        padding: 0;
        /* border: 2px solid red; */
        margin-top: 0;
    }
    #album-comments-mobile-div {
        padding: 0;
        margin: 0;
    }
    /* .view-album-mobile > *:not(.sticky-bottom-container) {
      flex: 1;
      min-height: 0;
    } */
    /* Mobile tabs horizontal line system */
    .mobile-tabs-indicator-line {
        position: relative;
        height: 1px;
        background-color: #cccccc;
        margin: 0 10px;
        margin-top: 10px;
        margin-bottom: 5px;
        width: calc(100% - 20px);
    }
    .mobile-tabs-active-indicator {
        position: absolute;
        height: 2px;
        background-color: #000000;
        top: -1px;
        transition: left 0.3s ease, width 0.3s ease;
        width: 38px;
        left: 0;
    }
    .album-publish-date-mobile {
        color: white;
        background-color: grey;
        width: 100%;
        /* height: 100%; */
        height: 60px;

        justify-content: center;
        align-items: center;
        display: flex;
    }
    /* Make view-category a flex container */
    .view-category {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }
    /* Default styling for all tabs - remove border-top */
    .view-category p {
        border-top: none;
        border-bottom: none;
        padding: 3px 3px;
        margin: 0;
        width: 75px;
        font-size: small;
        margin-top: 0;
        flex-shrink: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* border: 2px solid red; */
        margin-bottom: 5px;
    }
    /* Active tab styling - remove border-top */
    p.view-album-active-tab {
        color: #2c2d2e;
        border-top: none;
        border-bottom: none;
        padding: 3px 3px;
        margin: 0;
        margin-top: 0;
        position: relative;
        background-color: #f0f0f0;
        border-radius: 5px;
    }
    /* Remove the ::before pseudo-element since we're using the new system */
    p.view-album-active-tab::before {
        display: none;
    }
    /* Album info layout - side by side containers */
    .view-album-info {
        /* border: 2px solid black; */
        display: flex;
        align-items: stretch;
        width: 95%;
        min-height: 80px;
        margin: 0 auto;
        height: 90px;
    }
    /* Move copies to view-album-info-top and position to far right */
    .album-profile-picture-container {
        display: flex;
        align-items: center;
        /* padding-right: 13px; */
        /* justify-content: center; */
        width: 20%;
        /* border: 2px solid blue; */
    }
    .album-author-img {
        width: 55px !important;
        height: 55px !important;
        max-width: 80px !important;
        max-height: 70px !important;
        object-fit: cover;
        border-radius: 50%;
        margin-left: 0 !important;
        border: 1px solid grey;
    }
    /* .album-author-img {
        position: static;
        border-radius: 50%;
    
        border: 2px solid black;
        object-fit: cover;
   
    } */
    .album-info-content-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* border: 2px solid red; */
        padding-left: 0;
        padding-right: 1px;
        height: 100%;
        width: 80%;
    }
    .view-album-info-top {
        display: flex;
        /* border: 2px solid red; */
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        padding-left: 0;
    }
    .album-publish-date-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    /* Author name styling */
    .album-author-name-p {
        text-decoration: underline;
        /* Add underline to author name */
        text-transform: capitalize;
        /* Make first letter uppercase */
        /* border: 2px solid rgb(255, 111, 0); */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 0;
        max-width: 100px;
        /* Reduced width to stop at "very" */
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        /* Adobe Garamond font */
        /* Adobe Garamond font */
        text-align: left;
        /* 👈 ensures text starts from the left */
        direction: ltr;
        /* 👈 enforces left-to-right flow */
    }
    /* Album name styling */
    .album-name-mobile-a {
        color: black;
        font-weight: bolder;
        display: block;
        text-decoration: none;
        text-align: left;
        /* ✅ Ellipsis rules */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        /* ✅ Needs a fixed or max width */
        max-width: 95%;
        /* use parent width */
    }
    .album-copies-mobile {
        margin-left: auto;
        /* Push to far right */
        text-align: right;
    }
    /* Album stats container */
    .album-stats-mobile {
        text-align: right;
        display: flex;
        /* gap: 12px;  */
        align-items: center;
        width: 100%;
        padding-left: 0;
        display: flex;
        justify-content: space-between;
        /* border: 2px solid green; */
    }
    .created-by-box {
        /* border: 2px solid yellow; */
        width: 100%;
    }
    .stats-div {
        /* border: 2px solid red; */
        display: flex;
        align-items: flex-end;
        /* margin-left: auto; */
        gap: 6px;
    }
    .album-likes-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .album-views-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .view-album-info-bottom {
        /* border: 2px solid blue; */
        padding: 0;
    }
    /* a.inline-block{
          border: 2px solid rgb(255, 0, 200);
      } */
    .album-copies-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    /* Icon styling */
    .album-likes-mobile i,
    .album-views-mobile i,
    .album-copies-mobile i {
        font-size: 10px;
        color: #888;
    }
    /* Make likes icon red */
    .album-likes-mobile i {
        color: #ff4444;
    }
    .view-album-info-tags {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 0;
        min-height: 15px;
        /* Reduced height from 40px to 25px */
        /* border: 2px solid green; */
    }
    /* Album tags styling */
    .album-tags-mobile {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 95%;
        vertical-align: bottom;
    }
    .album-tag-mobile {
        color: #1064ff;
        font-size: 11px;
        font-weight: 500;
    }
    .album-tag-mobile::after {
        content: '·';
        /* separator */
        /* separator */
        margin: 0 4px;
        /* spacing */
    }
    .album-tag-mobile:last-child::after {
        content: '';
        content: '';
        /* remove trailing separator */
    }
    /* Album action buttons container */
    .album-action-buttons-container {
        width: 95%;
        padding: 0;
        display: flex;
        height: 60px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        /* border: 2px solid blue; */
        border-radius: none;
        /* border: none !important; */
        /* background-color: grey; */
        min-height: 30px;
    }
    /* Make buttons take full width of their container */
    .album-action-buttons-container button {
        width: 100%;
        max-width: none;
        /* Remove width limitation */
        border-radius: none;
        border: none;
        height: 60px;
    }
    .album-action-buttons-container input {
        width: 100%;
        /* border: 2px solid green; */
        max-width: none;
        /* Remove width limitation */
        border-radius: 0;
        border: none;
    }
    /* Buy button container - full width */
    /* .album-buy-button-container {
      width: 100% !important;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 10px;
    } */
    button.album-market-album-button {
        background-color: #5a83ce;
        /* height: 53px ; */
        min-height: 40px;
        border-radius: 0;
        height: 60px;
    }
    button.album-market-album-button:hover {
        background-color: #5a83ce;
        /* Slightly lighter on hover */
    }
    button.album-market-album-button,
    button.album-market-album-button:hover,
    button.album-market-album-button:focus,
    button.album-market-album-button:active {
        background-color: #5a83ce !important;
        border-color: #5a83ce !important;
        color: white !important;
        box-shadow: none !important;
    }
    .buy-btn-container {
        width: 100%;
        margin-top: 10px;
        order: 3;
        margin-left: 0;
        /* flex: 0 0 100% ; */
        /* border: 2px solid red; */
        display: block;
        /* margin-right: 5px; */
    }
    .album-view-owner-selling-p {
        font-family: 'Avenir Next', 'Avenir', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 10px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #000000;
        margin: 0;
        margin-right: 60px;
    }
    .album-view-owner-selling-btn {
        width: 100%;
        border-radius: none !important;
        margin: 0 auto;
        max-width: none !important;
        margin-left: 0 !important;
        display: block;
        margin-top: 0 !important;
    }
    .ownedByUserContainer {
        width: 100%;
        height: 100%;
        /* slightly taller container */
        display: flex;
        flex-direction: column;
        /* stack vertically */
        gap: 0;
        /* border: 2px solid black; */
    }
    .ownedByUserText {
        font-size: 10px;
        color: black;
        background: none;
        margin: 0;
        flex: 1;
        /* 10% of container height */
        display: flex;
        text-align: left;
        width: 100%;
        background-color: white;
        /* border: 2px solid burlywood; */
    }
    .ownedByUserButton {
        background-color: #5a83ce;
        flex: 9;
        /* slightly smaller so text fits */
        width: 100%;
        display: flex;
        align-items: center;
        height: 40px;
        border-radius: 0;
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        /* Adobe Garamond font */
        /* Adobe Garamond font */
        justify-content: center;
        /* centers button text */
    }
    .beingSoldDiv {
        width: 100%;
        height: 100%;
        /* border: 2px solid black; */
        display: flex;
        padding: 0;
        flex-direction: column;
        /* stack items vertically */
        gap: 0;
    }
    .beingSoldText {
        font-size: 10px;
        color: black;
        margin: 0;
        flex: 1;
        width: 100%;
        background-color: white;
    }
    .stop-sell-album-button {
        background-color: #5a83ce;
        flex: 9;
        /* takes 90% of height */
        border-radius: 0;
        width: 100%;
        /* make it stretch horizontally */
    }
    /* .canBuyButton {
        height: 50px;
    } */
    /* Comments */
    .album-view-user-comment-text-area {
        height: 40px;
        border-radius: 5px;
        padding: 8px 12px;
        border: 1px solid #ddd;
        font-size: 14px;
        line-height: 1.4;
        resize: none;
        outline: none;
        box-sizing: border-box;
        margin-top: 0;
    }
    .album-view-user-comment-text-area::placeholder {
        color: #999;
        vertical-align: middle;
        font-size: 16px;
    }
    div.album-view-user-comment-box-div {
        margin-top: 10px;
        /* width: 772px; */
        width: 100%;
    }
    .album-view-comments-header {
        display: none;
    }
    /* Horizontal line under textarea */
    .album-view-user-comment-box-div::after {
        content: '';
        display: block;
        height: 1px;
        background-color: #ddd;
        margin: 4px 0;
        width: 100%;
        margin-bottom: 0;
    }
    /* Mobile Comment styling */
    div.album-view-comment-mobile {
        display: flex;
        /* border: 2px solid red; */
        box-shadow: none;
        /* Remove box-shadow border effect */
        background: transparent;
        /* Remove background */
        border-radius: 0;
        /* Remove border radius */
        margin-top: 8px;
        /* Reduced spacing between horizontal line and first comment */
        padding: 5px 0 15px 0;
        /* Add bottom padding for dashed line */
        border-bottom: 1px dashed #ccc;
        /* Bigger and more spaced out dashed line */
    }
    /* First comment - less space from horizontal line */
    div.album-view-comment-mobile:first-child {
        margin-top: 5px;
        /* Even less space for the first comment */
    }
    /* Ensure proper layout for comment content */
    div.comment-right-side-mobile {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
        /* border: 2px solid blue; */
        width: 70%;
        align-items: flex-start;
    }
    div.comment-right-side-top-mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        /* Equal spacing between name, comment, and date */
        width: 100%;
        /* border: 2px solid red; */
    }
    /* Profile picture - reduce size and add light grey border */
    img.av-commentbox-img-mobile {
        width: 38px;
        /* Reduced from 45px */
        height: 38px;
        /* Reduced from 45px */
        border-radius: 50%;
        object-fit: cover;
        filter: none;
        /* Remove box shadow */
        border: 1px solid #e0e0e0;
        /* Light grey border */
    }
    /* .comment-left-side-mobile{
        border: 2px solid black;
       } */
    /* Author name styling */
    a.av-commentbox-userName-mobile {
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        font-weight: 700;
        font-style: bold;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0%;
        text-decoration: underline;
        color: #000000;
        /* Black color */
    }
    /* Comment text styling */
    p.av-commentbox-comment-mobile,
    span.av-commentbox-comment-mobile {
        font-family: 'Avenir Next', Arial, sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 10px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #595958;
        margin: 0;
        /* Remove margins for inline layout */
        /* border: 2px solid yellow; */
    }
    /* Date styling */
    p.av-commentbox-lastEdit-mobile,
    span.av-commentbox-lastEdit-mobile {
        font-family: 'Avenir Next', Arial, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 8px;
        line-height: 100%;
        letter-spacing: 0%;
        position: static;
        /* border: 2px solid peru; */
        color: #595956;
        margin: 0;
        /* Remove all margins for inline layout */
    }
    .view-album-mobile .album-view-user-comment-box-div {
        display: block;
        margin-bottom: 12px;
    }
    /* Remove the extra break that forces a new line */
    .view-album-mobile .album-view-user-comment-box-div > br {
        display: none;
    }
    /* Keep only the input and post button visible inline */
    .view-album-mobile .album-view-user-comment-box-div > .view-album-mobille-comment-comment-count {
        display: none;
    }
    .view-album-mobile .album-view-user-comment-text-area {
        display: inline-block;
        vertical-align: middle;
        width: calc(100% - 40px);
        margin-right: 8px;
        height: 32px;
        padding: 6px 10px;
    }
    /* Make the mobile post button smaller */
    .view-album-mobile #album-view-comment-post-mobile {
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        line-height: 1;
        margin: 0;
        cursor: pointer;
    }
    /* Ensure the Post button is always visible even if it has the hidden class */
    .view-album-mobile #album-view-comment-post-mobile.hidden {
        display: inline-block;
        visibility: visible;
    }
    /* Debug borders for owners tab wrappers (scoped to 360px) */
    .view-album-tab-content[data-content='owners'] {
        /* border: 2px solid #2ecc71 !important; green */
        box-sizing: border-box;
        padding: 4px;
        height: auto;
        min-height: 0;
        width: 100%;
        display: block;
        overflow: visible;
    }
    #album-tab-owners {
        /* border: 2px solid #f39c12 !important;  */
        box-sizing: border-box;
        padding: 4px;
        height: auto;
        min-height: 0;
        width: 100%;
        display: block;
        overflow: visible;
    }
    /* Owners tab mobile styling */
    .album-view-owners {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
        /* padding: 3px; */
        /* border: 2px solid blue; */
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .album-view-owner {
        display: flex;
        align-items: stretch;
        gap: 10px;
        flex-wrap: wrap;
        min-height: 70px;
        height: auto;
        width: 100%;
        max-width: 100%;
        padding: 1px;
        margin: 0;
        /* border: 2px solid red !important; */
        border-bottom: 1px solid rgba(196, 194, 194, 0.432);
        position: static;
        overflow: visible;
        margin-top: 0 !important;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
    /* div.album-view-owner {
         border: 2px solid red;
        } */
    img.av-owner-img {
        border: 1px solid grey;
        margin-bottom: 18px;
        /* padding: 10px; */
    }
    .av-owner-details-div {
        /* border: 2px solid red; */
        height: auto;
        margin-right: 0;
    }
    p.album-view-owner-selling-p {
        color: black;
    }
    #album-details-mobile-div {
        padding: 0 0 0 5px;
    }
    .album-sold-out-mobile {
        margin-top: 10px;
        color: white;
        background-color: grey;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .recommendations-section {
        /* display: none;  */
        order: 1;
        margin-top: 20px;
        /* padding-left: 8px;
        padding-right: 8px; */
    }
    input.stop-sell-album-button:hover {
        background: #5a83ce;
    }
}

@media screen and (max-width: 430px) {
    img.check-dob-pad {
        margin-top: 25px;
    }
    p.pop-up-description-aux {
        font-size: 18px;
    }
    div.payment-method-div {
        position: relative;
        top: -80px;
        left: -70px;
    }
}

@media screen and (max-width: 375px) {
    .profile-img {
        max-width: 50px;
        border-radius: 50%;
        float: right;
    }
    /* .album-market-album-button{
    width: 80px;
    max-width: 100px;
  } */
    div.add-wallet-btn input {
        width: 120px;
    }
    input.payment-confirm-btn {
        padding: 9px 15px;
        margin: 2px 5px;
    }
    input.payment-cancel-btn {
        padding: 9px 15px;
        margin: 2px 5px;
    }
    div.payment-method-div {
        position: relative;
        top: -80px;
        left: -50px;
    }
}

@media screen and (min-width: 801px) and (max-width: 1080px) {
    .view-album-mobile {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 0 2px 0 2px;
    }
    .sticky-bottom-container {
        bottom: -1px !important;
        width: 100%;
        background: white;
        padding-bottom: 3px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        margin: 0 auto 5px auto;
        margin-top: 2px;
        padding: 9px 0 4px 0;
        position: sticky;
        bottom: 8px;
        z-index: 1000;
    }
    .imgs-container-row {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding-bottom: 0;
        margin: 0;
    }
    .imgs-container-column {
        padding: 2px;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #album-preview-imgs-container-mobile .album-preview-img {
        height: 320px;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
        object-fit: cover;
    }
    .view-album-tab-content {
        flex: unset;
        min-height: auto;
        overflow-y: visible;
    }
    #album-preview-imgs-mobile-div {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }
    #album-details-mobile-div {
        padding: 0;
        margin-top: 0;
    }
    #album-comments-mobile-div {
        padding: 0;
        margin: 0;
    }
    .mobile-tabs-indicator-line {
        position: relative;
        height: 1px;
        background-color: #cccccc;
        margin: 0 10px;
        margin-top: 10px;
        margin-bottom: 5px;
        width: calc(100% - 20px);
    }
    .mobile-tabs-active-indicator {
        position: absolute;
        height: 2px;
        background-color: #000000;
        top: -1px;
        transition: left 0.3s ease, width 0.3s ease;
        width: 38px;
        left: 0;
    }
    .album-publish-date-mobile {
        color: white;
        background-color: grey;
        width: 100%;
        height: 60px;

        justify-content: center;
        align-items: center;
        display: flex;
    }
    .view-category {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }
    .view-category p {
        border-top: none;
        border-bottom: none;
        padding: 3px 3px;
        margin: 0;
        width: 75px;
        font-size: small;
        margin-top: 0;
        flex-shrink: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 5px;
    }
    p.view-album-active-tab {
        color: #2c2d2e;
        border-top: none;
        border-bottom: none;
        padding: 3px 3px;
        margin: 0;
        margin-top: 0;
        position: relative;
        background-color: #f0f0f0;
        border-radius: 5px;
    }
    p.view-album-active-tab::before {
        display: none;
    }
    .view-album-info {
        display: flex;
        align-items: stretch;
        width: 95%;
        min-height: 80px;
        margin: 0 auto;
        height: 90px;
    }
    .album-profile-picture-container {
        display: flex;
        align-items: center;
        width: 20%;
    }
    .album-author-img {
        width: 55px !important;
        height: 55px !important;
        max-width: 80px !important;
        max-height: 70px !important;
        object-fit: cover;
        border-radius: 50%;
        margin-left: 0 !important;
        border: 1px solid grey;
    }
    .album-info-content-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 0;
        padding-right: 1px;
        height: 100%;
        width: 80%;
    }
    .view-album-info-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        padding-left: 0;
    }
    .album-publish-date-mobile {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .album-author-name-p {
        text-decoration: underline;
        text-transform: capitalize;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 0;
        max-width: 100px;
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        text-align: left;
        direction: ltr;
    }
    .album-name-mobile-a {
        color: black;
        font-weight: bolder;
        display: block;
        text-decoration: none;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 95%;
    }
    .album-copies-mobile {
        margin-left: auto;
        text-align: right;
    }
    .album-stats-mobile {
        text-align: right;
        display: flex;
        align-items: center;
        width: 100%;
        padding-left: 0;
        display: flex;
        justify-content: space-between;
    }
    .created-by-box {
        width: 100%;
    }
    .stats-div {
        display: flex;
        align-items: flex-end;
        gap: 6px;
    }
    .album-likes-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .album-views-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .view-album-info-bottom {
        padding: 0;
    }
    .album-copies-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .album-likes-mobile i,
    .album-views-mobile i,
    .album-copies-mobile i {
        font-size: 10px;
        color: #888;
    }
    .album-likes-mobile i {
        color: #ff4444;
    }
    .view-album-info-tags {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 0;
        min-height: 15px;
    }
    .album-tags-mobile {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 95%;
        vertical-align: bottom;
    }
    .album-tag-mobile {
        color: #1064ff;
        font-size: 11px;
        font-weight: 500;
    }
    .album-tag-mobile::after {
        content: '·';
        margin: 0 4px;
    }
    .album-tag-mobile:last-child::after {
        content: '';
    }
    .album-action-buttons-container {
        width: 95%;
        padding: 0;
        display: flex;
        height: 60px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        border-radius: none;
        min-height: 30px;
    }
    .album-action-buttons-container button {
        width: 100%;
        max-width: none;
        border-radius: none;
        border: none;
        height: 60px;
    }
    .album-action-buttons-container input {
        width: 100%;
        max-width: none;
        border-radius: 0;
        border: none;
    }
    button.album-market-album-button {
        background-color: #5a83ce;
        min-height: 40px;
        border-radius: 0;
        height: 60px;
    }
    button.album-market-album-button:hover {
        background-color: #5a83ce;
    }
    button.album-market-album-button,
    button.album-market-album-button:hover,
    button.album-market-album-button:focus,
    button.album-market-album-button:active {
        background-color: #5a83ce !important;
        border-color: #5a83ce !important;
        color: white !important;
        box-shadow: none !important;
    }
    .buy-btn-container {
        width: 100%;
        margin-top: 10px;
        order: 3;
        margin-left: 0;
        display: block;
    }
    .album-view-owner-selling-p {
        font-family: 'Avenir Next', 'Avenir', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 10px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #000000;
        margin: 0;
        margin-right: 60px;
    }
    .album-view-owner-selling-btn {
        width: 100%;
        border-radius: none !important;
        margin: 0 auto;
        max-width: none !important;
        margin-left: 0 !important;
        display: block;
        margin-top: 0 !important;
    }
    .ownedByUserContainer {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .ownedByUserText {
        font-size: 10px;
        color: black;
        background: none;
        margin: 0;
        flex: 1;
        display: flex;
        text-align: left;
        width: 100%;
        background-color: white;
    }
    .ownedByUserButton {
        background-color: #5a83ce;
        flex: 9;
        width: 100%;
        display: flex;
        align-items: center;
        height: 40px;
        border-radius: 0;
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        justify-content: center;
    }
    .beingSoldDiv {
        width: 100%;
        height: 100%;
        display: flex;
        padding: 0;
        flex-direction: column;
        gap: 0;
    }
    .beingSoldText {
        font-size: 10px;
        color: black;
        margin: 0;
        flex: 1;
        width: 100%;
        background-color: white;
    }
    .stop-sell-album-button {
        background-color: #5a83ce;
        flex: 9;
        border-radius: 0;
        width: 100%;
    }
    .album-view-user-comment-text-area {
        height: 40px;
        border-radius: 5px;
        padding: 8px 12px;
        border: 1px solid #ddd;
        font-size: 14px;
        line-height: 1.4;
        resize: none;
        outline: none;
        box-sizing: border-box;
        margin-top: 0;
    }
    .album-view-user-comment-text-area::placeholder {
        color: #999;
        vertical-align: middle;
        font-size: 16px;
    }
    div.album-view-user-comment-box-div {
        margin-top: 10px;
        width: 100%;
    }
    .album-view-comments-header {
        display: none;
    }
    .album-view-user-comment-box-div::after {
        content: '';
        display: block;
        height: 1px;
        background-color: #ddd;
        margin: 4px 0;
        width: 100%;
        margin-bottom: 0;
    }
    div.album-view-comment-mobile {
        display: flex;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        margin-top: 8px;
        padding: 5px 0 15px 0;
        border-bottom: 1px dashed #ccc;
    }
    div.album-view-comment-mobile:first-child {
        margin-top: 5px;
    }
    div.comment-right-side-mobile {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
        width: 70%;
        align-items: flex-start;
    }
    div.comment-right-side-top-mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        width: 100%;
    }
    img.av-commentbox-img-mobile {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
        filter: none;
        border: 1px solid #e0e0e0;
    }
    a.av-commentbox-userName-mobile {
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        font-weight: 700;
        font-style: bold;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0%;
        text-decoration: underline;
        color: #000000;
    }
    p.av-commentbox-comment-mobile,
    span.av-commentbox-comment-mobile {
        font-family: 'Avenir Next', Arial, sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 10px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #595958;
        margin: 0;
    }
    p.av-commentbox-lastEdit-mobile,
    span.av-commentbox-lastEdit-mobile {
        font-family: 'Avenir Next', Arial, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 8px;
        line-height: 100%;
        letter-spacing: 0%;
        position: static;
        color: #595956;
        margin: 0;
    }
    .view-album-mobile .album-view-user-comment-box-div {
        display: block;
        margin-bottom: 12px;
    }
    .view-album-mobile .album-view-user-comment-box-div > br {
        display: none;
    }
    .view-album-mobile .album-view-user-comment-box-div > .view-album-mobille-comment-comment-count {
        display: none;
    }
    .view-album-mobile .album-view-user-comment-text-area {
        display: inline-block;
        vertical-align: middle;
        width: calc(100% - 40px);
        margin-right: 8px;
        height: 32px;
        padding: 6px 10px;
    }
    .view-album-mobile #album-view-comment-post-mobile {
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        line-height: 1;
        margin: 0;
        cursor: pointer;
    }
    .view-album-mobile #album-view-comment-post-mobile.hidden {
        display: inline-block;
        visibility: visible;
    }
    .view-album-tab-content[data-content='owners'] {
        box-sizing: border-box;
        padding: 4px;
        height: auto;
        min-height: 0;
        width: 100%;
        display: block;
        overflow: visible;
    }
    #album-tab-owners {
        box-sizing: border-box;
        padding: 4px;
        height: auto;
        min-height: 0;
        width: 100%;
        display: block;
        overflow: visible;
    }
    .album-view-owners {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .album-view-owner {
        display: flex;
        align-items: stretch;
        gap: 10px;
        flex-wrap: wrap;
        min-height: 70px;
        height: auto;
        width: 100%;
        max-width: 100%;
        padding: 1px;
        margin: 0;
        border-bottom: 1px solid rgba(196, 194, 194, 0.432);
        position: static;
        overflow: visible;
        margin-top: 0 !important;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
    img.av-owner-img {
        border: 1px solid grey;
        margin-bottom: 18px;
    }
    .av-owner-details-div {
        height: auto;
        margin-right: 0;
    }
    p.album-view-owner-selling-p {
        color: black;
    }
    #album-details-mobile-div {
        padding: 0 0 0 5px;
    }
    .album-sold-out-mobile {
        margin-top: 10px;
        color: white;
        background-color: grey;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .recommendations-section {
        order: 1;
        margin-top: 20px;
    }
    input.stop-sell-album-button:hover {
        background: #5a83ce;
    }
}

@media screen and (min-width: 574px) and (max-width: 1080px) {
    .album-view-owners {
        align-items: flex-start;
    }
}

@media screen and (min-width: 361px) and (max-width: 800px) {
    .view-album-mobile {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 0 2px 0 2px;
    }
    .sticky-bottom-container {
        bottom: -1px !important;
        width: 100%;
        background: white;
        padding-bottom: 3px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        margin: 0 auto 5px auto;
        margin-top: 2px;
        padding: 9px 0 4px 0;
        position: sticky;
        bottom: 8px;
        z-index: 1000;
    }
    .imgs-container-row {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding-bottom: 0;
        margin: 0;
    }
    .imgs-container-column {
        padding: 2px;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    #album-preview-imgs-container-mobile .album-preview-img {
        height: 280px;
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
        object-fit: cover;
    }
    .view-album-tab-content {
        flex: unset;
        min-height: auto;
        overflow-y: visible;
    }
    #album-preview-imgs-mobile-div {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }
    #album-details-mobile-div {
        padding: 0;
        margin-top: 0;
    }
    #album-comments-mobile-div {
        padding: 0;
        margin: 0;
    }
    .mobile-tabs-indicator-line {
        position: relative;
        height: 1px;
        background-color: #cccccc;
        margin: 0 10px;
        margin-top: 10px;
        margin-bottom: 5px;
        width: calc(100% - 20px);
    }
    .mobile-tabs-active-indicator {
        position: absolute;
        height: 2px;
        background-color: #000000;
        top: -1px;
        transition: left 0.3s ease, width 0.3s ease;
        width: 38px;
        left: 0;
    }
    .album-publish-date-mobile {
        color: white;
        background-color: grey;
        width: 100%;
        height: 60px;

        justify-content: center;
        align-items: center;
        display: flex;
    }
    .view-category {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
    }
    .view-category p {
        border-top: none;
        border-bottom: none;
        padding: 3px 3px;
        margin: 0;
        width: 75px;
        font-size: small;
        margin-top: 0;
        flex-shrink: 0;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 5px;
    }
    p.view-album-active-tab {
        color: #2c2d2e;
        border-top: none;
        border-bottom: none;
        padding: 3px 3px;
        margin: 0;
        margin-top: 0;
        position: relative;
        background-color: #f0f0f0;
        border-radius: 5px;
    }
    p.view-album-active-tab::before {
        display: none;
    }
    .view-album-info {
        display: flex;
        align-items: stretch;
        width: 95%;
        min-height: 80px;
        margin: 0 auto;
        height: 90px;
    }
    .album-profile-picture-container {
        display: flex;
        align-items: center;
        width: 20%;
    }
    .album-author-img {
        width: 55px !important;
        height: 55px !important;
        max-width: 80px !important;
        max-height: 70px !important;
        object-fit: cover;
        border-radius: 50%;
        margin-left: 0 !important;
        border: 1px solid grey;
    }
    .album-info-content-container {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 0;
        padding-right: 1px;
        height: 100%;
        width: 80%;
    }
    .view-album-info-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        padding-left: 0;
    }
    .album-author-name-p {
        text-decoration: underline;
        text-transform: capitalize;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 0;
        max-width: 100px;
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        text-align: left;
        direction: ltr;
    }
    .album-name-mobile-a {
        color: black;
        font-weight: bolder;
        display: block;
        text-decoration: none;
        text-align: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 95%;
    }
    .album-copies-mobile {
        margin-left: auto;
        text-align: right;
    }
    .album-stats-mobile {
        text-align: right;
        display: flex;
        align-items: center;
        width: 100%;
        padding-left: 0;
        display: flex;
        justify-content: space-between;
    }
    .created-by-box {
        width: 100%;
    }
    .stats-div {
        display: flex;
        align-items: flex-end;
        gap: 6px;
    }
    .album-likes-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .album-views-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .view-album-info-bottom {
        padding: 0;
    }
    .album-copies-mobile {
        font-size: 12px;
        color: #666;
        display: flex;
        align-items: center;
        gap: 4px;
        margin-top: 4px;
    }
    .album-likes-mobile i,
    .album-views-mobile i,
    .album-copies-mobile i {
        font-size: 10px;
        color: #888;
    }
    .album-likes-mobile i {
        color: #ff4444;
    }
    .view-album-info-tags {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding-left: 0;
        min-height: 15px;
    }
    .album-tags-mobile {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 95%;
        vertical-align: bottom;
    }
    .album-tag-mobile {
        color: #1064ff;
        font-size: 11px;
        font-weight: 500;
    }
    .album-tag-mobile::after {
        content: '·';
        margin: 0 4px;
    }
    .album-tag-mobile:last-child::after {
        content: '';
    }
    .album-action-buttons-container {
        width: 95%;
        padding: 0;
        display: flex;
        height: 60px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        border-radius: none;
        min-height: 30px;
    }
    .album-action-buttons-container button {
        width: 100%;
        max-width: none;
        border-radius: none;
        border: none;
        height: 60px;
    }
    .album-action-buttons-container input {
        width: 100%;
        max-width: none;
        border-radius: 0;
        border: none;
    }
    button.album-market-album-button {
        background-color: #5a83ce;
        min-height: 40px;
        border-radius: 0;
        height: 60px;
    }
    button.album-market-album-button:hover {
        background-color: #5a83ce;
    }
    button.album-market-album-button,
    button.album-market-album-button:hover,
    button.album-market-album-button:focus,
    button.album-market-album-button:active {
        background-color: #5a83ce !important;
        border-color: #5a83ce !important;
        color: white !important;
        box-shadow: none !important;
    }
    .buy-btn-container {
        width: 100%;
        margin-top: 10px;
        order: 3;
        margin-left: 0;
        display: block;
    }
    .album-view-owner-selling-p {
        font-family: 'Avenir Next', 'Avenir', sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 10px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #000000;
        margin: 0;
        margin-right: 60px;
    }
    .album-view-owner-selling-btn {
        width: 100%;
        border-radius: none !important;
        margin: 0 auto;
        max-width: none !important;
        margin-left: 0 !important;
        display: block;
        margin-top: 0 !important;
    }
    .ownedByUserContainer {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .ownedByUserText {
        font-size: 10px;
        color: black;
        background: none;
        margin: 0;
        flex: 1;
        display: flex;
        text-align: left;
        width: 100%;
        background-color: white;
    }
    .ownedByUserButton {
        background-color: #5a83ce;
        flex: 9;
        width: 100%;
        display: flex;
        align-items: center;
        height: 40px;
        border-radius: 0;
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        justify-content: center;
    }
    .beingSoldDiv {
        width: 100%;
        height: 100%;
        display: flex;
        padding: 0;
        flex-direction: column;
        gap: 0;
    }
    .beingSoldText {
        font-size: 10px;
        color: black;
        margin: 0;
        flex: 1;
        width: 100%;
        background-color: white;
    }
    .stop-sell-album-button {
        background-color: #5a83ce;
        flex: 9;
        border-radius: 0;
        width: 100%;
    }
    .album-view-user-comment-text-area {
        height: 40px;
        border-radius: 5px;
        padding: 8px 12px;
        border: 1px solid #ddd;
        font-size: 14px;
        line-height: 1.4;
        resize: none;
        outline: none;
        box-sizing: border-box;
        margin-top: 0;
    }
    .album-view-user-comment-text-area::placeholder {
        color: #999;
        vertical-align: middle;
        font-size: 16px;
    }
    div.album-view-user-comment-box-div {
        margin-top: 10px;
        width: 100%;
    }
    .album-view-comments-header {
        display: none;
    }
    .album-view-user-comment-box-div::after {
        content: '';
        display: block;
        height: 1px;
        background-color: #ddd;
        margin: 4px 0;
        width: 100%;
        margin-bottom: 0;
    }
    div.album-view-comment-mobile {
        display: flex;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        margin-top: 8px;
        padding: 5px 0 15px 0;
        border-bottom: 1px dashed #ccc;
    }
    div.album-view-comment-mobile:first-child {
        margin-top: 5px;
    }
    div.comment-right-side-mobile {
        display: flex;
        flex-direction: column;
        margin-left: 10px;
        width: 70%;
        align-items: flex-start;
    }
    div.comment-right-side-top-mobile {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 9px;
        width: 100%;
    }
    img.av-commentbox-img-mobile {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        object-fit: cover;
        filter: none;
        border: 1px solid #e0e0e0;
    }
    a.av-commentbox-userName-mobile {
        font-family: 'Adobe Garamond Pro', 'Garamond', serif;
        font-weight: 700;
        font-style: bold;
        font-size: 12px;
        line-height: 100%;
        letter-spacing: 0%;
        text-decoration: underline;
        color: #000000;
    }
    p.av-commentbox-comment-mobile,
    span.av-commentbox-comment-mobile {
        font-family: 'Avenir Next', Arial, sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 10px;
        line-height: 100%;
        letter-spacing: 0%;
        color: #595958;
        margin: 0;
    }
    p.av-commentbox-lastEdit-mobile,
    span.av-commentbox-lastEdit-mobile {
        font-family: 'Avenir Next', Arial, sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 8px;
        line-height: 100%;
        letter-spacing: 0%;
        position: static;
        color: #595956;
        margin: 0;
    }
    .view-album-mobile .album-view-user-comment-box-div {
        display: block;
        margin-bottom: 12px;
    }
    .view-album-mobile .album-view-user-comment-box-div > br {
        display: none;
    }
    .view-album-mobile .album-view-user-comment-box-div > .view-album-mobille-comment-comment-count {
        display: none;
    }
    .view-album-mobile .album-view-user-comment-text-area {
        display: inline-block;
        vertical-align: middle;
        width: calc(100% - 40px);
        margin-right: 8px;
        height: 32px;
        padding: 6px 10px;
    }
    .view-album-mobile #album-view-comment-post-mobile {
        display: inline-block;
        vertical-align: middle;
        width: 24px;
        height: 24px;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        border-radius: 0;
        line-height: 1;
        margin: 0;
        cursor: pointer;
    }
    .view-album-mobile #album-view-comment-post-mobile.hidden {
        display: inline-block;
        visibility: visible;
    }
    .view-album-tab-content[data-content='owners'] {
        box-sizing: border-box;
        padding: 4px;
        height: auto;
        min-height: 0;
        width: 100%;
        display: block;
        overflow: visible;
    }
    #album-tab-owners {
        box-sizing: border-box;
        padding: 4px;
        height: auto;
        min-height: 0;
        width: 100%;
        display: block;
        overflow: visible;
    }
    .album-view-owners {
        display: flex;
        flex-direction: column;
        gap: 15px;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .album-view-owner {
        display: flex;
        align-items: stretch;
        gap: 10px;
        flex-wrap: wrap;
        min-height: 70px;
        height: auto;
        width: 100%;
        max-width: 100%;
        padding: 1px;
        margin: 0;
        border-bottom: 1px solid rgba(196, 194, 194, 0.432);
        position: static;
        overflow: visible;
        margin-top: 0 !important;
        margin-bottom: 15px;
        box-sizing: border-box;
    }
    img.av-owner-img {
        border: 1px solid grey;
        margin-bottom: 18px;
    }
    .av-owner-details-div {
        height: auto;
        margin-right: 0;
    }
    p.album-view-owner-selling-p {
        color: black;
    }
    #album-details-mobile-div {
        padding: 0 0 0 5px;
    }
    .album-sold-out-mobile {
        margin-top: 10px;
        color: white;
        background-color: grey;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .recommendations-section {
        order: 1;
        margin-top: 20px;
        padding: 0 !important;
    }
    .album-card img {
        width: 100%;
    }
    .hero-section {
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        justify-content: center;
        gap: 10px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .album-class-in-the-card-component {
        width: 100% !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    input.stop-sell-album-button:hover {
        background: #5a83ce;
    }
}

@media screen and (max-width: 345px) {
    input.pop-up-red-button {
        width: 100px;
        font-size: 20px;
    }
    input.pop-up-white-button {
        width: 100px;
        font-size: 20px;
    }
    p.pop-up-description-aux {
        font-size: 14px;
    }
    p.view-user-display-name {
        font-size: 32px;
        line-height: 10px;
        margin-top: 20px;
    }
    input.payment-confirm-btn {
        font-size: small;
        padding: 5px 8px;
        margin: 0px 2px;
    }
    input.payment-cancel-btn {
        font-size: small;
        padding: 5px 8px;
        margin: 0px 0px;
    }
    div.add-wallet-btn input {
        width: 100px;
    }
    div.payment-method-div {
        position: static;
    }
    div.payment-ci-div {
        position: static;
    }
    .album-card2 {
        max-width: 230px;
        width: 230px;
    }
}

/* Inline comment input and smaller button on very small screens */
