/* =========================================================
   TRIBES OF VOID — CUSTOM CSS
   CLEAN VERSION
   ========================================================= */


/* =========================================================
   1. COUNTDOWN
   ========================================================= */

.wp-block-jetpack-event-countdown {
    color: #fff !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;

    transform: scale(.78);
    transform-origin: center top;
}

.wp-block-jetpack-event-countdown * {
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.wp-block-jetpack-event-countdown small,
.wp-block-jetpack-event-countdown [class*="label"] {
    font-size: 8px !important;
    font-weight: 400 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    opacity: .7 !important;
}


/* "BIS" ausblenden */

.event-countdown__counter p:nth-child(3) {
    visibility: hidden;
}



/* =========================================================
   2. METAL LOGO
   ========================================================= */

.tov-metal-logo,
.tov-metal-logo img {
    position: relative;
    z-index: 2;
}



/* =========================================================
   3. SOLD OUT PRODUCTS
   ========================================================= */

.woocommerce ul.products li.product.outofstock .ct-media-container {
    position: relative;
    overflow: hidden;
}


/* dunkles Overlay */

.woocommerce ul.products li.product.outofstock .ct-media-container::after {
    content: "";

    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, .42);

    z-index: 5;
    pointer-events: none;
}


/* Blocksy Standardbadge ausblenden */

.woocommerce ul.products li.product.outofstock .out-of-stock-badge,
.woocommerce ul.products li.product.outofstock [class*="out-of-stock"] {
    display: none !important;
}


/* eigener SOLD OUT Text */

.woocommerce ul.products li.product.outofstock .ct-media-container::before {
    content: "SOLD OUT";

    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    z-index: 10;

    width: 100%;

    color: #fff;
    text-align: center;

    font-size: clamp(20px, 2.2vw, 38px);
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1;

    text-transform: uppercase;

    pointer-events: none;
}



/* =========================================================
   4. ACCESS LOGIN
   ========================================================= */

#tov-access-login {
    position: relative !important;

    width: min(520px, 84vw) !important;

    margin: -95px auto 0 !important;
    padding: 0 !important;

    text-align: center !important;
}



/* =========================================================
   FORM
   ========================================================= */

#tov-access-login .tov-h6-access-form {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    width: 100% !important;

    gap: 10px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}



/* =========================================================
   BRACKETS UM ACCESS CODE
   ========================================================= */

#tov-access-login .tov-h6-access-form::before,
#tov-access-login .tov-h6-access-form::after {
    content: "" !important;

    position: absolute !important;
    top: 7px !important;

    width: 18px !important;
    height: 42px !important;

    pointer-events: none !important;
}


#tov-access-login .tov-h6-access-form::before {
    left: 0 !important;

    border-left: 1px solid rgba(255,255,255,.95) !important;
    border-top: 1px solid rgba(255,255,255,.95) !important;
    border-bottom: 1px solid rgba(255,255,255,.95) !important;
}


#tov-access-login .tov-h6-access-form::after {
    right: 0 !important;

    border-right: 1px solid rgba(255,255,255,.95) !important;
    border-top: 1px solid rgba(255,255,255,.95) !important;
    border-bottom: 1px solid rgba(255,255,255,.95) !important;
}



/* =========================================================
   PASSWORD INPUT
   ========================================================= */

#tov-access-login
.tov-h6-access-form
input[name="h6wps_password"] {

    appearance: none !important;
    -webkit-appearance: none !important;

    display: block !important;

    width: calc(100% - 34px) !important;
    height: 56px !important;

    box-sizing: border-box !important;

    margin: 0 !important;
    padding: 0 25px !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;

    background: transparent !important;

    color: #fff !important;
    -webkit-text-fill-color: #fff !important;

    caret-color: #fff !important;

    font-family:
        "Courier New",
        Courier,
        monospace !important;

    font-size: 17px !important;
    font-weight: 600 !important;

    letter-spacing: .34em !important;
    text-align: center !important;

    text-shadow:
        0 1px 3px rgba(0,0,0,.45) !important;
}



/* =========================================================
   PLACEHOLDER
   ========================================================= */

#tov-access-login
.tov-h6-access-form
input[name="h6wps_password"]::placeholder {

    color: rgba(255,255,255,.92) !important;
    -webkit-text-fill-color: rgba(255,255,255,.92) !important;

    opacity: 1 !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    letter-spacing: .34em !important;
}



/* =========================================================
   AUTOFILL FIX
   ========================================================= */

#tov-access-login
.tov-h6-access-form
input[name="h6wps_password"]:-webkit-autofill,

#tov-access-login
.tov-h6-access-form
input[name="h6wps_password"]:-webkit-autofill:hover,

#tov-access-login
.tov-h6-access-form
input[name="h6wps_password"]:-webkit-autofill:focus {

    -webkit-text-fill-color: #fff !important;

    -webkit-box-shadow:
        0 0 0 1000px transparent inset !important;

    transition:
        background-color 99999s ease-out 0s !important;
}



/* =========================================================
   ENTER BUTTON
   ========================================================= */

#tov-access-login
.tov-h6-access-form
button[type="submit"] {

    appearance: none !important;
    -webkit-appearance: none !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 5px auto 0 !important;
    padding: 10px 18px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background: transparent !important;
    box-shadow: none !important;

    color: #fff !important;
    -webkit-text-fill-color: #fff !important;

    font-family:
        "Courier New",
        Courier,
        monospace !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    letter-spacing: .30em !important;
    line-height: 1 !important;

    text-transform: uppercase !important;

    cursor: pointer !important;

    text-shadow:
        0 1px 3px rgba(0,0,0,.5) !important;


    /* standardmässig unsichtbar */

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition:
        opacity .2s ease,
        text-shadow .2s ease !important;
}



/* =========================================================
   ENTER ANZEIGEN SOBALD PASSWORT EINGEGEBEN WIRD
   ========================================================= */

#tov-access-login
.tov-h6-access-form:has(
    input[name="h6wps_password"]:not(:placeholder-shown)
)
button[type="submit"] {

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}



/* =========================================================
   KEINE STRICHE NEBEN ENTER
   ========================================================= */

#tov-access-login
.tov-h6-access-form
button[type="submit"]::before,

#tov-access-login
.tov-h6-access-form
button[type="submit"]::after {

    content: none !important;
    display: none !important;
}



/* =========================================================
   ENTER HOVER
   ========================================================= */

#tov-access-login
.tov-h6-access-form
button[type="submit"]:hover {

    text-shadow:
        0 0 8px rgba(255,255,255,.45) !important;
}



/* =========================================================
   ACCESS ERROR
   ========================================================= */

#tov-access-login .tov-access-error {

    margin: 3px 0 0 !important;

    color: #ff3c3c !important;

    font-family:
        "Courier New",
        Courier,
        monospace !important;

    font-size: 10px !important;
    font-weight: 600 !important;

    letter-spacing: .18em !important;

    text-transform: uppercase !important;
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    #tov-access-login {
        width: 82vw !important;
        margin-top: -65px !important;
    }


    #tov-access-login
    .tov-h6-access-form
    input[name="h6wps_password"] {

        height: 52px !important;

        font-size: 14px !important;
        letter-spacing: .28em !important;
    }


    #tov-access-login .tov-h6-access-form::before,
    #tov-access-login .tov-h6-access-form::after {

        top: 7px !important;
        height: 38px !important;
    }


    #tov-access-login
    .tov-h6-access-form
    button[type="submit"] {

        font-size: 11px !important;
    }
}
/* =========================================================
   ACCESS PAGE — KEIN SCROLLEN
   ========================================================= */

html:has(#tov-access-login),
body:has(#tov-access-login) {
    height: 100% !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    overscroll-behavior: none !important;
}