/*************************************/
/******** SHOP & SUPPORT PAGE ********/
/*************************************/
/* Matches YAM theme - uses :root from styles.css */

.shop-hero {
    margin-top: 0;
    padding-top: 180px;
    padding-bottom: 4rem;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8eef2 0%, #d5e0e8 100%);
    text-align: center;
}

.shop-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.shop-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.shop-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.shop-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.shop-btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--animation-timing);
    cursor: pointer;
    border: 2px solid transparent;
}

.shop-btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.shop-btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
    color: #fff;
}

.shop-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.shop-btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Section spacing */
.shop-section {
    padding: var(--section-spacing) 24px;
}

.shop-container {
    max-width: 1100px;
    margin: 0 auto;
}

.shop-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.shop-section-intro {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Product grid */
.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.shop-product-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all var(--animation-timing);
    position: relative;
}

.shop-product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.2);
}

.shop-product-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    background: rgba(230, 57, 70, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

.shop-product-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(230, 57, 70, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.shop-product-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.shop-product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.shop-product-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.shop-product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.shop-product-pwyw {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.shop-product-cta {
    width: 100%;
    text-align: center;
}

/* Digital downloads section bg */
.shop-downloads {
    background: var(--background-color);
}

/* Merch coming soon */
.shop-merch-teaser {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.06) 0%, rgba(230, 57, 70, 0.02) 100%);
}

.shop-merch-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
    transition: box-shadow var(--animation-timing);
}

.shop-merch-card:hover {
    box-shadow: var(--shadow-lg);
}

.shop-merch-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.15) 0%, rgba(230, 57, 70, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.shop-merch-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.shop-merch-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.shop-merch-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Waitlist signup */
.shop-waitlist {
    background: var(--background-color);
}

.shop-waitlist-box {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.shop-waitlist-box h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 1.5rem;
}

.shop-waitlist-form .shop-waitlist-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.shop-waitlist-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: border-color var(--animation-timing), box-shadow var(--animation-timing);
}

.shop-waitlist-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.shop-waitlist-form input::placeholder {
    color: var(--text-muted);
}

.shop-waitlist-form .shop-btn {
    flex-shrink: 0;
}

.shop-form-error {
    display: block;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.shop-form-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
    line-height: 1.5;
}

.shop-waitlist-success {
    text-align: center;
    padding: 1.5rem 0;
}

.shop-waitlist-success i {
    font-size: 2.5rem;
    color: #22c55e;
    margin-bottom: 0.75rem;
}

.shop-waitlist-success p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Impact section */
.shop-impact {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(230, 57, 70, 0.04) 100%);
}

.shop-impact-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.shop-impact-inner i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.shop-impact-inner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.shop-impact-inner p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Visually hidden (accessible) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .shop-hero {
        padding-top: 160px;
        padding-bottom: 3rem;
    }

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

    .shop-waitlist-form .shop-waitlist-row {
        flex-direction: column;
    }

    .shop-waitlist-form input {
        min-width: 100%;
    }
}

/* Dark mode */
body.dark-mode .shop-hero {
    background: linear-gradient(135deg, var(--card-background) 0%, var(--primary-background) 100%);
}

body.dark-mode .shop-hero-title,
body.dark-mode .shop-section-title,
body.dark-mode .shop-product-card h3,
body.dark-mode .shop-merch-card h2,
body.dark-mode .shop-waitlist-box h2,
body.dark-mode .shop-impact-inner h3 {
    color: var(--text-color);
}

body.dark-mode .shop-product-card,
body.dark-mode .shop-merch-card,
body.dark-mode .shop-waitlist-box {
    background: var(--card-background);
    border-color: var(--border-color);
}

body.dark-mode .shop-waitlist-form input {
    background: var(--input-background);
    border-color: var(--border-color);
    color: var(--text-color);
}
