
/* ========================================
   HAMMER MODDING - GLOBAL DESIGN
======================================== */

:root {
    --background: #0a0a0c;
    --surface: #171719;
    --card: #222226;

    --primary: #b3000b;
    --primary-dark: #900009;
    --primary-hover: #e00012;

    --text: #ffffff;
    --text-muted: #aaaaaa;
    --border: #303035;
}


/* ========================================
   GRUNDEINSTELLUNGEN
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);

    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

h1,
h2,
h3 {
    color: var(--text);
    font-weight: 800;
}

p {
    color: var(--text-muted);
}

a {
    color: var(--text);
    text-decoration: none;
    transition: 0.25s ease;
}

a:hover {
    color: var(--primary-hover);
}

img {
    display: block;
    max-width: 100%;
}

button {
    background: var(--primary);
    color: var(--text);

    padding: 14px 24px;

    font-family: inherit;
    font-size: 16px;
    font-weight: 700;

    border: none;
    border-radius: 4px;

    cursor: pointer;
    transition: 0.25s ease;
}

button:hover {
    background: var(--primary-hover);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid #ff3030;
    outline-offset: 3px;
}


/* ========================================
   SCROLLBAR
======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}


/* ========================================
   HEADER
======================================== */

.main-header {
    width: 100%;

    background-color: var(--surface);
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)
        ),
        url("images/header.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-bottom: 2px solid var(--primary);
}

.header-container {
    width: 100%;
    max-width: 1600px;
    min-height: 110px;

    margin: 0 auto;
    padding: 15px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* LOGO UND SHOP-NAME */

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 15px;
}

.brand img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.brand span {
    color: #ffffff;
    font-size: 25px;
    font-weight: 900;
}

.brand:hover span {
    color: #ffffff;
}


/* HEADER ACTIONS */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}


/* RABATTAKTION */

.header-discount {
    background: var(--primary-dark);
    color: #ffffff;

    padding: 15px 20px;

    font-size: 14px;
    font-weight: 800;
    text-align: center;

    border-radius: 4px;
}


/* LOGIN BUTTON */

.login-button {
    background: var(--card);
    color: #ffffff;

    min-height: 50px;
    padding: 15px 25px;
}

.login-button:hover {
    background: #38383d;
}


/* WARENKORB BUTTON */

.basket-button {
    background: var(--primary-dark);
    color: #ffffff;

    min-height: 50px;
    padding: 15px 25px;
}

.basket-button:hover {
    background: var(--primary-hover);
}


/* ========================================
   SHOP LAYOUT
======================================== */

.shop-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 30px;

    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 30px 25px;
}

.shop-content {
    width: 100%;
    min-width: 0;
}


/* ========================================
   SIDEBAR
======================================== */

.sidebar {
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* SIDEBAR KARTEN */

.sidebar-card {
    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 6px;

    padding: 20px;
}


/* SIDEBAR ÜBERSCHRIFTEN */

.sidebar-card h2 {
    color: #ffffff;

    font-size: 17px;
    font-weight: 900;
    letter-spacing: 1px;

    padding-bottom: 12px;
    margin-bottom: 15px;

    border-bottom: 2px solid var(--primary);
}


/* ========================================
   KATEGORIE NAVIGATION
======================================== */

.sidebar-navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-navigation a {
    display: flex;
    align-items: center;

    background: var(--card);
    color: #ffffff;

    padding: 13px 15px;

    font-size: 15px;
    font-weight: 700;

    border: 1px solid transparent;
    border-radius: 4px;

    transition: 0.25s ease;
}


/* KATEGORIE HOVER */

.sidebar-navigation a:hover {
    background: var(--primary);
    border-color: #ff3030;
    color: #ffffff;

    transform: translateX(3px);
}


/* AKTIVE KATEGORIE */

.sidebar-navigation a.active {
    background: var(--primary-dark);
    border-left: 3px solid #ff3030;
}


/* ========================================
   LAST 3 PURCHASES
======================================== */

.empty-purchases {
    color: #888888;
    font-size: 13px;
    text-align: center;

    padding: 10px 0;
}

.purchase-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.purchase-item:last-child {
    border-bottom: none;
}

.purchase-name {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
}

.purchase-package {
    color: #aaaaaa;
    font-size: 13px;
}

.purchase-price {
    color: #ff3030;
    font-size: 16px;
    font-weight: 800;
}


/* ========================================
   SPECIAL OFFER
======================================== */

.sidebar-offer {
    text-align: center;

    background: linear-gradient(
        145deg,
        #260005,
        #171719
    );

    border-color: #600009;
}

.offer-percent {
    color: #ff3030;
    font-size: 38px;
    font-weight: 900;
}

.sidebar-offer p {
    font-size: 14px;
    margin-bottom: 15px;
}

.offer-code {
    background: var(--background);

    border: 1px dashed var(--primary);
    border-radius: 4px;

    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 3px;

    padding: 10px;
}


/* ========================================
   DISCORD SUPPORT
======================================== */

.support-text {
    font-size: 14px;
    line-height: 1.6;

    margin-bottom: 18px;
}

.discord-button {
    display: block;
    width: 100%;

    background: var(--primary);
    color: #ffffff;

    padding: 14px 10px;

    border-radius: 4px;
    text-align: center;

    font-size: 15px;
    font-weight: 800;

    transition: 0.25s ease;
}

.discord-button:hover {
    background: var(--primary-hover);
    color: #ffffff;

    box-shadow: 0 0 15px rgba(255, 0, 0, 0.25);
}


/* ========================================
   FEATURED PACKS
======================================== */

.featured-packs {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 0;
}


/* FEATURED ÜBERSCHRIFT */

.featured-heading {
    text-align: center;
    margin-bottom: 30px;
}

.featured-heading h1 {
    color: #ffffff;

    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
}

.featured-line {
    width: 65px;
    height: 3px;

    background: var(--primary);

    margin: 12px auto;
    border-radius: 2px;
}

.featured-heading p {
    color: #aaaaaa;
    font-size: 15px;
}


/* ========================================
   3 PRODUKTE NEBENEINANDER
======================================== */

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    align-items: stretch;
    gap: 20px;

    width: 100%;
}


/* ========================================
   PRODUKTKARTEN
======================================== */

.featured-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: 6px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* PRODUKT HOVER */

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

    border-color: var(--primary);

    box-shadow:
        0 5px 25px rgba(179, 0, 11, 0.25);
}


/* ========================================
   PRODUKTBILDER 1920 X 1080
======================================== */

.featured-image {
    display: block;
    width: 100%;

    aspect-ratio: 16 / 9;

    background: #111111;
    overflow: hidden;
}

.featured-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    transition: transform 0.4s ease;
}

.featured-card:hover img {
    transform: scale(1.03);
}


/* ========================================
   PRODUKT INFORMATIONEN
======================================== */

.featured-info {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex: 1;
    gap: 12px;

    padding: 22px 15px;

    text-align: center;
}


/* PRODUKTNAME */

.featured-info h3 {
    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    overflow-wrap: anywhere;
}


/* PRODUKTBESCHREIBUNG */

.featured-info p {
    color: #aaaaaa;

    font-size: 14px;
    line-height: 1.5;

    flex: 1;
}


/* PRODUKTPREIS */

.featured-price {
    color: #ff3030;

    font-size: 27px;
    font-weight: 900;

    margin: 8px 0;
}


/* ========================================
   VIEW PACKAGE BUTTON
======================================== */

.featured-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    background: var(--primary);
    color: #ffffff;

    padding: 14px 10px;
    margin-top: auto;

    font-size: 14px;
    font-weight: 800;

    text-align: center;

    border: 1px solid transparent;
    border-radius: 4px;

    transition: 0.25s ease;
}

.featured-button:hover {
    background: var(--primary-hover);
    color: #ffffff;

    border-color: #ff3030;

    box-shadow: 0 0 15px rgba(255, 0, 0, 0.25);
}


/* ========================================
   KLEINERE DESKTOP BILDSCHIRME
======================================== */

@media (max-width: 1100px) {

    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-actions {
        justify-content: center;
    }

    .shop-layout {
        grid-template-columns: 240px minmax(0, 1fr);
        gap: 20px;

        padding: 20px;
    }

    .featured-grid {
        gap: 12px;
    }

    .featured-info {
        padding: 15px 10px;
    }

    .featured-info h3 {
        font-size: 18px;
    }

    .featured-price {
        font-size: 23px;
    }

    .featured-button {
        font-size: 12px;
    }

}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 15px;
    }

}


/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 600px) {

    .header-container {
        gap: 15px;
        padding: 15px;
    }

    .brand img {
        width: 60px;
        height: 60px;
    }

    .brand span {
        font-size: 22px;
    }

    .header-actions {
        width: 100%;
    }

    .header-discount {
        width: 100%;
        font-size: 12px;
    }

    .login-button,
    .basket-button {
        flex: 1;
        font-size: 14px;
    }

    .shop-layout {
        padding: 15px;
    }

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

    .sidebar-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sidebar-navigation a {
        font-size: 13px;
        padding: 12px;
    }

    .featured-heading h1 {
        font-size: 26px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .featured-info {
        padding: 20px;
    }

    .featured-info h3 {
        font-size: 22px;
    }

    .featured-button {
        font-size: 14px;
    }

}


/* ========================================
   REDUZIERTE ANIMATIONEN
======================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }

}


/* ========================================
   HAMMER MODDING FOOTER
======================================== */

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

.shop-layout {
    flex: 1;
}

.main-footer {
    width: 100%;
    background: #171719;

    border-top: 2px solid #b3000b;

    margin-top: 40px;
}


/* FOOTER LAYOUT */

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 40px;

    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 40px 25px;
}


/* FOOTER SPALTEN */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
}


/* LOGO UND SHOPNAME */

.footer-brand {
    display: flex;
    align-items: center;

    gap: 12px;
    margin-bottom: 5px;
}

.footer-brand img {
    width: 60px;
    height: 60px;

    object-fit: contain;
}

.footer-brand span {
    color: #ffffff;

    font-size: 22px;
    font-weight: 900;
}


/* BESCHREIBUNG */

.footer-column p {
    color: #aaaaaa;

    font-size: 14px;
    line-height: 1.7;

    max-width: 350px;
}


/* ÜBERSCHRIFTEN */

.footer-column h3 {
    color: #ffffff;

    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;

    margin-bottom: 5px;
}

.footer-column h3::after {
    content: "";

    display: block;

    width: 40px;
    height: 2px;

    background: #b3000b;

    margin-top: 10px;
}


/* FOOTER LINKS */

.footer-column > a:not(.footer-brand) {
    color: #aaaaaa;
    font-size: 14px;

    transition: 0.25s ease;
}

.footer-column > a:not(.footer-brand):hover {
    color: #ff3030;
    transform: translateX(4px);
}


/* FOOTER BOTTOM */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    flex-wrap: wrap;
    gap: 15px;

    width: 100%;
    max-width: 1550px;

    margin: 0 auto;
    padding: 20px 25px;

    border-top: 1px solid #303035;
}

.footer-bottom p {
    color: #888888;
    font-size: 13px;
}


/* TEBEX */

.footer-payment {
    color: #aaaaaa;

    font-size: 13px;
    font-weight: 600;
}


/* TABLET */

@media (max-width: 900px) {

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
    }

}


/* SMARTPHONE */

@media (max-width: 600px) {

    .footer-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;

        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-column h3::after {
        margin: 10px auto 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}


/* ========================================
   HAMMER MODDING LEGAL PAGES
======================================== */

.legal-container {
    width: calc(100% - 40px);
    max-width: 1000px;

    margin: 40px auto;
    padding: 40px;

    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    flex: 1;
}

.legal-container h1 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;
    text-align: center;
}

.legal-line {
    width: 65px;
    height: 3px;

    background: #b3000b;

    margin: 15px auto 30px;
}

.legal-container h2 {
    color: #ffffff;
    font-size: 22px;

    margin-top: 30px;
    margin-bottom: 12px;
}

.legal-container p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.8;

    overflow-wrap: anywhere;
}

.legal-container a {
    color: #ff3030;
}

.legal-container a:hover {
    color: #ffffff;
}

.back-button {
    display: inline-block;

    background: #b3000b;
    color: #ffffff;

    padding: 12px 20px;
    border-radius: 4px;

    font-weight: 700;
}

.back-button:hover {
    background: #e00012;
    color: #ffffff;
}

@media (max-width: 600px) {

    .legal-container {
        padding: 20px;
        margin: 20px auto;
    }

    .legal-container h1 {
        font-size: 24px;
    }

}


/* ========================================
   HAMMER MODDING PRODUCT PAGE
======================================== */

[hidden] {
    display: none !important;
}


/* BREADCRUMB */

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin-bottom: 25px;

    color: #aaaaaa;
    font-size: 14px;
}

.product-breadcrumb a {
    color: #aaaaaa;
}

.product-breadcrumb a:hover {
    color: #ff3030;
}


/* PRODUCT LAYOUT */

.product-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    align-items: start;
    gap: 30px;
}


/* PRODUCT GALLERY */

.product-gallery {
    width: 100%;
    min-width: 0;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 16 / 9;

    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* THUMBNAILS */

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;
    margin-top: 12px;
}

.product-thumbnail {
    padding: 0;

    background: #171719;

    border: 2px solid #303035;
    border-radius: 4px;

    aspect-ratio: 16 / 9;
    overflow: hidden;

    cursor: pointer;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #b3000b;
}


/* PRODUCT DETAILS */

.product-details {
    display: flex;
    flex-direction: column;

    gap: 15px;

    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    padding: 25px;
}

.product-details h1 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 900;

    line-height: 1.2;
}

#product-subtitle {
    color: #aaaaaa;
    font-size: 15px;
}

.product-price {
    color: #ff3030;
    font-size: 34px;
    font-weight: 900;

    margin: 5px 0;
}

.product-divider {
    width: 100%;
    height: 1px;

    background: #303035;

    margin: 5px 0;
}


/* ADD TO BASKET */

.product-buy-button {
    width: 100%;
    min-height: 55px;

    background: #b3000b;
    color: #ffffff;

    border-radius: 4px;

    font-size: 16px;
    font-weight: 900;
}

.product-buy-button:hover {
    background: #e00012;

    box-shadow:
        0 0 20px rgba(179, 0, 11, 0.3);
}


/* BUY NOW */

.product-buy-now {
    width: 100%;
    min-height: 55px;

    background: #222226;
    color: #ffffff;

    border: 1px solid #303035;
    border-radius: 4px;

    font-size: 16px;
    font-weight: 900;
}

.product-buy-now:hover {
    background: #38383d;
}

.product-buy-button:disabled,
.product-buy-now:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}


/* SECURE CHECKOUT */

.product-secure {
    color: #aaaaaa;

    font-size: 13px;
    text-align: center;

    margin-top: 5px;
}


/* PRODUCT DESCRIPTION */

.product-description {
    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    margin-top: 30px;
    padding: 30px;
}

.product-description h2 {
    color: #ffffff;

    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1px;
}

.product-section-line {
    width: 50px;
    height: 3px;

    background: #b3000b;

    margin: 12px 0 20px;
}

#product-description {
    color: #aaaaaa;

    font-size: 15px;
    line-height: 1.8;
    white-space: pre-line;
}


/* PRODUCT FEATURES */

#product-features {
    padding-left: 22px;
    color: #aaaaaa;
}

#product-features li {
    padding: 5px 0;
}

#product-features li::marker {
    color: #ff3030;
}


/* VIDEO PREVIEW */

.product-video {
    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;
    border-radius: 6px;
}

.product-video iframe {
    width: 100%;
    height: 100%;

    border: none;
}


/* PRODUCT ERROR */

#product-error {
    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    padding: 40px;
    text-align: center;
}

#product-error a {
    display: inline-block;
    color: #ff3030;

    margin-top: 20px;
}


/* SMALLER SCREENS */

@media (max-width: 1200px) {

    .product-overview {
        gap: 15px;
    }

    .product-details {
        padding: 20px;
    }

    .product-details h1 {
        font-size: 25px;
    }

}


/* TABLET AND SMARTPHONE */

@media (max-width: 1000px) {

    .product-overview {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 600px) {

    .product-description {
        padding: 20px;
    }

    .product-description h2 {
        font-size: 20px;
    }

    .product-price {
        font-size: 28px;
    }

}

/* ========================================
   HAMMER MODDING - BASKET
======================================== */

.basket-container {
    width: calc(100% - 40px);
    max-width: 1100px;

    margin: 40px auto;

    flex: 1;
}


/* BASKET PANEL */

.basket-panel {
    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    padding: 25px;
}


/* PRODUCT ROW */

.basket-item {
    display: flex;
    align-items: center;

    gap: 25px;

    padding: 20px 0;

    border-bottom: 1px solid #303035;
}

.basket-item:first-child {
    padding-top: 0;
}

.basket-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


/* PRODUCT IMAGE */

.basket-item-image {
    width: 180px;
    aspect-ratio: 16 / 9;

    object-fit: contain;

    background: #0a0a0c;

    border-radius: 5px;
    border: 1px solid #303035;
}


/* PRODUCT INFORMATION */

.basket-item-info {
    flex: 1;
    min-width: 0;
}

.basket-item-info h3 {
    color: #ffffff;

    font-size: 22px;
    font-weight: 900;

    overflow-wrap: anywhere;
}

.basket-item-info p {
    color: #aaaaaa;
    font-size: 14px;
}

.basket-item-price {
    color: #ff3030;

    font-size: 23px;
    font-weight: 900;
}


/* QUANTITY */

.basket-quantity {
    display: flex;
    align-items: center;

    gap: 12px;

    background: #222226;

    padding: 6px;
    border-radius: 5px;
}

.quantity-button {
    width: 35px;
    height: 35px;

    padding: 0;

    background: #303035;

    color: #ffffff;
    font-size: 20px;

    border-radius: 4px;
}

.quantity-button:hover {
    background: #b3000b;
}

.basket-quantity span {
    min-width: 20px;

    text-align: center;
    font-weight: 800;
}


/* REMOVE BUTTON */

.basket-remove {
    background: transparent;

    color: #ff3030;

    border: 1px solid #b3000b;
    border-radius: 4px;

    padding: 10px 15px;

    font-size: 13px;
}

.basket-remove:hover {
    background: #b3000b;
    color: #ffffff;
}

.basket-item button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ORDER SUMMARY */

.basket-summary {
    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    margin-top: 25px;
    padding: 30px;
}

.basket-summary h2 {
    font-size: 25px;
    font-weight: 900;

    margin-bottom: 25px;
}

.basket-summary-line {
    display: flex;
    justify-content: space-between;

    color: #aaaaaa;

    padding: 10px 0;
}


/* TOTAL PRICE */

.basket-total {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    border-top: 1px solid #303035;

    margin-top: 15px;
    padding-top: 20px;

    font-size: 25px;
    font-weight: 900;
}

#basket-total {
    color: #ff3030;
}

.basket-tax-note {
    color: #aaaaaa;

    font-size: 13px;

    margin: 10px 0 25px;
}


/* CONTINUE SHOPPING */

.basket-continue {
    display: block;

    width: 100%;

    background: #222226;
    color: #ffffff;

    border: 1px solid #303035;
    border-radius: 4px;

    padding: 15px;
    margin-top: 12px;

    text-align: center;
    font-weight: 800;
}

.basket-continue:hover {
    background: #38383d;
    color: #ffffff;
}


/* EMPTY BASKET */

.basket-empty {
    text-align: center;
    color: #aaaaaa;

    padding: 40px 15px;
}


/* STATUS MESSAGE */

#basket-message {
    color: #aaaaaa;

    text-align: center;

    padding: 15px;
}


/* SMARTPHONE */

@media (max-width: 600px) {

    .basket-container {
        margin: 25px auto;
    }

    .basket-panel {
        padding: 15px;
    }

    .basket-item {
        flex-wrap: wrap;
        gap: 15px;
    }

    .basket-item-image {
        width: 100px;
    }

    .basket-item-info {
        min-width: 120px;
    }

    .basket-item-info h3 {
        font-size: 18px;
    }

    .basket-remove {
        margin-left: auto;
    }

    .basket-summary {
        padding: 20px;
    }

    .basket-total {
        font-size: 20px;
    }

}

/* ========================================
   HAMMER MODDING - LOGIN & LOGOUT
======================================== */

.login-button {
    background: #222226;
    color: #ffffff;

    min-height: 50px;
    padding: 15px 25px;

    font-size: 16px;
    font-weight: 800;
}

.login-button:hover {
    background: #38383d;
}


/* LOGGED IN USER */

.login-button:disabled {
    background: #222226;
    color: #ffffff;

    border: 1px solid #303035;

    cursor: default;
    opacity: 1;
}


/* LOGOUT BUTTON */

.logout-button {
    background: #222226;
    color: #ffffff;

    min-height: 50px;
    padding: 15px 20px;

    border: 1px solid #b3000b;
    border-radius: 4px;

    font-size: 14px;
    font-weight: 800;

    transition: 0.25s ease;
}

.logout-button:hover {
    background: #b3000b;
    color: #ffffff;

    box-shadow: 0 0 15px
        rgba(179, 0, 11, 0.25);
}


/* SMARTPHONE */

@media (max-width: 600px) {

    .logout-button {
        flex: 1;
        font-size: 13px;
    }

    .login-button {
        font-size: 14px;
    }

}

/* ========================================
   HAMMER MODDING - NOTIFICATIONS
======================================== */

#notification-container {
    position: fixed;

    top: 25px;
    right: 25px;

    display: flex;
    flex-direction: column;

    gap: 15px;

    width: 380px;
    max-width: calc(100% - 30px);

    z-index: 99999;
}


/* NOTIFICATION BOX */

.notification {
    position: relative;

    display: flex;
    align-items: center;

    gap: 15px;

    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    padding: 20px;

    overflow: hidden;

    box-shadow: 0 5px 30px
        rgba(0, 0, 0, 0.6);

    animation: notification-slide-in 0.3s ease;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* NOTIFICATION ICON */

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border: 2px solid currentColor;
    border-radius: 50%;

    font-size: 24px;
    font-weight: 900;
}


/* NOTIFICATION COLORS */

.notification-success .notification-icon {
    color: #4ade80;
}

.notification-error .notification-icon {
    color: #ff3030;
}

.notification-info .notification-icon {
    color: #60a5fa;
}

.notification-warning .notification-icon {
    color: #fbbf24;
}


/* NOTIFICATION TEXT */

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-content h3 {
    color: #ffffff;

    font-size: 16px;
    font-weight: 800;

    margin-bottom: 4px;
}

.notification-content p {
    color: #aaaaaa;

    font-size: 13px;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


/* CLOSE BUTTON */

.notification-close {
    align-self: flex-start;

    background: transparent;
    color: #aaaaaa;

    padding: 0 5px;

    font-size: 24px;
    line-height: 1;
}

.notification-close:hover {
    background: transparent;
    color: #ff3030;
}


/* PROGRESS BAR */

.notification-progress {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background: #b3000b;

    animation-name: notification-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}


/* ANIMATIONS */

@keyframes notification-slide-in {

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

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

}

@keyframes notification-progress {

    from {
        width: 100%;
    }

    to {
        width: 0%;
    }

}

.notification-hide {
    opacity: 0;
    transform: translateX(30px);
}


/* SMARTPHONE */

@media (max-width: 600px) {

    #notification-container {
        top: 15px;
        right: 15px;
    }

    .notification {
        padding: 15px;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .notification,
    .notification-progress {
        animation: none;
        transition: none;
    }

}

/* ========================================
   HAMMER MODDING - LOGOUT MODAL
======================================== */

.logout-modal {
    position: fixed;
    inset: 0;

    width: 450px;
    max-width: calc(100% - 30px);

    margin: auto;
    padding: 0;

    background: #171719;
    color: #ffffff;

    border: 1px solid #b3000b;
    border-radius: 10px;

    box-shadow: 0 0 50px rgba(179, 0, 11, 0.2);

    animation: logout-modal-appear 0.25s ease;
}


/* BACKGROUND */

.logout-modal::backdrop {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}


/* CONTENT */

.logout-modal-content {
    padding: 35px 30px;
    text-align: center;
}


/* LOGOUT ICON */

.logout-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    background: #35090d;
    color: #ff3030;

    border: 1px solid #b3000b;
    border-radius: 50%;

    font-size: 35px;
    font-weight: 900;
}


/* TITLE */

.logout-modal-content h2 {
    color: #ffffff;

    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px;
}


/* RED LINE */

.logout-modal-line {
    width: 50px;
    height: 3px;

    background: #b3000b;

    margin: 12px auto 25px;
}


/* DESCRIPTION */

.logout-modal-content p {
    color: #aaaaaa;

    font-size: 16px;

    margin-bottom: 12px;
}

.logout-modal-content .logout-modal-warning {
    color: #888888;

    font-size: 13px;
    line-height: 1.6;
}


/* BUTTONS */

.logout-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 15px;
    margin-top: 30px;
}

.confirm-logout-button,
.cancel-logout-button {
    width: 100%;
    min-height: 50px;

    padding: 12px;

    color: #ffffff;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 900;
}


/* CONFIRM LOGOUT */

.confirm-logout-button {
    background: #b3000b;
}

.confirm-logout-button:hover {
    background: #e00012;

    box-shadow: 0 0 20px rgba(179, 0, 11, 0.4);
}


/* CANCEL */

.cancel-logout-button {
    background: #303035;
    border: 1px solid #404045;
}

.cancel-logout-button:hover {
    background: #48484d;
}


/* ANIMATION */

@keyframes logout-modal-appear {

    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}


/* SMARTPHONE */

@media (max-width: 600px) {

    .logout-modal-content {
        padding: 25px 20px;
    }

    .logout-modal-content h2 {
        font-size: 25px;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .logout-modal {
        animation: none;
    }

}

/* ========================================
   HAMMER MODDING - EMPTY CATEGORY
======================================== */

.category-empty {
    grid-column: 1 / -1;

    background: #171719;

    border: 1px solid #303035;
    border-radius: 6px;

    padding: 70px 25px;

    text-align: center;
}

.category-empty h2 {
    color: #ffffff;

    font-size: 30px;
    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 15px;
}

.category-empty h2::after {
    content: "";

    display: block;

    width: 60px;
    height: 3px;

    background: #b3000b;

    margin: 15px auto;
}

.category-empty p {
    color: #aaaaaa;

    font-size: 15px;
}

/* ========================================
   HAMMER MODDING - RECENT PURCHASES
======================================== */

.recent-purchase-item {
    display: flex;
    align-items: center;

    gap: 12px;
    padding: 15px 0;

    border-bottom: 1px solid #303035;
}

.recent-purchase-item:first-child {
    padding-top: 0;
}

.recent-purchase-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


/* CUSTOMER AVATAR */

.purchase-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    flex-shrink: 0;

    background: #222226;

    border: 1px solid #303035;
    border-radius: 50%;

    font-size: 22px;
}


/* PURCHASE INFORMATION */

.recent-purchase-info {
    flex: 1;
    min-width: 0;

    overflow-wrap: anywhere;
}

.purchase-name {
    color: #ffffff;

    font-size: 15px;
    font-weight: 800;
}

.purchase-package {
    color: #aaaaaa;

    font-size: 13px;
}

.purchase-price {
    color: #ff3030;

    font-size: 17px;
    font-weight: 900;
}

.purchase-time {
    color: #888888;

    font-size: 11px;
    margin-top: 3px;
}

.empty-purchases {
    color: #888888;

    font-size: 13px;
    text-align: center;

    padding: 15px 0;
}

/* HEADER SPECIAL OFFER */
.header-special-offer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 18px;
    background: linear-gradient(145deg, #260005, #171719);
    border: 1px solid #600009;
    border-radius: 6px;
    text-align: center;
}
.header-offer-details, .header-offer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header-offer-title { font-size: 11px; font-weight: 900; letter-spacing: 1px; }
.header-offer-percent { color: #ff3030; font-size: 30px; font-weight: 900; line-height: 1.2; }
.header-offer-note, .header-offer-status { font-size: 12px; color: #aaa; }
.header-offer-code {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--background); border: 1px dashed var(--primary);
    padding: 8px 13px; color: #fff; font-size: 18px; letter-spacing: 2px;
}
.header-offer-code:hover { background: #35090d; border-color: #ff3030; }
.header-offer-status[data-state="success"] { color: #4ade80; }
@media (max-width: 600px) {
    .header-special-offer { width: 100%; gap: 14px; padding: 10px; }
    .header-offer-percent { font-size: 27px; }
}

/* Display-only reference price */
.hm-old-price {
    color: #aaaaaa;
    font-size: 0.65em;
    font-weight: 600;
    text-decoration: line-through;
    white-space: nowrap;
    margin-right: 0.25em;
}
