@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;700&family=Space+Grotesk:wght@300..700&display=swap");

:root {
    --color-primary: #c9a96e !important;
    --color-primary-hover: #e0c28b !important;
    --bg-image: none !important;
}

body {
    font-family: "Space Grotesk", sans-serif !important;
    background: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 50%, #000000 100%) !important;
    background-attachment: fixed !important;
    color: #f0f0f0;
    position: relative;
    overflow-x: hidden;
}

/* Subtle premium texture */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    /* Clean subtle tech grid pattern instead of dirty noise */
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px; /* Size of the grid squares */
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%); /* Fades out nicely on the edges */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Base resets for a cleaner look */
* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brutal-title {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
}

.brutal-title {
    font-size: 4rem;
    color: #ffffff; /* White looks cleaner for premium design */
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
    border-radius: 2px;
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Premium Button Style */
.btn-primary, .btn-secondary {
    position: relative;
    background-color: var(--color-primary) !important;
    border: 1px solid var(--color-primary);
    color: #000000 !important;
    --btn-color-text: #000000;
    --btn-color-text-hover: var(--color-primary);
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1;
}

.btn-primary .btn-text, .btn-secondary .btn-text {
    position: relative;
    z-index: 2;
}

.btn-primary .progress-fill, .btn-secondary .progress-fill {
    display: none;
}

.btn-primary:hover, .btn-secondary:hover {
    background-color: transparent !important;
    color: var(--color-primary) !important;
}

.quantity-field {
    border-radius: 2px;
    font-family: "JetBrains Mono", monospace;
}

/* .site-header-inner {
    height: auto !important;
    min-height: 120px;
    padding-top: 20px;
}

body.is-navigation-horizontal .site-header-inner {
    height: auto !important;
} */

.site-header-inner .info .image {
    border-radius: 2px;
}

.site-sale-banner {
    border-radius: 2px;
    font-family: "JetBrains Mono", monospace;
    background-color: var(--color-primary);
    color: #000;
}

.site-home-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
    justify-content: center;
}

.site-home-categories .category {
    flex: 0 1 380px;
    height: 130px;
    border-radius: 2px; /* Very subtle rounding */
    padding: 0 40px;
    background: linear-gradient(145deg, #161616, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    
    /* Horizontal Layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start; /* Keeps it clean if there's an icon */
    gap: 25px;
    
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-home-categories .category .image,
.site-home-categories .category .image-default {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    margin: 0 !important;
    opacity: 0.8;
    transition: all 0.4s ease;
}

/* Hover state: Lifts up, subtle glow, gold border */
.site-home-categories .category:hover {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.site-home-categories .category:hover .image,
.site-home-categories .category:hover .image-default {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(201, 169, 110, 0.3));
}

.category-description {
    border-radius: 0px;
    background: transparent;
    border: none;
    border-top: 1px solid var(--color-primary);
    padding-top: 20px;
    margin-bottom: 40px;
}

.store-text {
    border-radius: 0px;
    background: transparent;
    border: none;
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
    text-align: left; /* Editorial alignment */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.store-products-list .store-product,
.store-products-images .store-product {
    border-radius: 0px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.store-products-images .store-product:hover {
    background: #1a1a1a;
    border-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.store-products-images .store-product {
    text-align: center;
}

.widget-title {
    text-align: left;
    color: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.widget .store-product {
    text-align: left;
    background: transparent;
    border: none;
    padding: 0;
}

.no-products {
    color: var(--color-text-secondary);
    background: transparent;
    border-radius: 0px;
}

.store-product-full {
    border-radius: 0px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-product .quantity-field {
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.store-product .quantity-field input[type=number] {
    border: none;
    color: #fff;
    font-family: "JetBrains Mono", monospace;
}

@media (width > 960px) {
    .navigation-horizontal>ul {
        border-radius: 2px;
        background: rgba(20, 20, 20, 0.9);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.navigation-horizontal .has-children>ul {
    border-radius: 2px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.navigation-horizontal a {
    font-family: "JetBrains Mono", monospace;
    text-transform: uppercase;
}

.widget {
    border-radius: 2px;
    background: linear-gradient(145deg, #161616, #0a0a0a);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    padding: 30px;
    margin-bottom: 30px;
}

/* Vertical Sidebar Navigation Styling */
.navigation-vertical a {
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.1rem;
    color: #cccccc;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
    position: relative;
    padding: 8px 0;
}

/* Invisible hit area to prevent hover jitter on translation */
.navigation-vertical a::after {
    content: "";
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -25px; /* Extends left to cover the rightward translation gap */
    right: 0;
    z-index: 0;
}

/* The animated line indicator */
.navigation-vertical a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.navigation-vertical a:hover,
.navigation-vertical a.link-active {
    color: #ffffff; /* Brighter text on hover */
    transform: translateX(18px); /* Shift right to make room for the line */
}

.navigation-vertical a:hover::before,
.navigation-vertical a.link-active::before {
    width: 12px;
    left: -18px; /* Position the line in the newly created space */
    opacity: 1;
}

/* Force basket icon to display on desktop and ensure WebKit support */
.open-basket {
    --btn-icon: url("https://template-assets.tebex.io/images/checkout.svg");
}

.btn-glyph.open-basket::before,
.btn-glyph-text.open-basket::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: var(--btn-icon) center center/contain no-repeat;
    mask: var(--btn-icon) center center/contain no-repeat;
    margin-right: 8px;
    vertical-align: middle;
}

.navigation-vertical a.link-active {
    font-weight: bold;
    color: var(--color-primary);
}

@media (width <=960px) {
    .widget.site-navigation {
        border-radius: 0;
        background: transparent;
        border: none;
    }
}

.widget-gift-card .gift-card-input {
    border-radius: 2px;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: "JetBrains Mono", monospace;
}

.widget-top-donator .avatar {
    border-radius: 2px;
    /* Brutalist avatars instead of circles */
}

.widget-community-goal .progress,
.widget-goal .progress {
    border-radius: 2px;
    background: #000;
}

.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
    border-radius: 2px;
    background: var(--color-primary);
}

.popup-content {
    border-radius: 2px;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-close {
    border-radius: 0 2px 0 2px;
    font-family: "JetBrains Mono", monospace;
}

.basket-popup-content,
.basket-popup-content .popup-close {
    border-radius: 0;
}

.basket-items {
    padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.basket-item .quantity {
    border-radius: 2px;
}

.toast {
    border-radius: 2px;
    background: var(--color-primary);
    color: #000;
    font-family: "JetBrains Mono", monospace;
}

.toast-close {
    border-radius: 2px;
    color: #000;
}

.store-category-tiered {
    border-radius: 2px;
    background: rgba(20, 20, 20, 0.8);
}

.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 {
    text-align: center;
}

.store-product-tiered {
    border-radius: 2px;
    background: rgba(0, 0, 0, 0.5);
}

.media-slider .slider,
.media-slider .thumb {
    border-radius: 2px;
}

.media-slider .slide-image {
    max-height: 300px !important;
}

.store-product-full .product-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.store-product-full .product-icon {
    height: 35px; /* Same height as the text optical height */
    width: auto;
    object-fit: contain;
    transform: translateY(-2px); /* Optical adjustment for Bebas Neue font baseline */
}

.store-product-full .product-title {
    margin: 0;
    line-height: 1; /* Removes extra vertical space from font metrics */
}

.media-slider .open-lightbox {
    border-radius: 2px;
}

.popup.popup-media-slider .thumb {
    border-radius: 2px;
}

.popup.popup-media-slider .popup-close {
    border-radius: 2px;
}