/* ============================================
   PREMIUM ANIMATED SALE BANNER - SPRING VERSION
   Add this to shared.css
   ============================================ */

/* ===== BANNER WRAPPER ===== */
.sale-banner-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 10px;
    overflow: visible;
}

/* ===== HANGING STRINGS - Spring Vines ===== */
.sale-banner-wrapper::before,
.sale-banner-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 4px;
    height: 35px;
    background: linear-gradient(180deg, #2D5A3D, #4ADE80, #2D5A3D);
    border-radius: 2px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    animation: stringSwing 4s ease-in-out infinite;
    transform-origin: top center;
}

/* First visit - strings drop in */
.sale-banner-wrapper.first-visit::before,
.sale-banner-wrapper.first-visit::after {
    animation: stringDrop 0.6s ease forwards, stringSwing 4s ease-in-out 0.8s infinite;
}

@keyframes stringDrop {
    0% { height: 0; opacity: 0; }
    100% { height: 35px; opacity: 1; }
}

.sale-banner-wrapper::before {
    left: 20%;
}

.sale-banner-wrapper::after {
    right: 20%;
}

@keyframes stringSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

/* String knots - Spring Flowers */
.string-knot {
    position: absolute;
    top: 32px;
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #F472B6, #EC4899);
    border-radius: 50%;
    z-index: 11;
    box-shadow: 0 3px 8px rgba(244, 114, 182, 0.4);
    animation: knotSwing 4s ease-in-out infinite;
}

/* First visit - knots appear after drop */
.sale-banner-wrapper.first-visit .string-knot {
    opacity: 0;
    animation: knotAppear 0.3s ease 0.5s forwards, knotSwing 4s ease-in-out 1s infinite;
}

@keyframes knotAppear {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.string-knot.left {
    left: calc(20% - 5px);
    transform-origin: top center;
}

.string-knot.right {
    right: calc(20% - 5px);
    transform-origin: top center;
}

@keyframes knotSwing {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
}

/* ===== SALE BANNER - SPRING CHERRY BLOSSOM ===== */
.sale-banner {
    background: linear-gradient(135deg, #831843 0%, #BE185D 50%, #831843 100%);
    background-size: 200% 200%;
    animation: bannerGradient 8s ease infinite;
    padding: 18px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 3px solid #F472B6;
    border-radius: 14px;
    box-shadow:
        0 10px 35px rgba(0,0,0,0.5),
        inset 0 2px 0 rgba(255,255,255,0.1);
    margin: 0 40px;
    transform-origin: top center;
}

/* First visit - play drop animation */
.sale-banner.first-visit {
    animation:
        bannerGradient 8s ease infinite,
        bannerDropAndSwing 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards,
        bannerGentleSwing 4s ease-in-out 2.5s infinite;
}

/* Returning visit - just gentle swing, no drop */
.sale-banner:not(.first-visit) {
    animation:
        bannerGradient 8s ease infinite,
        bannerGentleSwing 4s ease-in-out infinite;
}

/* Drop down and swing back and forth */
@keyframes bannerDropAndSwing {
    0% {
        transform: translateY(-150px) rotate(0deg);
        opacity: 0;
    }
    15% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translateY(0) rotate(2.5deg);
    }
    35% {
        transform: translateY(0) rotate(-2deg);
    }
    45% {
        transform: translateY(0) rotate(1.5deg);
    }
    55% {
        transform: translateY(0) rotate(-1deg);
    }
    65% {
        transform: translateY(0) rotate(0.8deg);
    }
    75% {
        transform: translateY(0) rotate(-0.5deg);
    }
    85% {
        transform: translateY(0) rotate(0.3deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

@keyframes bannerGentleSwing {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
}

@keyframes bannerGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Shine sweep */
.sale-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: bannerShine 4s ease-in-out infinite;
}

/* First visit - delay shine until drop animation finishes */
.sale-banner.first-visit::before {
    animation-delay: 2.5s;
}

@keyframes bannerShine {
    0% { left: -100%; }
    50%, 100% { left: 150%; }
}

/* Decorative inner border */
.sale-banner::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 10px;
    pointer-events: none;
}

/* ===== CHERRY BLOSSOM PETALS (replaces snowflakes) ===== */
.sale-banner .snowflake,
.sale-banner .petal {
    position: absolute;
    color: #FFB7C5;
    font-size: 14px;
    opacity: 0;
    animation: petalFall 4s linear infinite;
    pointer-events: none;
}

.sale-banner .snowflake:nth-child(1),
.sale-banner .petal:nth-child(1) { left: 3%; animation-duration: 4s; animation-delay: 0.2s; }
.sale-banner .snowflake:nth-child(2),
.sale-banner .petal:nth-child(2) { left: 12%; animation-duration: 5s; animation-delay: 0.5s; }
.sale-banner .snowflake:nth-child(3),
.sale-banner .petal:nth-child(3) { left: 22%; animation-duration: 4.5s; animation-delay: 0.8s; }
.sale-banner .snowflake:nth-child(4),
.sale-banner .petal:nth-child(4) { left: 78%; animation-duration: 5.5s; animation-delay: 1s; }
.sale-banner .snowflake:nth-child(5),
.sale-banner .petal:nth-child(5) { left: 88%; animation-duration: 4s; animation-delay: 1.3s; }
.sale-banner .snowflake:nth-child(6),
.sale-banner .petal:nth-child(6) { left: 97%; animation-duration: 5s; animation-delay: 0.1s; }

/* First visit - delay petals until drop animation finishes */
.sale-banner.first-visit .snowflake:nth-child(1),
.sale-banner.first-visit .petal:nth-child(1) { animation-delay: 2.7s; }
.sale-banner.first-visit .snowflake:nth-child(2),
.sale-banner.first-visit .petal:nth-child(2) { animation-delay: 3s; }
.sale-banner.first-visit .snowflake:nth-child(3),
.sale-banner.first-visit .petal:nth-child(3) { animation-delay: 3.3s; }
.sale-banner.first-visit .snowflake:nth-child(4),
.sale-banner.first-visit .petal:nth-child(4) { animation-delay: 3.5s; }
.sale-banner.first-visit .snowflake:nth-child(5),
.sale-banner.first-visit .petal:nth-child(5) { animation-delay: 3.8s; }
.sale-banner.first-visit .snowflake:nth-child(6),
.sale-banner.first-visit .petal:nth-child(6) { animation-delay: 2.6s; }

@keyframes petalFall {
    0% { transform: translateY(-15px) rotate(0deg); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { transform: translateY(80px) rotate(360deg); opacity: 0; }
}

/* ===== BANNER ICONS ===== */
.sale-banner__icon {
    font-size: 2em;
    animation: iconBounce 2s ease-in-out infinite;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
}

/* First visit - delay icons until drop animation finishes */
.sale-banner.first-visit .sale-banner__icon {
    animation-delay: 2.5s;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.15); }
}

/* ===== MAIN SALE TEXT ===== */
.sale-banner__text {
    font-weight: 800;
    font-size: 1.6em;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
    position: relative;
}

/* Glowing percentage - Spring Gold/Pink */
.sale-banner__percent {
    color: #FDF2F8;
    font-size: 1.3em;
    font-weight: 900;
    text-shadow:
        0 0 12px #F9A8D4,
        0 0 25px #F9A8D4,
        0 0 40px rgba(249, 168, 212, 0.6);
    animation: glowPulse 2s ease-in-out infinite;
}

/* First visit - delay glow until drop animation finishes */
.sale-banner.first-visit .sale-banner__percent {
    animation-delay: 2.5s;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow:
            0 0 15px #F9A8D4,
            0 0 30px #F9A8D4,
            0 0 45px rgba(249, 168, 212, 0.6);
    }
    50% {
        text-shadow:
            0 0 20px #F9A8D4,
            0 0 40px #F9A8D4,
            0 0 60px rgba(249, 168, 212, 0.9);
    }
}

/* ===== PROMO CODE ===== */
.sale-banner__code-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sale-banner__code-label {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
    font-weight: 500;
}

.sale-banner__code {
    background: linear-gradient(135deg, #EC4899, #BE185D);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 800;
    font-size: 1.2em;
    letter-spacing: 3px;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: codePulse 3s ease-in-out infinite;
    animation-delay: 3.5s;
    box-shadow: 0 5px 18px rgba(236, 72, 153, 0.5);
}

@keyframes codePulse {
    0%, 100% {
        box-shadow: 0 5px 18px rgba(236, 72, 153, 0.5);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 5px 28px rgba(236, 72, 153, 0.7), 0 0 40px rgba(236, 72, 153, 0.3);
        transform: scale(1.02);
    }
}

.sale-banner__code:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 30px rgba(236, 72, 153, 0.8) !important;
    border-color: rgba(255,255,255,0.5);
}

/* ===== COPIED STATE - GREEN ===== */
.sale-banner__code.copied {
    background: linear-gradient(135deg, #059669, #047857) !important;
    border-color: #34D399 !important;
    box-shadow: 0 5px 25px rgba(52, 211, 153, 0.6) !important;
    animation: none !important;
    transform: scale(1.03);
}

/* Tooltip */
.sale-banner__code::after {
    content: '📋 Click to copy!';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.9);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.55em;
    font-family: inherit;
    letter-spacing: 0;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.sale-banner__code:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

.sale-banner__code.copied::after {
    content: '✓ Copied!';
    background: #059669;
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
    .sale-banner-wrapper {
        padding-top: 20px;
    }

    .sale-banner-wrapper::before,
    .sale-banner-wrapper::after {
        height: 25px;
    }

    .string-knot {
        top: 22px;
        width: 10px;
        height: 10px;
    }

    .sale-banner {
        flex-wrap: wrap;
        padding: 18px 24px;
        gap: 12px;
        margin: 0 10px;
    }

    .sale-banner__text {
        font-size: 1.3em;
        letter-spacing: 2px;
    }

    .sale-banner__percent {
        font-size: 1.2em;
    }

    .sale-banner__code {
        font-size: 1.1em;
        padding: 10px 18px;
        letter-spacing: 2px;
    }

    .sale-banner__code-label {
        font-size: 1em;
    }

    .sale-banner__icon {
        font-size: 1.8em;
    }
}

@media (max-width: 600px) {
    .sale-banner__code-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sale-banner__text {
        font-size: 1.1em;
        text-align: center;
        width: 100%;
    }

    .sale-banner__icon {
        display: none;
    }
}

/* ============================================
   END SALE BANNER STYLES
   ============================================ */

.mb-12{
    margin-bottom: 12px;
}

.footer-content{
    display: flex;
}

.footer-right{
    margin-left: auto;
}

.desc-block{
    background-color: #72cef440 !important;
    border-radius: 14px !important;
    border: 3px solid #72cef4 !important;
    padding: 24px !important;
    color: #fdf2f8 !important;
    margin-bottom: 32px;
}

.copy-button{
    padding: 12px;
    display: flex;
    border-radius: 14px;
}

.basket-info{
    display: flex;
    align-items: center;
    padding: 24px;
    gap: 12px;
}

.basket-items{
    text-align: right;
}

.copy-icon{
    background-color: #72cef440 !important;
    border: 2px solid #72cef4;
    color: #fff !important;
    height: 58px !important;
    width: 58px !important;
    line-height: 58px !important;
    font-size: 24px !important;
    text-align: center !important;
    border-radius: 29px !important;
}

.store-footer{
    padding: 24px 0px;
}

.toolbar{
    display: flex;
    align-items: center;
}

.toolbar-right{
    margin-left: auto;
}

.user-info{
    display: flex;
    align-items: center;
    height: auto;
    gap: 12px;
}

.user-username{
    color: #fdf2f8;
    font-weight: 700;
    font-size: 16px;
}

.user-basket-amount{
    font-weight: 400;
    font-size: 14px;
    color: #fdf2f8;
    background-color: #72cef4;
    padding: 2px 6px;
    text-align: center;
    border-radius: 4px;
    width: fit-content !important;
}

.greeting-title{
    color: #72cef4;
    font-size: 18px;
    font-weight: 700;
}

.store-icon{
    background-color: #72cef4;
    color: #fff;
    border-radius: 14px;
    height: 64px;
    width: 64px;
    line-height: 64px;
    font-size: 32px;
    text-align: center;
}

.user-info-right{
    margin-left: auto;
}

.login-button{
    height: 64px;
    line-height: 58px;
    padding: 0px 48px !important;
}

.basket-button{
    height: 64px;
    width: 64px;
    line-height: 58px;
    padding: 0px !important;
    font-size: 32px !important;
}

.logout-link{
    color: #a8d7f9;
    margin-left: 8px;
    transition: 0.2s;
}

.logout-link:hover{
    color: #fb923c;
    transition: 0.2s;
}

.delete-link{
    color: #4894ec;
    margin-left: 8px;
    transition: 0.2s;
}
.branding{
    color: #a8d7f9 !important;
    font-size: 12px;
}
.branding:hover{
    color: #a8d7f9 !important;
    text-decoration: underline;
}
.delete-link:hover{
    color: #fb923c;
    transition: 0.2s;
}

.basket-button-amount{
    background-color: #fdf2f8;
    color: #72cef4;
    font-size: 12px;
    font-weight: 700;
    height: 20px;
    position: absolute;
    margin-left: 50px;
    z-index: 100;
    margin-top: -6px;
    text-align: center;
    line-height: 20px;
    width: 20px;
    border-radius: 10px;
}

@media (width > 970px) {
  .basket-user-information {
    margin-right: 42px;
  }
}

@media (width > 900px) {
  .only-phone {
    display: none;
  }
}

@media (width < 900px) {
  .only-desk {
    display: none;
  }

.toolbar-right{
    margin-left: 0px;
    width: 100%;
}
.user-info-right{
    margin-left: auto;
}
.login-right{
    margin-left: auto;
}
}

.user-avatar{
    height: 64px;
    width: 64px;
    background-color: #0f172a;
    padding: 5px 6px 0px 6px;
    overflow: hidden;
    border-radius: 14px;
}

.user-avatar img{
    display: block;
    max-width: -webkit-fill-available;
}

.navbar-link{
    display: flex !important;
    background-color: #1e293b;
    border-radius: 14px;
    padding: 0px 12px !important;
    transition: 0.2s;
    margin-bottom: 4px;
    height: 64px;
    align-items: center;
    gap: 8px;
}

.navbar-link:hover{
    transition: 0.2s;
    background-color: #0f172a;
}

.navbar-name{
    color: #fdf2f8;
    font-weight: 700;
    font-size: 16px;
    transition: 0.2s;
}

.navbar-link:hover .navbar-name{
    transition: 0.2s;
    transform: translateX(5px);
}

.navbar-img img{
    max-width: 48px;
}

.navbar-active{
    transition: 0.2s;
    background-color: #0f172a;
}

.block-navbar{
    border-radius: 14px !important;
    border-bottom: 6px solid #334155 !important;
    padding: 24px !important;
}

.block{
    background-color: #1e293b !important;
    border-radius: 14px !important;
    border-bottom: 6px solid #334155 !important;
    padding: 24px !important;
}

.button{
    border-radius: 14px !important;
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
    padding: 12px 24px;
}

.button-gift{
    color: #fdf2f8 !important;
    background: none !important;
    transition: 0.2s;
    font-size: 24px;
    padding: 0px 12px;
}

.button-gift:hover{
    color: #72cef4 !important;
    transition: 0.2s;
}

.button:hover{
    transform: scale(1.05);
    transition: 0.2s;
    color: #fdf2f8 !important;
}

.button:active{
    transform: scale(0.9);
    color: #fdf2f8 !important;
    transition: 0.1s;
}

.button-primary{
    background-color: #72cef4 !important;
    color: #fdf2f8;
    border-bottom: 6px solid #4894ec !important;
}

.button-success{
    background-color: #4ade80 !important;
    color: #fdf2f8;
    border-bottom: 6px solid #22c55e !important;
}

.button-danger{
    background-color: #fb923c !important;
    color: #fdf2f8;
    border-bottom: 6px solid #f97316 !important;
}

.package-name{
    color: #fdf2f8;
    font-weight: 700;
    font-size: 14px;
}

.package-price{
    color: #a8d7f9;
    font-weight: 400;
    font-size: 14px;
}

.package-discount{
    color: #fb923c;
    margin-right: 8px;
    font-weight: 400;
    font-size: 14px;
}

.package-countdown{
    color: #fb923c !important;
    font-weight: 400 !important;
    font-size: 14px !important;
}

.package-tag{
    border-radius: 8px !important;
    padding-left: 12px;
    padding-right: 12px;
    height: 38px !important;
    line-height: 35px;
    width: fit-content;
    background-color: #fb923c;
    border-bottom: 4px solid #f97316;
    color: #fdf2f8;
    font-weight: 700;
    font-size: 14px;
    margin-left: -8px;
    margin-top: -12px;
    position: absolute;
    z-index: 100;
}

.widget-header{
    border-radius: 8px !important;
    padding-left: 18px;
    padding-right: 18px;
    height: 38px !important;
    margin: auto;
    margin-top: -36px;
    margin-bottom: 12px;
    line-height: 35px;
    width: fit-content;
    background-color: #72cef4;
    border-bottom: 4px solid #4894ec;
    color: #fdf2f8;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    z-index: 100;
}

.widget-header-featured{
    border-radius: 8px !important;
    padding-left: 18px;
    padding-right: 18px;
    height: 38px !important;
    margin: auto;
    margin-top: -36px;
    margin-bottom: 12px;
    line-height: 35px;
    width: fit-content;
    background-color: #fb923c;
    border-bottom: 4px solid #f97316;
    color: #fdf2f8;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    z-index: 100;
}

.widget-warning{
    border-radius: 8px;
    text-align: center;
    color: #fdf2f8;
    padding: 8px 12px;
    background-color: #fb923c40;
    border: 2px solid #fb923c;
}

.giftcard-warning{
    margin-top: 12px;
    border-radius: 8px;
    text-align: center;
    color: #fdf2f8;
    padding: 8px 12px;
    background-color: #fb923c40;
    border: 2px solid #fb923c;
}

.giftcard-success{
    margin-top: 12px;
    border-radius: 8px;
    text-align: center;
    color: #fdf2f8;
    padding: 8px 12px;
    background-color: #4ade8040;
    border: 2px solid #4ade80;
}

.recent-payment{
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.payment-avatar{
    border-radius: 14px;
    padding-top: 7px;
    padding-left: 6px;
    padding-right: 6px;
    background-color: #334155;
    overflow: hidden;
    height: 48px;
    width: 48px;
}

.payment-details{
    display: flex;
    flex-direction: column;
    vertical-align: center;
    border-radius: 14px;
    padding: 5px 12px;
    background-color: #0f172a;
    height: 48px;
    width: 100% !important;
}

.payment-package{
    border-radius: 4px;
    background-color: #72cef440;
    padding: 1px 6px;
    color: #fdf2f8;
    font-size: 10px;
    font-weight: 400;
    width: fit-content !important;
}

.payment-name{
    color: #fdf2f8;
    font-weight: 600;
    font-size: 12px;
}

.category-link{
    background-color: #72cef4 !important;
    border-bottom: 6px solid #4894ec !important;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px !important;
}

.home-category-img{
    background-color: #4894ec;
    border-radius: 8px;
    height: 64px;
    width: 64px;
}

.home-category-img img{
    display: block;
    margin: auto;
    max-width: 64px;
}

.mt-12{
    margin-top: 12px;
}

.mb-32{
    margin-bottom: 32px;
}

.il{
    margin-right: 8px;
}

.ir{
    margin-left: 8px;
}

.w-100{
    width: 100% !important;
}

.title{
    color: #fdf2f8 !important;
}

:root {
  --color-text: #a8d7f9;
  --color-text-darker: #e5e5e5;
  --color-text-secondary: #ccc;
  --color-text-dark: #0D0D0D;
  --color-bg: #0f172a;
  --color-brighter-bg: #0D0D0D;
  --color-primary: #72cef4;
  --color-primary-hover: #fff;
  --color-primary-text: var(--color-text-dark);
  --color-primary-text-hover: var(--color-primary-text);
  --color-secondary: #ccc;
  --color-secondary-hover: #e5e5e5;
  --color-secondary-text: var(--color-text-dark);
  --color-secondary-text-hover: var(--color-secondary-text);
  --color-tertiary: transparent;
  --color-tertiary-hover: rgb(255 255 255 / 15%);
  --color-tertiary-text: var(--color-text);
  --color-tertiary-text-hover: var(--color-tertiary-text);
  --color-removed: #C12E2E;
  --color-sale-banner-bg: var(--color-primary);
  --color-sale-banner-text: var(--color-primary-text);
  --tebex-footer-height: 35px;
  --widget-padding: 24px;
  --content-padding: var(--widget-padding);
  --content-inner-width: 1180px;
  --content-width: calc((var(--content-padding) * 2) + var(--content-inner-width));
  --sidebar-width: 287px;
  --tebex-legal-footer-max-width: min(
    var(--content-inner-width),
    calc(100vw - (var(--content-padding) * 2))
  );
  --tebex-legal-footer-background-color: var(--color-brighter-bg);
  --tebex-legal-footer-border-color: var(--color-brighter-bg);
  --tebex-legal-footer-text-color: var(--color-text-secondary);
}
@media (width > 960px) {
  :root {
    --content-padding: calc(var(--widget-padding) * 2);
  }
}
@media (max-width: 900px) {
  :root {
    --tebex-footer-height: 70px;
  }
}
@media (max-width: 600px) {
  :root {
    --tebex-footer-height: 80px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  vertical-align: baseline;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

strong,
b {
  font-weight: 700;
  color: #fdf2f8;
}

em,
i {
  font-style: italic;
}

input[type=submit],
button {
  appearance: none;
  cursor: pointer;
  text-align: left;
}

textarea {
  resize: none;
}

symbol,
use,
svg {
  overflow: visible;
}

svg,
img {
  display: block;
}

li {
  display: block;
}

button {
  display: block;
}

a {
  color: #fdf2f8;
  text-decoration: none;
  transition: 0.2s;
}

a:hover{
    color: #72cef4;
  transition: 0.2s;
}

:root *[hidden] {
  display: none;
}

:focus {
  outline: 0;
}

::placeholder {
  color: inherit;
  opacity: 1;
}

@view-transition {
  navigation: auto;
}
::view-transition-group(root) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
}

@keyframes pageMoveOut {
  0% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
@keyframes pageMoveIn {
  0%, 50% {
    scale: 0.98;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
::view-transition-old(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveOut;
  transform-origin: center top;
}

::view-transition-new(siteContent) {
  animation: var(--page-transition-duration) ease both pageMoveIn;
  transform-origin: center top;
}

::view-transition-group(siteContent) {
  z-index: 2;
}

::view-transition-group(siteHeaderTop),
::view-transition-group(siteHeader),
::view-transition-group(siteNavigation),
::view-transition-group(siteBgImage),
::view-transition-group(siteFooter) {
  animation-duration: var(--page-transition-duration);
  animation-timing-function: ease;
  z-index: 3;
}

::view-transition-group(siteBgImage) {
  z-index: 1;
}

html,
body {
  min-height: 100vh;
}

html {
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) var(--color-bg);
  scrollbar-gutter: stable;
}
html.no-scroll {
  overflow: hidden;
  overscroll-behavior-y: none;
}

body {
  position: relative;
  max-width: 100%;
  width: 100%;
  line-height: normal;
  color: var(--color-text);
  background: var(--color-bg);
  accent-color: var(--color-primary);
  font-family: sans-serif;
  font-size: 16px;
}
body::before {
  view-transition-name: siteBgImage;
}

::selection {
  color: var(--color-text);
  background-color: var(--color-primary);
  text-shadow: none;
}

select option {
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

.text-content {
  line-height: 1.4;
  word-wrap: break-word;
  word-break: break-word;
}
.text-content h1:not(:last-child),
.text-content h2:not(:last-child),
.text-content h3:not(:last-child),
.text-content h4:not(:last-child),
.text-content h5:not(:last-child),
.text-content h6:not(:last-child) {
  margin-bottom: 24px;
}
.text-content p:not(:last-child) {
  margin-bottom: 12px;
}
.text-content h1 {
  font-size: 32px;
}
.text-content h2 {
  font-size: 26px;
}
.text-content h3 {
  font-size: 20px;
}
.text-content h4 {
  font-size: 18px;
}
.text-content img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.text-content ol, .text-content ul {
  margin-left: 1em;
}
.text-content ol:not(:last-child), .text-content ul:not(:last-child) {
  margin-bottom: 12px;
}
.text-content li {
  display: list-item;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  --btn-color-text: var(--color-text);
  --btn-color-text-hover: var(--btn-color-text);
  --btn-color-bg: var(--color-bg);
  --btn-color-bg-hover: var(--btn-color-bg);
  display: block;
  width: fit-content;
  height: 46px;
  padding: 0 10px;
  line-height: 46px;
  color: var(--btn-color-text);
  background-color: var(--btn-color-bg);
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (width > 960px) {
  .btn-primary,
  .btn-secondary,
  .btn-tertiary {
    padding: 0 14px;
  }
}
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-tertiary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-tertiary:hover,
.btn-tertiary:focus {
  color: var(--btn-color-text-hover);
  background-color: var(--btn-color-bg-hover);
}

.btn-primary {
  --btn-color-text: var(--color-primary-text);
  --btn-color-bg: var(--color-primary);
  --btn-color-text-hover: var(--color-primary-text-hover);
  --btn-color-bg-hover: var(--color-primary-hover);
}

.btn-secondary {
  --btn-color-text: var(--color-secondary-text);
  --btn-color-bg: var(--color-secondary);
  --btn-color-text-hover: var(--color-secondary-text-hover);
  --btn-color-bg-hover: var(--color-secondary-hover);
}

.btn-tertiary {
  --btn-color-text: var(--color-tertiary-text);
  --btn-color-bg: var(--color-tertiary);
  --btn-color-text-hover: var(--color-tertiary-text-hover);
  --btn-color-bg-hover: var(--color-tertiary-hover);
}

.btn-icon {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 18px;
}
:root .btn-icon {
  line-height: 0;
  font-size: 0;
  color: transparent;
}

.btn-icon-text {
  display: flex;
  align-items: center;
  min-width: 46px;
}
.btn-icon-text::before {
  content: "";
  display: block;
  margin-right: 8px;
  width: 18px;
  height: 18px;
  flex: none;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
@media (width <= 960px) {
  :root .btn-icon-text {
    justify-content: center;
    font-size: 0;
    color: transparent;
  }
  :root .btn-icon-text::before {
    margin-right: 0;
  }
}

.btn-glyph::before,
.btn-glyph-text::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
  background-color: var(--btn-color-text);
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  transition: background-color 0.15s ease-in-out;
}
.btn-glyph:hover::before, .btn-glyph:focus::before,
.btn-glyph-text:hover::before,
.btn-glyph-text:focus::before {
  background-color: var(--btn-color-text-hover);
}

.btn-glyph {
  position: relative;
  flex: none;
  width: 46px;
  height: 46px;
}
:root .btn-glyph {
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
}
.btn-glyph::before {
  position: absolute;
  inset: 0;
  margin: auto;
}

.btn-glyph-text {
  display: flex;
  align-items: center;
  min-width: 46px;
}
.btn-glyph-text::before {
  margin-right: 8px;
}
@media (width <= 960px) {
  :root .btn-glyph-text {
    justify-content: center;
    font-size: 0;
    color: transparent;
  }
  :root .btn-glyph-text::before {
    margin-right: 0;
  }
}

.link-text {
  color: var(--color-text-darker);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-position: under;
  transition: color 0.15s ease-in-out;
}
.link-text:hover {
  color: var(--color-text);
}

.quantity-field {
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: #fdf2f8;
  background: #4894ec;
  height: 36px;
}
.quantity-field input[type=number] {
  position: relative;
  z-index: 1;
  flex: none;
  -moz-appearance: textfield;
  appearance: textfield;
  field-sizing: content;
  min-width: 40px;
  height: 100%;
  font-size: 16px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.quantity-field input[type=number]:focus, .quantity-field input[type=number]:hover {
  border-color: var(--color-secondary-hover);
}
.quantity-field input[type=number]::-webkit-inner-spin-button, .quantity-field input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-field.with-open-basket input[type=number] {
  margin: 0 -12px 0 -15px;
  min-width: auto;
  padding: 0 15px;
  order: 1;
  text-align: right;
  transition: color 0.15s ease-in-out;
}
.quantity-field .open-basket {
  margin-right: 5px;
  width: fit-content;
  height: 100%;
  order: 2;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease-in-out;
}
.quantity-field .open-basket:focus, .quantity-field .open-basket:hover {
  color: var(--color-primary);
}
.quantity-field .open-basket:focus ~ input[type=number], .quantity-field .open-basket:hover ~ input[type=number] {
  color: var(--color-primary);
}
.quantity-field .adjust {
  position: relative;
  z-index: 2;
  flex: none;
  width: 34px;
  height: 100%;
  padding: 0;
  line-height: 0;
  font-size: 0;
  color: transparent;
  border-radius: 14px;
}
.quantity-field .adjust.decrease {
  margin-right: auto;
  order: -1;
}
.quantity-field .adjust.increase {
  margin-left: auto;
  order: 100;
}
.quantity-field .adjust::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  mask: url("https://webstore-template-assets.tebex.io/images/plus.svg") no-repeat center center;
  mask-size: 10px;
}
.quantity-field .adjust.decrease::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/minus.svg");
}

@media (width > 960px) {
  .mobile-only {
    display: none;
  }
}

@media (width <= 960px) {
  .desktop-only {
    display: none;
  }
}

.site {
  display: grid;
  grid-auto-rows: auto 1fr auto;
  grid-template-columns: 100%;
  align-items: start;
  gap: var(--widget-padding);
  min-height: calc(100vh - var(--tebex-footer-height));
  font-size: 14px;
  view-transition-name: site;
}
@media (width > 960px) {
  .site {
    gap: calc(var(--widget-padding) * 2);
  }
}
.page-index.home-categories-enabled .site {
  grid-auto-rows: auto auto 1fr auto;
}

.site-header,
.site-sale-banner,
.site-home-categories,
.site-content,
.site-footer-inner {
  margin: 0 auto;
  padding: 0 var(--content-padding);
  width: 100%;
}
@media (width > 960px) {
  .site-header,
  .site-sale-banner,
  .site-home-categories,
  .site-content,
  .site-footer-inner {
    max-width: var(--content-width);
  }
}

.site-header {
  position: relative;
  z-index: 2;
  view-transition-name: siteHeader;
}

.site-header-inner .user-name {
  contain: paint;
}
.site-header-inner .user-name .text,
.site-header-inner .user-name .text-hover {
  transition: opacity 0.15s ease-in-out, font-size 0.15s ease-in-out, visibility 0.15s ease-in-out;
}
.site-header-inner .user-name:not(:hover):not(:focus-within) .text-hover {
  visibility: hidden;
  color: transparent;
  font-size: 0;
}
.site-header-inner .user-name:hover .text, .site-header-inner .user-name:focus-within .text {
  visibility: hidden;
  opacity: 0;
  font-size: 0;
}
@media (width <= 960px) {
  .site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--widget-padding) 0;
    position: relative;
    padding: 110px 0 calc(50px - var(--widget-padding));
    flex-wrap: wrap;
  }
  .site-header-inner .actions {
    position: absolute;
    top: var(--widget-padding);
    left: 0;
    display: flex;
    gap: 6px;
  }
  .site-header-inner .toggle-navigation {
    background-image: url("https://webstore-template-assets.tebex.io/images/burger.svg");
  }
  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: absolute;
    top: var(--widget-padding);
    right: 0;
  }
  .site-header-inner .user-actions {
    display: flex;
    gap: 12px;
  }
  .site-header-inner .open-basket::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/checkout.svg");
  }
  .site-header-inner .user-name {
    display: none;
  }
  .site-header-inner .site-title {
    width: 100%;
    line-height: 80px;
    font-size: 50px;
    font-weight: 900;
    text-align: center;
  }
  .site-header-inner .site-title img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
  }
  .site-header-inner .info {
    display: block;
    position: relative;
    flex: none;
    width: 50%;
    padding-left: 50px;
    line-height: 18px;
  }
  .site-header-inner .info.discord {
    right: 0;
    left: auto;
    padding-left: 0;
    padding-right: 60px;
    text-align: right;
  }
  .site-header-inner .info .image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 32px;
    height: 32px;
    object-fit: contain;
  }
  .site-header-inner .info.discord .image {
    left: auto;
    right: 0;
  }
  .site-header-inner .info .title {
    display: block;
    line-height: 20px;
    color: var(--color-text);
    font-size: 12px;
    font-weight: 600;
  }
  .site-header-inner .info .action {
    display: block;
    color: var(--color-primary);
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
  }
  .site-header-inner .info:hover .action {
    color: var(--color-primary-hover);
  }
  .site-header-inner .info .value {
    width: fit-content;
    border: 1px solid #606060;
    padding: 0 5px;
    background: rgba(96, 96, 96, 0.5);
    color: #CCC;
    font-size: 12px;
  }
}
@media (width > 960px) {
  .site-header-inner {
    position: relative;
    height: calc(355px - var(--widget-padding) * 2);
  }
  body.is-navigation-horizontal .site-header-inner {
    height: 355px;
  }
  .site-header-inner .actions {
    position: absolute;
    top: var(--widget-padding);
    left: 0;
    display: flex;
    gap: 6px;
  }
  .site-header-inner .toggle-navigation {
    display: none;
    background-image: url("https://webstore-template-assets.tebex.io/images/burger.svg");
  }
  .site-header-inner .log-in,
  .site-header-inner .user-actions {
    position: absolute;
    top: var(--widget-padding);
    right: 0;
  }
  .site-header-inner .user-actions {
    display: flex;
    gap: var(--widget-padding);
  }
  .site-header-inner .open-basket::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/checkout.svg");
  }
  .site-header-inner .user-name {
    position: relative;
    text-align: center;
    justify-content: center;
  }
  .site-header-inner .user-name::before {
    mask-image: url("https://webstore-template-assets.tebex.io/images/user.svg");
  }
  .site-header-inner .site-title {
    position: absolute;
    inset: calc(var(--widget-padding) + 46px) 280px 0 280px;
    margin: auto;
    width: fit-content;
    height: fit-content;
    line-height: 72px;
    font-size: 60px;
    font-weight: 900;
    text-align: center;
  }
  .site-header-inner .site-title img {
    margin: 0 auto;
    max-width: 100%;
    max-height: 128px;
  }
  .site-header-inner .info {
    position: absolute;
    top: calc(var(--widget-padding) + 46px);
    left: 0;
    bottom: 0;
    margin: auto 0;
    max-width: 280px;
    width: 33.3333333333%;
    height: fit-content;
    line-height: 22px;
  }
  .site-header-inner .info.server {
    padding-left: 64px;
  }
  .site-header-inner .info.discord {
    right: 0;
    left: auto;
    padding-right: 82px;
    text-align: right;
  }
  .site-header-inner .info .image {
    position: absolute;
    top: -50px;
    left: 0;
    bottom: -50px;
    margin: auto 0;
    width: 46px;
    height: 46px;
    object-fit: contain;
  }
  .site-header-inner .info.discord .image {
    left: auto;
    right: 0;
    width: 64px;
    height: 64px;
  }
  .site-header-inner .info .title {
    display: block;
    line-height: 28px;
    color: var(--color-text);
    font-size: 18px;
    font-weight: 600;
  }
  .site-header-inner .info .action {
    display: block;
    color: var(--color-primary);
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.15s ease-in-out;
    cursor: pointer;
  }
  .site-header-inner .info:hover .action {
    color: var(--color-primary-hover);
  }
  .site-header-inner .info .value {
    width: fit-content;
    border: 1px solid #606060;
    padding: 0 6px;
    background: rgba(96, 96, 96, 0.5);
    color: #CCC;
    font-size: 16px;
  }
}

.site-sale-banner {
  margin-top: var(--widget-padding);
  margin-bottom: var(--widget-padding);
  padding: var(--widget-padding) var(--content-padding);
  color: var(--color-sale-banner-text);
  background: var(--color-sale-banner-bg);
  font-size: 21px;
  text-align: center;
}

.site-footer {
  background: #334155;
}

.site-home-categories {
  display: flex;
  flex-direction: column;
  gap: var(--widget-padding);
}
@media (width > 600px) {
  .site-home-categories {
    flex-direction: row;
    justify-content: center;
    gap: var(--widget-padding) 36px;
  }
}
.site-home-categories .category {
  display: flex;
  align-items: center;
  gap: var(--widget-padding);
  flex-basis: 100%;
  line-height: 26px;
  font-size: 24px;
  font-weight: 700;
}
@media (width <= 600px) {
  .site-home-categories .category {
    width: 100%;
  }
}
@media (width > 600px) {
  .site-home-categories .category {
    flex-direction: column;
    align-items: center;
    gap: var(--widget-padding);
    max-width: 240px;
    text-align: center;
  }
}
.site-home-categories .category img {
  max-width: 130px;
}
@media (width > 600px) {
  .site-home-categories .category img {
    margin: auto;
    max-width: 100%;
  }
}

.store-text {
  padding: var(--content-padding);
  line-height: 1.375;
  font-size: 16px;
  font-weight: 400;
}

.store-form {
  font-size: 18px;
}
.store-form h1,
.store-form h2,
.store-form h3,
.store-form h4,
.store-form h5,
.store-form h6,
.store-form p {
  margin-bottom: 24px;
}
.store-form .input-group,
.store-form .field,
.store-form .field-inline {
  margin-bottom: 24px;
}
.store-form .input-group > p,
.store-form .field > p,
.store-form .field-inline > p {
  margin-bottom: 12px;
}
.store-form .field-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 12px;
}
@media (width > 600px) {
  .store-form .field-inline {
    gap: 0 24px;
  }
}
.store-form input,
.store-form select,
.store-form textarea {
  display: block;
}
.store-form input[type=text],
.store-form input[type=password],
.store-form input[type=email],
.store-form input[type=number],
.store-form input[type=search],
.store-form input[type=url],
.store-form input[type=tel],
.store-form input[type=date],
.store-form input[type=time],
.store-form input[type=datetime-local],
.store-form input[type=file],
.store-form input[type=month],
.store-form input[type=week],
.store-form select,
.store-form textarea {
  margin-bottom: 12px;
  width: 100%;
  padding: 14px 12px;
  color: #a8d7f9;
  background: var(--color-bg);
  font-size: 14px;
    border-radius: 14px !important;
}
.popup .store-form input[type=text],
.popup .store-form input[type=password],
.popup .store-form input[type=email],
.popup .store-form input[type=number],
.popup .store-form input[type=search],
.popup .store-form input[type=url],
.popup .store-form input[type=tel],
.popup .store-form input[type=date],
.popup .store-form input[type=time],
.popup .store-form input[type=datetime-local],
.popup .store-form input[type=file],
.popup .store-form input[type=month],
.popup .store-form input[type=week],
.popup .store-form select,
.popup .store-form textarea {
  background: #0f172a;
  color: #a8d7f9;
  border-radius: 14px;
  transition: 0.2s;
}
.popup .store-form:focus input[type=text],
.popup .store-form:focus input[type=password],
.popup .store-form:focus input[type=email],
.popup .store-form:focus input[type=number],
.popup .store-form:focus input[type=search],
.popup .store-form:focus input[type=url],
.popup .store-form:focus input[type=tel],
.popup .store-form:focus input[type=date],
.popup .store-form:focus input[type=time],
.popup .store-form:focus input[type=datetime-local],
.popup .store-form:focus input[type=file],
.popup .store-form:focus input[type=month],
.popup .store-form:focus input[type=week],
.popup .store-form:focus select,
.popup .store-form:focus textarea {
  background: #0f172a;
  color: #fdf2f8;
  transition: 0.2s;
}
.popup.drawer .store-form input[type=text],
.popup.drawer .store-form input[type=password],
.popup.drawer .store-form input[type=email],
.popup.drawer .store-form input[type=number],
.popup.drawer .store-form input[type=search],
.popup.drawer .store-form input[type=url],
.popup.drawer .store-form input[type=tel],
.popup.drawer .store-form input[type=date],
.popup.drawer .store-form input[type=time],
.popup.drawer .store-form input[type=datetime-local],
.popup.drawer .store-form input[type=file],
.popup.drawer .store-form input[type=month],
.popup.drawer .store-form input[type=week],
.popup.drawer .store-form select,
.popup.drawer .store-form textarea {
  user-select: auto;
}
@media (width > 960px) {
  .store-form input[type=text],
  .store-form input[type=password],
  .store-form input[type=email],
  .store-form input[type=number],
  .store-form input[type=search],
  .store-form input[type=url],
  .store-form input[type=tel],
  .store-form input[type=date],
  .store-form input[type=time],
  .store-form input[type=datetime-local],
  .store-form input[type=file],
  .store-form input[type=month],
  .store-form input[type=week],
  .store-form select,
  .store-form textarea {
    padding: 12px;
    font-size: 16px;
  }
}
.store-form .field-inline input,
.store-form .field-inline select,
.store-form .field-inline textarea {
  width: auto;
}
.store-form .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.store-form .actions .link-text {
  align-self: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 16px;
}

@media (width <= 960px) {
  .site-content-widgets {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
}
@media (width > 960px) {
  .site-content-widgets {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    align-items: start;
    gap: 48px;
  }
  body.is-sidebar-right .site-content-widgets {
    grid-template-columns: 1fr var(--sidebar-width);
  }
  .site-content-widgets .store-sidebar {
    order: -1;
  }
  body.is-sidebar-right .site-content-widgets .store-sidebar {
    order: 1;
  }
}

.category-description {
  margin-bottom: var(--widget-padding);
  padding: var(--widget-padding);
  line-height: 1.4;
  font-size: 18px;
}

.no-products {
  padding: var(--widget-padding);
  font-size: 18px;
  text-align: center;
}

.store-products-list {
  display: flex;
  flex-direction: column;
  gap: calc(var(--widget-padding) / 2);
}

.store-products-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px 24px;
}

.store-product {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.store-product .product-title {
  font-size: 20px;
  font-weight: 600;
}
.store-product .product-title a {
  color: inherit;
  transition: color 0.15s ease-in-out;
}
.store-product .product-title a:hover {
  color: var(--color-primary);
}
.store-product .product-title .countdown {
  display: block;
  margin-top: 4px;
  color: var(--color-removed);
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
}
.store-product .product-title .countdown::before {
  content: "";
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.25em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("https://webstore-template-assets.tebex.io/images/countdown.svg") center center/contain no-repeat;
}
.store-product .image-link {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: fit-content;
}
.store-product .image-link:hover ~ .product-title a {
  color: var(--color-primary);
}
.store-product .image {
  margin: 0 auto;
  max-width: 100%;
}
.store-product .descr {
  color: var(--color-text-secondary);
}
.store-product .actions {
  display: flex;
  gap: 12px;
  position: relative;
}
.store-product .actions.updating {
  pointer-events: none;
}
.store-product .actions.updating > * {
  opacity: 0.3;
  filter: grayscale(100%);
}
.store-product .actions.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.store-product:not(.store-product-full) .actions {
  flex-wrap: wrap;
}
.store-products-images .store-product:not(.store-product-full) .actions {
  flex: 1 1 auto;
  align-content: flex-end;
}
.store-product .price {
  font-size: 14px;
}
.store-product .price .discount {
  margin-right: 1ch;
  color: var(--color-removed);
  font-weight: 400;
  text-decoration-line: line-through;
}
.store-product .price strong {
  font-size: 20px;
  font-weight: inherit;
}
.store-product:not(.store-product-full) .price {
  width: 100%;
}
.store-products-images .store-product:not(.store-product-full) .price {
  margin-bottom: auto;
}
.store-product .quantity-field {
  height: 46px;
}
.store-product .half {
  flex: 0 1 calc(50% - 6px);
}
.store-product .wide {
  flex: 1 1 auto;
}
.store-product .gift {
  flex: none;
  background-image: url("https://webstore-template-assets.tebex.io/images/gift.svg");
}
.store-product .remove {
  flex: none;
  background-image: url("https://webstore-template-assets.tebex.io/images/delete.svg");
}

.store-products-images .store-product .image-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
}
.store-products-images .store-product .descr {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.store-products-list .store-product {
  padding: calc(var(--widget-padding) * 0.75);
}
.store-products-list .store-product .image {
  width: 60px;
}
.store-products-list .store-product .actions {
  flex-wrap: nowrap;
  align-items: center;
}
.store-products-list .store-product .wide {
  flex: 0 1 auto;
}
.store-products-list .store-product .price {
  width: auto;
}
@media (width <= 600px) {
  .store-products-list .store-product .wide {
    width: 100%;
  }
}
@media (width > 600px) {
  .store-products-list .store-product {
    flex-direction: row;
    align-items: center;
    gap: 12px calc(var(--widget-padding) * 0.75);
  }
  .store-products-list .store-product .actions {
    gap: calc(var(--widget-padding) * 0.75);
  }
  .store-products-list .store-product .actions .wide {
    width: 170px;
  }
  .store-products-list .store-product .image-link {
    margin: 0;
  }
  .store-products-list .store-product .product-title {
    margin-right: auto;
  }
}

.store-product-full, .store-product-full.popup-content {
  padding-bottom: 0;
}
.store-product-full .product-title {
  grid-area: title;
  font-size: 20px;
}
@media (width > 600px) {
  .store-product-full {
    display: grid;
    grid-template: "image title" auto "image descr" 1fr "actions actions" auto/180px 1fr;
    gap: var(--widget-padding);
  }
  .store-product-full .image,
  .store-product-full .image-link {
    grid-area: image;
  }
  .store-product-full .image {
    max-width: 100%;
  }
  .store-product-full .product-title {
    grid-area: title;
  }
  .store-product-full .descr {
    grid-area: descr;
  }
  .store-product-full .actions {
    grid-area: actions;
    align-self: start;
  }
}
.store-product-full .actions {
  position: sticky !important;
  align-items: center;
  bottom: 0;
  margin: 0 calc(var(--widget-padding) * -1);
  padding: var(--widget-padding);
  background-color: #1e293b;
  backdrop-filter: blur(5px);
}
@media (width <= 600px) {
  .store-product-full .actions {
    order: 1;
  }
}
@media (width > 600px) {
  .store-product-full .actions {
    padding-left: calc(180px + var(--widget-padding) * 2);
  }
}
.store-product-full .actions .wide {
  max-width: 240px;
}
.store-product-full .price {
  margin-right: auto;
}

.store-product-options .product-title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
}
.store-product-options .actions {
  position: sticky !important;
  bottom: var(--widget-padding);
  justify-content: start;
  width: fit-content;
  max-width: 100%;
}
.store-product-options .actions.updating {
  pointer-events: none;
}
.store-product-options .actions.updating > * {
  opacity: 0.3;
  filter: grayscale(100%);
}
.store-product-options .actions.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.store-product-options .actions .btn-primary,
.store-product-options .actions .btn-secondary,
.store-product-options .actions .btn-tertiary {
  width: 230px;
}
.store-product-options .actions-multiple {
  width: auto;
}
.store-product-options .actions-multiple .btn-primary,
.store-product-options .actions-multiple .btn-secondary,
.store-product-options .actions-multiple .btn-tertiary {
  width: auto;
  flex: 1 1 auto;
}

.site-navigation {
  --fade-duration: 200ms;
  view-transition-name: siteNavigation;
}
@media (width <= 960px) {
  .site-navigation {
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 0;
    transition: display var(--fade-duration) allow-discrete, opacity var(--fade-duration) ease;
  }
  @starting-style {
    .site-navigation {
      opacity: 0;
    }
  }
  body:not(.show-navigation) .site-navigation {
    visibility: hidden;
    opacity: 0;
  }
  .site-navigation.drawer {
    user-select: none;
  }
  .site-navigation .close-navigation {
    position: absolute;
    top: 12px;
    right: 72px;
    background-image: url("https://webstore-template-assets.tebex.io/images/close.svg");
    background-size: 24px;
  }
  .site-navigation .menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    inset: 0 60px 0 0;
    padding: 72px var(--widget-padding) var(--widget-padding);
    background: #1e293b;
    line-height: 24px;
    color: var(--color-text-secondary);
    font-size: 18px;
    overflow: hidden auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-secondary) var(--color-bg);
    transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease, translate var(--fade-duration) ease;
  }
  @starting-style {
    .site-navigation .menu {
      translate: -100% 0;
    }
  }
  .site-navigation.drawer .menu::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 7px;
    bottom: 0;
    margin-block: auto;
    width: 4px;
    height: 100px;
    background: rgb(from var(--color-text-secondary) r g b/0.33);
    border-radius: 2px;
    pointer-events: none;
  }
  body:not(.show-navigation) .site-navigation .menu {
    translate: -100% 0;
  }
  .site-navigation.touching .menu {
    transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease;
  }
  body:not(.show-navigation) .site-navigation .menu {
    opacity: 0.8;
    scale: 0.95;
  }
  .site-navigation.may-close .menu {
    opacity: 0.8;
  }
  .site-navigation ul ul {
    padding-left: var(--widget-padding);
    line-height: 22px;
    font-size: 16px;
  }
  .site-navigation li {
    position: relative;
    width: 100%;
  }
  .site-navigation .log-out {
    margin-top: auto;
  }
  .site-navigation .log-out a {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .site-navigation .log-out a::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    mask: url("https://webstore-template-assets.tebex.io/images/log-out.svg") center center no-repeat;
    mask-size: contain;
  }
  .site-navigation .has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .site-navigation .has-children > a {
    flex: 1 1 auto;
  }
  .site-navigation .has-children .toggle {
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }
  .site-navigation .has-children.expanded > .toggle {
    rotate: 180deg;
  }
  .site-navigation .has-children > ul {
    width: 100%;
  }
  .site-navigation .has-children:not(.expanded) > ul {
    display: none;
  }
  .site-navigation a {
    display: block;
    padding: 11px 0;
    transition: color 0.15s ease-in-out;
  }
  .site-navigation a:hover {
    color: var(--color-primary);
  }
  .site-navigation a.active {
    color: var(--color-primary);
    font-weight: 700;
  }
  .site-navigation ul ul a {
    padding: 8px 0;
  }
}

@media (width > 960px) {
  .navigation-horizontal .close-navigation {
    display: none;
  }
  .navigation-horizontal .menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: calc(var(--widget-padding) / 2);
    line-height: 28px;
    background: var(--color-brighter-bg);
    font-size: 18px;
    font-weight: 700;
  }
  .navigation-horizontal .menu > li > a {
    padding: 14px calc(var(--widget-padding) / 2);
  }
  .navigation-horizontal .menu > li.has-children > a {
    padding-right: 0;
  }
  .navigation-horizontal ul ul {
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
  }
  .navigation-horizontal > ul > li > a {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 18ch;
  }
  .navigation-horizontal .has-children {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .navigation-horizontal .has-children .toggle {
    flex: none;
    width: 28px;
    height: 28px;
    background-color: transparent;
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }
  .navigation-horizontal .has-children:hover > .toggle {
    rotate: 180deg;
  }
  .navigation-horizontal .has-children > ul {
    position: absolute;
    top: calc(100% - var(--widget-padding) / 2);
    left: 0;
    width: max-content;
    padding: calc(var(--widget-padding) / 2) 0;
    background: rgb(from var(--color-brighter-bg) r g b/0.7);
    backdrop-filter: blur(10px);
    transition: all 0.15s ease-in-out;
  }
  .navigation-horizontal .has-children:not(:hover) > ul {
    visibility: hidden;
    opacity: 0;
    translate: 0 -10px;
  }
  .navigation-horizontal a {
    display: block;
    transition: color 0.15s ease-in-out;
  }
  .navigation-horizontal a:hover, .navigation-horizontal a.link-active {
    color: var(--color-primary);
  }
  .navigation-horizontal li li a {
    width: 100%;
    max-width: 24ch;
    padding: 4px calc(var(--widget-padding) / 2);
    transition: all 0.15s ease-in-out;
  }
  .navigation-horizontal li li a:hover, .navigation-horizontal li li a.link-active {
    color: var(--color-bg);
    background-color: var(--color-primary);
  }
}

@media (width > 960px) {
  .navigation-vertical.widget {
    padding: calc(var(--widget-padding) / 2);
  }
  .navigation-vertical .close-navigation {
    display: none;
  }
  .navigation-vertical .menu {
    line-height: 28px;
    color: var(--color-text-secondary);
    font-size: 18px;
    font-weight: 400;
  }
  .navigation-vertical ul ul {
    padding-left: 12px;
    line-height: 22px;
    font-size: 15px;
  }
  .navigation-vertical .has-children {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .navigation-vertical .has-children > a {
    flex: 1 1 auto;
    max-width: calc(100% - 46px);
  }
  .navigation-vertical .has-children .toggle {
    background-color: transparent !important;
    background-image: url("https://webstore-template-assets.tebex.io/images/chevron.svg");
    background-size: 20px;
    transition: rotate 0.15s ease-in-out;
  }
  .navigation-vertical .has-children.expanded > .toggle {
    rotate: 180deg;
  }
  .navigation-vertical .has-children > ul {
    width: 100%;
  }
  .navigation-vertical .has-children:not(.expanded) > ul {
    display: none;
  }
  .navigation-vertical a {
    display: block;
    padding: calc(var(--widget-padding) / 2);
    transition: color 0.15s ease-in-out;
  }
  .navigation-vertical a:hover, .navigation-vertical a.link-active {
    color: var(--color-primary);
  }
  .navigation-vertical a.link-active {
    font-weight: 600;
  }
  .navigation-vertical ul ul a {
    padding: 8px calc(var(--widget-padding) / 2);
  }
}

.widget {
  padding: var(--widget-padding);
}
.widget + .widget {
  margin-top: var(--widget-padding);
}

.widget-title {
  margin-bottom: var(--widget-padding);
  font-size: 20px;
  font-weight: 700;
}

.widget-featured .store-product {
  padding: 0;
  text-align: center;
}

.widget-gift-card {
  text-align: center;
}
.widget-gift-card .gift-card-input {
  margin-bottom: 12px;
  width: 100%;
  padding: 14px 12px;
  color: #a8d7f9;
  background: #0f172a;
  font-size: 14px;
  transition: 0.2s;
}
.widget-gift-card .gift-card-input:focus {
  color: #fdf2f8;
  background: #0f172a;
  font-size: 14px;
}
.popup .widget-gift-card .gift-card-input {
  background: #242424;
}
.widget-gift-card .check {
  width: 100%;
}

.widget-recent .purchase {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  margin-bottom: 6px;
  line-height: 1.4;
}
.widget-recent .avatar {
  flex: none;
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}
.widget-recent .username {
  font-weight: 700;
}
.widget-recent .empty {
  text-align: center;
}
.widget-recent time {
  opacity: 0.5;
  font-size: 0.9em;
}
.widget-recent .sep {
  margin: 0 0.3em;
}

.widget-top-donator .avatar {
  margin: 0 auto 12px;
  width: 96px;
}
.widget-top-donator .username {
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 18px;
}
.widget-top-donator .empty {
  text-align: center;
}

.widget-community-goal .widget-content,
.widget-goal .widget-content {
  text-align: center;
}
.widget-community-goal p:not(:last-child),
.widget-goal p:not(:last-child) {
  margin-bottom: 12px;
}
.widget-community-goal .progress,
.widget-goal .progress {
  height: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #0f172a;
}
@keyframes progressBarAnimation {
  to {
    background-position: 100% 0;
  }
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  height: 12px;
  background: #72cef4;
}
.widget-community-goal .progress-bar.striped,
.widget-goal .progress-bar.striped {
  background: var(--color-primary) linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary) 33%, rgb(from var(--color-primary-hover) r g b/0.35) 33%, rgb(from var(--color-primary-hover) r g b/0.35) 66%, var(--color-primary) 66%, var(--color-primary) 100%) repeat;
  background-size: 24px 100%;
}
.widget-community-goal .progress-bar.striped.animated,
.widget-goal .progress-bar.striped.animated {
  animation: progressBarAnimation 10s infinite linear;
}

.widget-community-goal .goal-image {
  margin: 0 auto 12px;
  max-width: 96px;
}
.widget-community-goal .descr {
  margin-bottom: 12px;
}

.widget-server-status .widget-content {
  text-align: center;
}
.widget-server-status h6 {
  margin-bottom: 12px;
}

.site-footer-inner {
  position: relative;
  padding: 20px var(--content-padding);
}
@media (width <= 960px) {
  .site-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--widget-padding);
  }
}
.site-footer-inner .site-footer-nav {
  line-height: 150%;
  font-size: 14px;
}
@media (width > 960px) {
  .site-footer-inner .site-footer-nav {
    margin-bottom: 12px;
  }
}
.site-footer-inner .site-footer-nav ul {
  display: flex;
}
@media (width <= 960px) {
  .site-footer-inner .site-footer-nav ul {
    flex-direction: column;
    gap: var(--widget-padding);
    text-align: center;
  }
}
@media (width > 960px) {
  .site-footer-inner .site-footer-nav ul {
    gap: calc(var(--widget-padding) * 2);
  }
}
.site-footer-inner .site-footer-nav a {
  color: var(--color-text-darker);
  text-decoration-line: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease-in-out;
}
.site-footer-inner .site-footer-nav a:hover {
  color: var(--color-primary);
}
.site-footer-inner .copyright {
  line-height: 16px;
  color: var(--color-text-secondary);
  font-size: 12px;
}
.site-footer-inner .we-accept {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (width > 960px) {
  .site-footer-inner .we-accept {
    position: absolute;
    top: 0;
    right: var(--content-padding);
    bottom: 0;
    pointer-events: none;
  }
}
.site-footer-inner .we-accept li {
  display: block;
}
.site-footer-inner .we-accept img {
  display: block;
  max-width: 57px;
  max-height: 26px;
}

.site-footer-credit {
  color: var(--color-text-secondary);
  background: #101010;
  font-size: 11px;
}
.site-footer-credit .site-footer-credit-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  gap: 22px;
  margin: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  min-height: 45px;
}
@media (width > 960px) {
  .site-footer-credit .site-footer-credit-inner {
    align-items: center;
    flex-direction: row;
  }
}
.site-footer-credit .copyright {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
@media (width > 960px) {
  .site-footer-credit .copyright {
    align-items: center;
  }
}
.site-footer-credit .copyright .tebex-logo-link {
  flex: none;
}
.site-footer-credit .legal {
  display: flex;
  gap: 16px;
  white-space: nowrap;
}
@media (width > 960px) {
  .site-footer-credit .legal {
    gap: 20px;
  }
}
.site-footer-credit .legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s ease-in-out;
}
.site-footer-credit .legal a:hover {
  color: var(--color-primary);
}

.popup {
  --fade-duration: 300ms;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100vw;
  z-index: 1000;
  overflow: hidden scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--color-secondary) transparent;
  background-color: rgba(0, 0, 0, 0.8);
  transition: background-color var(--fade-duration) ease, opacity var(--fade-duration) ease-in-out, display var(--fade-duration) allow-discrete;
}
@starting-style {
  .popup {
    opacity: 0;
  }
}
.popup.drawer {
  user-select: none;
}
.popup.may-close {
  user-select: none;
  background-color: rgba(0, 0, 0, 0.4);
}
.popup[hidden] {
  opacity: 0;
  display: none;
}

.popup-scroll-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: calc(var(--content-padding) / 2);
  overscroll-behavior: none;
}
@media (width > 600px) {
  .popup-scroll-cont {
    padding: var(--content-padding);
  }
}
@media (pointer: coarse) {
  .popup .popup-scroll-cont {
    align-items: flex-end;
    padding-bottom: 0;
  }
}

.popup-content {
  position: relative;
  width: 100%;
  max-width: 550px;
  padding: var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: translate var(--fade-duration) ease, opacity var(--fade-duration) ease;
}
@starting-style {
  .popup-content {
    translate: 0 20px;
  }
}
@media (pointer: coarse) {
  .popup-content {
    padding-bottom: calc(var(--widget-padding) * 2);
  }
}
.popup.touching .popup-content {
  transition: opacity var(--fade-duration) ease, scale var(--fade-duration) ease;
}
.popup.may-close .popup-content, .popup.drawer[hidden] .popup-content {
  opacity: 0.8;
  scale: 0.95;
}
.popup.drawer-up[hidden] .popup-content {
  translate: 0 -100%;
}
.popup.drawer-down[hidden] .popup-content {
  translate: 0 100%;
}
.popup.drawer-right[hidden] .popup-content {
  translate: 100% 0;
}
.popup.drawer-left[hidden] .popup-content {
  translate: -100% 0;
}
.popup:not(.drawer)[hidden] .popup-content {
  translate: 0 20px;
}
.popup.popup-loading .popup-content {
  min-height: 180px;
}
.popup.popup-loading .popup-content::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  margin: auto;
  width: 38px;
  height: 38px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.drawer-up .popup-content::after, .drawer-down .popup-content::after, .drawer-left .popup-content::after, .drawer-right .popup-content::after {
  content: "";
  display: block;
  position: absolute;
  background: rgb(from var(--color-text-secondary) r g b/0.33);
  border-radius: 2px;
  pointer-events: none;
}
.drawer-up .popup-content::after, .drawer-down .popup-content::after {
  left: 0;
  right: 0;
  margin-inline: auto;
  height: 4px;
  width: 100px;
}
.drawer-up .popup-content::after {
  bottom: 7px;
}
.drawer-down .popup-content::after {
  top: 7px;
}
.drawer-left .popup-content::after, .drawer-right .popup-content::after {
  top: 0;
  bottom: 0;
  margin-block: auto;
  width: 4px;
  height: 100px;
}
.drawer-left .popup-content::after {
  right: 7px;
}
.drawer-right .popup-content::after {
  left: 7px;
}

.popup-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: url("https://webstore-template-assets.tebex.io/images/close.svg") center center no-repeat;
  background-size: 20px;
  opacity: 0.5;
  line-height: 0;
  font-size: 0;
  color: transparent;
  transition: all 0.15s ease-in-out;
}
@media (width <= 600px) {
  .popup-close {
    width: 50px;
    height: 50px;
    background-size: 24px;
  }
}
.popup-close:hover {
  opacity: 1;
}

.store-product-popup-content {
  max-width: 800px;
}

.product-options-popup .popup-content {
  max-width: 480px;
}

.gift-form-popup .popup-content h1, .gift-form-popup .popup-content h2, .gift-form-popup .popup-content h3, .gift-form-popup .popup-content h4, .gift-form-popup .popup-content h5, .gift-form-popup .popup-content h6 {
  margin-bottom: 12px;
}
.gift-form-popup .popup-content .btn-primary {
  width: 240px;
}
.gift-form-popup .popup-content .actions {
  position: relative;
  width: fit-content;
  max-width: 100%;
}
.gift-form-popup .popup-content .actions.updating {
  pointer-events: none;
}
.gift-form-popup .popup-content .actions.updating > * {
  opacity: 0.3;
  filter: grayscale(100%);
}
.gift-form-popup .popup-content .actions.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}

.login-popup {
  z-index: 1002;
}

.login-popup-content {
  max-width: 480px;
  padding-bottom: calc(var(--widget-padding) - 12px);
}

.basket {
  position: relative;
  z-index: 1001;
}
.site-content .basket {
  display: none;
}
.basket .basket-empty {
  margin: auto;
  text-align: center;
  font-size: 18px;
}
.basket .basket-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 50px var(--content-padding) 30px;
  font-size: 22px;
  font-weight: 600;
  background: rgba(40, 40, 40, 0.5);
}
@media (width > 960px) {
  .basket .basket-header {
    padding-top: 70px;
  }
}
.basket .basket-title {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}
.basket .basket-title::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background-color: var(--color-text);
  mask: url("https://webstore-template-assets.tebex.io/images/user.svg") center center no-repeat;
  mask-size: contain;
}
.basket .basket-second-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px var(--content-padding);
  background: var(--color-brighter-bg);
  background: rgb(from var(--color-brighter-bg) r g b/0.9);
  font-size: 18px;
  font-weight: 300;
  text-align: center;
}
.basket .basket-second-header .total {
  font-size: 14px;
}
.basket .basket-second-header .total strong {
  font-size: 18px;
  font-weight: inherit;
}
.basket .basket-second-header .currency {
  display: flex;
  align-items: center;
  gap: 6px;
}
.basket .basket-second-header .currency::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: url("https://webstore-template-assets.tebex.io/images/dropdown-arrow.svg") center center no-repeat;
}
.basket .basket-content {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}
.basket .basket-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--widget-padding);
}
.basket .basket-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  padding: var(--widget-padding);
  background: #72cef4;
  border-bottom: 6px solid #4894ec;
}
.item-name{
    color: #fdf2f8 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: 0.2s !important;
    text-align: left !important;
}
.item-name:hover{
    color: #4894ec !important;
    transition: 0.2s !important;
}
.info-tag{
    background-color: #4894ec;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    font-weight: 400;
    padding: 2px 6px;
    color: #fdf2f8;
}
.tag-line{
    text-align: left;
}
.basket .basket-item .info {
  margin-right: auto;
}
.basket .basket-item .options {
  list-style-position: inside;
}
.basket .basket-item .options:has(li) {
  padding: 5px 0;
}
.basket .basket-item .options li {
  display: block;
  padding: 1px 0;
}
.basket .basket-item .options li::before {
  content: "";
  display: inline-block;
  margin-right: 0.4em;
  width: 3px;
  height: 3px;
  vertical-align: middle;
  background-color: currentColor;
  border-radius: 50%;
}
.basket .basket-item .title {
  font-size: 20px;
  font-weight: 600;
}
.basket .basket-item .price {
  color: var(--color-primary);
  font-size: 14px;
}
.basket .basket-item .price strong {
  font-size: 18px;
  font-weight: inherit;
}
.basket .basket-item .quantity-field {
  height: 40px;
}
.basket .basket-item .remove {
  width: 40px;
  height: 40px;
}
.basket .basket-item .remove::before {
  mask-image: url("https://webstore-template-assets.tebex.io/images/delete.svg");
}
.basket .basket-checkout {
  margin-top: auto;
  padding: 0 var(--content-padding) 50px;
}
@media (width > 960px) {
  .basket .basket-checkout {
    padding-bottom: 100px;
  }
}
.basket .basket-checkout h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--widget-padding);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}
.basket .basket-checkout .total {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 400;
}
.basket .basket-checkout .total strong {
  font-size: 24px;
  font-weight: inherit;
}
.basket .basket-checkout .checkout {
  width: 100%;
}

.basket-popup .popup-scroll-cont {
  justify-content: flex-end;
  padding: 0;
}

.basket-popup-content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 520px;
  height: 100vh;
  height: 100dvh;
  padding: 0;
  background: var(--color-bg);
  transition: translate var(--fade-duration) ease-in-out;
}
@starting-style {
  .basket-popup-content {
    translate: 100% 0;
  }
}
:root .basket-popup[hidden] .basket-popup-content {
  translate: 100% 0;
}
.basket-popup-content.updating {
  pointer-events: none;
}
.basket-popup-content.updating::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  margin: auto;
  width: 38px;
  height: 38px;
  background: url("https://webstore-template-assets.tebex.io/images/loading.svg") center center no-repeat;
  background-size: contain;
}
.basket-popup-content.updating > * {
  filter: grayscale(100%);
}

.toaster {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  position: fixed;
  bottom: var(--widget-padding);
  left: 0;
  right: 0;
  z-index: 10000;
  margin: 0 auto;
  padding: 0 var(--widget-padding);
  width: 100%;
  height: 100%;
  max-width: 520px;
  pointer-events: none;
}
.toaster:empty {
  display: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 8px 0 24px;
  background: var(--color-brighter-bg);
  font-size: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transition: height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
@starting-style {
  .toast {
    opacity: 0;
    height: 0;
  }
}
.toast[hidden] {
  display: block;
  opacity: 0;
  height: 0;
}
.toast.toast-warning {
  background: #cab600;
}
.toast.toast-error {
  background: #C12E2E;
}
.toast.toast-success {
  background: #4caf50;
}

.toast-close {
  margin-left: auto;
  flex: none;
  width: 30px;
  height: 30px;
  background: url("https://webstore-template-assets.tebex.io/images/close.svg") center center/20px no-repeat;
  opacity: 0.5;
  line-height: 0;
  font-size: 0;
  color: transparent;
  transition: opacity 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
.toast-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
}

.store-category-tiered {
  --gap: calc(var(--widget-padding) * .75);
  padding: var(--widget-padding);
}

.store-category-tiered-header {
  margin-bottom: var(--widget-padding);
  font-size: 18px;
}
.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6,
.store-category-tiered-header p {
  margin-bottom: 24px;
}

.store-products-tiered {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: var(--gap);
}

.store-product-tiered {
  --border-color: rgb(from var(--color-text) r g b / .1);
  --primary-color: rgb(from var(--color-primary) r g b / .25);
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  gap: var(--gap);
  padding: var(--gap);
}
.store-product-tiered.store-product-cta {
  background-image: linear-gradient(to bottom, transparent 67%, var(--primary-color));
}
.store-product-tiered .image {
  margin: auto;
  max-width: 100%;
  object-fit: contain;
}
.store-product-tiered .product-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.store-product-tiered .countdown {
  display: block;
  margin-top: 4px;
  color: var(--color-removed);
  font-size: 0.75em;
  font-variant-numeric: tabular-nums;
}
.store-product-tiered .countdown::before {
  content: "";
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.25em;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: url("https://webstore-template-assets.tebex.io/images/countdown.svg") center center/contain no-repeat;
}
.store-product-tiered .descr {
  padding-block: var(--gap);
  border-block: 1px solid var(--border-color);
  color: var(--color-text-secondary);
}
.store-product-tiered .price {
  font-size: 14px;
  text-align: center;
}
.store-product-tiered .price .discount {
  margin-right: 1ch;
  color: var(--color-removed);
  font-weight: 400;
  text-decoration-line: line-through;
}
.store-product-tiered .price strong {
  font-size: 20px;
  font-weight: inherit;
}
.store-product-tiered .actions {
  gap: var(--gap);
}
.store-product-tiered .actions .wide {
  width: 100%;
}

.store-quote {
  padding: var(--widget-padding);
}
.store-quote .wide {
  flex: 1 1 50%;
}
.popup-content{

    background-color: #1e293b !important;
    border-radius: 14px !important;
    border-bottom: 6px solid #334155 !important;
    padding: 24px !important;
}
.basket{
    border-radius: 0px !important;
}

/* ============================================================
   STORE EFFECTS  (cards, tags, cart button, sidebar menu, login/checkout buttons)
   All colours come from Style Settings > Primary Color / Dark Primary Color.
   ============================================================ */

/* ----- product cards (Coins, Battlepass): lift + glow on hover ----- */
.store-product .block {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.store-product .block:hover {
    transform: translateY(-8px) !important;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 20px #72cef44d,
        0 0 40px #72cef426 !important;
}
.store-product .image {
    transition: transform 0.4s ease !important;
}
.store-product .block:hover .image {
    transform: scale(1.05) !important;
}

/* buy button: shine sweep */
.store-product .button.button-primary {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}
.store-product .button.button-primary::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s ease !important;
}
.store-product .button.button-primary:hover::after {
    left: 100% !important;
}
.store-product .button.button-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 20px #72cef480 !important;
}
.store-product .button i {
    transition: transform 0.3s ease !important;
}
.store-product .button:hover i {
    transform: scale(1.2) !important;
}

/* ----- key cards ----- */
.key-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.key-card:hover {
    transform: translateY(-8px) !important;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 25px #72cef466,
        0 0 50px #72cef433 !important;
}

/* ----- package tags (POPULAR, NEW, ...) ----- */
.store-product {
    position: relative;
}
.store-product .package-tag,
.package-tag {
    position: absolute !important;
    top: 15px !important;
    right: -8px !important;
    left: auto !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    font-size: 0.75em !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    z-index: 10 !important;
    transform: rotate(15deg) !important;
    transform-origin: center center !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.package-tag {
    background: linear-gradient(135deg, #72cef4, #4894ec, #72cef4) !important;
    background-size: 200% 200% !important;
    box-shadow: 0 4px 15px #72cef480 !important;
}
/* stack several tags */
.store-product .package-tag:nth-of-type(2) { top: 50px !important; }
.store-product .package-tag:nth-of-type(3) { top: 85px !important; }
.store-product .package-tag:nth-of-type(4) { top: 120px !important; }
.store-product:hover .package-tag {
    transform: rotate(15deg) scale(1.1) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
}
.package-tag i {
    display: inline-block !important;
    animation: flowerBounce 1s ease-in-out infinite !important;
}
@keyframes flowerBounce {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(10deg); }
}

/* ----- cart button ----- */
.basket-button {
    transition: all 0.3s ease !important;
    animation: wiggle 6s ease-in-out infinite !important;
}
.basket-button.bounce {
    animation: cartBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}
.basket-button:hover {
    animation: none !important;
    transform: scale(1.1) !important;
    box-shadow: 0 5px 20px #72cef480 !important;
}
.basket-button-amount.bounce {
    animation: badgePop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}
@keyframes cartBounce {
    0% { transform: scale(1); }
    20% { transform: scale(1.3) rotate(-10deg); }
    40% { transform: scale(0.9) rotate(10deg); }
    60% { transform: scale(1.15) rotate(-5deg); }
    80% { transform: scale(0.95) rotate(3deg); }
    100% { transform: scale(1) rotate(0deg); }
}
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}
/* small wiggle every few seconds */
@keyframes wiggle {
    0%, 90%, 100% { transform: rotate(0deg); }
    92% { transform: rotate(-4deg); }
    94% { transform: rotate(4deg); }
    96% { transform: rotate(-4deg); }
    98% { transform: rotate(4deg); }
}

/* ----- sidebar menu: hover bar, glow and text ----- */
.navigation__item {
    position: relative;
}
.navigation__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, #72cef4, #4894ec);
    border-radius: 2px;
    transition: height 0.3s ease;
    box-shadow: 0 0 10px #72cef4;
}
.navigation__item:hover::before,
.navigation__item.active::before {
    height: 70%;
}
.navigation__item:hover {
    background: #72cef41a;
}
.navigation__icon,
.navigation__item img {
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0px transparent);
}
.navigation__item:hover .navigation__icon,
.navigation__item:hover img {
    filter: drop-shadow(0 0 8px #72cef4) drop-shadow(0 0 15px #72cef499);
    transform: scale(1.15) rotate(5deg);
}
.navigation__item.active .navigation__icon,
.navigation__item.active img {
    animation: iconGlowPulse 2s ease-in-out infinite;
}
@keyframes iconGlowPulse {
    0%, 100% { filter: drop-shadow(0 0 5px #72cef4) drop-shadow(0 0 10px #72cef499); }
    50%      { filter: drop-shadow(0 0 10px #72cef4) drop-shadow(0 0 20px #72cef499) drop-shadow(0 0 30px #72cef466); }
}
.navigation__item:hover a {
    color: #72cef4;
    text-shadow: 0 0 10px #72cef480;
}

/* ----- login + mini-cart checkout buttons ----- */
.inline-login__btn {
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 10px 18px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.inline-login__btn:hover {
    transform: translateY(-1px);
}
.mini-cart-checkout {
    display: block !important;
    width: 100% !important;
    color: #fff !important;
    text-align: center !important;
    padding: 12px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}
.mini-cart-checkout:hover {
    transform: translateY(-2px) !important;
    color: #fff !important;
    text-decoration: none !important;
}
.inline-login__btn,
.mini-cart-checkout {
    background: linear-gradient(135deg, #72cef4, #4894ec) !important;
}
.inline-login__btn:hover,
.mini-cart-checkout:hover {
    box-shadow: 0 5px 20px #72cef466 !important;
}

/* ===================== END STORE EFFECTS ===================== */

/* ===== header logo bar ===== */
.toolbar-left .user-info {
    gap: 18px;
}
.store-logo {
    display: block;
    flex: 0 0 auto;
    line-height: 0;
}
.store-logo img {
    display: block;
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(220, 38, 38, 0.35));
    transition: transform 0.2s ease;
}
.store-logo:hover img {
    transform: scale(1.06) rotate(-3deg);
}
.store-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 44px;
    padding-left: 18px;
    border-left: 1px solid #334155;
}
.store-brand-title {
    color: #72cef4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    line-height: 1;
}
.store-brand .greeting-text {
    color: #a8d7f9;
    opacity: 0.85;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

/* ===== bigger Home icon in the sidebar (matches the 48px category pictures) ===== */
.navbar-link > i.fa-house-chimney {
    font-size: 30px;
    width: 48px !important;
    height: 48px;
    line-height: 48px;
    text-align: center;
    color: #72cef4;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
    transition: transform 0.2s ease;
}
.navbar-link:hover > i.fa-house-chimney {
    transform: scale(1.1);
}
.navbar-link > i.fa-house-chimney + .navbar-name {
    font-size: 17px;
}

/* ===== bigger header logo + hover effect ===== */
.site-header-inner .site-title img {
    max-height: 170px !important;
    max-width: 100% !important;
    width: auto;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.55));
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), filter 0.35s ease;
    animation: logoFloat 5s ease-in-out infinite;
}
.site-header-inner .site-title a:hover img {
    transform: scale(1.08) rotate(-1.5deg);
    filter:
        drop-shadow(0 8px 18px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 22px rgba(220, 38, 38, 0.55));
    animation-play-state: paused;
}
.site-header-inner .site-title a:active img {
    transform: scale(1.02);
}
@keyframes logoFloat {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -6px; }
}

/* a bit wider space for the logo between "Copy Server IP" and "Join our Discord" */
@media (width > 960px) {
    .site-header-inner .site-title {
        inset: calc(var(--widget-padding) + 46px) 240px 0 240px !important;
    }
}

/* phones */
@media (width <= 960px) {
    .site-header-inner .site-title img {
        max-height: 100px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header-inner .site-title img { animation: none; }
}

/* buttons: Discord + server IP */
main:not(.store-products) > .block > div:first-child > p:last-child > a,
main:not(.store-products) > .block > div:first-child > p:last-child > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 10px;
    line-height: 1.2;
    transition: transform 0.15s ease, filter 0.15s ease;
}
main:not(.store-products) > .block > div:first-child > p:last-child > a:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}
main:not(.store-products) > .block > div:first-child > p:last-child > a::before,
main:not(.store-products) > .block > div:first-child > p:last-child > span::before {
    content: "";
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    background: center / contain no-repeat;
}
main:not(.store-products) > .block > div:first-child > p:last-child > a::before {
    background-image: url("https://api.iconify.design/simple-icons/discord.svg?color=%23ffffff");
}
main:not(.store-products) > .block > div:first-child > p:last-child > span::before {
    background-image: url("https://api.iconify.design/lucide/server.svg?color=%2372CEF4");
}

/* the three info cards side by side */
main:not(.store-products) > .block > div:nth-child(2) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
main:not(.store-products) > .block > div:nth-child(2) > div {
    border-radius: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
main:not(.store-products) > .block > div:nth-child(2) > div:hover {
    border-color: #3b4f6b !important;
    transform: translateY(-2px);
}

/* icon tile above each card title */
main:not(.store-products) > .block > div:nth-child(2) > div > h3::before {
    content: "";
    display: block;
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: rgba(114, 206, 244, 0.12) center / 18px no-repeat;
}
main:not(.store-products) > .block > div:nth-child(2) > div:nth-child(1) > h3::before {
    background-image: url("https://api.iconify.design/lucide/headset.svg?color=%2372CEF4");
}
main:not(.store-products) > .block > div:nth-child(2) > div:nth-child(2) > h3::before {
    background-image: url("https://api.iconify.design/lucide/zap.svg?color=%2372CEF4");
}
main:not(.store-products) > .block > div:nth-child(2) > div:nth-child(3) > h3::before {
    background-color: rgba(229, 57, 53, 0.14);
    background-image: url("https://api.iconify.design/lucide/shield-check.svg?color=%23F87171");
}

/* ============================================================
   LOGIN POPUP  (paste at the VERY END of shared.css)
   ============================================================ */
.l10-login {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(8, 12, 24, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.l10-login.is-open {
    opacity: 1;
    visibility: visible;
}
html.l10-login-open {
    overflow: hidden;
}

.l10-login__box {
    position: relative;
    width: 460px;
    max-width: 100%;
    padding: 28px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    color: #a8d7f9;
    font-family: Poppins, sans-serif;
    transform: translateY(12px) scale(0.97);
    transition: transform 0.25s cubic-bezier(.2, .8, .2, 1);
}
.l10-login.is-open .l10-login__box {
    transform: none;
}
.l10-login__box.is-shake {
    animation: l10Shake 0.35s ease;
}
@keyframes l10Shake {
    20%, 60% { translate: -6px 0; }
    40%, 80% { translate: 6px 0; }
}

.l10-login__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: #0f172a;
    color: #a8d7f9;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.l10-login__close:hover {
    background: #fb923c;
    color: #fff;
}

/* header with live skin head */
.l10-login__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 36px 22px 0;
}
.l10-login__avatar {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #0f172a;
    image-rendering: pixelated;
    box-shadow: 0 0 0 2px #334155;
    transition: box-shadow 0.2s ease;
}
.l10-login.is-valid .l10-login__avatar {
    box-shadow: 0 0 0 2px #72cef4, 0 0 16px #72cef455;
}
.l10-login__title {
    margin: 0 0 3px;
    font-size: 19px;
    font-weight: 700;
    color: #fdf2f8;
}
.l10-login__sub {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.85;
}

/* Java / Bedrock switch */
.l10-login__platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 18px;
    padding: 5px;
    background: #0f172a;
    border-radius: 12px;
}
.l10-login__platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #a8d7f9;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.l10-login__platform:hover {
    color: #fdf2f8;
}
.l10-login__platform.is-on {
    background: #72cef4;
    color: #0b1220;
    box-shadow: 0 4px 14px #72cef440;
}

/* username field */
.l10-login__label {
    display: block;
    margin-bottom: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: #fdf2f8;
}
.l10-login__field {
    display: flex;
    align-items: center;
    border: 2px solid #334155;
    border-radius: 12px;
    background: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.l10-login__field:focus-within {
    border-color: #72cef4;
    box-shadow: 0 0 0 4px #72cef422;
}
.l10-login__prefix {
    display: none;
    margin-left: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    background: #72cef426;
    color: #72cef4;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}
.l10-login.is-bedrock .l10-login__prefix {
    display: inline-block;
}
.l10-login__field input {
    flex: 1;
    min-width: 0;
    padding: 13px 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fdf2f8;
    font-family: inherit;
    font-size: 15px;
}
.l10-login__field input::placeholder {
    color: #a8d7f9;
    opacity: 0.5;
}
.l10-login__hint {
    margin: 7px 2px 18px;
    font-size: 12px;
    opacity: 0.75;
    transition: color 0.15s ease;
}
.l10-login__hint.is-error {
    color: #fb923c;
    opacity: 1;
}

/* continue button */
.l10-login__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #72cef4, #4894ec);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 18px #72cef440;
    transition: transform 0.15s ease, filter 0.15s ease, opacity 0.15s ease;
}
.l10-login__submit:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.06);
}
.l10-login__submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.l10-login__submit.is-loading {
    opacity: 0.85;
    cursor: wait;
}

/* phones: slides up from the bottom */
@media (max-width: 640px) {
    .l10-login {
        align-items: flex-end;
        padding: 0;
    }
    .l10-login__box {
        width: 100%;
        padding: 24px 18px 22px;
        border-radius: 20px 20px 0 0;
        transform: translateY(40px);
    }
    .l10-login__head {
        margin-bottom: 18px;
    }
    .l10-login__platform span {
        font-size: 12.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .l10-login, .l10-login__box { transition: none; }
    .l10-login__box.is-shake { animation: none; }
}

/* ============================================================
   HALLOWEEN - buy buttons (loaded early, so there is no blue flash)
   html.season-halloween is set by the small script in layout.html, only during Halloween.
   The rest of the Halloween look is added by seasons.twig.
   ============================================================ */
html.season-halloween .key-card__add-btn,
html.season-halloween .mini-cart-checkout,
html.season-halloween .store-product .button-primary {
    background: linear-gradient(135deg, #ff9a3a, #c2410c) !important;
    color: #fff !important;
}
html.season-halloween .store-product .button-primary,
html.season-halloween .mini-cart-checkout {
    border-bottom-color: #9a3412 !important;
}
html.season-halloween .key-card__qty-btn.selected {
    background: linear-gradient(135deg, #ff9a3a, #c2410c) !important;
    border-color: #ff7a1a !important;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(255, 122, 26, 0.45) !important;
}
html.season-halloween .key-card__qty-btn:not(.selected):hover {
    border-color: #ff7a1a !important;
    color: #fff !important;
}
/* ============================================================ */

/* ============================================================
   SMOOTH PAGE LOAD + MOTION
   ============================================================ */
/* category / package pages are hidden for a moment while layout.html scrolls to the content,
   then fade in (no more "teleport") */
.site {
    transition: opacity 0.15s ease;
}
html.l10-jump .site {
    opacity: 0;
}

/* touch screens have no real hover: skip the lift effects so cards do not stay "stuck" raised */
@media (hover: none) {
    .store-product .block:hover,
    .key-card:hover {
        transform: none !important;
    }
    .store-product .block:hover .image {
        transform: none !important;
    }
}

/* people who asked their device for less motion */
@media (prefers-reduced-motion: reduce) {
    .site {
        transition: none;
    }
    .basket-button,
    .package-tag i,
    .site-header-inner .site-title img,
    .navigation__item.active img,
    .navigation__item.active .navigation__icon {
        animation: none !important;
    }
    .store-product .block,
    .key-card,
    .store-product .image {
        transition: none !important;
    }
}

/* ============================================================
   FLY-TO-BASKET badge (layout.html: window.l10Fly)
   ============================================================ */
.l10-fly {
    position: fixed;
    z-index: 2147483000;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    pointer-events: none;
    color: #fff;
    font-size: 13px;
    background: linear-gradient(135deg, #72cef4, #4894ec);
    box-shadow: 0 0 16px #72cef499;
}
html.season-halloween .l10-fly {
    background: linear-gradient(135deg, #ff9a3a, #c2410c);
    box-shadow: 0 0 16px rgba(255, 122, 26, 0.7);
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
/* visible keyboard focus (mouse clicks do not show it) */
:focus-visible {
    outline: 3px solid #72cef4 !important;
    outline-offset: 2px;
}
html.season-halloween :focus-visible {
    outline-color: #ff7a1a !important;
}
.l10-login__field input:focus-visible {
    outline: none !important;
}

/* bigger tap targets on touch screens (min. 44px) */
@media (pointer: coarse) {
    .rg:not(.rg-mini) .rg-buy,
    .key-card__add-btn,
    .store-product .button.button-primary,
    .rg-tab,
    .rg-kitbtn,
    .basket-button {
        min-height: 44px;
    }
    .key-card__qty-btn {
        min-width: 44px;
        min-height: 44px;
    }
}