/* Stinger Design System */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --honey: #F5A623;
    --honey-dark: #D4911E;
    --black: #0D0D0D;
    --charcoal: #1A1A1A;
    --warm-white: #FFF8F0;
    --cream: #FFF3E0;
    --amber: #FF8F00;
    --gold: #FFD54F;
    --green: #4CAF50;
    --red: #E53935;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--black);
    color: var(--warm-white);
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', sans-serif; }

a { color: var(--honey); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

/* Honeycomb background */
.hex-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 143, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(13, 13, 13, 0.9);
    border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--honey);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo:hover { opacity: 1; }

.logo-icon {
    width: 28px;
    height: 28px;
    background: var(--honey);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    color: rgba(255, 248, 240, 0.6);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--honey);
    opacity: 1;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    position: relative;
    background: none;
    border: 1px solid rgba(245, 166, 35, 0.2);
    color: var(--warm-white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.cart-btn:hover {
    border-color: var(--honey);
    background: rgba(245, 166, 35, 0.1);
}

.cart-count {
    background: var(--honey);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--honey-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.3);
    color: var(--black);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--honey);
    border: 1px solid rgba(245, 166, 35, 0.3);
}

.btn-outline:hover {
    background: rgba(245, 166, 35, 0.1);
    border-color: var(--honey);
    opacity: 1;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Page container */
.page {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page header */
.page-header {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(245, 166, 35, 0.1);
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.page-header h1 span { color: var(--honey); }

.page-header p {
    color: rgba(255, 248, 240, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding-bottom: 4rem;
}

.product-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(13, 13, 13, 0.9));
    border: 1px solid rgba(245, 166, 35, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(245, 166, 35, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--charcoal), rgba(245, 166, 35, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(13, 13, 13, 0.8));
}

.product-type-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--honey);
    background: rgba(13, 13, 13, 0.8);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--warm-white);
}

.product-info p {
    color: rgba(255, 248, 240, 0.5);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 1rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(245, 166, 35, 0.1);
}

.product-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--honey);
}

.product-weight {
    font-size: 0.8rem;
    color: rgba(255, 248, 240, 0.3);
}

.add-to-cart-btn {
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.3);
    color: var(--honey);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.add-to-cart-btn:hover {
    background: var(--honey);
    color: var(--black);
}

.add-to-cart-btn.added {
    background: var(--green);
    border-color: var(--green);
    color: white;
}

/* Filter bar */
.filter-bar {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    background: rgba(245, 166, 35, 0.05);
    border: 1px solid rgba(245, 166, 35, 0.1);
    color: rgba(255, 248, 240, 0.6);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.filter-btn:hover, .filter-btn.active {
    background: rgba(245, 166, 35, 0.15);
    border-color: var(--honey);
    color: var(--honey);
}

/* Cart page */
.cart-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    padding-bottom: 4rem;
}

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

.cart-item {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(13, 13, 13, 0.9));
    border: 1px solid rgba(245, 166, 35, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--charcoal), rgba(245, 166, 35, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.cart-item-details p {
    color: rgba(255, 248, 240, 0.4);
    font-size: 0.85rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: rgba(245, 166, 35, 0.1);
    border: none;
    color: var(--honey);
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn:hover { background: rgba(245, 166, 35, 0.2); }

.qty-value {
    width: 36px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--warm-white);
}

.cart-item-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--honey);
    min-width: 70px;
    text-align: right;
}

.remove-btn {
    background: none;
    border: none;
    color: rgba(255, 248, 240, 0.3);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem;
    transition: color 0.2s;
}

.remove-btn:hover { color: var(--red); }

/* Cart summary sidebar */
.cart-summary {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(13, 13, 13, 0.9));
    border: 1px solid rgba(245, 166, 35, 0.15);
    border-radius: 16px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 6rem;
}

.cart-summary h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(245, 166, 35, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.95rem;
}

.summary-row.label { color: rgba(255, 248, 240, 0.6); }

.summary-row.total {
    border-top: 1px solid rgba(245, 166, 35, 0.2);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.summary-row.total .price { color: var(--honey); font-size: 1.3rem; }

.free-shipping-note {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--green);
    margin: 1rem 0;
    text-align: center;
}

.shipping-needed-note {
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.15);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: rgba(255, 248, 240, 0.6);
    margin: 1rem 0;
    text-align: center;
}

/* Shipping calculator */
.shipping-calc {
    margin: 1.5rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(245, 166, 35, 0.1);
}

.shipping-calc h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--warm-white);
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(245, 166, 35, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.shipping-option:hover, .shipping-option.selected {
    border-color: var(--honey);
    background: rgba(245, 166, 35, 0.05);
}

.shipping-option input[type="radio"] {
    accent-color: var(--honey);
}

.shipping-option-info {
    flex: 1;
}

.shipping-option-info .name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--warm-white);
}

.shipping-option-info .days {
    font-size: 0.8rem;
    color: rgba(255, 248, 240, 0.4);
}

.shipping-option .price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--honey);
    font-size: 0.9rem;
}

.empty-cart {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-cart h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.empty-cart p {
    color: rgba(255, 248, 240, 0.5);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Forms */
.form-section {
    max-width: 640px;
    padding-bottom: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 248, 240, 0.7);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(245, 166, 35, 0.15);
    border-radius: 10px;
    color: var(--warm-white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--honey);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

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

.form-group select option {
    background: var(--charcoal);
    color: var(--warm-white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Success/Error messages */
.form-message {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: var(--green);
}

.form-message.error {
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.3);
    color: var(--red);
}

/* Membership page */
.membership-hero {
    text-align: center;
    padding: 3rem 0 4rem;
}

.membership-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.membership-hero h1 span { color: var(--honey); }

.membership-hero p {
    color: rgba(255, 248, 240, 0.6);
    font-size: 1.15rem;
    max-width: 550px;
    margin: 0 auto;
}

.membership-price-card {
    max-width: 500px;
    margin: 0 auto 3rem;
    background: linear-gradient(145deg, rgba(245, 166, 35, 0.08), rgba(255, 143, 0, 0.04));
    border: 1px solid rgba(245, 166, 35, 0.25);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.membership-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--honey);
    margin-bottom: 0.5rem;
}

.membership-price span {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 248, 240, 0.5);
}

.membership-perks {
    list-style: none;
    max-width: 500px;
    margin: 0 auto 3rem;
}

.membership-perks li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(245, 166, 35, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: rgba(255, 248, 240, 0.8);
}

.membership-perks li::before {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--honey);
    border-radius: 50%;
    flex-shrink: 0;
}

.membership-form-wrap {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.membership-form-wrap h3 {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

/* Wholesale page */
.wholesale-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.wholesale-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.wholesale-info h2 span { color: var(--honey); }

.wholesale-info p {
    color: rgba(255, 248, 240, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.wholesale-perks {
    list-style: none;
}

.wholesale-perks li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 248, 240, 0.7);
    font-size: 0.95rem;
}

.wholesale-perks li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--honey);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Divider */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.3), transparent);
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(245, 166, 35, 0.1);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--honey);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 248, 240, 0.4);
}

.footer-links a:hover { color: var(--honey); }

.footer-text {
    color: rgba(255, 248, 240, 0.3);
    font-size: 0.85rem;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--charcoal);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    color: var(--warm-white);
    font-size: 0.9rem;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Loading spinner */
.loading {
    display: flex;
    justify-content: center;
    padding: 4rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(245, 166, 35, 0.2);
    border-top-color: var(--honey);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive */
@media (max-width: 768px) {
    nav { padding: 0.8rem 1.5rem; }
    .nav-links { display: none; }
    .container { padding: 0 1.5rem; }
    .page { padding-top: 4.5rem; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .cart-container { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .wholesale-layout { grid-template-columns: 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; gap: 0.5rem; }
    .footer-links { gap: 1rem; }

    /* Mobile menu */
    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .cart-item { flex-direction: column; text-align: center; }
    .cart-item-actions { flex-direction: column; }
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--warm-white);
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 13, 13, 0.95);
        backdrop-filter: blur(12px);
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(245, 166, 35, 0.1);
    }
}
