/* 1. Font-Face Definitions */
/* Goldman */
@font-face {
    font-family: 'Goldman';
    src: url('fonts/Goldman/Goldman-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Julius Sans One */
@font-face {
    font-family: 'Julius Sans One';
    src: url('fonts/Julius_Sans_One/JuliusSansOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* 2. Scrollbar & Universal Styles */
::-webkit-scrollbar {
    width: 0.5vw;
    background: black;
}

::-webkit-scrollbar-thumb {
    background-color: white;
    width: 100%;
    border-radius: 10px;
}

::-webkit-scrollbar-track-piece {
    margin: 0;
    background-color: black;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

html {
    min-height: 100vh;
}

body {
    color: white;
    font-family: "SF Pro Text", "SF Pro Icons", "AOS Icons", "Helvetica Neue", Helvetica, Arial, sans-serif, system-ui;
    font-size: 20px;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: hsl(0 0% 2%);
}

body::before {
    --line: hsl(0 0% 95% / 0.25);
    content: "";
    height: 100vh;
    width: 100vw;
    position: fixed;
    background:
        linear-gradient(90deg, var(--line) 1px, transparent 1px 10vmin) 0 -5vmin / 10vmin 10vmin,
        linear-gradient(var(--line) 1px, transparent 1px 10vmin) 0 -5vmin / 10vmin 10vmin;
    mask: linear-gradient(-15deg, transparent 30%, white);
    top: 0;
    z-index: -1;
}

a {
    color: dodgerblue;
}

/* 3. Layout & Section Styles */
body#login {
    max-height: 100vh;
    min-width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
}

body#configurator {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body#configurator main {
    flex: 1;
    margin-top: 15vh;
}

.configurator-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#configurator-title {
    font-family: "Goldman", sans-serif;
    font-size: 48px;
    color: white;
    margin: 0;
    text-align: center;
}

.configurator-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
}

#customization-panel {
    padding: 1rem;
    border-radius: 2rem;
    color: white;
    max-width: 75vw;
    margin: 0;
    margin-bottom: 2vh;
}

#customization-panel .button-red {
    max-width: 20vw;
    padding: 1rem;
}

#configurator #customization-panel h4 {
    padding-left: 1rem;
    text-align: left;
}

#customization-panel .customization-content {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    padding-bottom: 1rem;
}

#customization-form {
    flex: 1;
    border: 1px solid white;
    border-radius: 2rem;
    min-width: 60%;
}

.car-preview {
    flex: 1;
    border: 1px solid white;
    border-radius: 2rem;
    max-width: 75%;
    width: 70%;
    height: auto;
    justify-self: center;
}

.preview-image {
    width: 100%;
    height: auto;
    max-height: 45vh;
    border-radius: 1rem;
}

#preview-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-group {
    margin-bottom: 2rem;
}

.option-group h4 {
    font-family: "Goldman", sans-serif;
    margin-bottom: 1rem;
}

.color-options {
    display: flex;
    justify-self: center;
    gap: 1rem;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
}

.color-swatch.black {
    background-color: #000000;
}

.color-swatch.white {
    background-color: #ffffff;
}

.color-swatch.brown {
    background-color: #331f00;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked+.color-swatch,
input[type="radio"]:checked+.material-option {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

select {
    width: 100%;
    padding: 0.5rem;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 0.5rem;
}

button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: white;
    color: black;
    border: none;
    border-radius: 0.5rem;
    font-family: "Goldman", sans-serif;
    cursor: pointer;
    margin-top: 2rem;
}

button[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.8);
}

.expandable-list {
    font-family: "Goldman";
    margin: 0;
    list-style: none;
}

.expandable-list ul {
    list-style: none;
}

.expandable-list li {
    list-style-type: none;
}

#customization-panel h3 {
    font-family: "Goldman";
    font-size: 40px;
    padding: 1rem;
}

#customization-panel h4 {
    font-family: "Goldman";
    align-items: flex-start;
    font-size: 32px;
    padding: 1rem;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Goldman", sans-serif;
    font-size: 48px;
    margin: 0.5em 0 0.5em 0;
    color: #FFF;
    line-height: normal;
    text-align: center;
    font-weight: 400;
}

h3.center {
    justify-content: center;
    line-height: normal;
    text-align: center;
    margin: 3rem;
}

h1 {
    display: grid;
    place-items: center;
}

h1 span,
h2 {
    background: linear-gradient(hsl(0 0% 98%) 30%, hsl(0 0% 30%));
    color: transparent;
    background-clip: text;
}

h1,
h2,
h3 {
    background: linear-gradient(hsl(0 0% 98%) 30%, hsl(0, 0%, 83%));
    color: transparent;
    background-clip: text;
}

h1 span:first-of-type {
    text-transform: uppercase;
}

header {
    align-items: center;
    background: transparent;
    display: flex;
    justify-content: center;
    margin-top: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 98;
}

#nav-bar {
    z-index: 99;
}

header nav ul li #logo {
    height: 5rem;
    padding: 0.5rem;
    align-self: center;
    justify-self: center;
}

header nav ul li a.active {
    color: red;
}

header nav ul li a {
    padding: 0;
}

header nav {
    border-radius: 5rem;
    display: flex;
    justify-content: center;
    max-width: 90%;
    width: 100%;
    margin-top: 1rem;
    height: auto;
    background: transparent;
}

header nav.opaque {
    background-color: black;
    border-radius: 5rem;
    box-shadow: 0 .25rem .5rem rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: background-color 0.2s ease;
}

header nav ul {
    align-items: center;
    background: transparent;
    color: #FFF;
    display: flex;
    font-family: "Goldman", sans-serif;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 400;
    justify-content: center;
    line-height: normal;
    list-style: none;
    margin: 0;
    text-align: center;
    width: 100%;
    padding: 0;
}

header nav ul li {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    width: 30em;
}

/* ACCOUNT AND SEARCH ICONS */
header nav ul li #account-and-cart {
    flex-direction: row;
}

#account-and-cart a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

header nav ul li a {
    background: transparent;
    color: white;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: black 0 4px 4px;
    padding: 0;
}

header nav.opaque {
    background-color: black;
    border-radius: 5rem;
    box-shadow: 0 .25rem .5rem rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: all 0.2s ease;
}

header>nav>ul>li:not(:has(ul))>a:focus-within {
    color: red;
    opacity: 0.75;
    transition: all .2s;
}

header>nav>ul>li:not(:has(ul))>a:hover {
    color: red;
    opacity: 0.75;
    transition: all .2s;
}

header>nav>ul>li:has(ul)>a:hover {
    opacity: 0.75;
    transition: all .2s;
}

header>nav>ul>li>a:hover {
    opacity: 0.75;
    transition: all .2s;
}

header nav ul li img:not(#logo) {
    padding: 0;
    align-self: center;
    display: flex;
    justify-self: center;
}

header nav ul li img:hover {
    opacity: 0.75;
    transition: all .2s;
    cursor: pointer;
}

body:not(#home):not(#login):not(#support):not(#configurator):not(#contact) main {
    margin-top: 20vh;
}

#contact {
    margin-top: 12vh;
}

#support {
    margin-top: 12vh;
    overflow-y: hidden;
}

.scroll-down-arrow {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2hldnJvbl90aGluX2Rvd24iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjAgMjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDIwIDIwIiBmaWxsPSJ3aGl0ZSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZD0iTTE3LjQxOCw2LjEwOWMwLjI3Mi0wLjI2OCwwLjcwOS0wLjI2OCwwLjk3OSwwYzAuMjcsMC4yNjgsMC4yNzEsMC43MDEsMCwwLjk2OWwtNy45MDgsNy44M2MtMC4yNywwLjI2OC0wLjcwNywwLjI2OC0wLjk3OSwwbC03LjkwOC03LjgzYy0wLjI3LTAuMjY4LTAuMjctMC43MDEsMC0wLjk2OWMwLjI3MS0wLjI2OCwwLjcwOS0wLjI2OCwwLjk3OSwwTDEwLDEzLjI1TDE3LjQxOCw2LjEwOXoiLz48L3N2Zz4=);
    background-size: contain;
    background-repeat: no-repeat;
    padding: 0;
    margin: 0;
}

.scroll-down-link {
    padding: 0;
    margin: 0;
    position: absolute;
    z-index: 10;
    cursor: pointer;
    height: 60px;
    width: 60px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFF;
    text-align: center;
    font-size: 70px;
    text-decoration: none;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.4);
    -webkit-animation: fade_move_down 2s ease-in-out infinite;
    -moz-animation: fade_move_down 2s ease-in-out infinite;
    animation: fade_move_down 2s ease-in-out infinite;
}

.hero {
    align-items: center;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    justify-content: space-around;
    margin: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: -1;
}

.hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.2) 25%,
            transparent 50%,
            rgba(0, 0, 0, 0.4) 75%,
            rgba(0, 0, 0, 0.6) 100%),
        radial-gradient(circle at center,
            transparent 30%,
            rgba(0, 0, 0, 0.7) 100%);
    z-index: 0;
    pointer-events: none;
}

.hero article {
    color: white;
    font-family: "Julius Sans One";
    font-size: 2rem;
    height: auto;
    line-height: 0.1;
    position: relative;
    text-align: center;
    width: auto;
    left: -32%;
    top: -12%;
    z-index: 1;
}

.hero h1 {
    color: #FFF;
    font-family: "Julius Sans One";
    font-size: 128px;
    font-style: normal;
    font-weight: 400;
    line-height: 0.1;
    text-shadow: 0px 10px 33.5px #000;
}

.article p {
    font-weight: lighter;
}

.halves p {
    font-size: 32px;
}

.halves article {
    width: 50%;
}

.halves article.centered {
    display: flex;
    margin: 0 auto;
    align-items: center;
    flex-direction: column;
}

.split article {
    width: 48%;
    height: 48%;
}

.split p {
    font-size: 32px;
}

.split img {
    object-fit: cover;
    width: 50%;
}

.quarter article {
    padding: 0vh;
    width: 25%;
}

.quarter article p {
    text-align: center;
}

.quarter img {
    object-fit: cover;
    padding: 0.5em;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 2em;
    margin: 0 auto;
    max-width: calc(100vw - 15vw);
}

.row.full {
    width: 100vw;
}

.split iframe {
    width: 50%;
    height: 50vh;
    padding: 2rem;
}

.thirds article {
    width: 30%;
}

.card {
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.33);
}

.card img {
    border: 1px solid #FFF;
}

.cards article h2,
.cards article h3,
.cards article p,
.card h2,
.card h3,
.card p {
    padding: 0 1rem;
}

.cards article a,
.card a {
    float: left;
    margin-bottom: 1rem;
    margin-right: 0rem;
}

.cards .button,
.card .button {
    border-radius: 1rem;
}

.image-container img {
    background-color: black;
    border-radius: 0.33em;
}

#close-menu-button {
    position: absolute;
    top: 4vh;
    left: 2vw;
    cursor: pointer;
}

#hpimage {
    align-items: center;
    background-attachment: fixed;
    background-image: url(../imgs/nemesis-road-tilt-upscaled.webp);
    background-position: 0 10%;
    background-size: cover;
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    justify-content: space-around;
    margin: 0;
}

#privacy {
    margin: 0;
}

#social {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
}

#blackwidowhero {
    align-items: center;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    justify-content: space-around;
    margin: 0;
    width: 100%;
    z-index: -1;
    background-image: url(../imgs/blackwidow-upscaled.webp);
}

#blackwidowhero article {
    color: white;
    font-family: "Julius Sans One";
    font-size: 2rem;
    height: auto;
    line-height: 0.1;
    position: relative;
    text-align: center;
    width: auto;
    left: 0%;
    top: -12%;
    z-index: 1;
}

#blackwidowhero h1 {
    color: #FFF;
    font-family: "Julius Sans One";
    font-size: 128px;
    font-style: normal;
    font-weight: 400;
    text-shadow: -2px 2px 10px #00263a;
}

#nemesishero {
    align-items: center;
    background-attachment: fixed;
    background-position: top center;
    background-size: cover;
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    justify-content: space-around;
    margin: 0;
    position: relative;
    top: 0;
    width: 100%;
    z-index: -1;
    background-position-y: 100%;
    background-position-x: 100%;
    background-image: url(../imgs/nemesis-black-optimized.webp);
}

#nemesishero article {
    color: white;
    font-family: "Julius Sans One";
    font-size: 2rem;
    height: auto;
    line-height: 0.1;
    position: relative;
    text-align: center;
    width: auto;
    left: 0%;
    top: -12%;
    z-index: 1;
}

#nemesishero h1 {
    color: #FFF;
    font-family: "Julius Sans One";
    font-size: 128px;
    font-style: normal;
    font-weight: 400;
    text-shadow: -2px 2px 10px #00263a;
}

#nemesis-editor {
    width: 100%;
    height: 100vh;
}

#nemesis-editor img {
    width: 100%;
    height: 100vh;
    padding: 0;
}

.halves article {
    width: 48%;
}

.rich {
    width: 153%;
}

.patterson {
    border: solid;
    margin-top: 9vh;
}

.aboutus {
    margin-top: 39%;
    margin-top: 70px;
}

.aboutus1 {
    margin-top: 70px;
    width: 150%;
}

#mobile-primary-navigation {
    display: none;
}

.image-container {
    position: relative;
    width: 48%;
    padding: 0;
    margin: 0;
}

.image-heading {
    position: absolute;
    font-family: "Julius Sans One", sans-serif;
    color: white;
    font-size: 40px;
    padding: 1rem;
    z-index: 1;
}

.image-heading.left {
    top: 0;
    left: 0;
}

.image-heading.right {
    top: 0;
    right: 0;
}

.button-container {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5%;
    padding: 0 20px;
}

.car-button {
    border: 1px solid white;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: black;
    border-radius: 0.33em;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.33);
    color: white;
    display: inline-block;
    font-size: 1rem;
    margin-left: 10px;
    padding: 0.25em 3em;
    text-decoration: none;
    transition: color ease 200ms, background ease 200ms;
    text-align: center;
    min-width: 12vw;
}

.car-button:hover {
    background-color: white;
    color: black;
    transform: scale(1.05);
}

.material-options {
    display: flex;
    justify-self: center;
    gap: 1rem;
    padding: 1rem;
}

.material-option {
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.material-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked+.material-option {
    background-color: white;
    color: black;
    border-color: white;
}

#shop {
    overflow-x: hidden;
}

.shop-hero {
    align-items: center;
    background-attachment: fixed;
    background-size: cover;
    width: 100vw;
    height: 40vh;
    margin: 0;
    position: relative;
    top: 0;
    z-index: 0;
    background-position-y: 70%;
    background-position-x: 50%;
}

.shop-hero article {
    color: black;
    font-size: 2rem;
    height: auto;
    line-height: 0.1;
    position: relative;
    text-align: center;
    width: auto;
    left: 0%;
    top: 20%;
    z-index: 1;
}

.shop-hero h1 {
    font-size: 128px;
    font-style: normal;
    font-weight: 400;
    background: linear-gradient(hsl(0 0% 98%) 30%, hsl(0 0% 30%));
    color: transparent;
    background-clip: text;
}

.shop-hero.main {
    height: 65vh;
    margin-top: 20vh;
    background-image: url(../imgs/shop/shop-hero.webp);
}

.shop-hero.main h1 {
    font-family: "Julius Sans One";
}

.shop-hero.main article {
    top: 30%;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 95vw;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 300ms ease-in-out;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 30vh;
    object-fit: contain;
    border-radius: 0rem;
}

.product-card h3 {
    font-family: "Goldman", sans-serif;
    margin-bottom: 0.5rem;
}

.product-card .price {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.product-card .add-to-cart {
    background: white;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.product-card .add-to-cart:hover {
    opacity: 0.75;
    transition: all 0.3s ease;
}

.catagory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 90vw;
    margin: 0 auto;
}

.catagory-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 300ms ease-in-out;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.catagory-card:hover {
    transform: translateY(-5px);
}

.catagory-card img {
    width: 100%;
    height: 40vh;
    object-fit: cover;
    border-radius: 1rem;
}

.catagory-card h3 {
    font-family: "Goldman", sans-serif;
    margin-bottom: 1rem;
}

.catagory-card .price {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
}

.catagory-card .add-to-cart {
    background: white;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.catagory-card .add-to-cart:hover {
    opacity: 0.75;
    transition: transform 0.3s ease;
}

.vertical-menu {
    position: fixed;
    left: 50px;
    top: 50px;
    display: flex;
    flex-direction: column;
    gap: 4vh;
    max-width: 15vw;
    text-align: center;
}

.vertical-menu img {
    width: 12vh;
    align-self: center;
    margin-top: 50%;
    margin-bottom: 40px;
}

.vertical-menu a {
    font-family: "Goldman", sans-serif;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.background-image {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 80%;
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-wrapper {
    text-align: center;
    font-family: "Goldman", sans-serif;
}

.title-wrapper h1 {
    text-align: center;
    font-family: "Goldman", sans-serif;
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
}

.input-wrapper {
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

.other-page {
    text-align: center;
}

.floating-logo {
    height: 5rem;
    padding: 8px;
    top: 0;
    margin-top: 1rem;
}

.switch-button {
    display: flex;
    justify-content: center;
    justify-self: center;
    align-items: center;
    align-self: center;
}

#preview-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#car-preview {
    max-width: 50%;
    height: auto;
    border-radius: 1rem;
}

.expandable-list {
    list-style: none;
    padding: 20px;
    color: white;
}

.item-header {
    cursor: pointer;
    padding: 10px;
    font-size: 2.5rem;
}

.item-header:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#customization-form {
    border: 1px solid white;
    border-radius: 2rem;
    padding: 1rem;
}

#customization-panel {
    display: none;
}

#customization-panel h2 {
    padding: 0;
    margin: 0;
}

.expandable-list {
    list-style: none;
    padding: 20px;
    color: white;
}

.item-header {
    cursor: pointer;
    padding: 10px;
    font-size: 1.2em;
}

.item-header:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

#contact main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin: 0;
    background-attachment: fixed;
    background-size: cover;
}

#contact form {
    display: flex;
    flex-direction: column;
    max-width: 50vw;
    min-width: 20vw;
    gap: 0.5rem;
}

#contact input,
#contact textarea {
    height: 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 2px;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 4px inset;
    font-family: Arial, Helvetica, sans-serif;
    max-width: 50vw;
}

#contact textarea {
    height: 5rem;
}

#contact button {
    width: 2vw;
    justify-self: flex-end;
    align-self: flex-end;
}

/* FOOTER */
footer {
    display: flex;
    align-items: center;
    border: 2px gray solid;
    border-left: none;
    border-right: none;
    border-bottom: none;
    flex-direction: row;
    justify-content: space-between;
    min-height: 20vh;
    max-width: 100vw;
    padding: 1rem 2rem;
    text-align: center;
    margin-top: 10vh;
}

footer a {
    color: white;
}

footer a:hover {
    opacity: 0.5;
    transition: opacity 200ms ease;
}

#login footer {
    position: fixed;
    bottom: 0;
    border: none;
}

#footer-layout {
    display: flex;
    flex-direction: row;
    font-family: "Goldman";
    font-size: 28px;
    align-items: center;
    gap: 1rem;
}

#footer-layout img {
    width: 4rem;
}

/* THE NEMESIS PAGE */
#nemesis main {
    padding: 5rem;
}

#nemesisimage {
    align-items: center;
    background-attachment: fixed;
    background-image: url(../imgs/yellow-upscaled.webp);
    background-position: 0 80%;
    background-size: cover;
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    justify-content: space-around;
    margin: 0;
}

/* BLACK WIDOW PAGE */
body#black-widow main {
    margin: 0;
    margin-top: 0;
}

.full {
    max-width: 50vw;
    margin: 0 auto;
    font-size: 32px;
    padding: 5rem;
}

#blackwidowimage {
    align-items: center;
    background-attachment: fixed;
    background-image: url(../imgs/blackwidow-front.webp);
    background-position: 0 80%;
    background-size: cover;
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    justify-content: space-around;
    margin: 0;
}

/* DROPDOWN  */
header .dropdown {
    margin: 0;
    display: none;
    position: absolute;
    transition: opacity 300ms ease;
    top: 100%;
    text-align: center;
    font-size: 1.5rem;
    flex-direction: column;
}

header ul li:hover>ul,
header ul li:focus-within>ul,
header ul li ul:hover {
    opacity: 1;
    visibility: visible;
    display: inline-flex;
    animation: dropdown-open 200ms ease-out forwards;
}

header ul li ul li:hover:not(:focus-within)>a,
header ul li ul li:focus-within>a {
    color: red;
    opacity: 0.75;
}

header li {
    position: relative;
}

/* BLUR BODY ON MENU OPEN  */
body.no-scroll {
    overflow: hidden;
}

#blur-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
}

#blur-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* SIDE MENU */
.item-header {
    cursor: pointer;
    padding: 10px;
    position: relative;
    display: flex;
    align-items: center;
}

.side-menu .item-header::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    margin-right: 10px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.side-menu .item-header.expanded::before {
    transform: rotate(45deg);
}

.side-menu .sub-list {
    padding: 0;
    padding-left: 1rem;
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.side-menu .sub-list.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.side-menu .sub-list li {
    list-style: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.side-menu .sub-list li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.side-menu .sub-list li.selected {
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
}

.side-menu .sub-list li.selected::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background-color: white;
    transition: 0.3s;
}

.side-menu {
    align-items: center;
    background-color: #000000;
    /* border: 1px solid gray; */
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    /* border-left: none; */
    border-radius: 0 40px 40px 0;
    display: flex;
    flex-direction: column;
    font-family: "Goldman", sans-serif;
    height: 100%;
    justify-content: center;
    top: 0;
    left: 0;
    overflow-x: hidden;
    padding-top: 60px;
    position: fixed;
    transition: 0.2s;
    width: 450px;
    z-index: 101;
    transform: translateX(-500px)
}

.side-menu a {
    color: white;
    display: block;
    font-size: 2.5rem;
    padding: 1rem;
    text-align: left;
    text-decoration: none;
    transition: 0.3s;
}

.side-menu a:hover {
    background-color: #575757;
}

.side-menu div {
    color: white;
    display: block;
    transition: 0.3s;
}

.side-menu div li {
    color: white;
    display: block;
    font-size: 15px;
    padding: 15px 35px;
    text-align: center;
    transition: 0.3s;
}

.side-menu div:hover {
    background-color: #575757;
}

.side-menu.open {
    color: white;
    transform: translateX(0);
    transition: 0.3s;
}

.side-menu.open #close-menu-button svg {
    fill: black;
}

.side-menu.open #close-menu-button svg {
    fill: white;
}

.side-menu a.active {
    color: rgb(255, 0, 0);
    text-shadow: -2px 2px 10px rgba(255, 255, 255, 0.5);
}

ul.expandable-list>li>.item-header {
    font-size: 2.5rem;
}

ul.expandable-list>li>ul.sub-list>li>.item-header {
    font-size: 2rem;
}

ul.expandable-list>li>ul.sub-list>li>ul.sub-list>li>.item-header {
    font-size: 1.5rem;
}

ul.expandable-list>li>ul.sub-list {
    background: rgba(200, 200, 255, 0.06);
    border-radius: 1rem;
}

ul.expandable-list>li>ul.sub-list>li>a {
    font-size: 2rem;
}

.sub-list {
    padding: 1rem;
    padding-left: 20px;
}

.list-item .sub-list .list-item .sub-list {
    padding: 1rem;
}

.side-menu ul li ul li:hover:not(:focus-within)>a,
.side-menu li ul li:focus-within>a {
    margin-left: -5%;
    opacity: 1;
}

/* RED GLOW BUTTON */
.continue-btn {
    width: 100%;
    min-height: 5vh;
    min-width: 10vw;
}

.button-red {
    overflow: hidden;
    padding: 3px;
    margin: 0;
    border-radius: 10px;
    position: relative;
    transition: all 300ms ease-in-out;
    border: 1px solid white;
    background: rgba(88, 0, 0, 0.75);
}

.button-red a {
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    font-family: "Goldman", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    height: 100%;
    display: block;
}

.button-red .inner {
    cursor: pointer;
}

.button-red span {
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    font-family: "Goldman", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blob {
    filter: blur(40px);
    position: absolute;
    z-index: -1;
    top: 0;
    opacity: 0;
    left: 0;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    transition: all 300ms ease-in-out;
    background: rgba(255, 0, 0, 1);
}

.fakeblob {
    display: hidden;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    border-radius: 50%;
}

/* Support Page Styles */
.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.support-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.support-card h2 {
    color: white;
    font-family: "Goldman", sans-serif;
    margin-bottom: 1rem;
}

.support-card p,
.support-card ul li {
    color: white;
}

.support-card ul li:before {
    color: red;
}

.faq-section details {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.faq-section summary {
    cursor: pointer;
    font-weight: bold;
    color: white;
    font-family: "Goldman", sans-serif;
}

.faq-section details p {
    margin-top: 1rem;
    color: white;
}

.support-option {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.support-option h3 {
    color: white;
    font-family: "Goldman", sans-serif;
    margin-bottom: 1rem;
}

.support-option p {
    color: white;
}

.cart-side-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    overflow-y: auto;
    z-index: 1000;
}

/* Slide animations */
.slide-in {
    animation: slideIn 0.3s ease-out forwards;
}

.slide-out {
    animation: slideOut 0.3s ease-out forwards;
}

.translate-x-full {
    transform: translateX(100%);
}

.translate-x-0 {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
}

.cart-header h2 {
    margin: 0;
    font-family: "Goldman", sans-serif;
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0.5rem;
}

close-cart:hover {
    opacity: 0.8;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    position: relative;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    padding: 0;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    text-align: left;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.quantity-controls button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.quantity-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.remove-item {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.2rem;
}

.remove-item:hover {
    color: rgba(255, 0, 0, 0.8);
}

.cart-total {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-total h3 {
    margin: 0 0 1rem 0;
    font-family: "Goldman", sans-serif;
    font-size: 1.2rem;
    text-align: left;
}

.hollow-button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 1rem;
    font-family: "Goldman", sans-serif;
    padding: 1rem;
    margin: 0;
}

.hollow-button:hover {
    background-color: #5757578c;
}

.hollow-button span {
    text-decoration: none;
    color: white;
    font-size: 1.5em;
    font-family: "Goldman", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.full-button {
    display: inline-block;
    background: white;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: "Goldman", sans-serif;
    cursor: pointer;
}

.full-button span {
    text-decoration: none;
    color: black;
    font-size: 1.5em;
    font-family: "Goldman", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.full-button:hover {
    opacity: 0.8;
}

.clear-cart {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 1rem;
    font-family: "Goldman", sans-serif;
}

.clear-cart:hover {
    background: rgba(255, 255, 255, 0.1);
}

.checkout-button {
    display: inline-block;
    background: white;
    color: black;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: "Goldman", sans-serif;
}

.checkout-button:hover {
    background: rgba(255, 255, 255, 0.8);
}

.empty-cart {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.cart-category {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cart-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: white;
    text-align: left;
    font-family: "Goldman", sans-serif;
}

.category-total {
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.category-total p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: right;
}

/* CONFIGUARATOR */
.item-header::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    margin-right: 10px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.item-header.expanded::before {
    transform: rotate(45deg);
}

.sub-list {
    padding: 0;
    padding-left: 2rem;
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.sub-list.expanded {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.sub-list li {
    list-style: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sub-list li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sub-list li.selected {
    background-color: rgba(255, 255, 255, 0.2);
    position: relative;
}

.sub-list li.selected::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background-color: white;
    transition: 0.3s;
}

/* Overlay Styles */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    background: rgba(0, 0, 0, 0.95);
    padding: 2rem;
    border-radius: 8px;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.overlay-content h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.overlay-content p {
    color: #ccc;
    margin-bottom: 2rem;
}

.overlay-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.overlay-buttons .button-red {
    flex: 1;
}

.pop-out-section {
    display: grid;
    place-items: center;
    max-width: 100%;
    height: 100vh;
}

.pop-out-section figure {
    border-radius: 1rem;
    margin: 0;
    overflow: hidden;
    inset: 0;
    position: absolute;
    width: 100%;
}

figure:last-of-type {
    --b: 1.5;
    overflow: visible;
    clip-path: inset(-200% 0 0 0);
}

.pop-out-image {
    view-timeline-name: --popper;
    aspect-ratio: 1;
    position: relative;
    width: clamp(100px, 45vmin, 300px);
}

figure img {
    aspect-ratio: 1;
    animation: slide-up linear both;
    animation-timeline: --popper;
    animation-range: entry 100% cover 50%;
    left: 50%;
    object-fit: cover;
    position: absolute;
    translate: var(--x1, -50%) var(--y1, 0);
    top: 0%;
    width: var(--size, 100%);
}

h2 {
    font-size: clamp(2rem, 4vw + 1rem, 9rem);
}

@keyframes slide-up {
    to {
        translate: var(--x1, -50%) var(--y2, -50%);
        filter: brightness(var(--b, 0.1%));
        box-shadow: 0 3px 5px rgba(0, 0, 0, 0.33, 1%);
    }
}

:not(.button-red)section,
section * {
    transform-style: preserve-3d;
}

.pop-out-image,
figure {
    transition: transform 0.2s;
}

[data-exploded] .pop-out-image {
    transform: rotateX(-14deg) rotateY(55deg);
}

.pop-out-image {
    outline: 4px dashed transparent;
    transition: outline 0.2s;
    border-radius: 1rem;
}

[data-exploded] .pop-out-image {
    outline-color: hsl(0 0% 100% / 0.75);
}

[data-exploded] .pop-out-image figure:last-of-type {
    transform: translate3d(0, 0, 100px);
}

[data-exploded] .pop-out-image figure:first-of-type {
    transform: translate3d(0, 0, -100px);
}

/* Car Sliding Sections */
.car-section {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    overflow: hidden;
}

.car-section.reverse {
    flex-direction: row-reverse;
}

.car-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    z-index: 2;
    align-items: flex-start;
}

.car-section.reverse .car-content {
    align-items: flex-end;
}

.car-content h2 {
    font-size: 6rem;
    margin: 0;
    text-align: left;
    background: linear-gradient(hsl(0 0% 98%) 30%, hsl(0 0% 30%));
    color: transparent;
    background-clip: text;
}

.car-section.reverse .car-content h2 {
    text-align: right;
}

.car-content .button-red {
    width: fit-content;
    min-width: 15vw;
    font-size: 1rem;
}

.car-image {
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.car-section.reverse .car-image {
    transform: translateX(-100%);
}

/* 7. Animations & Keyframes */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@-webkit-keyframes fade_move_down {
    0% {
        -webkit-transform: translate(-50%, -20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(-50%, 20px);
        opacity: 0;
    }
}

@-moz-keyframes fade_move_down {
    0% {
        -moz-transform: translate(-50%, -20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -moz-transform: translate(-50%, 20px);
        opacity: 0;
    }
}

@keyframes fade_move_down {
    0% {
        transform: translate(-50%, -20px);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

@keyframes dropdown-open {
    0% {
        opacity: 0;
        transform: translateY(-15%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@keyframes dropdown-open-mobile {
    0% {
        opacity: 0;
        transform: translateX(-15%);
    }

    100% {
        opacity: 1;
        transform: translateX(0%);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

/* 8. Media Queries */
@media screen and (max-width: 768px) {
    header nav {
        position: relative;
        height: auto;
        max-width: 100%;
        border-radius: 0;
        margin-top: 0;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0.5rem;
        position: relative;
        margin-top: 0vh;
        height: 8vh;
    }

    header nav.opaque {
        background-color: black;
        border-radius: 0;
        border: none;
        box-shadow: 0 .25rem .5rem rgba(255, 255, 255, 0.1);
        height: 9vh;
        opacity: 1;
        transition: background ease 200ms;
        position: absolute;
        top: 0;
    }

    header nav ul li:first-child {
        position: fixed;
        top: 1rem;
        left: 1rem;
        width: auto;
        z-index: 301;
    }

    header nav ul li:nth-child(4) {
        position: fixed;
        top: 0rem;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        z-index: 301;
    }

    header nav ul li:last-child {
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: auto;
        z-index: 301;
    }

    #hero {
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: 10%;
        background-position-y: 50%;
        height: 100vh;
        width: 100vw;
    }

    #hero h1 {
        font-size: 48px;
    }

    #hero article {
        left: 0;
        top: -10vh;
        line-height: 2rem;
    }

    .button-container {
        bottom: 0%;
    }

    #hpimage {
        background-position: 37%;
    }

    #close-menu-button {
        display: none;
    }

    .row {
        padding: 0 1rem;
    }

    .split article,
    .halves article,
    .thirds article,
    .quarter article {
        width: 100%;
        margin-bottom: 1rem;
    }

    .split iframe,
    .halves iframe,
    .thirds iframe,
    .quarter iframe {
        width: 100%;
        margin-bottom: 1rem;
    }

    .split img,
    .halves img,
    .thirds img,
    .quarter img {
        width: 100%;
        margin-bottom: 1rem;
    }

    .side-menu.open {
        width: 100%;
        border-radius: 0;
    }

    footer {
        flex-direction: column;
        gap: 1rem;
    }

    #footer-layout {
        flex-direction: column;
        font-size: 20px;
    }

    body {
        font-size: 16px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-size: 1.5rem;
    }

    header nav ul li.main-nav {
        display: none;
    }

    #mobile-primary-navigation .list-item .active {
        color: red;
    }

    #mobile-primary-navigation {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    #mobile-primary-navigation a:not(.sub-list a) {
        font-size: 2.5rem;
        padding: 10px 25px;
        text-decoration: none;
    }

    #mobile-primary-navigation .list-item {
        margin: 0;
        padding: 0;
    }

    #mobile-primary-navigation .item-header {
        font-size: 2.5rem;
        padding: 10px;
        cursor: pointer;
        position: relative;
        display: flex;
        align-items: center;
    }

    #mobile-primary-navigation .item-header::before {
        content: '';
        display: inline-block;
        width: 15px;
        height: 15px;
        border-right: 2px solid white;
        border-bottom: 2px solid white;
        margin-right: 10px;
        transform: rotate(-45deg);
        transition: transform 0.3s ease;
    }

    #mobile-primary-navigation .item-header.expanded::before {
        transform: rotate(45deg);
    }

    #mobile-primary-navigation .sub-list {
        background: rgba(200, 200, 255, 0.06);
        border-radius: 1rem;
        padding: 1rem;
        transition: max-height 0.3s ease-out;
    }

    #mobile-primary-navigation .sub-list li {
        list-style: none;
        padding: 0;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    #mobile-primary-navigation .sub-list li:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    #mobile-primary-navigation .sub-list a {
        font-size: 2rem;
        color: white;
        text-decoration: none;
        display: block;
        padding: 10px 25px;
    }

    #mobile-primary-navigation .sub-list.expanded {
        display: block;
        animation: slideDown 0.3s ease-out;
    }

    .side-menu.open {
        width: 100%;
    }

    .side-menu .main-nav-item {
        display: block;
    }

    .side-menu a {
        font-size: 2.5rem;
        padding: 10px 25px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        padding: 1rem;
    }

    .product-card img {
        height: 150px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-options {
        grid-template-columns: 1fr;
    }

    .cart-side-menu {
        width: 100%;
    }

    /* Configurator specific mobile styles */
    #configurator main {
        margin-top: 10vh;
        padding: 1rem;
    }

    .configurator-container {
        width: 100%;
    }

    #customization-panel {
        padding: 0.5rem;
    }

    #customization-panel h3 {
        font-size: 24px;
        padding: 0.5rem;
    }

    #customization-panel h4 {
        font-size: 20px;
        padding: 0.5rem;
    }

    .overlay-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .overlay-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .overlay-buttons button {
        width: 100%;
    }

    /* Mobile car section styles */
    .car-section {
        flex-direction: column;
        padding: 2rem 5%;
        gap: 2rem;
        justify-content: flex-start;
    }

    .car-section.reverse {
        flex-direction: column;
    }

    .car-content {
        width: 100%;
        align-items: center;
        text-align: center;
        padding-top: 15vh;
    }

    .car-content .button-red {
        width: fit-content;
        width: 50vw;
        font-size: 1rem;
    }

    .car-section.reverse .car-content {
        align-items: center;
    }

    .car-content h2 {
        font-size: 4rem;
        text-align: center;
    }

    .car-section.reverse .car-content h2 {
        text-align: center;
    }

    .car-image {
        width: 100%;
        margin-top: 2rem;
    }

    .car-image img {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
}