/* Orka Skateboarding - Gutterpunk/DIY Stylesheet */

:root {
    --color-primary: #8EDD65;
    --color-primary-dark: #6fb84a;
    --color-secondary: #1a1a1a;
    --color-accent: #59CBE8;
    --color-warning: #ffb600;
    --color-error: #E93CAC;
    --color-background: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-text: #ffffff;
    --color-text-secondary: #cccccc;
    --color-border: #333333;
    --color-text-shadow: #E93CAC;
    --font-family: 'beelzebub bb', 'Courier New', monospace;
    --font-display: 'beelzebub bb', 'Impact', 'Arial Black', sans-serif;
    --shadow-sm: 0 0 10px rgba(142, 221, 101, 0.3);
    --shadow: 0 0 20px rgba(142, 221, 101, 0.5);
    --shadow-md: 0 0 30px rgba(142, 221, 101, 0.6);
    --shadow-lg: 0 0 50px rgba(142, 221, 101, 0.8);
    --radius: 0px;
    --radius-lg: 0px;
}

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

body {
    margin: 0;
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: #0a0a0a;
    background-image: 
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%),
        linear-gradient(45deg, #1a1a1a 25%, transparent 25%, transparent 75%, #1a1a1a 75%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(142, 221, 101, 0.03),
        rgba(142, 221, 101, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    background: var(--color-secondary);
    border-bottom: 3px solid var(--color-primary);
    border-top: 3px solid var(--color-accent);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
    transform: skewY(-1deg);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transform: skewY(1deg);
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-accent);
    font-family: var(--font-display);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0 var(--color-text-shadow), 6px 6px 0 rgba(0, 0, 0, 0.5);
    transform: rotate(-2deg) scaleY(1.1);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.2s;
    position: relative;
    border: 2px solid transparent;
    padding: 4px 8px;
}

.nav-link:hover {
    color: var(--color-accent);
    border: 2px solid var(--color-primary);
    transform: skewX(-5deg) scale(1.1);
    text-shadow: 0 0 10px var(--color-text-shadow);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-link svg {
    stroke: var(--color-accent);
}

.cart-count {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--color-primary);
    color: #000000;
    font-size: 12px;
    font-weight: 900;
    width: 24px;
    height: 24px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-accent);
    transform: rotate(15deg);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* Shop Banner */
.shop-banner {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 12px 0;
    text-align: center;
    border-bottom: 3px solid var(--color-accent);
    position: relative;
    z-index: 99;
}

.shop-banner p {
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
}

/* Main Content */
.main {
    flex: 1;
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
    border: 3px dashed var(--color-primary);
    background: rgba(255, 23, 68, 0.05);
    position: relative;
    transform: rotate(-1deg);
}

.hero::before {
    content: '✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕ ✕';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-accent);
    font-size: 12px;
    letter-spacing: 8px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin: 20px 0 12px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    text-shadow: 4px 4px 0 var(--color-text-shadow), 8px 8px 0 rgba(0, 0, 0, 0.5);
    transform: scaleY(1.15) rotate(-2deg);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Categories */
.categories {
    margin-bottom: 40px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    border: 3px solid var(--color-primary);
    background: var(--color-secondary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-display);
    color: var(--color-accent);
    text-shadow: 2px 2px 0 var(--color-text-shadow);
    transform: rotate(-2deg);
}

.category-btn:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    text-shadow: none;
    transform: rotate(2deg) scale(1.1);
    box-shadow: var(--shadow);
}

.category-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-secondary);
    transform: rotate(3deg) scale(1.15);
    box-shadow: var(--shadow-lg);
    font-weight: 900;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--color-surface);
    border: 4px solid var(--color-primary);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    transform: rotate(-1deg);
}

.product-card:hover {
    transform: rotate(2deg) translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-card::before {
    content: '◆ PUNK ◆';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    color: var(--color-accent);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 10;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    overflow: hidden;
    border-bottom: 3px solid var(--color-accent);
}

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background: linear-gradient(45deg, #1a1a1a 25%, #2a2a2a 25%, #2a2a2a 50%, #1a1a1a 50%, #1a1a1a 75%, #2a2a2a 75%, #2a2a2a);
    background-size: 30px 30px;
}

.placeholder-image.large {
    aspect-ratio: 1;
    border: 3px dashed var(--color-primary);
}

.stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--color-primary);
    border-radius: 50px;
}

.stock-badge.low-stock {
    background: var(--color-error);
    color: #000000;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary), 0 0 12px rgba(142, 221, 101, 0.5), 0 0 20px rgba(142, 221, 101, 0.35);
    transform: rotate(2deg);
}

.stock-badge.out-of-stock {
    background: #000000;
    color: var(--color-text-shadow);
    border-color: var(--color-text-shadow);
    box-shadow: none;
    transform: rotate(2deg);
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    font-family: var(--font-display);
    text-shadow: 2px 2px 0 var(--color-text-shadow);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0;
    text-shadow: 2px 2px 0 var(--color-text-shadow);
}

.product-card .btn {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 900;
    border: 3px solid var(--color-primary);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-display);
    background: var(--color-secondary);
    color: var(--color-accent);
    position: relative;
    text-shadow: 2px 2px 0 var(--color-text-shadow);
}

.btn:active {
    transform: translate(2px, 2px);
}

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-accent);
    color: var(--color-secondary);
    text-shadow: 2px 2px 0 var(--color-text-shadow);
}

.btn-primary:hover {
    background: var(--color-accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 3px dashed var(--color-primary);
    color: var(--color-accent);
}

.btn-secondary:hover {
    background: var(--color-primary);
    border-style: solid;
    color: var(--color-secondary);
}

.btn-disabled {
    background: #333;
    border-color: #666;
    color: #666;
    cursor: not-allowed;
    text-shadow: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Product Detail Page */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: bold;
}

.breadcrumb a:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px var(--color-text-shadow);
}

.breadcrumb span {
    color: var(--color-text-secondary);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.product-gallery {
    background: var(--color-surface);
    border: 4px solid var(--color-primary);
    overflow: hidden;
    position: relative;
    transform: rotate(-2deg);
}

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


.product-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    transform: rotate(1deg);
}

.thumb-btn {
    padding: 0;
    border: 2px solid var(--color-accent);
    background: var(--color-secondary);
    cursor: pointer;
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.thumb-btn:hover {
    transform: rotate(2deg) scale(1.05);
    box-shadow: var(--shadow);
    border-color: var(--color-primary);
}

.thumb-btn.active {
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.thumb-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
}
.product-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-display);
    color: var(--color-accent);
    text-shadow: 3px 3px 0 var(--color-text-shadow);
    transform: scaleY(1.1);
}

.product-category {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 6px 16px;
    border: 2px solid var(--color-accent);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: fit-content;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin: 0;
    text-shadow: 3px 3px 0 var(--color-text-shadow);
}

.product-description h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: var(--color-accent);
}

.product-description p {
    color: var(--color-text-secondary);
    margin: 0;
    border-left: 3px solid var(--color-primary);
    padding-left: 16px;
}

.stock-status {
    font-weight: 900;
    padding: 8px 16px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid;
    font-family: var(--font-display);
    border-radius: 50px;
}

.stock-status.in-stock {
    background: var(--color-accent);
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.stock-status.low-stock {
    background: var(--color-error);
    color: #000000;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary), 0 0 20px rgba(142, 221, 101, 0.6), 0 0 40px rgba(142, 221, 101, 0.4);
    transform: rotate(2deg);
}

.stock-status.out-of-stock {
    background: #000000;
    color: var(--color-text-shadow);
    border: 3px solid var(--color-text-shadow);
    box-shadow: none;
    transform: rotate(2deg);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quantity-selector label {
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--font-display);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 3px solid var(--color-primary);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-primary);
    cursor: pointer;
    font-size: 18px;
    font-weight: 900;
    transition: all 0.2s;
    color: var(--color-secondary);
}

.qty-btn:hover {
    background: var(--color-accent);
    color: var(--color-secondary);
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    background: var(--color-secondary);
    color: var(--color-accent);
    border-left: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.quantity-controls input:focus {
    outline: none;
}

.product-sku {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-family);
}

/* Cart Page */
.page-title {
    font-size: 3rem;
    margin: 0 0 32px;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: var(--color-accent);
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 4px 4px 0 var(--color-text-shadow);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    background: var(--color-surface);
    padding: 16px;
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow);
    transform: rotate(-1deg);
}

@media (max-width: 600px) {
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        grid-template-rows: auto auto;
    }
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border: 2px solid var(--color-accent);
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a1a 25%, #2a2a2a 25%);
}

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

.cart-item-name {
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 4px;
    text-transform: uppercase;
    color: var(--color-accent);
}

.cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.cart-item-name a:hover {
    color: var(--color-primary);
}

.cart-item-price {
    color: var(--color-primary);
    margin: 0;
    font-weight: bold;
}

.cart-item-total {
    font-weight: 900;
    min-width: 80px;
    text-align: right;
    color: var(--color-accent);
    font-size: 1.1rem;
}

.cart-item-remove {
    background: var(--color-primary);
    border: 2px solid var(--color-accent);
    cursor: pointer;
    color: var(--color-accent);
    padding: 8px;
    transition: all 0.2s;
    font-weight: 900;
}

.cart-item-remove:hover {
    background: var(--color-accent);
    color: var(--color-primary);
}

.cart-summary {
    background: var(--color-surface);
    padding: 24px;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 88px;
    transform: rotate(2deg);
}

.cart-summary h2 {
    font-size: 1.5rem;
    margin: 0 0 20px;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: var(--color-accent);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed var(--color-primary);
    text-transform: uppercase;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--color-accent);
    border: none;
    margin-top: 8px;
    padding-top: 8px;
}

.cart-summary hr {
    border: 2px dashed var(--color-primary);
    margin: 16px 0;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    border: 4px dashed var(--color-primary);
    background: rgba(255, 23, 68, 0.05);
}

.empty-cart svg {
    color: var(--color-accent);
    margin-bottom: 24px;
    filter: drop-shadow(3px 3px 0 var(--color-text-shadow));
}

.empty-cart h2 {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: var(--color-accent);
}

.empty-cart p {
    color: var(--color-text-secondary);
    margin: 0 0 24px;
}

/* Checkout Page */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-summary {
    background: var(--color-surface);
    padding: 24px;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    height: fit-content;
    transform: rotate(-1deg);
}

.checkout-summary h2 {
    margin: 0 0 20px;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: var(--color-accent);
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--color-primary);
}

.checkout-item-info {
    display: flex;
    gap: 8px;
}

.checkout-item-name {
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-accent);
}

.checkout-item-qty {
    color: var(--color-primary);
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 900;
    margin-top: 12px;
    color: var(--color-accent);
}

.checkout-payment {
    background: var(--color-surface);
    padding: 24px;
    border: 4px solid var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: rotate(1deg);
}

.checkout-payment h2 {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: var(--color-accent);
}

.payment-info {
    color: var(--color-text-secondary);
    margin: 0 0 24px;
    text-transform: uppercase;
}

#paypal-button-container {
    min-height: 150px;
}

#payment-processing {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--color-primary);
    border-top-color: var(--color-accent);
    border-radius: 0;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 12px 16px;
    margin-top: 16px;
    border: 2px solid var(--color-accent);
    font-weight: bold;
    text-transform: uppercase;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--color-accent);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Success Page */
.success-page {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 20px;
    border: 4px solid var(--color-primary);
    background: rgba(0, 255, 65, 0.05);
}

.success-icon {
    color: var(--color-accent);
    margin-bottom: 24px;
    filter: drop-shadow(4px 4px 0 var(--color-text-shadow));
    font-size: 4rem;
}

.success-page h1 {
    margin: 0 0 16px;
    text-transform: uppercase;
    font-family: var(--font-display);
    color: var(--color-accent);
    font-size: 2.5rem;
    text-shadow: 3px 3px 0 var(--color-text-shadow);
}

.success-message {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin: 0 0 24px;
    text-transform: uppercase;
}

.order-id {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 12px 24px;
    display: inline-block;
    margin-bottom: 24px;
    border: 2px solid var(--color-accent);
    font-weight: bold;
    text-transform: uppercase;
}

.success-info {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    text-transform: uppercase;
    font-size: 14px;
}

.success-actions {
    display: flex;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--color-secondary);
    border-top: 3px solid var(--color-primary);
    padding: 24px 0;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.footer p {
    text-align: center;
    color: var(--color-accent);
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 16px 24px;
    border: 3px solid var(--color-accent);
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
}

.notification.error {
    background: var(--color-error);
}

.notification.success {
    background: var(--color-accent);
    color: var(--color-secondary);
}

@keyframes slideIn {
    from {
        transform: translateY(100%) rotate(-5deg);
        opacity: 0;
    }
    to {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
}

/* No products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-accent);
    text-transform: uppercase;
    font-family: var(--font-display);
    font-size: 1.5rem;
}


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

body {
    margin: 0;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* Main Content */
.main {
    flex: 1;
    padding: 40px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0 60px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.hero p {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Categories */
.categories {
    margin-bottom: 40px;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.category-btn {
    padding: 8px 20px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    color: var(--color-text);
}

.category-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
}

.category-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

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

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
}

.placeholder-image.large {
    aspect-ratio: 1;
    background: var(--color-background);
    border-radius: var(--radius);
}

.stock-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--color-primary);
}

.stock-badge.low-stock {
    background: var(--color-error);
    color: #000000;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary), 0 0 12px rgba(142, 221, 101, 0.5), 0 0 20px rgba(142, 221, 101, 0.35);
    transform: rotate(2deg);
}

.stock-badge.out-of-stock {
    background: #000000;
    color: var(--color-text-shadow);
    border-color: var(--color-text-shadow);
    box-shadow: none;
    transform: rotate(2deg);
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 8px;
    text-shadow: 2px 2px 0 var(--color-text-shadow);
}

.product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.product-card .btn {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--color-primary-dark);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-secondary:hover {
    border-color: var(--color-text);
}

.btn-disabled {
    background: var(--color-border);
    color: var(--color-text-secondary);
    cursor: not-allowed;
    text-shadow: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Product Detail Page */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

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

.breadcrumb span {
    color: var(--color-text-secondary);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.product-gallery {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

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

.product-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.product-category {
    display: inline-block;
    background: var(--color-background);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.product-price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.product-description h3 {
    font-size: 1rem;
    margin: 0 0 8px;
}

.product-description p {
    color: var(--color-text-secondary);
    margin: 0;
}

.stock-status {
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius);
    display: inline-block;
    border-radius: 50px;
}

.stock-status.in-stock {
    background: #dcfce7;
    color: #166534;
}

.stock-status.low-stock {
    background: #E93CAC;
    color: #000000;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary), 0 0 20px rgba(142, 221, 101, 0.6), 0 0 40px rgba(142, 221, 101, 0.4);
    transform: rotate(2deg);
}

.stock-status.out-of-stock {
    background: #000000;
    color: var(--color-text-shadow);
    border: 3px solid var(--color-text-shadow);
    box-shadow: none;
    transform: rotate(2deg);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
}

.quantity-selector label {
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--color-background);
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: var(--color-border);
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.quantity-controls input:focus {
    outline: none;
}

.product-sku {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Cart Page */
.page-title {
    font-size: 2rem;
    margin: 0 0 32px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto;
    gap: 16px;
    align-items: center;
    background: var(--color-surface);
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
    .cart-item {
        grid-template-columns: 60px 1fr auto;
        grid-template-rows: auto auto;
    }
    
    .cart-item-quantity {
        grid-column: 2;
    }
    
    .cart-item-total {
        grid-column: 3;
        grid-row: 2;
    }
    
    .cart-item-remove {
        grid-column: 3;
        grid-row: 1;
    }
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-background);
}

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

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.cart-item-name a:hover {
    color: var(--color-primary);
}

.cart-item-price {
    color: var(--color-text-secondary);
    margin: 0;
}

.cart-item-total {
    font-weight: 600;
    min-width: 80px;
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-secondary);
    padding: 8px;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.cart-item-remove:hover {
    background: #fee2e2;
    color: var(--color-error);
}

.cart-summary {
    background: var(--color-surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 88px;
}

.cart-summary h2 {
    font-size: 1.25rem;
    margin: 0 0 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-summary hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 16px 0;
}

.cart-summary .btn {
    margin-top: 12px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart svg {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.empty-cart h2 {
    margin: 0 0 8px;
}

.empty-cart p {
    color: var(--color-text-secondary);
    margin: 0 0 24px;
}

/* Checkout Page */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

.checkout-summary {
    background: var(--color-surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    height: fit-content;
}

.checkout-summary h2 {
    margin: 0 0 20px;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-item-info {
    display: flex;
    gap: 8px;
}

.checkout-item-name {
    font-weight: 500;
}

.checkout-item-qty {
    color: var(--color-text-secondary);
}

.checkout-summary hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 16px 0;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
}

.checkout-payment {
    background: var(--color-surface);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.checkout-payment h2 {
    margin: 0 0 8px;
}

.payment-info {
    color: var(--color-text-secondary);
    margin: 0 0 24px;
}

#paypal-button-container {
    min-height: 150px;
}

#payment-processing {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-top: 16px;
}

.secure-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--color-text-secondary);
    font-size: 14px;
}

/* Success Page */
.success-page {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.success-icon {
    color: var(--color-success);
    margin-bottom: 24px;
}

.success-page h1 {
    margin: 0 0 16px;
}

.success-message {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin: 0 0 24px;
}

.order-id {
    background: var(--color-background);
    padding: 12px 24px;
    border-radius: var(--radius);
    display: inline-block;
    margin-bottom: 24px;
}

.success-info {
    color: var(--color-text-secondary);
    margin-bottom: 32px;
}

.success-actions {
    display: flex;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    margin-top: auto;
}

.footer p {
    text-align: center;
    color: var(--color-text-secondary);
    margin: 0;
    font-size: 14px;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 16px 24px;
    border-radius: var(--radius);
    border: 2px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
    z-index: 1000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notification.error {
    background: var(--color-error);
    color: #000000;
}

.notification.success {
    background: var(--color-accent);
    color: var(--color-secondary);
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* No products */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--color-text-secondary);
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}

.about-content .hero {
    border: 3px dashed var(--color-primary);
    background: rgba(142, 221, 101, 0.05);
    padding: 60px 20px;
    margin-bottom: 3rem;
}

.about-content .hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin: 20px 0 12px;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent);
    text-shadow: 4px 4px 0 var(--color-text-shadow), 8px 8px 0 rgba(0, 0, 0, 0.5);
}

.about-content .tagline {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 var(--color-text-shadow);
}

.about-section {
    margin-bottom: 3rem;
    background: var(--color-surface);
    padding: 2rem;
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow);
    transform: rotate(-0.5deg);
}

.about-section:nth-child(even) {
    transform: rotate(0.5deg);
    border-color: var(--color-accent);
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 900;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    text-shadow: 3px 3px 0 var(--color-text-shadow);
    border-bottom: 3px dashed var(--color-primary);
    padding-bottom: 0.5rem;
}

.about-section p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
    margin: 0 0 1rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

.intro {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(142, 221, 101, 0.1);
    padding: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

.closing {
    font-size: 1.2rem;
    color: var(--color-text);
}

.motto {
    text-align: center;
    font-size: 1.75rem;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--color-primary);
    border: 3px solid var(--color-accent);
    color: var(--color-secondary);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 3px;
    transform: rotate(2deg);
    box-shadow: var(--shadow-lg);
}

.motto strong {
    display: block;
    text-shadow: 3px 3px 0 var(--color-text-shadow);
}

@media (max-width: 768px) {
    .about-content .hero h1 {
        font-size: 2rem;
    }
    
    .about-content .tagline {
        font-size: 1.25rem;
    }
    
    .about-section {
        padding: 1.5rem;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .about-section p {
        font-size: 1rem;
    }
    
    .intro {
        font-size: 1.125rem;
    }
    
    .motto {
        font-size: 1.25rem;
    }
}

/* News Pages */
.news-header {
    margin-bottom: 24px;
}

.news-breadcrumb {
    text-transform: none;
}

.news-prose,
.news-prose p,
.news-prose span,
.news-prose a,
.news-breadcrumb,
.news-breadcrumb a,
.news-breadcrumb span,
.news-item-meta,
.news-post-meta {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.news-header p {
    margin: 0;
    color: var(--color-text-secondary);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    background: var(--color-surface);
    border: 3px solid var(--color-primary);
    box-shadow: var(--shadow);
    transform: rotate(-0.5deg);
}

.news-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.news-item-link {
    display: block;
    padding: 18px;
    text-decoration: none;
    color: inherit;
}

.news-item-link:hover .news-item-title {
    color: var(--color-primary);
}

.news-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.news-item-title {
    margin: 0;
    color: var(--color-accent);
    letter-spacing: 1px;
}

.news-empty {
    border: 3px dashed var(--color-primary);
    padding: 24px;
    text-align: center;
}

.news-post {
    background: var(--color-surface);
    border: 4px solid var(--color-primary);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.news-post-header {
    margin-bottom: 24px;
    border-bottom: 2px dashed var(--color-primary);
    padding-bottom: 12px;
}

.news-post-title {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-display);
    letter-spacing: 2px;
    color: var(--color-accent);
    text-shadow: 3px 3px 0 var(--color-text-shadow);
}

.news-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text-secondary);
}

.news-prose .page-title {
    text-transform: none;
}

.news-post-content-body p {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .news-item,
    .news-item:nth-child(even) {
        transform: none;
    }

    .news-post {
        padding: 18px;
    }
}

/* Mobile header nav */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 2px solid var(--color-primary);
    background: var(--color-secondary);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--color-accent);
    display: block;
}

@media (max-width: 768px) {
    .header .container {
        height: auto;
        min-height: 64px;
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    .js-enabled .nav-toggle {
        display: inline-flex;
    }

    .header .nav {
        display: flex;
        order: 3;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 0 4px;
    }

    .js-enabled .header .nav {
        display: none;
    }

    .js-enabled .header .nav.is-open {
        display: flex;
    }

    .nav-link {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .hero-break-word {
        display: block;
    }
}
