* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;  
}

body {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('background.jpg') no-repeat;
    background-size: cover;
    background-position: center;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99;
}

.logo {
    font-size: 2em;
    color: #fff;
    user-select: none;
    width: 332px;
    height: 65px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.navigation {
    width: 680px;
    height: 65px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    position: relative;
}

.navigation::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid rgba(225, 225, 225, .5);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5); 
    border-radius: 20px;
    z-index: -1;
}

.navigation a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.1em;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
}

/* icon inside navigation links */
.navigation a ion-icon {
    font-size: 1.3em;
    line-height: 1;
}

.navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.navigation a:hover:after {
    transform: scaleX(1);
}

.navigation .btnLogin-popup {
    width: 130px;
    height: 45px;
    background: transparent;
    border: 2px solid #fff;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1em;
    color: #fff;
    font-weight: 500;
    margin-left: 40px;
    transition: .5s;
}

.navigation .btnLogin-popup:hover {
    background: #fff;
    color: #162938;
}

/* NAVIGATION DROPDOWN ("MORE") */

#moreBtn {
    position: relative;
}

#moreMenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
}

/* MORE WRAPPER */
.more-wrapper {
    position: relative;
}

/* MORE DROPDOWN — SAME GLASS AS NAVIGATION */
.nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 180px;
    padding: 12px 0;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nav-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.navigation:has(#moreBtn) .nav-menu {
    left: calc(
        50% + 40px
    );
    transform: translateX(-50%);
}

.nav-menu a {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: auto;
    text-align: center;
    color: #fff;
    font-size: 1.05em;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    transform-origin: right;
    transform: scaleX(0);
    transition: transform .5s;
}

.nav-menu a:hover::after {
    transform-origin: right;
    transform: scaleX(1);
}

/* WRAPPER */
.wrapper {
    position: relative;
    width: 400px;
    height: 385px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transform: scale(0);
    transition: transform .5s ease, height .2s ease;
}

.wrapper.active-popup {
    transform: scale(1);
}

.wrapper.active {
    height: 455px;
}

.wrapper .form-box-scroll::-webkit-scrollbar {
    width: 4px;
}

.wrapper .form-box-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.wrapper .form-box-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(22, 41, 56, 0.85);
    border-radius: 10px;
}

.wrapper .form-box-scroll::-webkit-scrollbar-button {
    display: none;
}

.wrapper .form-box {
    width: 100%;
    padding: 40px;
}

.wrapper .form-box.login {
    transition: transform .18s ease;
}

.wrapper.active .form-box.login {
    transition: none;   
    transform: translateX(-400px);
}

.wrapper .form-box.register {
    position: absolute;
    transition: none;
    transform: translateX(400px);
}

.wrapper.active .form-box.register {
    transition: transform .18s ease;
    transform: translateX(0);
}

.icon-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #162938;
    font-size: 2em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 2;
}

/* WRAPPER SALE */

.wrapper-sale {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 1000px;
    height: 385px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: stretch; /* ← REQUIRED */
    transition: transform .5s ease;
    z-index: 1000;
}

.wrapper-sale .store-content-box {
    width: 100%;
    height: 100%;
    padding: 40px;
    box-sizing: border-box;
}

.products-holder {
    margin-top: 20px;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.store-content-box h2 {
    font-size: 2em;
    color: #162938;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0;
}

.products-type {
    display: block;
    width: fit-content;
    font-size: 19px;
    font-weight: 700;
    margin-top: 55px;
    text-align: center;
}

.sale-product-box {
    position: relative;
    width: 170px;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0px;
    height: auto;
    background: #c6c7c6;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex; 
    flex-direction: column;  
    align-items: center;     
    gap: 15px;              
    justify-content: flex-start;
    text-align: center;
}

.products-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.store-img {
    display: block;
    height: 120px;
    width: 110px;
    margin-left: 16%;
    margin-right: 16%;
    margin-top: 10px;
    border: 1px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    cursor: pointer;
}

.store-img-t2 {
    display: block;
    height: 105px;
    width: 115px;
    margin-left: 14%;
    margin-right: 14%;
    margin-top: 10px;
    border: 1px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    cursor: pointer;
}

#imageViewer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    overflow: hidden; /* needed for panning */
}

#imageViewer.active {
    opacity: 1;
    pointer-events: auto;
}

/* Only the image has the zoom cursor */
#imageViewerImg {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.2s ease;
    cursor: zoom-in;
    transform-origin: center center;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0,0,0,.8);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.image-viewer-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #162938;
    color: #fff;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    cursor: pointer;
    z-index: 15002;
}

/* OVERLAY */
.checkout-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9000;
    pointer-events: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkout-modal.show {
    opacity: 1;
    visibility: visible;
}

/* BOX */
.checkout-box {
    background: linear-gradient(145deg, #c6c7c6);
    padding: 25px 25px;
    width: 380px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.6);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.35s ease;
}

/* Smooth entrance */
.checkout-modal.show .checkout-box {
    transform: translateY(0) scale(1);
}

/* Title */
.checkout-box h2 {
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Product info */
.checkout-box p {
    margin: 8px 0;
    font-size: 15px;
}

/* Inputs */
.checkout-box input {
    width: 100%;
    padding: 10px 12px;
    margin: 8px 0;
    border-radius: 8px;
    border: 1px solid #cfd8e3;
    outline: none;
    font-size: 14px;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.checkout-box input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74,144,226,0.2);
}

/* Buttons */
.cancel-confirm {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* Confirm */
#confirmCheckoutBtn {
    background: #1e5ed8;
    color: white;
}

#confirmCheckoutBtn:hover {
    background: #174bb0;
}

/* Cancel */
#cancelCheckoutBtn {
    background: #e0e3e8;
}

#cancelCheckoutBtn:hover {
    background: #cfd4db;
}

.discount-message {
    font-size: 14px;
    min-height: 18px; /* prevents layout jumping */
    font-weight: 500;
}
.checkout-input-box {
    position: relative;
    width: 45%; /* 55% shorter */
    margin-top: 10px;
}

.checkout-input-box label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    transition: .3s;
}

.checkout-input-box input:focus ~ label,
.checkout-input-box input:valid ~ label {
    top: -5px;
    font-size: .8em;
}
.checkout-input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}

.checkout-input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.checkout-input-box input:focus ~ label,
.checkout-input-box input:not(:placeholder-shown) ~ label {
    top: -5px;
    font-size: .8em;
}

.checkout-input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

#promoCodeInput {
    outline: none;
}

#promoCodeInput:focus {
    outline: none;
    box-shadow: none;
}

.discount-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    margin-bottom: -18px;
}

.buyBtn {
    display: block;
    width: 145px;
    height: 45px;
    background: #0045bc;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(225, 225, 225, .5);
    border-radius: 13px;
    margin-bottom: 10px;
    cursor: pointer;
    margin-left: 7%;
    margin-right: 7%;
}

.buyBtn:hover {
    background: #002a73;
}

.reserved-state {
    background-color: #0b2a5b;   /* dark blue */
    color: white;
    cursor: not-allowed;
    opacity: 1;
}
  
.reserved-state:hover {
    background-color: #0b2a5b;  /* prevent hover change */
}

.product-name {
    font-weight: 600;
    margin-top: -10px;
    font-size: 15.5px;
}

.product-price {
    font-weight: 600;
    margin-top: -10px;
    font-size: 15.5px;
}

.more-info-product {
    color: #005fff;
    font-size: 14px;
}

.more-info-product:hover {
    color: #0042b5;
}

.sale-timer {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
}

.sale-info-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 385px;
    padding: 30px 32px;
    background: #c6c7c6;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: block;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .4s ease;
    z-index: 12000;
    pointer-events: auto;
    overflow: hidden;
}

.sale-info-wrapper.active {
    transform: translate(-50%, -50%) scale(1);
}


.sale-info-wrapper h2 {
    font-size: 2em;
    color: #162938;
    text-align: center;
    margin-bottom: 0;
}

.icon-close ion-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 45px;
    background: #162938;
    font-size: 2em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 20px;
    cursor: pointer;
    z-index: 2;
}

.sale-info-wrapper p {
    display: block;
    margin-bottom: 14px;
}

.sale-info-wrapper span:not(.profile-info-cat) {
    display: block;
    font-weight: 400;
    color: #162938;
    line-height: 1.5;
}

.sale-info-wrapper .profile-info-cat {
    display: block;
    font-weight: 600;
    color: #162938;
    margin-bottom: 4px;
}

/* SCROLLBAR */

.form-box-scroll {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 36px;   /* creates space on the right */
    margin-right: -30px;   /* pulls content back → scrollbar moves right */
}

/* Thin scrollbar (Chrome, Edge, Safari) */
.form-box-scroll::-webkit-scrollbar {
    width: 4px;
}

.form-box-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.form-box-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(22, 41, 56, 0.85);
    border-radius: 10px;
}

/* Firefox */
.form-box-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 41, 56, 0.85) transparent;
}

/* SCREEN DARK OVERLAY */
#screenOverlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 9000;
        pointer-events: auto;
    
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;    
}

/* visible state */
#screenOverlay.active {
    opacity: 1;
    visibility: visible;
}

/* FILTERS WRAPPER */   
.filters-wrapper {
    margin-left: 40px;
    margin-right: 40px;
    position: relative;
    display: inline-block;
}

/* FILTERS BOX (clickable) */
.filters-box {
    height: 35px;
    width: auto;
    margin-right: 20px;
    padding: 15px;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    margin-top: 20px;
    background: #e0e3e2;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
}

.filter {
    height: 25px;
    width: auto;
    cursor: pointer;
    user-select: none;
    background: #c4c6c5;
    border: 1px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    display: inline-flex;
    justify-content: center;
}

.dropdown-sign {
    font-size: 17px;
}

/* FILTERS DROPDOWN — SAME STYLE AS MORE MENU */
.filters-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 180px;
    padding: 12px 0;
    background: #e0e3e2;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    z-index: 5000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ACTIVE STATE */
.filters-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* FILTER ITEMS */
.filters-menu span {
    color: #162938;
    font-size: 1.05em;
    font-weight: 500;
    cursor: pointer;
}


/* WRAPPER SALE SCROLL */

.wrapper-sale .store-content-box {
    max-height: 325px;
    overflow-y: scroll;   /* ← FORCE scrollbar */
    overflow-x: hidden;

    padding-right: 36px;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-right: 10px;
}

/* Chrome / Edge / Safari */
.wrapper-sale .store-content-box::-webkit-scrollbar {
    width: 4px;
}

.wrapper-sale .store-content-box::-webkit-scrollbar-track {
    background: transparent;
}

.wrapper-sale .store-content-box::-webkit-scrollbar-thumb {
    background-color: rgba(22, 41, 56, 0.85);
    border-radius: 10px;
}

/* Firefox */
.wrapper-sale .store-content-box {
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 41, 56, 0.85) transparent;
}

/* WRAPPER HOME */
.wrapper-home {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 400px;
    height: 385px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform .5s ease;
    z-index: 1000;
}

.seasons-serials-img {
    margin-left: 4%;
    margin-right: 4%;
    width: 300px;
    height: 250px;
    align-items: center;
    border-radius: 6px;
}


.our-frase {
    color: #162938;
    font-size: 24px;
    font-weight: 700;
    align-content: center;
    justify-content: center;
}

.wrapper-home.active-popup {
    transform: translate(-50%, -50%) scale(1);
}

.wrapper-home .form-box-scroll::-webkit-scrollbar {
    width: 4px;
}

.wrapper-home .form-box-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.wrapper-home .form-box-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(22, 41, 56, 0.85);
    border-radius: 10px;
}

.wrapper-home .form-box-scroll::-webkit-scrollbar-button {
    display: none;
}

.wrapper-home .form-box {
    width: 100%;
    padding: 40px;
}

/* WRAPPER PAYMENTS */
.wrapper-payments {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 400px;
    height: 385px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform .5s ease;
    z-index: 1000;
}

.wrapper-payments.active-popup {
    transform: translate(-50%, -50%) scale(1);
}

/* WRAPPER EVENTS */
.wrapper-events {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 400px;
    height: 385px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform .5s ease;
    z-index: 1000;
}

.wrapper-events.active-popup {
    transform: translate(-50%, -50%) scale(1);
}

/* WRAPPER TICKETS */
.wrapper-tickets {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 400px;
    height: 385px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform .5s ease;
    z-index: 1000;
}

.wrapper-tickets.active-popup {
    transform: translate(-50%, -50%) scale(1);
}

.wrapper-payments p,
.wrapper-tickets p {
    text-align: center;
}

.wrapper-payments img,
.wrapper-tickets img {
    width: 190px;
    height: 150px;
    display: block;
    margin: 20px auto 0;
    margin-top: -25px;
}

.no-payment-yet-text {
    color: #0266bf;
    margin-top: -10px;
    font-weight: 600;
}

/* WRAPPER DISCOUNTS */
.wrapper-discounts {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 400px;
    height: 385px;
    background: transparent;
    border: 2px solid rgba(225, 225, 225, .5);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform .5s ease;
    z-index: 1000;
}

.wrapper-discounts.active-popup {
    transform: translate(-50%, -50%) scale(1);
}

/* DISCOUNTS – align values to the right */
.wrapper-discounts .profile-info p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrapper-discounts .discount-info {
    text-align: right;
    font-weight: 400;
    color: #162938;
}

/* EVENTS – align values to the right */
.wrapper-events .profile-info p {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wrapper-events .discount-info {
    text-align: right;
    font-weight: 400;
    color: #162938;
}

.form-box h2 {
    font-size: 2em;
    color: #162938;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
}

.input-box {
    position: relative;
    width: 100%;
    height: 50px;
    border-bottom: 2px solid #162938;
    margin: 30px 0;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: #162938;
    font-weight: 500;
    pointer-events: none;
    transition: .5s;
}

.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}

.input-box input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #162938;
    font-weight: 600;
    padding: 0 35px 0 5px;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    font-size: 1.2em;
    color: #162938;
    line-height: 57px;
}

.remember-forgot {
    font-size: .9em;
    color: #162938;
    font-weight: 500;
    margin: -15px 0 15px;
    display: flex;
    justify-content: space-between;   
}

.remember-forgot label input {
    accent-color: #162938;
    margin-right: 3px;
}

.remember-forgot a {
    color: #162938;
    text-decoration: none;
}

.remember-forgot a:hover {
    text-decoration: underline;
}

.btn {
    width: 100%;
    height: 45px;
    background: #162938;
    border: none;
    outline: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    color: #fff;
    font-weight: 500;
}

.login-register {
    font-size: .9em;
    color: #162938;
    text-align: center;
    font-weight: 500;
    margin: 25px 0 10px;
}

.login-register p a {
    color: #162938;
    text-decoration: none;
    font-weight: 600;
}

.login-register p a:hover {
    text-decoration: underline;
}

.invalid {
    color:red; 
    font-weight: 500; 
    margin-top:10px;
}

/* MY PPROFILE INFO CATEGORIES (PROTECTED PAGES) */ 

.profile-info {
    margin-top: 20px;
    margin-bottom: 35px;
}

.profile-info-cat {
    color: #162938;
    font-size: 17px;
    font-weight: 600;
}

.profile-info-data {
    color: #162938;
    font-size: 16px;
    font-weight: 400;
}

.payments-notice {
    display: flex;
    justify-content: center;
    text-align: center;
    color: #162938;
    font-size: 16px;
    font-weight: 400;
}

.contacts-link {
    color: #005fff;
}

/* ONLY MARGARYTA */

.M-margaryta {
    height: 65px;
    width: 65px;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
}

.page-margaryta .wrapper {
    overflow: hidden;
}

.page-margaryta .form-box {
    width: 100%;
    height: 100%;
    padding: 0 40px 40px;
    box-sizing: border-box;
}

/* title positioning */
.page-margaryta .form-box h2 {
    margin-top: 40px;     /* ← moves "My profile" UP */
    margin-bottom: 20px;
    text-align: center;
}

/* SCROLLBAR */

   .page-margaryta .form-box-scroll {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 36px;   /* creates space on the right */
    margin-right: -30px;   /* pulls content back → scrollbar moves right */
}

/* Thin scrollbar (Chrome, Edge, Safari) */
.page-margaryta .form-box-scroll::-webkit-scrollbar {
    width: 4px;
}

.page-margaryta .form-box-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.page-margaryta .form-box-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(22, 41, 56, 0.85);
    border-radius: 10px;
}

/* Firefox */
.page-margaryta .form-box-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(22, 41, 56, 0.85) transparent;
}


.wrapper-admin-products{
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%) scale(0);

    width:600px;
    height:420px;

    background:transparent;
    border:2px solid rgba(225,225,225,.5);
    border-radius:20px;
    backdrop-filter: blur(20px);

    box-shadow:0 0 30px rgba(0,0,0,.5);

    display:flex;
    justify-content:center;
    align-items:center;

    overflow:hidden;

    transition: transform .5s ease;
    z-index:1000;
}

.wrapper-admin-products.active-popup{
    transform: translate(-50%,-50%) scale(1);
}

.wrapper-admin-products .form-box{
    width:100%;
    padding:30px;
}

.admin-products-list{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.admin-products-scroll{
    max-height:320px;
    overflow-y:auto;
    overflow-x:hidden;

    padding-right:36px;
    margin-right:-30px;
}

.admin-products-scroll::-webkit-scrollbar{
    width:4px;
}

.admin-products-scroll::-webkit-scrollbar-track{
    background:transparent;
}

.admin-products-scroll::-webkit-scrollbar-thumb{
    background-color:rgba(22,41,56,0.85);
    border-radius:10px;
}
