/* BoldStride Shared Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #0a0a0a;
    --dark: #141414;
    --card: #1a1a1a;
    --card-hover: #222222;
    --coral: #FF6B4A;
    --coral-glow: #FF8A6F;
    --coral-dark: #e55a3a;
    --warm: #FFF0EB;
    --white: #ffffff;
    --gray: #888888;
    --light-gray: #cccccc;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,107,74,0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
}

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

/* NAVIGATION */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--coral);
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--light-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

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

.nav-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-cart svg {
    width: 22px;
    height: 22px;
    stroke: var(--light-gray);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.2s;
}

.nav-cart:hover svg {
    stroke: var(--coral);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--coral);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

.cart-count.visible {
    display: flex;
}

/* PAGE WRAPPER */
.page-content {
    padding-top: 70px;
    min-height: 100vh;
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.section-header .tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
    display: block;
}

.section-header h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.section-header h1 .accent {
    color: var(--coral);
}

.section-header .subtitle {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--white);
    display: block;
}

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

.product-grid-image {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-grid-image .product-icon {
    font-size: 4rem;
    opacity: 0.6;
    filter: grayscale(0.3);
    z-index: 1;
}

.product-grid-image .size-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(10,10,10,0.7);
    backdrop-filter: blur(8px);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--coral);
    z-index: 2;
}

.product-grid-info {
    padding: 1.5rem;
}

.product-grid-info h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
}

.product-grid-info .tagline {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.product-grid-info .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-grid-info .price {
    color: var(--coral);
    font-weight: 700;
    font-size: 1.2rem;
}

.product-grid-info .shop-btn {
    background: transparent;
    border: 1px solid var(--coral);
    color: var(--coral);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.product-grid-info .shop-btn:hover {
    background: var(--coral);
    color: var(--white);
}

/* COLOR SWATCHES */
.color-swatches {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.color-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.color-swatch:hover,
.color-swatch.active {
    border-color: var(--coral);
    transform: scale(1.15);
}

.color-swatch.active::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--coral);
}

.color-swatch-lg {
    width: 36px;
    height: 36px;
}

/* SIZE SELECTOR */
.size-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-btn {
    background: var(--dark);
    border: 1px solid var(--border);
    color: var(--light-gray);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-xs);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.size-btn:hover {
    border-color: var(--border-hover);
    color: var(--white);
}

.size-btn.active {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--white);
}

/* BUTTONS */
.btn-primary {
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255,107,74,0.3);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-primary.full-width {
    width: 100%;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    color: var(--light-gray);
    border: 1px solid var(--border);
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    border-color: var(--light-gray);
    color: var(--white);
}

/* PRODUCT DETAIL PAGE */
.product-detail {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-detail-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-detail-image .product-icon {
    font-size: 8rem;
    opacity: 0.5;
    z-index: 1;
}

.product-detail-image .pre-order-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--coral);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.product-detail-info {
    padding-top: 1rem;
}

.product-detail-info .breadcrumb {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.product-detail-info .breadcrumb a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.2s;
}

.product-detail-info .breadcrumb a:hover {
    color: var(--coral);
}

.product-detail-info h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    line-height: 1;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.product-detail-info .tagline {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.product-detail-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--coral);
    margin-bottom: 2rem;
}

.product-detail-info .option-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 0.75rem;
    display: block;
}

.product-detail-info .option-group {
    margin-bottom: 2rem;
}

.product-detail-info .description {
    color: var(--light-gray);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.product-detail-info .features-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-detail-info .features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.product-detail-info .features-list li {
    color: var(--gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-detail-info .features-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--coral);
    border-radius: 50%;
    flex-shrink: 0;
}

.add-to-cart-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    overflow: hidden;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--light-gray);
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.qty-btn:hover {
    color: var(--coral);
    background: rgba(255,107,74,0.1);
}

.qty-display {
    padding: 0 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    min-width: 2rem;
    text-align: center;
}

/* CART PAGE */
.cart-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

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

.cart-empty .empty-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.4;
}

.cart-empty h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cart-empty p {
    color: var(--gray);
    margin-bottom: 2rem;
}

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

.cart-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 80px 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.cart-item-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.cart-item-info .meta {
    color: var(--gray);
    font-size: 0.85rem;
}

.cart-item-price {
    font-weight: 700;
    color: var(--coral);
    font-size: 1.1rem;
    white-space: nowrap;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.cart-item-remove:hover {
    color: #ff4444;
    background: rgba(255,68,68,0.1);
}

.cart-summary {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.cart-summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1.25rem;
}

.cart-summary-row.total .label {
    font-size: 1.1rem;
    font-weight: 600;
}

.cart-summary-row.total .value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--coral);
}

.cart-summary-row .label {
    color: var(--gray);
}

.cart-summary-row .value {
    font-weight: 600;
}

.cart-summary .checkout-btn {
    margin-top: 1.5rem;
}

.cart-summary .pre-order-note {
    text-align: center;
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 1rem;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

/* ORDER CONFIRMED */
.order-confirmed {
    text-align: center;
    padding: 6rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.order-confirmed .check-circle {
    width: 80px;
    height: 80px;
    background: rgba(255,107,74,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
}

.order-confirmed h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.order-confirmed p {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.order-confirmed .order-details {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.order-confirmed .order-details h3 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

/* FOOTER (STORE PAGES) */
.store-footer {
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.store-footer .brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    color: var(--coral);
}

.store-footer p {
    color: var(--gray);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.store-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.store-footer .footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

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

/* TOAST NOTIFICATION */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--card);
    border: 1px solid var(--coral);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.toast .toast-check {
    color: var(--coral);
    font-size: 1.2rem;
}

/* LOADING SKELETON */
.skeleton {
    background: linear-gradient(90deg, var(--card) 25%, var(--card-hover) 50%, var(--card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav {
        padding: 0.8rem 1.2rem;
    }

    .nav-links {
        gap: 1.2rem;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    .product-grid-image {
        height: 220px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .product-detail-image {
        max-height: 400px;
    }

    .product-detail-info h1 {
        font-size: 2.5rem;
    }

    .product-detail-info .features-list {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }

    .cart-item-price {
        grid-column: 2;
    }

    .cart-item-remove {
        grid-column: 2;
        justify-self: end;
    }

    .section-header h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .add-to-cart-section {
        flex-direction: column;
    }

    .btn-primary.full-width {
        width: 100%;
    }

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