* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body.modal-open {
    overflow: hidden;
}

/* Registration Form */
.RegContainer {
    border-radius: 12px;
    padding: 10px 20px;
    display: flex;
    gap: 1em;
    flex-direction: column;
    align-items: center;
}

.RegContainer img {
    margin-bottom: 4px;
}

.Fname-Lname {
    display: flex;
    gap: 12px;
    width: 100%;
}

.Fname,
.Lname {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
    width: 100%;
}

.Gmail,
.RegistrationPass,
.RegistrationConfirmPass {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 4px;
}
.Fname input,
.Lname input,
.Gmail input,
.RegistrationPass input,
.RegistrationConfirmPass input {
    width: 100%;
    padding: 5px 2px;
    border: 1.5px solid #EEEEEE;
    border-radius: 6px;
    font-size: 14px;
    color: #1A1A1A;
    background-color: #FAFAFA;
    outline: none;
    transition: border-color 0.2s ease;
}
.RegistrationConfirmPass {
    margin-bottom: 10px;
}
.Fname input:focus,
.Lname input:focus,
.Gmail input:focus,
.RegistrationPass input:focus,
.RegistrationConfirmPass input:focus {
    border-color: #E84545;
    background-color: #ffffff;
}

.Fname label,
.Lname label,
.Gmail label,
.RegistrationPass label,
.RegistrationConfirmPass label {
    font-size: 12px;
    font-weight: 600;
    color: #888888;
    letter-spacing: 0.4px;
}

.Fname input:focus + label,
.Lname input:focus + label,
.Gmail input:focus + label,
.RegistrationPass input:focus + label,
.RegistrationConfirmPass input:focus + label {
    color: #E84545;
}

.RegisterButton {
    width: 100%;
}

.RegisterButton button {
    width: 100%;
    padding: 11px;
    background-color: #E84545;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.RegisterButton button:hover {
    background-color: #C73232;
    transform: translateY(-1px);
}

.RegisterButton button:active {
    transform: translateY(0);
}

.RegContainer p {
    color: #AAAAAA;
    font-size: 13px;
    text-align: center;
}

.Reg-Login {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.Reg-Login p {
    color: #888888;
}

.Reg-Login a {
    color: #E84545;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.Reg-Login a:hover {
    color: #C73232;
    text-decoration: underline;
}

/* Login Form */
.LoginContainer {
    border-radius: 12px;
    padding: 40px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.LoginContainer img {
    margin-bottom: 4px;
}

.Gmail-Login,
.Login-Pass {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 4px;
}

.Gmail-Login input,
.Login-Pass input {
    width: 100%;
    padding: 5px;
    border: 1.5px solid #EEEEEE;
    border-radius: 6px;
    font-size: 14px;
    color: #1A1A1A;
    background-color: #FAFAFA;
    outline: none;
    transition: border-color 0.3s ease;
}

.Gmail-Login input:focus,
.Login-Pass input:focus {
    border-color: #E84545;
    background-color: #fff;
}

.Gmail-Login label,
.Login-Pass label {
    font-size: 12px;
    font-weight: 600;
    color: #888888;
    letter-spacing: 0.4px;
}

.Gmail-Login input:focus + label,
.Login-Pass input:focus + label {
    color: #E84545;
}

.LoginButton {
    width: 100%;
}

.LoginButton button {
    width: 100%;
    padding: 11px;
    background-color: #E84545;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.LoginButton button:hover {
    background-color: #C73232;
    transform: translateY(-1px);
}

.LoginButton button:active {
    transform: translateY(0);
}

.LoginContainer p {
    color: #AAAAAA;
    font-size: 13px;
    text-align: center;
}

.Login-Reg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.Login-Reg p {
    color: #888888;
}

.Login-Reg a {
    color: #E84545;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.Login-Reg a:hover {
    color: #C73232;
    text-decoration: underline;
}

/* Registration and Login Pop-Up */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal.open {
    display: flex;
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation: popup 0.3s ease;
    width: 600px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    line-height: 1;
}
.close:hover { color: #E84545; }

@keyframes popup {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Resposive Registration and Login */
@media (max-width: 650px) {
    .Fname-Lname {
        flex-direction: column;
    }

    .RegContainer {
        padding: 10px 12px;
        margin: 0;
        gap: 10px;
    }
    .LoginContainer {
        padding: 20px 12px 14px;
        margin: 0;
        gap: 10px;
    }
    .Fname input,
    .Lname input,
    .Gmail input,
    .RegistrationPass input,
    .RegistrationConfirmPass input,
    .Gmail-Login input,
    .Login-Pass input {
        font-size: 14px;
        padding: 10px;
        min-height: 42px;
    }
    .LoginButton button,
    .RegisterButton button {
        padding: 11px;
        font-size: 14px;
    }
    .modal-content {
        padding: 18px;
        width: min(360px, calc(100% - 28px));
        max-height: calc(100vh - 28px);
        overflow-y: auto;
    }
}

/* Navigation */
.navigation {
    display: flex;
    position: fixed;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #E84545;
    padding: 10px 15px;
    z-index: 99;
    font-family: 'Poppins', sans-serif;
    gap: 16px;
}
.Logo-Search {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
    flex: 0 1 auto;
}

.Logo {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 9px;
    margin-right: 0;
    width: clamp(206px, 18vw, 232px);
    min-height: 48px;
    padding: 7px 13px 7px 8px;
    background: linear-gradient(45deg,#CCCCCC,#FFFFFF);
    border: 1px solid rgba(199, 50, 50, 0.18);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(90, 20, 20, 0.16);
}

.Logo::after {
    content: "Jesspool Toy Store";
    color: #1A1A1A;
    align-self: flex-start;
    margin-top: 2px;
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    white-space: nowrap;
}

.Logo::before {
    content: "Collectible Store";
    position: absolute;
    left: 61px;
    bottom: 10px;
    color: #E84545;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.3px;
    line-height: 1;
    text-transform: uppercase;
}

.Logo a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.LOGO {
    display: block;
    width: 38px;
    height: 36px;
    object-fit: contain;
    padding: 3px;
    background: #fff3f3;
    border-radius: 6px;
}

.LOGOTEXT {
    display: none;
}

.search {
    display: flex;
    align-items: center;
    min-width: 0;
}
.searchinp {
    position: relative;
}
.searchinp input {
    padding-top: 5px;
    padding-left: 15px;
    padding-bottom: 5px;
    border: solid 1.5px #E84545;
    border-radius: 3px;
    width: clamp(220px, 24vw, 360px);
    outline: none;
    transition: border-color 0.2s ease;
    margin-right: 0;
}
.searchinp input:focus {
    border-color: #000000;
}
.nav-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 10px;
}

.nav-main,
.nav-personal {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-main {
    flex: 0 1 auto;
    z-index: 2;
}

.nav-personal {
    flex: 0 0 auto;
    z-index: 1;
    margin-left: auto;
    pointer-events: none;
}

.nav-personal a {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
}

.nav-personal .account-link {
    gap: 7px;
}

.account-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.login-check {
    position: absolute;
    right: -5px;
    bottom: -3px;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #28a745;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
    line-height: 12px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.login-check.auth-needed {
    background: #1A1A1A;
    font-size: 12px;
    line-height: 11px;
}

.login-text {
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

nav li.active .login-text,
nav li:hover .login-text {
    color: #1A1A1A;
}

.nav-links ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    list-style: none;
}


nav li {
    color: white;
    margin: 0 5px;
    padding: 6px;
    border-radius: 4px;
    transition: background-color 0.5s ease;
    cursor: pointer;
}

nav li:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
}

nav li.active {
  background-color:  white;
}

nav li a.active {
  padding: 10px;
  border-radius: 4px;
  color: #000000;
  background-color: white;
}

nav ul a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px 10px 10px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 8px;

}

/* Responsive Nav */
@media (max-width: 1250px) {
    .Logo-Search {
        gap: 8px;
        flex: 1;
    }

    .Logo {
        width: 184px;
        min-height: 46px;
        padding: 6px 10px 6px 7px;
    }

    .Logo::after {
        margin-top: 3px;
        font-size: 12px;
    }

    .Logo::before {
        left: 56px;
        bottom: 8px;
        font-size: 7px;
        letter-spacing: 0.8px;
    }

    .searchinp input {
        width: min(100%, 180px);
        margin-right: 8px;
    }
    .hamburger {
        display: flex;
    }

    .LOGO {
        width: 34px;
        height: 32px;
    }

    .LOGOTEXT {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background-color: #E84545;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 14px 12px 18px;
        display: none;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-main,
    .nav-personal {
        width: 100%;
        justify-content: center;
    }

    .nav-personal {
        margin-left: 0;
    }

    .nav-links ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .navigation {
        position: fixed;
        min-height: 66px;
    }
}

@media (max-width: 620px) {
    .navigation {
        padding: 8px 10px;
        gap: 8px;
    }

    .Logo-Search {
        gap: 7px;
    }

    .Logo {
        width: 46px;
        min-width: 46px;
        min-height: 44px;
        padding: 5px;
        justify-content: center;
    }

    .Logo::before,
    .Logo::after {
        display: none;
    }

    .LOGO {
        width: 34px;
        height: 32px;
    }

    .search {
        flex: 1;
    }

    .searchinp,
    .searchinp input {
        width: 100%;
    }

    .searchinp input {
        min-width: 0;
        margin-right: 0;
        padding: 7px 10px;
    }

    .nav-links {
        top: 60px;
    }

    .login-text {
        display: none;
    }
}

/* ABOUT US */
.AboutUS {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.ABOUTcover {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    background-image: radial-gradient(circle at center, rgba(94, 95, 96, 0.568) 30%,   
    rgba(0, 0, 9, 0.8) 100% ),
    url("assets/background.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    margin-top: 50px;
    box-shadow: 1px 1px 10px black;
} 
.ABOUTcover h1 {
    color: white;
    text-shadow: 1px 1px 10px black;
    font-size: 50px;
}
.ABOUTcover h3 {
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
}
.ABOUTcover button {
    margin-top: 2rem;
    font-size: 13px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #E84545;
}

.ABOUTcover button:hover {
    background-color: #C73232;
    transform: translateY(-2px)
}
.aboutContent {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0 10px;
    margin-top: 50px;
    gap: 20px;
    margin-bottom: 30px;
}
.aboutContent h1 {
    color: #E84545;
    margin-top: 20px;
}
.aboutContent h3 {
    color: #E84545;
}
.paragraphCONTENT {
    padding: 0 30px;
}
.paragraphCONTENT p {
    text-indent: 2rem;
    font-size: 15px;
    
}
.about-Fproducts {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
    background-color: #bf360c;
    padding: 20px 5px;
    width: 100%;
}
.about-Fproducts h1 {
    color: #e3f2fd;
    margin-bottom: 20px;
    font-family: sans-serif;
}
.about-Fproducts h3 {
    color: #e8f5e9;
    margin-bottom: 10px;
    font-family: sans-serif;
}
.main-AFcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}
.about-Fproducts button {
    margin-top: 2rem;
    font-size: 13px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #E84545;
    width: 100px;
}
.about-Fproducts button:hover {
    background-color: #C73232;
    transform: translateY(-2px)
}
.AFcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #e3f2fd;
    border-radius: 10px;
    padding: 5px;
    transition: 0.3s;
    width: 185px;
    height: auto;
}
.AFcontainer:hover {
    transform: scale(1.05);
}
.AFcontainer p {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 180px;
    color: #bf360c;
}
.AFcontainer img {
    width: 100%;
    height: 150px;
    margin-bottom: 5px;
    border-radius: 3px;
}
.about-cart {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-cart button {
    border: none;
    border-radius: 2px;
    background-color: #E84545;
    cursor: pointer;
    color: white;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: bolder;
}
.about-cart button:hover {
    background-color: #008507;
    transform: translateY(-2px)
}
@media (max-width:650px){
.ABOUTcover {
        height: 50vh;          /* shorter on mobile */
        margin-top: 70px;      /* less top space on mobile */
        background-attachment: scroll; /* fixed doesn't work well on iOS */
        background-size: cover;
        background-position: center center;
}
.ABOUTcover h1 {
    color: white;
    text-shadow: 1px 1px 10px black;
    font-size: 20px;
}
.ABOUTcover h3 {
    font-size: 10px;
    margin-top: 20px;
    font-family: 'Poppins', sans-serif;
}
.ABOUTcover button {
    margin-top: 2rem;
    font-size: 8px;
    padding: 8px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #E84545;
}
.aboutContent h1 {
    font-size: 25px;
    color: #E84545;
    margin-top: 20px;
}
.aboutContent h3 {
    font-size: 15px;
    color: #E84545;
}
.paragraphCONTENT p {
    text-indent: 2rem;
    font-size: 10px;   
}
.about-Fproducts h1 {
    font-size: 25px;
}
}
@media (max-width:680px){
    .main-AFcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
}
    .AFcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    padding: 5px;
    transition: 0.3s;
    width: 100px;
    height: auto;
}
    .AFcontainer img {
    width: 100%;
    height: 60px;
    margin-bottom: 5px;
}
    .AFcontainer p {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 8px;
    width: 90px;
}
    .about-cart button {
    width: 100%;
    padding: 5px 8px;
    }
}
.site-footer {
    width: 100%;
    background: #1A1A1A;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin-top: 50px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.35fr 1.25fr 1fr;
    gap: 28px;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 38px 24px 26px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-row img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
    padding: 4px;
}

.footer-logo-row h2,
.footer-section h3 {
    margin: 0;
    color: #ffffff;
    font-weight: 800;
}

.footer-logo-row h2 {
    font-size: 22px;
    line-height: 1.15;
}

.footer-logo-row p,
.footer-note {
    margin-top: 8px;
    color: #DDDDDD;
    font-size: 12px;
    line-height: 1.6;
}

.footer-section h3 {
    margin-bottom: 14px;
    font-size: 14px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-list span {
    color: #E84545;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.footer-list a,
.footer-list p,
.footer-socials a {
    color: #F5F5F5;
    font-size: 12px;
    line-height: 1.5;
    text-decoration: none;
}

.footer-list a:hover,
.footer-socials a:hover {
    color: #ffb3b3;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.footer-socials a:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(232, 69, 69, 0.25);
}

.footer-socials img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    object-fit: cover;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 14px 24px;
    text-align: center;
    color: #CCCCCC;
    font-size: 11px;
}

@media (max-width: 980px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* home */
.Home {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}
.homecover {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 470px;
    margin-top: 79px;
    margin-bottom: 34px;
    font-family: 'Poppins', sans-serif;
    background:
        linear-gradient(120deg, #ffffff 0%, #fff7f7 48%, #f8fafc 100%);
    border-bottom: 1px solid #eeeeee;
    overflow: hidden;
}
.homecover::before {
    content: "";
    position: absolute;
    inset: auto auto -80px -70px;
    width: 260px;
    height: 260px;
    background: rgba(232, 69, 69, 0.08);
    border-radius: 50%;
    z-index: -1;
}
.homecover::after {
    content: "";
    position: absolute;
    top: 34px;
    right: 44%;
    width: 120px;
    height: 120px;
    border: 18px solid rgba(232, 69, 69, 0.08);
    border-radius: 50%;
    z-index: -1;
}
.homecover-inner {
    flex: 0 0 48%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(46px, 6vw, 78px) clamp(28px, 5vw, 70px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72));
}
.homecover-media {
    flex: 1;
    position: relative;
    min-height: 470px;
    overflow: hidden;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}
.homecover-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 34%),
        linear-gradient(0deg, rgba(26, 26, 26, 0.2), rgba(26, 26, 26, 0));
    z-index: 1;
    pointer-events: none;
}
.homecover-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 470px;
    object-fit: cover;
    object-position: center 82%;
    transform: scale(1.01);
}
.homecover h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4.8vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    color: #1A1A1A;
    letter-spacing: 0;
    max-width: 520px;
}
.homecover-tagline {
    max-width: 420px;
    margin: 0 0 12px;
    font-size: clamp(14px, 1.5vw, 17px);
    font-weight: 400;
    line-height: 1.65;
    color: #4f4f4f;
}
.homecover-quote {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 30px;
    padding: 8px 12px;
    font-size: clamp(13px, 1.4vw, 15px);
    font-weight: 700;
    font-style: normal;
    color: #C73232;
    background: #fff0f0;
    border: 1px solid rgba(232, 69, 69, 0.18);
    border-radius: 8px;
}
.homecover button {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 800;
    padding: 13px 30px;
    border: none;
    border-radius: 8px;
    color: #ffffff;
    background: #E84545;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(232, 69, 69, 0.24);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.homecover button:hover {
    background-color: #C73232;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(199, 50, 50, 0.28);
}
.homecover button:active {
    transform: translateY(0);
}

/* home features */
.home-features {
    width: 100%;
    padding: 56px clamp(20px, 5vw, 48px) 64px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
    border-top: 1px solid #eeeeee;
    font-family: 'Poppins', sans-serif;
}
.home-features-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 40px;
}
.home-features-head h2 {
    margin: 0 0 10px;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #C73232;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.home-features-head p {
    margin: 0;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #666666;
    line-height: 1.5;
}
.home-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}
.home-feature-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 24px 26px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: homeFeatureFadeIn 0.5s ease both;
}
.home-feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #E84545;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.home-feature-card:nth-child(1) { animation-delay: 0.05s; }
.home-feature-card:nth-child(2) { animation-delay: 0.1s; }
.home-feature-card:nth-child(3) { animation-delay: 0.15s; }
.home-feature-card:nth-child(4) { animation-delay: 0.2s; }
.home-feature-card:nth-child(5) { animation-delay: 0.25s; }
.home-feature-card:nth-child(6) { animation-delay: 0.3s; }
.home-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 69, 69, 0.35);
    box-shadow: 0 14px 32px rgba(199, 50, 50, 0.14);
}
.home-feature-card:hover::before {
    transform: scaleX(1);
}
.home-feature-card:hover .home-feature-icon {
    transform: scale(1.08);
    background-color: #C73232;
}
.home-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    font-size: 24px;
    line-height: 1;
    background: #E84545;
    color: #ffffff;
    border-radius: 12px;
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.home-feature-card h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}
.home-feature-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #666666;
}
@keyframes homeFeatureFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media (max-width: 900px) {
    .home-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 520px) {
    .home-features {
        padding: 40px 16px 48px;
    }
    .home-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .home-feature-card {
        padding: 22px 20px;
    }
}

.homecontent,
.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    box-sizing: border-box;
}
.figure-suggestion {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 8px;
    box-sizing: border-box;
}
.figure-suggestion h1 {
    margin: 0 0 16px;
    font-family: 'Poppins', sans-serif;
    color: #C73232;
    text-transform: uppercase;
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.04em;
}
/* unified figure grids (home, shop, bidhub, increment) */
.fsuggestion-cont,
.bid-container,
.all-figure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    gap: clamp(16px, 2.5vw, 24px);
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 28px;
    padding: clamp(16px, 3vw, 28px);
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-sizing: border-box;
}
.fsuggestion-cont > p,
.bid-container > p,
.all-figure > p {
    width: 100%;
    text-align: center;
}

/* figure card images — full figure visible */
.fall img,
.fbid img {
    width: 100%;
    height: clamp(200px, 32vw, 280px);
    object-fit: contain;
    object-position: center;
    background: #f7f7f7;
    margin: 0;
    padding: clamp(10px, 2vw, 16px);
    box-sizing: border-box;
    display: block;
    border-bottom: 1px solid #f0f0f0;
}
.cart {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.cart p {
    font-size: 14px;
    font-weight: 700;
    color: #C73232;
    margin: 0;
}
.cart button {
    border: none;
    border-radius: 6px;
    background-color: #E84545;
    cursor: pointer;
    color: #ffffff;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1;
    transition: background-color 0.2s ease;
}
.cart button:hover {
    background-color: #C73232;
}
.seemore {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}
.seemore button {
    background-color: #ffffff;
    color: #C73232;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border: 1px solid #E84545;
    font-size: 12px;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.seemore button:hover {
    background-color: #E84545;
    color: #ffffff;
}

/* bidhub */
.BIDhub {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px clamp(16px, 4vw, 32px);
}
.BIDhub h1 {
    color: #C73232;
    margin-top: 100px;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: 0.06em;
}
.bidhub-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    box-sizing: border-box;
}
.bidhub-content h2 {
    color: #1A1A1A;
    margin: 0 0 16px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 700;
    text-align: center;
}
.fbid {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 280px;
    width: 280px;
    max-width: 100%;
    margin: 0;
    text-align: center;
    padding: 0 0 14px;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.fbid:hover {
    transform: translateY(-3px);
    border-color: #E84545;
    box-shadow: 0 6px 16px rgba(232, 69, 69, 0.1);
}
.fbid img {
    margin-bottom: 0;
}
.fbid > p,
.fbid > .fbid-bid-info,
.fbid > .fbid-holder,
.fbid > .fbid-timer,
.fbid > .fbid-actions {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}
.fbid > .fbid-tiers,
.fbid > .inc-price-block {
    width: calc(100% - 24px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.fbid .fbid-status {
    margin: 10px 12px 4px;
    align-self: center;
}
.fbid p {
    font-size: 13px;
    margin-bottom: 6px;
}
.fbid button {
    font-size: 10px;
    padding: 5px;
    color: white;
    border: none;
    border-radius: 3px;
    background-color: #E84545;
    cursor: pointer;
}
.fbid button:hover {
    background-color: #C73232;
    transform: translateY(-2px)
}
.fbid-name {
    font-size: 12px !important;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 0.4px;
    margin-top: 10px !important;
    margin-bottom: 2px !important;
    text-align: center;
}
 
.fbid-series {
    font-size: 10px;
    color: #888888;
    margin-bottom: 10px;
    text-align: center;
}
 
.fbid-bid-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff0f0;
    border-radius: 6px;
    padding: 6px 14px;
    margin-bottom: 8px;
    width: 100%;
}
 
.fbid-label {
    font-size: 9px;
    font-weight: 700;
    color: #888888;
    letter-spacing: 0.8px;
}
 
.fbid-price {
    font-size: 16px;
    font-weight: 700;
    color: #E84545;
}
 
.fbid-timer {
    font-size: 10px !important;
    color: #C73232;
    font-weight: 600;
    margin-bottom: 10px !important;
    text-align: center;
}
 
.fbid-actions {
    display: flex;
    gap: 6px;
    width: 100%;
    justify-content: center;
}
.fbid-actions input{
    padding: 5px 2px;
    border: 1.5px solid #EEEEEE;
    border-radius: 6px;
    font-size: 14px;
    color: #1A1A1A;
    background-color: #FAFAFA;
    outline: none;
    transition: border-color 0.2s ease;
}
.fbid-actions input:focus {
    border-color: #E84545;
    background-color: #ffffff;
}
.bid-btn {
    flex: 1;
    padding: 6px 8px ;
    font-size: 10px ;
    font-weight: 700;
    background-color: #36ae3c !important;
    color: white ;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    letter-spacing: 0.5px;
}
 
.bid-btn:hover {
    background-color: #2e7d32;
    transform: translateY(-1px) ;
}
 
.buyout-btn {
    flex: 1;
    padding: 6px 8px ;
    font-size: 9px ;
    font-weight: 700;
    background-color: #065bdb !important;
    color: white ;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
}
 
.buyout-btn:hover {
    background-color: #0d47a1 ;
    transform: translateY(-1px) ;
}
 
@media (max-width: 650px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 30px 18px 24px;
    }

    .footer-logo-row {
        align-items: flex-start;
    }

    .footer-logo-row h2 {
        font-size: 18px;
    }

    .footer-socials a {
        flex: 1 1 140px;
        justify-content: center;
    }

    .Home {
        padding: 0 5px;
    }
    .fsuggestion-cont,
    .bid-container,
    .all-figure {
        gap: 14px;
        padding: 16px 12px;
        margin-bottom: 20px;
    }
    .fall,
    .fbid {
        flex: 0 1 calc(50% - 10px);
        width: calc(50% - 10px);
        max-width: 280px;
    }
    .fall img,
    .fbid img {
        height: clamp(160px, 42vw, 220px);
        padding: 12px;
    }
    .figure-suggestion h1 {
        font-size: 15px;
    }
    .homecover {
        flex-direction: column;
        min-height: auto;
        margin-top: 70px;
        margin-bottom: 20px;
    }
    .homecover::after {
        display: none;
    }
    .homecover-inner {
        flex: none;
        max-width: 100%;
        padding: 42px 22px 30px;
    }
    .homecover-media {
        min-height: 250px;
        width: 100%;
        clip-path: none;
    }
    .homecover-media::before {
        background: linear-gradient(0deg, rgba(26, 26, 26, 0.22), rgba(26, 26, 26, 0));
    }
    .homecover-media::after {
        left: 18px;
        bottom: 18px;
        font-size: 11px;
        padding: 8px 11px;
    }
    .homecover-media img {
        min-height: 250px;
        object-position: center 78%;
    }
    .homecover h1 {
        font-size: 32px;
    }
    .homecover-tagline {
        font-size: 14px;
        margin-bottom: 16px;
    }
    .homecover-quote {
        font-size: 15px;
        margin-bottom: 22px;
    }
    .homecover button {
        font-size: 12px;
        padding: 10px 22px;
    }
    .fbid-price {
        font-size: 13px;
    }
 
    .fbid-actions {
        flex-direction: column;
        gap: 4px;
    }
    .fbid-actions input{
    padding: 3px 2px;
    align-self: center;
    width: 100px;
}
}
@media (max-width:650px){
.fbid p,
.fbid-name {
    font-size: 11px !important;
}
.fbid-series {
    font-size: 9px;
}
.fbid button,
.fbid-actions input {
    font-size: 10px;
}
.tier-price {
    font-size: 11px;
}
}
 


/* ══════════════════════════════════════════════════════════
   BIDHUB — How It Works + Tier Cards
   ══════════════════════════════════════════════════════════ */
 
.how-it-works {
    background-color: #1A1A1A;
    border-radius: 12px;
    padding: 24px 22px;
    margin-bottom: 36px;
    font-family: 'Poppins', sans-serif;
}
 
.hiw-title {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hiw-note {
    font-size: 10px;
    font-weight: 800;
    color: #888888;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 18px;
    text-transform: uppercase;
}
 
.hiw-cards {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
 
.hiw-card {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 16px 14px;
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border: 2px solid #333;
    transition: border-color 0.2s;
}
 
.hiw-card-highlight {
    border-color: #E84545;
    background-color: #2e1a1a;
}
 
.hiw-arrow {
    font-size: 22px;
    color: #555;
    flex-shrink: 0;
}
 
.hiw-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 4px;
    width: fit-content;
    text-transform: uppercase;
}
 
.tag-dibs   { 
    background-color: #1b5e20; 
    color: #69f0ae; 
}
.tag-steal  { 
    background-color: #7f1d1d; 
    color: #ff8a80; 
}
.tag-buyout { 
    background-color: #0d47a1; 
    color: #82b1ff; 
}
 
.hiw-price-label {
    font-size: 9px;
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
}
 
.hiw-desc {
    font-size: 11px;
    color: #cccccc;
    line-height: 1.5;
}
 
.hiw-note {
    font-size: 11px;
    color: #888;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}
 
.hiw-note a {
    color: #E84545;
    font-weight: 600;
    text-decoration: none;
}
 
.hiw-note a:hover { text-decoration: underline; }
 
/* ── Tier price rows on each card ── */
.fbid-tiers {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: calc(100% - 24px);
    margin: 0 auto 8px;
    box-sizing: border-box;
}
 
.tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    border-radius: 5px;
    width: 100%;
}
 
.tier-dibs   { 
    background-color: #e8f5e9; 
}
.tier-steal  { 
    background-color: #fff3e0; 
}
.tier-buyout { 
    background-color: #e3f2fd; 
}
 
.tier-taken {
    opacity: 0.4;
    text-decoration: line-through;
}
 
.tier-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
}
 
.tier-dibs   .tier-label { 
    color: #2e7d32; 
}
.tier-steal  .tier-label { 
    color: #e65100; 
}
.tier-buyout .tier-label { 
    color: #0d47a1; 
}
 
.tier-price {
    font-size: 12px;
    font-weight: 700;
    color: #1A1A1A;
}
 
/* Bidhub action buttons */
.steal-btn {
    flex: 1;
    padding: 6px 4px;
    font-size: 9px;
    font-weight: 700;
    background-color: #e65100;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    letter-spacing: 0.5px;
}

 


 
/* Status badges */
.status-open   { background-color: #e8f5e9; color: #2e7d32; }
.status-dibs   { background-color: #fff9c4; color: #f57f17; }
.status-steal  { background-color: #fce4ec; color: #c62828; }
.status-sold   { background-color: #eeeeee; color: #888888; }

/* SHOP */
.shop {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 35px;
}

.shop h1 {
    color: #C73232;
    margin-top: 120px;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: 0.06em;
}

.shop-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px);
    box-sizing: border-box;
}

.shop-container p {
    font-size: 10px;
}

.fall {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 1 280px;
    width: 280px;
    max-width: 100%;
    margin: 0;
    padding: 0 0 12px;
    gap: 0;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.fall:hover {
    transform: translateY(-3px);
    border-color: #E84545;
    box-shadow: 0 6px 16px rgba(232, 69, 69, 0.1);
}

.fall img {
    margin-bottom: 0;
}

.fall > p,
.fall > .cart {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.fall > p:first-of-type {
    margin-top: 10px;
}

.fall p {
    font-size: 13px;
    margin: 0 0 4px;
    font-weight: 600;
    color: #1A1A1A;
}

.fall-desciption {
    font-size: 11px;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.home-auction-section {
    margin-top: 24px;
}

.home-auction-cont {
    background: #ffffff;
}

.home-auction-card {
    position: relative;
    color: #1A1A1A;
    text-decoration: none;
    cursor: pointer;
    min-height: 0;
    height: 100%;
}

.home-auction-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #C73232;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
}

.home-auction-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin-top: auto;
    font-size: 10px;
    color: #444444;
}

.home-auction-prices span,
.home-auction-prices strong {
    display: flex;
    justify-content: space-between;
    padding: 5px 8px;
    border-radius: 4px;
    background-color: #F5F5F5;
}

.home-auction-prices strong {
    background-color: #FFECEC;
    color: #C73232;
}

.home-auction-holder,
.home-auction-timer {
    width: 100%;
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 4px;
    background-color: #FAFAFA;
    color: #444444;
    font-size: 10px;
    line-height: 1.35;
}

.home-auction-timer {
    margin-top: 0;
    color: #C73232;
    font-weight: 700;
}

.home-auction-modal .modal-cart button {
    width: 100%;
}

.home-bid-msg {
    min-height: 18px;
    margin: 6px 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
}

.shop-buy {
    display: flex;
    margin-top: 10px;
    gap: 10px;
}
.shop-buy button {
    font-size: 10px;
    padding: 5px;
    color: white;
}
.figure-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.figure-modal.open {
    display: flex;
}

.figure-cont {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    background: linear-gradient(303deg,rgba(255, 255, 255, 1) 0%, rgba(207, 207, 207, 1) 36%, rgba(161, 32, 32, 1) 100%);
    box-shadow: 0 1px 10px #555;
    animation: pop 0.3s ease;
    max-width: 95vw;
    padding: 30px 60px;
    width: 700px;
    height: auto;
}

.img-price {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
    gap: 1em;
}
.FigureImg {
    --media-slide-gap: 14px;
    position: relative;
    border: solid 3px #e8f5e9;
    width: 200px;
    height: 200px;
    overflow: hidden;
}
.media-slide-track {
    display: flex;
    gap: var(--media-slide-gap);
    width: 100%;
    height: 100%;
    transition: transform 0.28s ease;
}
.FigureImg[data-media-index="1"] .media-slide-track {
    transform: translateX(calc(-100% - var(--media-slide-gap)));
}
.FigureImg > img,
.FigureImg .media-slide-track > img,
.FigureImg .media-slide-track > video {
    display: block;
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #ffffff;
}
.FigureImg .media-slide-track > video {
    border: 0;
    outline: 0;
}
.FigureImg::-webkit-scrollbar {
    display: none;
}
.media-slide-btn {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: clamp(24px, 12%, 34px);
    height: clamp(32px, 18%, 44px);
    border: 0;
    border-radius: 999px;
    background: rgba(26, 26, 26, 0.68);
    color: #ffffff;
    cursor: pointer;
    font-size: clamp(18px, 6vw, 26px);
    line-height: 1;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 2px;
}
.media-slide-prev {
    left: clamp(4px, 4%, 10px);
}
.media-slide-next {
    right: clamp(4px, 4%, 10px);
}
.media-slide-btn:hover {
    background: #C73232;
}
.price-cat {
    text-align: center;
    font-family: sans-serif;
}
.price-cat h3 {
    text-transform: uppercase;
    background-color: #C73232;
    padding: 5px;
    color: #e3f2fd;
    margin-bottom: 30px;
    letter-spacing: 1px;
    font-weight: 600;
}
.price-cat h4 {
    color: #C73232;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
}
.price-cat h2 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 800;
}
.figure-desc {
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 12px;
    font-family: sans-serif;
    text-transform: uppercase;
}

.modal-cart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
.modal-cart p {
    font-size: 15px;
    font-weight: bold;
}
.modal-cart button {
    border: none;
    border-radius: 2px;
    background-color: #E84545;
    cursor: pointer;
    color: white;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: bolder;
}
.modal-cart button:hover {
    background-color: #008507;
    transform: translateY(-2px)
}

.bid-figure-modal {
    background: rgba(17, 18, 22, 0.58);
    padding: 18px;
}

.bid-figure-modal .figure-cont {
    width: min(680px, 96vw);
    max-height: 88vh;
    overflow-y: auto;
    flex-wrap: nowrap;
    padding: 28px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.bid-figure-modal .close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    background: #ffffff;
    color: #555555;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.bid-figure-modal .close:hover {
    background: #f5f5f5;
    color: #C73232;
}

.bid-figure-modal .img-price {
    padding: 0;
    gap: 24px;
}

.bid-figure-modal .FigureImg {
    width: 230px;
    height: 230px;
    flex: 0 0 230px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #f7f7f7;
}

.bid-figure-modal .price-cat {
    flex: 1;
    min-width: 0;
    text-align: left;
    font-family: "Poppins", sans-serif;
}

.bid-figure-modal .price-cat h3 {
    width: fit-content;
    max-width: 100%;
    margin: 12px 0 8px;
    padding: 0;
    background: transparent;
    color: #1A1A1A;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.bid-figure-modal .price-cat h4 {
    margin-bottom: 12px;
    color: #777777;
    font-size: 12px;
    line-height: 1.4;
}

.bid-figure-modal .fbid-status {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 0;
}

.bid-figure-modal .fbid-holder,
.bid-figure-modal .fbid-timer {
    text-align: left;
}

.bid-figure-modal .fbid-tiers,
.bid-figure-modal .inc-price-block {
    margin-top: 22px !important;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    overflow: hidden;
}

.bid-figure-modal .tier,
.bid-figure-modal .inc-price-row {
    border-radius: 0;
    padding: 10px 14px;
}

.bid-figure-modal .figure-desc {
    margin: 18px 0 12px;
    padding: 14px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    background: #fafafa;
    color: #444444;
    text-align: left;
    text-transform: none;
}

.bid-figure-modal .figure-desc p {
    margin: 0;
    line-height: 1.6;
}

.bid-figure-modal .payment-method {
    max-width: none;
    width: 100%;
}

.bid-figure-modal .fbid-actions {
    gap: 10px;
}

.bid-figure-modal .fbid-actions button,
.bid-figure-modal .fbid-actions input {
    min-height: 42px;
    border-radius: 7px;
}

.bid-figure-modal .fbid-actions input {
    width: 100%;
    padding: 9px 12px;
}

@media (max-width: 650px) {
    .figure-modal {
        align-items: flex-start;
        justify-content: flex-start;
        overflow-x: hidden;
        overflow-y: auto;
        padding: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .shop-figure-modal .figure-cont,
    .bid-figure-modal .figure-cont {
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
        overflow-y: visible !important;
    }

    .bid-figure-modal {
        padding: 8px;
    }

    .bid-figure-modal .figure-cont {
        width: 100%;
        max-width: 100%;
        padding: 16px 14px 18px;
        margin: 0 auto 10px;
    }

    .bid-figure-modal .img-price {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 0;
    }

    .bid-figure-modal .FigureImg {
        width: 100%;
        max-width: 240px;
        height: 200px;
        flex: none;
        aspect-ratio: auto;
        margin: 0 auto;
    }

    .bid-figure-modal .price-cat,
    .bid-figure-modal .fbid-holder,
    .bid-figure-modal .fbid-timer {
        text-align: center;
        width: 100%;
    }

    .bid-figure-modal .price-cat h3 {
        margin: 8px auto 6px;
        font-size: 17px;
    }

    .bid-figure-modal .price-cat h4 {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .bid-figure-modal .price-cat h3,
    .bid-figure-modal .fbid-status {
        margin-left: auto;
        margin-right: auto;
    }

    .bid-figure-modal .fbid-tiers,
    .bid-figure-modal .inc-price-block {
        margin-top: 12px !important;
        width: 100%;
    }

    .bid-figure-modal .tier,
    .bid-figure-modal .inc-price-row {
        padding: 8px 10px;
    }

    .bid-figure-modal .figure-desc {
        margin: 10px 0 8px;
        padding: 10px;
        font-size: 11px;
    }

    .bid-figure-modal .figure-desc p {
        font-size: 11px;
        line-height: 1.5;
    }

    .bid-figure-modal .payment-method {
        margin: 8px 0;
    }

    .bid-figure-modal .payment-method label,
    .bid-figure-modal .payment-method select {
        font-size: 12px;
    }

    .bid-figure-modal .fbid-actions {
        flex-direction: column;
        gap: 8px;
    }

    .bid-figure-modal .fbid-actions button,
    .bid-figure-modal .fbid-actions input {
        min-height: 38px;
        font-size: 11px;
    }
}

.shop-figure-modal {
    background: rgba(17, 18, 22, 0.68);
    padding: 18px;
    backdrop-filter: blur(5px);
}

.shop-figure-modal .figure-cont {
    width: min(860px, 96vw);
    max-height: 88vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr);
    gap: 0;
    padding: 0;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(199, 50, 50, 0.16);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.shop-figure-modal .close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eeeeee;
    border-radius: 50%;
    background: #ffffff;
    color: #555555;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.shop-figure-modal .close:hover {
    background: #C73232;
    color: #ffffff;
    transform: rotate(90deg);
}

.shop-figure-modal .img-price {
    display: contents;
    padding: 0;
}

.shop-figure-modal .FigureImg {
    grid-row: 1 / 4;
    width: 100%;
    height: 100%;
    min-height: 430px;
    border: none;
    background: linear-gradient(145deg, #fafafa 0%, #eeeeee 100%);
    padding: 28px;
}

.shop-figure-modal .FigureImg > img,
.shop-figure-modal .FigureImg .media-slide-track > img,
.shop-figure-modal .FigureImg .media-slide-track > video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background: #ffffff;
}

.shop-figure-modal .price-cat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    min-height: 430px;
    padding: 54px 48px 24px;
    font-family: "Poppins", sans-serif;
}

.shop-figure-modal .modal-category {
    width: fit-content;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff0f0;
    color: #C73232;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.shop-figure-modal .price-cat h3 {
    background: transparent;
    color: #1f1f1f;
    padding: 0;
    margin: 0 0 10px;
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.08;
    letter-spacing: 0;
}

.shop-figure-modal .price-cat h4 {
    color: #777777;
    margin: 0 0 22px;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    text-transform: uppercase;
}

.shop-figure-modal .price-cat h2 {
    margin: 0;
    color: #C73232;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1;
    font-weight: 800;
}

.shop-figure-modal .figure-desc {
    grid-column: 2;
    margin: 0 48px;
    padding-top: 22px;
    border-top: 1px solid #eeeeee;
    color: #555555;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
    text-transform: none;
}

.shop-figure-modal .modal-cart {
    grid-column: 2;
    align-items: stretch;
    padding: 22px 48px 48px;
}

.shop-figure-modal .modal-cart button {
    width: 100%;
    min-height: 48px;
    border-radius: 6px;
    background: #E84545;
    box-shadow: 0 12px 24px rgba(232, 69, 69, 0.24);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.shop-figure-modal .modal-cart button:hover {
    background: #C73232;
    box-shadow: 0 14px 26px rgba(199, 50, 50, 0.28);
    transform: translateY(-2px);
}

@media (max-width: 650px) {
    .tier-price {
        font-size: 10px;
    }

    .shop-figure-modal {
        padding: 8px;
    }

    .shop-figure-modal .figure-cont {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        margin: 0 auto 10px;
    }

    .shop-figure-modal .close {
        top: 10px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 23px;
    }

    .shop-figure-modal .FigureImg {
        grid-row: auto;
        width: 100%;
        min-height: 0;
        max-height: none;
        height: 200px;
        padding: 12px;
    }

    .shop-figure-modal .price-cat {
        min-height: auto;
        align-items: center;
        text-align: center;
        padding: 14px 18px 10px;
    }

    .shop-figure-modal .modal-category {
        margin-left: auto;
        margin-right: auto;
    }

    .shop-figure-modal .price-cat h3 {
        font-size: 20px;
        text-align: center;
    }

    .shop-figure-modal .price-cat h4 {
        margin-bottom: 10px;
        font-size: 11px;
        text-align: center;
    }

    .shop-figure-modal .price-cat h2 {
        font-size: 24px;
    }

    .shop-figure-modal .figure-desc {
        grid-column: 1;
        margin: 0 18px;
        padding-top: 10px;
        font-size: 11px;
        line-height: 1.5;
    }

    .shop-figure-modal .modal-cart {
        grid-column: 1;
        padding: 12px 18px 16px;
    }

    .shop-figure-modal .modal-cart button {
        min-height: 40px;
        font-size: 13px;
    }
}

@keyframes pop {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width:650px) {
    .figure-modal:not(.shop-figure-modal):not(.bid-figure-modal) .figure-cont {
        display: flex;
        flex-wrap: wrap;
        width: min(100%, 340px);
        max-height: none;
        overflow: visible;
        padding: 20px 12px;
    }
    .figure-modal:not(.shop-figure-modal):not(.bid-figure-modal) .FigureImg {
    --media-slide-gap: 10px;
    width: 100%;
    max-width: 200px;
    height: 180px;
    margin: 0 auto;
    }
    .media-slide-btn {
    width: 24px;
    height: 32px;
    font-size: 19px;
    }
    .media-slide-prev {
    left: 4px;
    }
    .media-slide-next {
    right: 4px;
    }
    .price-cat h3 {
    font-size: 10px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    }
    .price-cat h4 {
    font-size: 8px;
    margin-bottom: 8px;
    }
    .price-cat h2 {
    font-size: 15px;
    letter-spacing: 1px;
    }
    .figure-desc {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 10px;
    font-family: sans-serif;
    padding: 5px;
    }
    .modal-cart button {
    border: none;
    border-radius: 2px;
    background-color: #E84545;
    cursor: pointer;
    color: white;
    padding: 5px 15px;
    font-size: 10px;
    font-weight: bolder;
}
}

@media (max-width: 899px) {
    .fall,
    .fbid {
        flex: 0 1 calc(50% - 10px);
        width: calc(50% - 10px);
        max-width: none;
    }
}
@media (max-width: 520px) {
    .fsuggestion-cont,
    .bid-container,
    .all-figure {
        gap: 10px;
        padding: 12px 10px;
    }
    .fall,
    .fbid {
        flex: 0 1 calc(50% - 6px);
        width: calc(50% - 6px);
    }
    .fall img,
    .fbid img {
        height: clamp(120px, 34vw, 170px);
        padding: 8px;
    }
    .fall p,
    .fbid-name {
        font-size: 11px !important;
    }
    .fall-desciption,
    .fbid-series {
        font-size: 9px;
    }
    .cart p {
        font-size: 12px;
    }
}
@media (min-width: 900px) {
    .fall,
    .fbid {
        flex: 0 1 260px;
        width: 260px;
    }
}

/* category-nav */
.shop-nav {
    display: flex;
    flex-wrap: wrap;
    position: fixed;
    top: 70px;
    width: 100%;
    background-color: #EEEEEE;
    padding: 10px;
    gap: 10px;
    margin-bottom: 20px;
    border: solid 1px #888888;
    z-index: 10;
}
.shop-nav select {
    padding: 5px;
    border: none;
    color: #888888;
    width: 100%;
    outline: none;
    font-size: 10px;
    
}
 
/* ── Cart Items List ── */
.cart-section {
    padding: 120px 16px 20px;
    margin-bottom: 55px;
}

.cart-section h1 {
    color: #C73232;
}

.cart-layout {
    display: flex;
    align-items: center;
    gap: 1em;
    margin-top: 20px;
    padding: 30px;
}

.cart-items {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
 
.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ffffff;
    border: 2px solid #EEEEEE;
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
 
.cart-item:hover {
    border-color: #E84545;
    transform: translateY(-2px);
}
 
.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    flex-shrink: 0;
}
 
.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 13px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
 
.cart-item-desc {
    font-size: 11px;
    color: #888888;
    margin-bottom: 6px;
    text-transform: uppercase;
}
 
.cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #E84545;
}
 
.cart-remove-btn {
    background: none;
    border: none;
    color: #CCCCCC;
    font-size: 16px;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}
 
.cart-remove-btn:hover {
    color: #E84545;
    background-color: #fff0f0;
}
 
/* ── Order Summary ── */
.cart-summary {
    width: 300px;
    background: #ffffff;
    border: 2px solid #EEEEEE;
    border-radius: 10px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 110px;
}
 
.summary-title {
    font-size: 14px;
    font-weight: 700;
    color: #C73232;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}
 
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #555555;
}
 
.summary-divider {
    height: 1.5px;
    background-color: #EEEEEE;
    width: 100%;
}
 
.summary-total {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
}

.payment-method {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.payment-method label {
    font-size: 12px;
    font-weight: 700;
    color: #555555;
}

.payment-method select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #dddddd;
    border-radius: 7px;
    background: #ffffff;
    color: #333333;
    font-size: 13px;
    outline: none;
}

.bid-payment-method {
    max-width: 320px;
    margin: 8px auto 12px;
}

.cart-payment-qr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    background: #FAFAFA;
}

.cart-payment-qr-btn {
    width: 82px;
    height: 82px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 82px;
}

.cart-payment-qr-btn:focus-visible {
    outline: 2px solid #E84545;
    outline-offset: 3px;
    border-radius: 6px;
}

.cart-payment-qr img {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border: 1px solid #EEEEEE;
    border-radius: 6px;
    background: #FFFFFF;
}

.cart-payment-qr span {
    font-size: 12px;
    font-weight: 800;
    color: #1A1A1A;
}

.cart-payment-proof {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.cart-payment-proof span {
    font-size: 12px;
    font-weight: 700;
    color: #555555;
}

.cart-payment-proof input {
    width: 100%;
    padding: 8px;
    border: 1px solid #DDDDDD;
    border-radius: 7px;
    background: #FFFFFF;
    color: #333333;
    font-size: 12px;
}

.cart-qr-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1000;
}

.cart-qr-modal.open {
    display: flex;
}

.cart-qr-modal-content {
    position: relative;
    width: min(620px, 100%);
    padding: 28px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    text-align: center;
    animation: popup 0.25s ease;
}

.cart-qr-modal-content h3 {
    margin-bottom: 14px;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 800;
}

.cart-qr-modal-content img {
    display: block;
    width: min(520px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 auto;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    background: #FFFFFF;
}

.cart-qr-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #333333;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.cart-qr-close:hover {
    color: #E84545;
}
 
.checkout-btn {
    width: 100%;
    padding: 12px;
    background-color: #E84545;
    color: #ffffff;
    border: none;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    margin-top: 4px;
}
 
.checkout-btn:hover {
    background-color: #C73232;
    transform: translateY(-1px);
}
 
.checkout-btn:active {
    transform: translateY(0);
}
 
.continue-link {
    text-align: center;
    font-size: 12px;
    color: #888888;
    text-decoration: none;
    transition: color 0.2s;
}
 
.continue-link:hover {
    color: #E84545;
}
 
/* ── Cart Responsive ── */
@media (max-width: 650px) {
    .cart-section {
        padding: 130px 16px 20px;
    }
 
    .cart-title {
        font-size: 20px;
    }
 
    .cart-layout {
        padding: 0;
        flex-direction: column;
    }
 
    .cart-summary {
        width: 100%;
        position: static;
    }
 
    .cart-item img {
        width: 50px;
        height: 50px;
    }
 
    .cart-item-name {
        font-size: 11px;
    }
 
    .cart-item-price {
        font-size: 12px;
    }
}
 
/* ── INCREMENT PAGE ─────────────────────────────────────── */
.increment-page {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px clamp(16px, 4vw, 32px);
}
.increment-page h1 {
    color: #C73232;
    margin-top: 100px;
    margin-bottom: 24px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: 0.06em;
}
 
.increment-desc {
    font-size: 13px;
    color: #555555;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}
 
.increment-desc strong {
    color: #E84545;
}
 
/* Status badge */
.fbid-status {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
 
.status-open {
    background-color: #e8f5e9;
    color: #2e7d32;
}
 
.status-claimed {
    background-color: #fff3e0;
    color: #e65100;
}
 
.status-sold {
    background-color: #eeeeee;
    color: #888888;
}
 
/* Holder name row */
.fbid-holder {
    font-size: 10px !important;
    color: #888888;
    margin-bottom: 10px !important;
    text-align: center;
}
 
/* STEAL button */
.steal-btn {
    flex: 1;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 700;
    background-color: #e65100;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    letter-spacing: 0.5px;
}
 
.steal-btn:hover {
    background-color: #bf360c;
    transform: translateY(-1px);
}
 
/* Disabled state for sold-out cards */
.fbid-actions-disabled button {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
} 
 
/* ══════════════════════════════════════════════════════════
   INCREMENT — How It Works + Auction Cards
   ══════════════════════════════════════════════════════════ */
 
.increment-page h1 { color: #C73232; }
 
.how-it-works-inc {
    background-color: #1A1A1A;
}
 
.inc-rules-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}
 
.inc-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background-color: #2a2a2a;
    border-radius: 8px;
    padding: 12px 16px;
}
 
.inc-rule-num {
    background-color: #E84545;
    color: white;
    font-size: 13px;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
 
.inc-rule-head {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    font-family: 'Poppins', sans-serif;
}
 
.inc-rule-body {
    font-size: 11px;
    color: #aaaaaa;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}
 
.inc-rule-body strong { color: #E84545; }
 
.inc-min-badge {
    text-align: center;
    font-size: 12px;
    color: #aaaaaa;
    font-family: 'Poppins', sans-serif;
}
 
.inc-min-badge strong {
    color: #E84545;
    font-size: 14px;
}
 
/* Increment card price block */
.inc-price-block {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1.5px solid #EEEEEE;
}
 
.inc-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background-color: #f9f9f9;
}
 
.inc-current {
    background-color: #fff0f0;
}
 
.inc-price-label {
    font-size: 9px;
    font-weight: 700;
    color: #888888;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
 
.inc-price-start {
    font-size: 12px;
    font-weight: 600;
    color: #888888;
    text-decoration: line-through;
}
 
.inc-price-now {
    font-size: 16px;
    font-weight: 800;
    color: #E84545;
}
 
.fbid-timer {
    font-size: 10px !important;
    color: #C73232;
    font-weight: 600;
    margin-bottom: 8px !important;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}
 
.inc-timer-ended { 
    color: #888888; }
 
.inc-bid-btn {
    width: 100% !important;
    background-color: #E84545 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}
 
.inc-bid-btn:hover {
    background-color: #C73232 !important;
    transform: translateY(-1px);
}

.figure-cont .inc-price-block {
    margin-top: 20px;
}
@media (max-width: 650px) {
    .inc-price-label {
        font-size: 7px;
    }
    .inc-price-start {
        font-size: 8px;
    }
    .inc-price-now {
        font-size: 8px;
    }
    .hiw-cards { 
        flex-direction: column; 
        align-items: stretch; 
}
    .hiw-arrow { 
        transform: rotate(90deg); 
        text-align: center; 
}
    .hiw-card  { 
        max-width: 100%; 
}
}

/* ME PAGE */

.me-page {
    font-family: 'Poppins', sans-serif;
    padding: 130px clamp(14px, 4vw, 28px) 60px;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* ── Profile Card ─────────────────────────────────────── */
.me-profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: clamp(18px, 3vw, 24px) clamp(16px, 4vw, 28px);
    border: 2px solid #EEEEEE;
    flex-wrap: wrap;
    position: relative;
}

.me-avatar {
    width: 80px;
    height: 80px;
    background-color: #fff0f0;
    border-radius: 50%;
    border: 3px solid #E84545;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.me-avatar img {
    width: 46px;
    opacity: 0.7;
}

.me-profile-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 220px;
}

.me-username {
    font-size: 20px;
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: 0.5px;
}

.me-email,
.me-phone,
.me-joined {
    font-size: 12px;
    color: #888888;
}

.me-address-row {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 2px;
}

.me-address-icon { font-size: 12px; color: #E84545; }

.me-address-text {
    font-size: 12px;
    color: #555555;
    overflow-wrap: anywhere;
}

.me-edit-btn {
    padding: 8px 16px;
    background-color: #1A1A1A;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
}

.me-edit-btn:hover {
    background-color: #E84545;
    transform: translateY(-1px);
}

/* Edit and Logout Buttons Container */
.log-edit {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: auto;
    padding-top: 10px;
    justify-content: flex-end;
}

/* Logout Button */
.me-logout-btn {
    padding: 8px 16px;
    background-color: #E84545;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
    text-decoration: none;
    display: inline-block;
}

.me-logout-btn:hover {
    background-color: #C73232;
    transform: translateY(-1px);
}

.infoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.infoModal.open {
    display: flex;
}

.infoModal.setup-required {
    background: rgba(0,0,0,0.62);
}

.infomod-cont {
    position: relative;
    background-color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation: popup 0.3s ease;
    width: min(600px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    line-height: 1;
}
.close:hover { color: #E84545; }

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
}
.profile-info h3 {
    color: #C73232;
}
.profile-setup-note {
    width: min(100%, 360px);
    margin: -2px 0 4px;
    color: #555;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}
.profile-info input {
    width: min(100%, 360px);
    border-radius: 5px;
    padding: 10px;
    font-size: 12px;
    border: none;
    box-shadow: 1px 1px 0.5px 2px #AAAAAA;
    outline: none;
}
.profile-info input:focus {
    border: solid 1px;
    border-color: #C73232;
}
.address{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: min(100%, 360px);
}

.fname,
.lname,
.contact,
.city,
.brgy,
.postalcode,
.house-no {
    width: min(100%, 360px);
}
.profile-info .save-btn {
    margin-top: 5px;
    background-color: #1A1A1A;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.15s;
}
.profile-info .save-btn:hover {
    background-color: #E84545;
    transform: translateY(-1px);
}
/* ── Stats Row ────────────────────────────────────────── */
.me-stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.me-stat {
    min-width: 0;
    background: #ffffff;
    border: 2px solid #EEEEEE;
    border-radius: 10px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    transition: border-color 0.2s;
}

.me-stat:hover { border-color: #E84545; }

.me-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #E84545;
    line-height: 1;
}

.me-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: #888888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

/* ── Main Grid ────────────────────────────────────────── */
.me-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.me-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Section Card ─────────────────────────────────────── */
.me-section {
    background: white;
    border: 2px solid #EEEEEE;
    border-radius: 12px;
    padding: clamp(14px, 3vw, 18px) clamp(14px, 3vw, 20px);
    min-width: 0;
}

.me-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.me-section-header h2 {
    font-size: 13px;
    font-weight: 800;
    color: #C73232;
    letter-spacing: 1.5px;
}

.me-see-all {
    font-size: 11px;
    color: #E84545;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.me-see-all:hover { color: #C73232; text-decoration: underline; }

/* ── Bid / Claim Items */
.me-bid-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #EEEEEE;
}

.me-bid-item:last-child { border-bottom: none; }

.me-bid-img-placeholder {
    width: 52px;
    height: 52px;
    background-color: #fff0f0;
    border-radius: 8px;
    border: 1.5px solid #EEEEEE;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.me-bid-img-placeholder img {
    width: 36px;
    object-fit: contain;
}

.me-bid-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.me-bid-name {
    font-size: 11px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
}

.me-bid-series {
    font-size: 10px;
    color: #888888;
    overflow-wrap: anywhere;
}

.me-claim-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    width: fit-content;
}

.badge-dibs       { background-color: #e8f5e9; color: #2e7d32; }
.badge-steal      { background-color: #fce4ec; color: #c62828; }
.badge-buyout     { background-color: #e3f2fd; color: #0d47a1; }
.badge-leading    { background-color: #fff9c4; color: #f57f17; }
.badge-outbid     { background-color: #ffebee; color: #c62828; }
.badge-outbid-steal { background-color: #ffcdd2; color: #b71c1c; font-weight: 800; }
.badge-outbid-buyout { background-color: #e1f5fe; color: #01579b; }
.badge-outbid-increment { background-color: #ffebee; color: #d32f2f; }

.me-bid-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex: 0 1 42%;
    min-width: 120px;
}

.me-bid-timer {
    font-size: 10px;
    font-weight: 700;
    color: #C73232;
}

.me-bid-note {
    font-size: 9px;
    color: #888888;
    text-align: right;
    overflow-wrap: anywhere;
}

/* ── Shipment Tracker */
.me-shipment-group {
    margin: 12px 0;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    background: #FFFFFF;
    overflow: hidden;
}

.me-shipment-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #EEEEEE;
    background: #FAFAFA;
}

.me-shipment-group-head h3 {
    margin: 0 0 3px;
    font-size: 12px;
    font-weight: 800;
    color: #1A1A1A;
}

.me-shipment-group-head p {
    margin: 0;
    font-size: 9px;
    font-weight: 600;
    color: #888888;
}

.me-shipment-group-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    text-align: right;
    flex-shrink: 0;
}

.me-shipment-group-total span {
    font-size: 9px;
    font-weight: 700;
    color: #666666;
}

.me-shipment-group-total strong {
    font-size: 11px;
    font-weight: 800;
    color: #C73232;
}

.me-ship-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    border-bottom: 1px solid #EEEEEE;
}

.me-ship-item:last-child { border-bottom: none; }

.me-ship-item > img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    background-color: #fff0f0;
    border-radius: 8px;
    border: 1.5px solid #EEEEEE;
    padding: 4px;
    flex-shrink: 0;
}

.me-ship-details { flex: 1; }
.me-ship-details { min-width: 0; }

.me-payment-qr {
    width: 112px;
    flex: 0 0 112px;
    margin: 0;
    padding: 7px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    background: #FFFFFF;
    text-align: center;
}

.me-payment-qr img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 4px;
}

.me-payment-qr-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.me-payment-qr-btn:focus-visible {
    outline: 2px solid #E84545;
    outline-offset: 3px;
    border-radius: 4px;
}

.me-payment-qr figcaption {
    margin-top: 5px;
    font-size: 9px;
    font-weight: 700;
    color: #1A1A1A;
}

.me-qr-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1000;
}

.me-qr-modal.open {
    display: flex;
}

.me-qr-modal-content {
    position: relative;
    width: min(500px, 100%);
    padding: 28px;
    border-radius: 10px;
    background: #FFFFFF;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    text-align: center;
    animation: popup 0.25s ease;
}

.me-qr-modal-content h3 {
    margin-bottom: 14px;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 800;
}

.me-qr-modal-content > img {
    display: block;
    width: min(520px, 100%);
    aspect-ratio: 1 / 1;
    object-fit: contain;
    margin: 0 auto 16px;
    border: 1px solid #EEEEEE;
    border-radius: 8px;
    background: #FFFFFF;
}

.me-qr-close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #333333;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.me-qr-close:hover {
    color: #E84545;
}

.me-switch-payment-btn,
.me-payment-submit-btn {
    width: 100%;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.me-switch-payment-btn {
    margin-bottom: 14px;
    padding: 9px 12px;
    background: #1A1A1A;
    color: #FFFFFF;
}

.me-switch-payment-btn:hover {
    background: #333333;
    transform: translateY(-1px);
}

.me-payment-proof {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.me-payment-proof span {
    font-size: 11px;
    font-weight: 700;
    color: #666666;
}

.me-payment-proof input {
    width: 100%;
    padding: 8px;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    background: #FAFAFA;
    font-size: 12px;
}

.me-payment-submit-btn {
    margin-top: 12px;
    padding: 10px 12px;
    background: #28a745;
    color: #FFFFFF;
}

.me-payment-submit-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

.me-switch-payment-btn:disabled,
.me-payment-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

.me-payment-proof-status {
    min-height: 14px;
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #666666;
    text-align: center;
}

.me-payment-proof-status.success {
    color: #2e7d32;
}

.me-payment-proof-status.error {
    color: #C73232;
}

.me-ship-name {
    font-size: 11px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 2px;
    overflow-wrap: anywhere;
}

.me-ship-sub {
    font-size: 10px;
    color: #888888;
    margin-bottom: 10px;
}

.me-ship-price {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    margin: 4px 0 10px;
    font-size: 9px;
    color: #666666;
    min-width: 0;
}

.me-ship-price strong {
    color: #C73232;
    font-size: 10px;
}

/* Track steps */
.me-ship-track {
    display: flex;
    align-items: center;
    gap: 0;
}

.me-track-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #CCCCCC;
    gap: 3px;
    flex-shrink: 0;
}

.me-track-step span {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #CCCCCC;
}

.me-track-step.done { color: #2e7d32; }
.me-track-step.done span { color: #2e7d32; }
.me-track-step.active { color: #E84545; }
.me-track-step.active span { color: #E84545; font-weight: 800; }

.me-track-line {
    flex: 1;
    height: 2px;
    background-color: #EEEEEE;
    margin-bottom: 12px;
    min-width: 14px;
}

.me-track-line.done   { background-color: #2e7d32; }
.me-track-line.active { background-color: #E84545; }

/* ── Wishlist */
.me-wishlist-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.me-wish-item {
    flex: 1;
    min-width: 80px;
    max-width: 160px;
    background-color: #f9f9f9;
    border: 1.5px solid #EEEEEE;
    border-radius: 8px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
    cursor: pointer;
}

.me-wish-item:hover {
    border-color: #E84545;
    transform: translateY(-2px);
}

.me-wish-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.me-wish-item p {
    font-size: 9px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 0.3px;
    overflow-wrap: anywhere;
}

.me-wish-item span {
    font-size: 10px;
    font-weight: 700;
    color: #E84545;
}

/* ── History Table  */
.me-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.me-history-table-wrap {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #E84545 #f5f5f5;
}

/* Custom scrollbar for me-history-table-wrap */
.me-history-table-wrap::-webkit-scrollbar {
    width: 2px;
}

.me-history-table-wrap::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 3px;
}

.me-history-table-wrap::-webkit-scrollbar-thumb {
    background: #E84545;
    border-radius: 3px;
}

.me-tab {
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 2px solid #EEEEEE;
    border-radius: 20px;
    background: #ffffff;
    color: #888888;
    cursor: pointer;
    transition: all 0.2s;
}

.me-tab:hover { border-color: #E84545; color: #E84545; }

.me-tab.active-tab {
    background-color: #E84545;
    border-color: #E84545;
    color: #ffffff;
}

.me-history-table {
    min-width: 640px;
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.me-history-table thead tr {
    background-color: #1A1A1A;
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 5;
}

.me-history-table th {
    padding: 10px 14px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: left;
    white-space: nowrap;
    background-color: #1A1A1A;
    position: sticky;
    top: 0;
    z-index: 6;
}

.me-history-table td {
    padding: 10px 14px;
    color: #333333;
    border-bottom: 1px solid #EEEEEE;
    white-space: nowrap;
}

.me-history-table tbody tr:nth-child(even) {
    background-color: #fff5f5;
}

.me-history-table tbody tr:hover {
    background-color: #fff0f0;
}

/* Status badges */
.me-status-badge {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.s-delivered { background-color: #e8f5e9; color: #2e7d32; }
.s-shipped   { background-color: #e3f2fd; color: #0d47a1; }
.s-paid      { background-color: #fff9c4; color: #f57f17; }
.s-pending   { background-color: #fff3e0; color: #e65100; }
.s-cancelled { background-color: #eeeeee; color: #888888; }

/* ── Responsive */
@media (max-width: 650px) {
    .me-grid {
        grid-template-columns: 1fr;
    }

    .me-profile-card {
        align-items: flex-start;
    }

    .log-edit {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .me-edit-btn,
    .me-logout-btn {
        min-width: 130px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .me-page {
        padding-top: 112px;
        gap: 16px;
    }

    .me-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .me-stat {
        min-width: 0;
    }

    .me-stat-num { font-size: 20px; }

    .me-section-header {
        align-items: flex-start;
        gap: 10px;
    }

    .me-ship-item {
        display: grid;
        grid-template-columns: 52px minmax(0, 1fr);
        align-items: start;
        gap: 12px;
    }

    .me-payment-qr {
        grid-column: 2;
        width: min(180px, 100%);
        max-width: 100%;
        margin-left: 0;
        justify-self: start;
    }
}

@media (max-width: 480px) {
    .me-page { padding: 104px 12px 40px; }

    .me-profile-card {
        gap: 14px;
    }

    .me-avatar {
        width: 64px;
        height: 64px;
    }

    .me-avatar img {
        width: 36px;
    }

    .me-profile-info {
        min-width: 0;
        width: 100%;
    }

    .me-username {
        font-size: 18px;
        overflow-wrap: anywhere;
    }

    .log-edit,
    .me-edit-btn,
    .me-logout-btn {
        width: 100%;
    }

    .me-edit-btn,
    .me-logout-btn {
        text-align: center;
    }

    .me-stat { min-width: 0; padding: 12px 6px; }

    .me-section-header {
        flex-direction: column;
        margin-bottom: 12px;
    }

    .me-section-header h2 {
        font-size: 12px;
    }

    .me-shipment-group-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .me-shipment-group-total {
        align-items: flex-start;
        text-align: left;
    }

    .me-bid-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .me-bid-details {
        min-width: 0;
    }

    .me-bid-right {
        align-items: flex-start;
        width: 100%;
        padding-left: 64px;
        min-width: 0;
        flex-basis: 100%;
    }

    .me-bid-note {
        text-align: left;
    }

    .me-bid-right .buyout-btn,
    .me-bid-right .win-btn {
        width: fit-content;
        max-width: 100%;
        white-space: normal;
    }

    .me-payment-qr {
        width: min(160px, 100%);
        flex-basis: auto;
        margin-left: 0;
    }

    .me-ship-item {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 10px;
    }

    .me-ship-item > img {
        width: 48px;
        height: 48px;
    }

    .me-ship-details {
        max-width: 100%;
    }

    .me-ship-track {
        align-items: flex-start;
        gap: 4px;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .me-track-step span {
        white-space: nowrap;
    }

    .me-track-line {
        min-width: 18px;
        margin-top: 5px;
        margin-bottom: 0;
    }

    .me-wishlist-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .me-wish-item {
        max-width: none;
        min-width: 0;
    }

    .infomod-cont {
        width: calc(100% - 20px);
    }

    .profile-info {
        padding: 18px 14px;
    }

    .me-qr-modal-content {
        padding: 20px 14px;
    }
}

@media (max-width: 360px) {
    .me-stats-row {
        grid-template-columns: 1fr;
    }

    .me-stat {
        width: 100%;
    }

    .me-bid-right,
    .me-payment-qr {
        padding-left: 0;
        margin-left: 0;
    }
}
