﻿:root {
    --prm-clr: #b7fe77;
    /*#cfff04;*/
    /* neon yellow */
    --prm-clr-tpt: #b7fe7788;
    /*#cfff0488;*/
    /* neon yellow */
}

/* * {
  outline: 1px solid red;
} */

html,
body,
#root {
    width: 100%;
    /*height: 100%;*/
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    height: auto;
    min-height: 100%;
}

body {
    /*
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    */
    height: auto;
    min-height: 100%;
    height: 100vh;
    /* Full height */
    margin: 0;
    background: #000;
    background-image:
        /*url('media/hex-pattern.png'),*/
        url('media/stretched-bg.png');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-clip: initial;
    background-size: cover;
    /* : auto, cover; */
}

div#root {
    margin: 0;
}

.header-logo {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* background-image: url('media/mfk-venom-logo.png');
    background-size: contain;
    background-repeat: no-repeat; */
    height: 67px;
    width: 216px;
}

#cart-link-container {
    position: fixed;
    top: 10px;
    right: 100px;
    z-index: 1000;
}

a {
    color: #fff;
}

a:hover {
    color: var(--prm-clr);
}

#cart-link-container a {
    text-decoration: none;
    color: #fff;
}

span.cart-link {
    vertical-align: middle;
}

.cart-link svg {
    vertical-align: middle;
    width: 48px;
    height: 32px;
}

.top-left-links {
    position: absolute;
    top: 15px;
    left: 0;
    display: flex;
    flex-direction: column;
}



.top-left-links a {
    font-family: 'ArieStrikke', sans-serif;
    text-decoration: none;
    font-size: 20px;
    color: #000;
    background-image: url('media/left-button-bg.png');
    background-position: -45px 0;
    width: 127px;
    height: 21px;
    padding: 25px;
    margin-top: -2px;

    display: flex;
    align-items: center;
}

.top-left-links a.active-link {
    /* font-weight: bold; */
    text-decoration: underline;
    text-underline-offset: -1px;
    background-position: -25px 0;
    width: 147px;

}

.pane {
    align-items: flex-start;
    width: 100%;
    padding: 20px;
    max-width: 900px;
    margin: 126px auto 0 auto;
    vertical-align: central;
    max-height: calc(100vh - 270px);
    /* leave room for header/footer */
    overflow-y: auto;
    overflow-x: hidden;
}

.pane-center {
    align-items: center;
}

.dark_pane,
.product-popup,
.product-popup-scrolling {
    background: rgba(0, 0, 0, 0.6);
    border: solid white 2px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.centered_pane {
    margin: auto;
}

.pane h1 {
    font-family: 'ArieStrikke', sans-serif;
    font-size: 20px;
    color: #fff;
    display: block;
    border-bottom: solid 1px #fff;
    font-weight: normal;
}

.pane h2 {
    font-family: 'ArieStrikke', sans-serif;
    font-size: 18px;
    color: #fff;
    display: block;
    border-bottom: solid 1px #fff;
    font-weight: normal;
}

.pane p.h2 {
    border-bottom: solid 1px #fff;

}

.container {
    width: 100%;
    color: #fff;
    font-family: Verdana;
}

.left_right_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #fff;
    font-family: Verdana;
}

.left,
.right {
    width: 48%;
    padding: 10px;
    box-sizing: border-box;
}

.left {
    padding-right: 1rem;
}

.right {
    padding-left: 1rem;
}

.container table {
    width: 100%;
}

.menu {
    width: 100%;
    height: 87px;
    line-height: 87px;
    background: linear-gradient(to bottom, #3a3a3a, #030303);
    text-align: center;
    position: fixed;
    bottom: 0;
    border-top: solid var(--prm-clr) 1px;
    box-shadow: 0 -4px 8px rgba(207, 255, 4, 0.2);
}

input,
button,
textarea {
    font-family: Verdana;
    font-size: 16px;
}

textarea {
    height: 100px;
    width: 100%;
}

.text_pane {
    font-family: Verdana;
    font-variant: small-caps;
    color: white;
    width: 300px;
}

.cart-table-container {
    width: 100%;
    overflow-x: auto;
}

.cart-cards {
    display: none;
}

.cart-summary-card {
    display: none;
}

.cart-table {
    font-family: Verdana;
    font-variant: small-caps;
    color: white;
}

.cart-table tfoot td.total {
    border-top: #fff 1px solid;
}

.cart-table tr.total {
    border-top: solid 1px #fff;
}

.cart-table td {
    vertical-align: middle;
}

.cart-table td,
th {
    text-align: right;
}

.cart-table td:nth-child(1),
.cart-table th:nth-child(1) {
    text-align: left;
}

.product-img {
    width: 50px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
    display: inline-block;
}

.large-img-container {
    margin-top: 35px;
    width: 346px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: solid var(--prm-clr) 1px;
}

.detail-icon-container img.thumb {
    border: solid var(--prm-clr) 1px;
    margin: 1px;
    cursor: pointer;
}

.price {
    font-family: Impact, sans-serif, Verdana;
    font-variant: small-caps;
    color: #fff;
    font-size: 24px;

    /*font-weight: bold;*/
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4d4f;
    color: white;
    padding: 6px 12px;
    font-weight: bold;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 80% 100%, 0 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 8px;
}

.new-price {
    color: #d60000;
    font-weight: bold;
}

.note {
    font-size: 0.9em;
    color: #666;
}

.form-group {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.form-group label {
    width: 110px;
    text-align: left;
}

.form-group input,
.form-group select {
    flex-grow: 1;
    padding: 8px;
    font-size: 16px;
}

button {
    font-size: 14px;
    font-family: Impact;
    text-transform: uppercase;
    background: white;
    color: black;
    border: solid 1px;
    padding: 4px 10px;
}

/* 
    border-radius: 3px;
    margin: 3px;
 */

.form-group button.add {
    font-size: 20px;
    font-family: Impact;
    text-transform: uppercase;
    background: white;
    color: black;
    border: solid 1px;
    border-radius: 4px;
    padding: 8px 15px;
    margin: 0px;
}

.form-group button.add:hover {
    box-shadow: 0 -4px 4px rgba(207, 255, 4, 0.2);
}

label {
    font-family: Verdana;
    font-variant: small-caps;
    color: #fff;
}

.quantity-selector {
    display: flex;
    align-items: center;

    border: 1px solid var(--prm-clr);
    outline: 1px solid black;
    border-radius: 8px;
    overflow: hidden;
    /* width: fit-content; */
    width: 110px;
}

.qty-btn,
.qty-input,
.size-btn {
    height: 36px;
    font-size: 20px;
    border: none;
    padding: 0 12px;
    box-sizing: border-box;
}

.qty-btn {
    background-color: #fff;
    color: #000;
    padding: 8px 12px;
    cursor: pointer;
    /* margin:1px; */
}


.qty-btn-round {
    background-color: transparent;
    color: #fff;
    /* padding: 12px; */
    padding: auto;
    padding-left: 7px;
    border: none;
    cursor: pointer;
    margin: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.qty-btn-round:hover {
    border: 2px solid white;
    background-color: #fff4;
}

.qty-input {
    width: 25px;
    text-align: center;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

.qty-btn:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.qty-btn:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.size-btn {
    border-radius: 6px;

}


/* Chrome, Safari, Edge, Opera */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.qty-input[type="number"] {
    -moz-appearance: textfield;
}

.radio-group {
    /* display: flex; */
    gap: 10px;
    /* justify-content: center; */
    /* align-items: center; */
}

.radio-group.form-group {
    align-items: center;
}

.radio-group.form-group label {
    text-align: left
}

.radio-group input {
    /* visibility: hidden; */
    position: absolute;
    opacity: 0;
}

.radio-group label {
    justify-content: center;
    height: 32px;
    background: white;
    color: black;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    font-family: Verdana;
    transform: skewX(-20deg);
    border: 2px solid white;
    transition: 0.3s ease;
    border-radius: 3px;

    box-shadow: 0 0 0 2px black !important;
    outline: 2px solid black;
    outline-offset: -3px;
}

.radio-group label.radio-label {
    display: flex;
    align-items: center;
    width: 40px;
}

.radio-group label.wide {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    width: 200px;
    height: 40px;
    border: 2px solid white;
    background: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    font-family: Verdana;
    color: black;
    transition: 0.3s ease;
    border-radius: 3px;
    box-shadow: 0 0 0 2px black;
    outline: 2px solid black;
    outline-offset: -3px;
    transform: none;
}

.radio-group label.wide input {
    position: absolute;
    opacity: 0;
}


.radio-group label.wide span {
    width: 160px;
    height: auto;
    text-align: left;
    vertical-align: middle;
}

.radio-group label.radio-label {
    cursor: pointer;
}

.radio-group label.radio-label span {
    display: block;
    transform: skewX(20deg);
}

.radio-group input:checked+label.radio-label {
    border-color: var(--prm-clr, orange);
    color: black;
    outline-offset: -4px;
    width: 42px;
    height: 34px;
}

.radio-group input:disabled+label.radio-label {
    border-color: #444;
    color: #444;
    outline-offset: -4px;
    width: 42px;
    height: 34px;
    cursor: not-allowed;
}

/* .radio-group label.wide:has(input:checked) {
    border-color: var(--prm-clr, orange);
    color: black;
    outline-offset: -4px;
    width: 200px;
    height: 34px;
} */

.radio-group label.wide input:checked~* {
    outline-offset: -4px;
    border-color: var(--prm-clr, orange);
}

.radio-group label.wide.checked {
    border-color: var(--prm-clr, orange);
    outline-offset: -4px;

}

.radio-options {
    display: flex;
    gap: 8px;
}

.popup-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: #0008;
}

.product-popup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    color: #fff;
    z-index: 1000;
    /* text-align: center; */
}

/* .product-popup ul, .product-popup li, .product-popup ol, .product-popup p {
    text-align: left;
} */

.product-popup-wrapper {
    position: relative;
    overflow-y: auto;
    max-height: 100vh;
}

.product-popup-scrolling {
    position: absolute;
    top: 20%;
    left: 50%;
    height: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    color: #fff;
    z-index: 1000;
    /* text-align: center; */
    overflow-y: auto;
    overflow-x: hidden;
}

.popup-buttons button {
    margin: 0.5rem;
}

.size-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 250px;
    border: 2px solid #fff;
    border-radius: 8px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    text-align: center;
}

.size-table thead th {
    background: black;
    color: white;
    padding: 8px;
    font-weight: bold;
}

.size-table tbody td {
    padding: 8px;
    border-top: 1px solid #fff;
}

.size-table tbody tr:nth-child(even) {
    background: #f0f0f0;
    color: #444;
}

.size-table tbody tr:nth-child(odd) {
    background: #444;
    color: #f0f0f0;
}

.size-table tbody td:first-child {
    background: black;
    /* color: #ffd700; yellow text */
    color: #fff;
    font-weight: bold;
    width: 50px;
}

.menu * {
    margin: 0;
    padding: 0;
}

.menu a {
    font-family: 'ArieStrikke', sans-serif;
    text-decoration: none;
    color: var(--prm-clr);
    padding: 0;
    margin: 0 70px;
}

.menu a:hover {
    text-decoration: underline;
    text-shadow: 0 0 6px rgba(207, 255, 4, 0.6);
}

.mobile-menu-button {
    display: none;
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 24px;
    font-family: 'ArieStrikke', sans-serif;
    color: var(--prm-clr);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    left: 20px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 5px;
    z-index: 1001;
}

.mobile-menu a {
    color: #000;
    display: block;
    text-decoration: none;
}

.mobile-menu a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .pane {
        width: 100%;
        max-width: none;
        flex-direction: column;
        padding: 20px;
    }

    .dark_pane {
        padding: 4px;
        border-radius: 0px;
        border-width: 1px 0;
    }

    .left,
    .right {
        width: 100%;
        padding: 5px;

    }

    .top-left-links,
    .menu {
        display: none;
    }

    .left_right_container {
        width: 90%;
        flex-direction: column;
    }

    #cart-link-container {
        right: 20px;
        top: 20px;
        font-size: 12px;
    }

    .cart-link svg {

        width: 24px;
        height: 16px;
    }

    .mobile-menu-button {
        display: block;
    }

    .radio-group label.radio-label {
        width: 36px;
        margin-right: -3px;
    }

    .radio-group input:checked+label.radio-label {
        width: 38px;
    }

    .cart-table-container {
        display: none;
    }

    .cart-summary-card {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        background: #222;
        color: #fff;
        border-radius: 8px;
        padding: 1rem;
        margin-top: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .summary-row {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        padding: 0.15em 0;
    }

    .summary-row.total {
        font-weight: bold;
        font-size: 1.1em;
    }

    .cart-summary-card hr {
        border: none;
        border-top: 1px solid #444;
        margin: 0.5em 0;
    }

    .cart-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .cart-card {
        background: #222;
        color: #fff;
        border-radius: 8px;
        padding: 1rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .cart-card-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .product-img {
        width: 48px;
        height: 48px;
        object-fit: cover;
        border-radius: 4px;
    }

    /*
    .cart-table {
        display: block;
        overflow-x: auto;
        width: 100%;
        margin-left: 15px;
        font-size: 12px;
    }

    .cart-table,
    .cart-table thead,
    .cart-table tfoot {
        display: none;
    }

    .cart-table td,
    .cart-table th {
        padding: 2px 4px;
    }

    .cart-table th,
    .cart-table td {
        white-space: nowrap;
    }

    .cart-table tbody td {
        height: 52px;
        vertical-align: middle;
        padding: 4px 8px;
    }

    .cart-table td:nth-child(3) {
        width: 80px;
    }

    .cart-table td:nth-child(4) {
        width: 40px;
    }

    .cart-table td:nth-child(3) {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    */

    .qty-btn-round {
        padding: 4px;
        /* smaller padding */
        min-width: 28px;
        min-height: 28px;
    }

    /* Optional: reduce font size inside buttons and quantity */
    .cart-table td:nth-child(3) {
        text-align: right;
    }

    .cart-table img {
        max-height: 50px;
        max-width: 50px;
        object-fit: contain;
        vertical-align: middle;
    }

    .cart-item {
        display: block;
        border-bottom: 1px solid #ddd;
        padding: 8px 0;
    }

    .cart-item-details {
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .cart-item-img {
        width: 60px;
        height: auto;
        flex-shrink: 0;
    }

    .cart-item-info {
        flex: 1;
        font-size: 14px;
    }

    .cart-item-name {
        font-weight: bold;
        margin-bottom: 2px;
    }

    .cart-item-size {
        color: #666;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .cart-item-qty {
        display: flex;
        align-items: center;
        gap: 4px;
        margin-bottom: 4px;
    }

    .cart-item-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .cart-item-price {
        font-weight: bold;
        font-size: 14px;
    }

    .product-name {
        display: inline;
        /* default */
    }

    /* If image present, hide product name */
    td>.product-img+.product-name {
        display: none;
    }

    .form-group button.add {
        font-size: 16px;
        border-radius: 2px;
        padding: 4px 8px;
        margin-left: 15px;
    }

    .product-popup-scrolling {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .product-popup-scrolling .pane {
        margin: 0;
        /*126px auto 0 auto;*/
        margin-bottom: 20px;
        padding: 4px;
        width: 320px;
    }
}

@font-face {
    font-family: 'ArieStrikke';
    src: url('fonts/AirstrikeRegular-V6Lw.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}