/* BRUTALIST DESIGN SYSTEM - BRUT WEAR */
/* NO COMPROMISE - NO BEAUTY - ONLY FUNCTION */

:root {
    --brutal-black: #000000;
    --brutal-white: #FFFFFF;
    --brutal-red: #FF0000;
    --brutal-gray: #999999;
    --brutal-steel: #333333;
    --brutal-yellow: #FFFF00;
    --brutal-border: 10px;
    --brutal-border-thin: 5px;
}

/* GLOBAL RESET - DESTROY ALL BEAUTY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 0 !important;
    text-decoration: none;
    outline: none;
}

*:focus {
    outline: var(--brutal-border-thin) solid var(--brutal-red);
}

/* BASE TYPOGRAPHY */
body {
    font-family: 'Roboto Mono', monospace;
    background: var(--brutal-white);
    color: var(--brutal-black);
    line-height: 1.2;
    overflow-x: auto;
    min-width: 1400px;
}

/* BRUTALIST TYPOGRAPHY SYSTEM */
.brutal-heading-1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(80px, 12vw, 200px);
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-weight: 400;
}

.brutal-heading-2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.9;
}

.brutal-heading-3 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.brutal-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.brutal-text-large {
    font-family: 'Roboto Mono', monospace;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

/* NOISE OVERLAY */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 1px 1px, var(--brutal-black) 1px, transparent 0);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1000;
}

/* BRUTALIST HEADER */
.brutalist-header {
    position: sticky;
    top: 0;
    background: var(--brutal-white);
    border-bottom: var(--brutal-border) solid var(--brutal-black);
    z-index: 999;
}

.header-top-bar {
    background: var(--brutal-black);
    color: var(--brutal-white);
    padding: 10px 0;
    overflow: hidden;
}

.ticker-text {
    display: block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.header-main {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    padding: 20px 40px;
    gap: 40px;
}

.logo {
    font-family: 'Anton', sans-serif;
    font-size: 32px;
    line-height: 0.8;
    color: var(--brutal-black);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.main-nav {
    display: flex;
    gap: 60px;
    justify-content: center;
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--brutal-black);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brutal-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--brutal-red);
}

.header-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    background: var(--brutal-black);
    color: var(--brutal-white);
    border: none;
    padding: 15px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: none;
}

.action-btn:hover {
    background: var(--brutal-red);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--brutal-red);
    color: var(--brutal-white);
    font-size: 10px;
    padding: 2px 6px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
}

.header-border {
    height: var(--brutal-border-thin);
    background: var(--brutal-black);
}

/* BRUTALIST BUTTONS */
.brutal-btn {
    background: var(--brutal-black);
    color: var(--brutal-white);
    border: var(--brutal-border-thin) solid var(--brutal-black);
    padding: 20px 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.brutal-btn:hover {
    background: var(--brutal-red);
    color: var(--brutal-white);
    border-color: var(--brutal-red);
}

.brutal-btn-secondary {
    background: var(--brutal-white);
    color: var(--brutal-black);
    border: var(--brutal-border-thin) solid var(--brutal-black);
}

.brutal-btn-secondary:hover {
    background: var(--brutal-black);
    color: var(--brutal-white);
}

/* BRUTALIST FORMS */
.brutal-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brutal-black);
}

.form-input,
.form-select,
.form-textarea {
    border: var(--brutal-border-thin) solid var(--brutal-black);
    padding: 15px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    background: var(--brutal-white);
    color: var(--brutal-black);
    width: 100%;
    transition: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--brutal-red);
    background: var(--brutal-white);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: var(--brutal-border-thin) solid var(--brutal-black);
    background: var(--brutal-white);
    appearance: none;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--brutal-black);
    position: relative;
}

.form-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--brutal-white);
    font-size: 12px;
    font-weight: 700;
}

.form-checkbox label {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.form-submit {
    background: var(--brutal-red);
    color: var(--brutal-white);
    border: var(--brutal-border-thin) solid var(--brutal-red);
    padding: 20px 40px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    letter-spacing: 1px;
    align-self: flex-start;
}

.form-submit:hover {
    background: var(--brutal-black);
    border-color: var(--brutal-black);
}

/* BRUTALIST GRID SYSTEM */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.brutalist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.brutalist-grid .grid-item {
    border: var(--brutal-border-thin) solid var(--brutal-black);
    border-right: 0;
    border-bottom: 0;
}

.brutalist-grid .grid-item:nth-child(3n) {
    border-right: var(--brutal-border-thin) solid var(--brutal-black);
}

.brutalist-grid .grid-item:nth-last-child(-n+3) {
    border-bottom: var(--brutal-border-thin) solid var(--brutal-black);
}

/* BROKEN GRID VARIATIONS */
.brutalist-grid .grid-item:nth-child(5) {
    grid-column: span 2;
}

.brutalist-grid .grid-item:nth-child(8) {
    grid-row: span 2;
}

.grid-break {
    grid-column: span 3;
    height: 20px;
    background: var(--brutal-black);
}

/* BRUTALIST PRODUCT CARDS */
.brutalist-product {
    background: var(--brutal-white);
    transition: none;
    position: relative;
}

.brutalist-product:hover {
    background: var(--brutal-gray);
}

.product-link {
    display: block;
    color: var(--brutal-black);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--brutal-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
}

.product-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--brutal-red);
    color: var(--brutal-white);
    padding: 5px 15px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-label.soldout {
    background: var(--brutal-black);
}

.product-info {
    padding: 20px;
    border-top: var(--brutal-border-thin) solid var(--brutal-black);
}

.product-name {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.product-price {
    font-family: 'Roboto Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--brutal-red);
}

/* BRUTALIST FOOTER */
.brutalist-footer {
    background: var(--brutal-black);
    color: var(--brutal-white);
    margin-top: 100px;
}

.footer-border {
    height: var(--brutal-border);
    background: var(--brutal-red);
}

.footer-container {
    padding: 60px 40px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    font-family: 'Anton', sans-serif;
    font-size: 32px;
    line-height: 0.8;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.footer-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    line-height: 1.6;
}

.footer-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--brutal-white);
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: none;
}

.footer-nav a:hover {
    color: var(--brutal-red);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-info p {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    width: 16px;
    color: var(--brutal-red);
}

/* NEWSLETTER */
.footer-newsletter {
    border-top: var(--brutal-border-thin) solid var(--brutal-white);
    border-bottom: var(--brutal-border-thin) solid var(--brutal-white);
    padding: 40px 0;
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    max-width: 600px;
}

.newsletter-form input {
    flex: 1;
    border: var(--brutal-border-thin) solid var(--brutal-white);
    background: transparent;
    color: var(--brutal-white);
    padding: 15px 20px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    text-transform: uppercase;
}

.newsletter-form input::placeholder {
    color: var(--brutal-gray);
}

.newsletter-form button {
    background: var(--brutal-red);
    color: var(--brutal-white);
    border: var(--brutal-border-thin) solid var(--brutal-red);
    padding: 15px 20px;
    cursor: pointer;
    transition: none;
}

.newsletter-form button:hover {
    background: var(--brutal-white);
    color: var(--brutal-black);
}

/* LEGAL INFO */
.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.legal-info {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.separator {
    color: var(--brutal-red);
    margin: 0 10px;
}

.legal-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-nav a {
    color: var(--brutal-white);
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: none;
}

.legal-nav a:hover {
    color: var(--brutal-red);
}

/* FOOTER BOTTOM */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: var(--brutal-border-thin) solid var(--brutal-white);
    padding-top: 40px;
}

.copyright {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-methods i {
    font-size: 24px;
    color: var(--brutal-white);
    transition: none;
}

.payment-methods i:hover {
    color: var(--brutal-red);
}

/* RESPONSIVE BRUTALISM - DESKTOP ONLY */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }

    .header-main {
        padding: 20px;
    }

    .footer-container {
        padding: 60px 20px 40px;
    }
}

@media (max-width: 1200px) {
    .brutalist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brutalist-grid .grid-item:nth-child(5) {
        grid-column: span 1;
    }

    .grid-break {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* CART STYLES */
.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 30px;
    align-items: center;
    padding: 30px;
    border: 5px solid var(--brutal-black);
    background: var(--brutal-white);
    margin-bottom: 20px;
}

.cart-item-image {
    aspect-ratio: 1;
    overflow: hidden;
    border: 3px solid var(--brutal-black);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item-name {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-item-size,
.cart-item-price {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    color: var(--brutal-gray);
}

.cart-item-price {
    color: var(--brutal-red);
    font-weight: 700;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.quantity-input {
    width: 60px;
    padding: 10px;
    border: 3px solid var(--brutal-black);
    text-align: center;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    background: var(--brutal-white);
}

.cart-item-total {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--brutal-red);
}

.empty-cart {
    text-align: center;
    padding: 100px 40px;
    border: 10px solid var(--brutal-black);
    background: var(--brutal-white);
}

.empty-cart h2 {
    margin-bottom: 20px;
}

.empty-cart p {
    margin-bottom: 40px;
    color: var(--brutal-gray);
}

/* UTILITY CLASSES */
.text-red { color: var(--brutal-red); }
.text-white { color: var(--brutal-white); }
.text-black { color: var(--brutal-black); }
.bg-red { background: var(--brutal-red); }
.bg-white { background: var(--brutal-white); }
.bg-black { background: var(--brutal-black); }
.border-black { border: var(--brutal-border-thin) solid var(--brutal-black); }
.border-red { border: var(--brutal-border-thin) solid var(--brutal-red); }
.uppercase { text-transform: uppercase; }
.mono { font-family: 'Roboto Mono', monospace; }

/* GLITCH EFFECTS */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--brutal-red);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--brutal-yellow);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        transform: translate(0);
    }
    15%, 49% {
        transform: translate(-2px, 2px);
    }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% {
        transform: translate(0);
    }
    21%, 62% {
        transform: translate(2px, -2px);
    }
}