/* =============================================================
   SHROOMCO — WooCommerce Psychedelic Stylesheet
   Covers: Shop, Single Product, Cart, Checkout
   ============================================================= */

/* ── Keyframe Animations ──────────────────────────────────── */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px rgba(175,37,244,0.4), 0 0 30px rgba(175,37,244,0.1); }
    50%       { box-shadow: 0 0 30px rgba(175,37,244,0.8), 0 0 60px rgba(255,0,229,0.3); }
}
@keyframes pulseGlowGreen {
    0%, 100% { box-shadow: 0 0 15px rgba(0,255,157,0.3); }
    50%       { box-shadow: 0 0 30px rgba(0,255,157,0.7), 0 0 60px rgba(0,255,157,0.2); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes spinOrb {
    from { transform: rotate(0deg) translateX(120px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(120px) rotate(-360deg); }
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes borderPulse {
    0%, 100% { border-color: rgba(175,37,244,0.3); }
    50%       { border-color: rgba(255,0,229,0.7); }
}
@keyframes cartBounce {
    0%,100% { transform: scale(1); }
    30%      { transform: scale(1.15) rotate(-3deg); }
    60%      { transform: scale(0.95) rotate(2deg); }
}
@keyframes countUp {
    from { transform: translateY(8px); opacity: 0; }
    to   { transform: translateY(0);   opacity: 1; }
}
@keyframes ripple {
    to { transform: scale(4); opacity: 0; }
}
@keyframes orbitLeft {
    0%,100% { transform: translate(-50%,-50%) rotate(0deg)   translate(200px) rotate(0deg); }
    100%    { transform: translate(-50%,-50%) rotate(360deg) translate(200px) rotate(-360deg); }
}

/* ── Shared WooCommerce Page Wrapper ─────────────────────── */
.woocommerce-page .site-content,
.woocommerce          .site-content {
    padding-top: var(--header-h, 5rem);
}

.woocommerce-page-wrap {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: var(--header-h, 5rem);
}

/* Ambient background orbs (injected via JS on woo pages) */
.woo-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
    animation: float 8s ease-in-out infinite;
}
.woo-orb--purple {
    width: 500px; height: 500px;
    background: rgba(175,37,244,0.12);
    top: -100px; left: -150px;
    animation-delay: 0s;
}
.woo-orb--green {
    width: 400px; height: 400px;
    background: rgba(0,255,157,0.08);
    bottom: 10%; right: -100px;
    animation-delay: 3s;
}
.woo-orb--pink {
    width: 300px; height: 300px;
    background: rgba(255,0,229,0.08);
    top: 40%; left: 40%;
    animation-delay: 5s;
}

/* ── Section / Page Headings ─────────────────────────────── */
.woo-page-header {
    text-align: center;
    padding: 4rem 1.5rem 3rem;
    position: relative;
    z-index: 1;
}
.woo-page-header__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1rem;
}
.woo-page-header__sub {
    color: var(--color-muted);
    font-size: 1.1rem;
    max-width: 36rem;
    margin-inline: auto;
}

/* ============================================================
   1. SHOP PAGE — archive-product.php
   ============================================================ */
.shroomco-shop {
    position: relative;
    padding: 2rem 0 6rem;
    z-index: 1;
}

/* WooCommerce breadcrumb */
.woocommerce-breadcrumb {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 1rem 1.5rem;
    font-size: 0.8rem;
    color: var(--color-muted);
    opacity: 0.7;
}
.woocommerce-breadcrumb a { color: var(--color-primary); }

/* Toolbar: result count + ordering */
.shroomco-shop__toolbar {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.woocommerce-result-count {
    color: var(--color-muted);
    font-size: 0.875rem;
}
.woocommerce-ordering select {
    appearance: none;
    background: rgba(28,16,34,0.8);
    border: 1px solid rgba(175,37,244,0.3);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.875rem;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23af25f4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(175,37,244,0.15);
}

/* Product grid */
.shroomco-shop__grid {
    max-width: var(--max-width);
    margin-inline: auto;
    padding-inline: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}
ul.products { /* WooCommerce default ul */
    display: contents;
}

/* ── Product Card ─────────────────────────────────────────── */
.shroomco-product-card {
    position: relative;
    background: rgba(28,16,34,0.6);
    border: 1px solid rgba(175,37,244,0.15);
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    transition:
        border-color  0.4s ease,
        box-shadow    0.4s ease,
        transform     0.4s ease;
    animation: fadeInUp 0.6s ease both;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.shroomco-product-card:hover {
    border-color: rgba(175,37,244,0.6);
    box-shadow:
        0 0 20px rgba(175,37,244,0.25),
        0 0 60px rgba(175,37,244,0.1),
        0 20px 40px rgba(0,0,0,0.4);
    transform: translateY(-6px);
}
/* Stagger animation delays */
.shroomco-product-card:nth-child(1)  { animation-delay: 0.05s; }
.shroomco-product-card:nth-child(2)  { animation-delay: 0.10s; }
.shroomco-product-card:nth-child(3)  { animation-delay: 0.15s; }
.shroomco-product-card:nth-child(4)  { animation-delay: 0.20s; }
.shroomco-product-card:nth-child(5)  { animation-delay: 0.25s; }
.shroomco-product-card:nth-child(6)  { animation-delay: 0.30s; }
.shroomco-product-card:nth-child(7)  { animation-delay: 0.35s; }
.shroomco-product-card:nth-child(8)  { animation-delay: 0.40s; }

/* Image wrapper */
.shroomco-product-card__img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}
.shroomco-product-card__img img,
.shroomco-product-card__img .woocommerce-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.shroomco-product-card:hover .shroomco-product-card__img img {
    transform: scale(1.08);
}
.shroomco-product-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,6,12,0.95) 0%, transparent 60%);
}
/* Shimmer streak on hover */
.shroomco-product-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(175,37,244,0.12) 50%, transparent 60%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s;
}
.shroomco-product-card:hover .shroomco-product-card__img::after {
    opacity: 1;
    animation: shimmer 1.2s ease forwards;
}

/* Badge */
.shroomco-product-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
    z-index: 2;
}
.shroomco-product-card__badge--sale {
    background: rgba(255,0,229,0.8);
    color: #fff;
}
.shroomco-product-card__badge--new {
    background: rgba(0,255,157,0.8);
    color: #000;
}
.shroomco-product-card__badge--featured {
    background: rgba(175,37,244,0.8);
    color: #fff;
}

/* Body */
.shroomco-product-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.shroomco-product-card__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-text);
    transition: color 0.2s;
}
.shroomco-product-card:hover .shroomco-product-card__name {
    color: #fff;
}
.shroomco-product-card__category {
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}
.shroomco-product-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.shroomco-product-card__price {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-secondary);
}
.shroomco-product-card__price del {
    font-size: 0.9rem;
    color: var(--color-muted);
    font-weight: 400;
    margin-right: 0.35rem;
}
.shroomco-product-card__price ins {
    text-decoration: none;
    color: var(--color-secondary);
}

/* Quick add button on card */
.shroomco-product-card__add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(175,37,244,0.15);
    color: var(--color-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    font-family: 'Material Symbols Outlined';
    flex-shrink: 0;
}
.shroomco-product-card__add:hover {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(175,37,244,0.6);
}
.shroomco-product-card__add.added {
    background: var(--color-secondary);
    color: #000;
    animation: cartBounce 0.5s ease;
}

/* WooCommerce pagination */
.woocommerce-pagination {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 3rem 1.5rem 0;
    display: flex;
    justify-content: center;
}
.woocommerce-pagination ul {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(175,37,244,0.3);
    color: var(--color-text);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
}
.woocommerce-pagination ul li a:hover {
    background: rgba(175,37,244,0.15);
    border-color: var(--color-primary);
}
.woocommerce-pagination ul li span.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 16px rgba(175,37,244,0.5);
}

/* ============================================================
   2. SINGLE PRODUCT — single-product.php
   ============================================================ */
.shroomco-single {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 3rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
}

.shroomco-single__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .shroomco-single__layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}
@media (min-width: 1024px) {
    .shroomco-single__layout {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 4rem;
    }
}

/* ── Image column ────────────────────────────────────────── */
.shroomco-single__gallery {
    position: relative;
}
.shroomco-single__img-main {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(175,37,244,0.2);
    box-shadow: 0 0 40px rgba(175,37,244,0.15);
    aspect-ratio: 1;
}
.shroomco-single__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.shroomco-single__img-main:hover img {
    transform: scale(1.04);
}
/* Glow ring */
.shroomco-single__img-main::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #af25f4, #ff00e5, #00ff9d);
    z-index: -1;
    opacity: 0.5;
    filter: blur(6px);
    animation: gradientShift 4s ease infinite;
    background-size: 200% 200%;
}
/* Thumbnails */
.shroomco-single__thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}
.shroomco-single__thumb {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid rgba(175,37,244,0.2);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.shroomco-single__thumb:hover,
.shroomco-single__thumb.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(175,37,244,0.5);
}
.shroomco-single__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Info column ─────────────────────────────────────────── */
/* ── Cart form internal spacing ──────────────────────────── */
.shroomco-single__info form.cart {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.shroomco-single__info .shroomco-variations  { margin-bottom: 1.75rem; }
.shroomco-single__info .shroomco-qty         { margin-bottom: 1.75rem; }
.shroomco-single__info .shroomco-atc         { margin-bottom: 0; }

.shroomco-single__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: calc(var(--header-h) + 2rem);
}

/* Breadcrumb */
.shroomco-single__breadcrumb {
    font-size: 0.8rem;
    color: var(--color-muted);
}
.shroomco-single__breadcrumb a { color: var(--color-primary); }
.shroomco-single__breadcrumb span { opacity: 0.5; margin-inline: 0.4rem; }

/* Category */
.shroomco-single__cat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary);
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(175,37,244,0.3);
    border-radius: var(--radius-full);
    background: rgba(175,37,244,0.08);
    width: fit-content;
}

/* Title */
.shroomco-single__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

/* Rating */
.shroomco-single__rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.star-rating {
    font-family: 'Material Symbols Outlined';
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
}
.shroomco-single__review-count {
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* Price */
.shroomco-single__price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-secondary);
    line-height: 1;
    filter: drop-shadow(0 0 12px rgba(0,255,157,0.4));
}
.shroomco-single__price del {
    font-size: 1.5rem;
    color: var(--color-muted);
    font-weight: 400;
    text-decoration: line-through;
    margin-right: 0.5rem;
    filter: none;
}
.shroomco-single__price ins {
    text-decoration: none;
}

/* Short description */
.shroomco-single__excerpt {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    border-left: 3px solid rgba(175,37,244,0.4);
    padding-left: 1rem;
}

/* ── Variation / Weight Selector ─────────────────────────── */
.shroomco-variations {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.shroomco-variations__label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}
.shroomco-variations__options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.shroomco-variation-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(175,37,244,0.35);
    background: rgba(28,16,34,0.6);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.shroomco-variation-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(175,37,244,0), rgba(175,37,244,0));
    transition: background 0.3s;
}
.shroomco-variation-btn:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(175,37,244,0.3);
    color: #fff;
}
.shroomco-variation-btn.selected {
    background: linear-gradient(135deg, rgba(175,37,244,0.3), rgba(255,0,229,0.2));
    border-color: var(--color-primary);
    color: #fff;
    box-shadow:
        0 0 16px rgba(175,37,244,0.4),
        inset 0 0 12px rgba(175,37,244,0.1);
    animation: pulseGlow 2s ease infinite;
}
/* WooCommerce native select (hidden, replaced by custom UI) */
.variations select {
    display: none;
}

/* ── Quantity ─────────────────────────────────────────────── */
.shroomco-qty {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    background: rgba(28,16,34,0.7);
    border: 1px solid rgba(175,37,244,0.3);
    border-radius: var(--radius-full);
    overflow: hidden;
    animation: borderPulse 3s ease infinite;
}
.shroomco-qty__btn {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--color-primary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-family: 'Material Symbols Outlined';
    flex-shrink: 0;
}
.shroomco-qty__btn:hover {
    background: rgba(175,37,244,0.15);
    color: #fff;
}
.shroomco-qty__input {
    width: 3.5rem;
    text-align: center;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(175,37,244,0.2);
    border-right: 1px solid rgba(175,37,244,0.2);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    outline: none;
    padding: 0.75rem 0;
    -moz-appearance: textfield;
    animation: countUp 0.2s ease;
}
.shroomco-qty__input::-webkit-inner-spin-button,
.shroomco-qty__input::-webkit-outer-spin-button { appearance: none; }

/* ── Add to Cart Button ───────────────────────────────────── */
.shroomco-atc {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 0.5rem;
}
.shroomco-atc__btn {
    flex: 1;
    min-width: 200px;
    position: relative;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #af25f4, #ff00e5);
    background-size: 200% 200%;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 32px rgba(175,37,244,0.4);
    animation: gradientShift 4s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.shroomco-atc__btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 40px rgba(175,37,244,0.6), 0 0 60px rgba(255,0,229,0.2);
}
.shroomco-atc__btn:active {
    transform: scale(0.98);
}
/* Ripple on click */
.shroomco-atc__btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    width: 100px;
    height: 100px;
    margin-top: -50px;
    margin-left: -50px;
    animation: ripple 0.6s linear;
    pointer-events: none;
}
.shroomco-atc__btn.loading {
    pointer-events: none;
    opacity: 0.8;
}
.shroomco-atc__btn.added {
    background: linear-gradient(135deg, #00ff9d, #00c87a);
    box-shadow: 0 8px 32px rgba(0,255,157,0.4);
    animation: pulseGlowGreen 2s ease 1;
}

/* Wishlist button */
.shroomco-atc__wishlist {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(175,37,244,0.3);
    background: rgba(28,16,34,0.7);
    color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Material Symbols Outlined';
    font-size: 1.25rem;
    flex-shrink: 0;
}
.shroomco-atc__wishlist:hover {
    border-color: #ff00e5;
    color: #ff00e5;
    box-shadow: 0 0 16px rgba(255,0,229,0.4);
}

/* Trust badges */
.shroomco-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}
.shroomco-trust__item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--color-muted);
}
.shroomco-trust__item .material-symbols-outlined {
    font-size: 1rem;
    color: var(--color-secondary);
}

/* ── Product Tabs ────────────────────────────────────────── */
.shroomco-tabs {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
}
.shroomco-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid rgba(175,37,244,0.2);
    margin-bottom: 2.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.shroomco-tabs__tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-muted);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-display);
    white-space: nowrap;
    position: relative;
    bottom: -1px;
}
.shroomco-tabs__tab:hover { color: var(--color-text); }
.shroomco-tabs__tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}
.shroomco-tabs__panel {
    display: none;
    color: var(--color-muted);
    line-height: 1.9;
    animation: fadeInUp 0.3s ease;
}
.shroomco-tabs__panel.active { display: block; }
.shroomco-tabs__panel h2,
.shroomco-tabs__panel h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
.shroomco-tabs__panel p,
.shroomco-tabs__panel ul { margin-bottom: 1rem; }
.shroomco-tabs__panel ul { padding-left: 1.25rem; list-style: disc; }

/* Related products */
.shroomco-related {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 0 1.5rem 6rem;
    position: relative;
    z-index: 1;
}
.shroomco-related__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.shroomco-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* ============================================================
   3. CART PAGE — cart/cart.php
   ============================================================ */
.shroomco-cart {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 3rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .shroomco-cart {
        grid-template-columns: 1fr 380px;
        align-items: start;
    }
}

/* Cart item list */
.shroomco-cart__items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual cart item */
.shroomco-cart-item {
    display: grid;
    grid-template-columns: 6rem 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
    background: rgba(28,16,34,0.6);
    border: 1px solid rgba(175,37,244,0.15);
    border-radius: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    animation: fadeInUp 0.4s ease both;
}
.shroomco-cart-item:hover {
    border-color: rgba(175,37,244,0.4);
    box-shadow: 0 0 20px rgba(175,37,244,0.08);
}
@media (max-width: 600px) {
    .shroomco-cart-item {
        grid-template-columns: 5rem 1fr;
        grid-template-rows: auto auto;
    }
    .shroomco-cart-item__actions { grid-column: 2; }
}
.shroomco-cart-item__img {
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 1;
}
.shroomco-cart-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shroomco-cart-item__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}
.shroomco-cart-item__name a { transition: color 0.2s; }
.shroomco-cart-item__name a:hover { color: var(--color-primary); }
.shroomco-cart-item__meta {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-bottom: 0.75rem;
}
.shroomco-cart-item__qty-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.shroomco-cart-item__price {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-secondary);
    white-space: nowrap;
}
.shroomco-cart-item__subtotal {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--color-secondary);
    text-align: right;
    white-space: nowrap;
}
.shroomco-cart-item__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}
.shroomco-cart-item__remove {
    background: transparent;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    font-family: 'Material Symbols Outlined';
    font-size: 1.25rem;
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
}
.shroomco-cart-item__remove:hover {
    color: #ff6b6b;
    transform: scale(1.2) rotate(10deg);
}

/* Coupon row */
.shroomco-cart__coupon {
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(28,16,34,0.4);
    border: 1px solid rgba(175,37,244,0.1);
    border-radius: 1rem;
    flex-wrap: wrap;
}
.shroomco-cart__coupon input {
    flex: 1;
    min-width: 160px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(175,37,244,0.25);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.875rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-full);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.shroomco-cart__coupon input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(175,37,244,0.12);
}
.shroomco-cart__coupon input::placeholder { color: #475569; }

/* Cart Totals sidebar */
.shroomco-cart__sidebar {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.shroomco-cart__totals {
    background: rgba(28,16,34,0.7);
    border: 1px solid rgba(175,37,244,0.2);
    border-radius: 1.25rem;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
}
.shroomco-cart__totals-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.shroomco-cart__totals-title .material-symbols-outlined {
    color: var(--color-primary);
}
.shroomco-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--color-muted);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.shroomco-totals-row--total {
    border-bottom: none;
    padding-top: 1rem;
    margin-top: 0.5rem;
    color: var(--color-text);
    font-weight: 700;
    font-size: 1rem;
}
.shroomco-totals-row--total .shroomco-totals-amount {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--color-secondary);
    filter: drop-shadow(0 0 8px rgba(0,255,157,0.4));
}
.shroomco-totals-amount {
    color: var(--color-text);
    font-weight: 600;
}

.shroomco-cart__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
/* Re-use .btn-primary / .btn-ghost from main stylesheet */

/* ============================================================
   4. CHECKOUT PAGE — checkout/form-checkout.php
   ============================================================ */
.shroomco-checkout {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 3rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 1024px) {
    .shroomco-checkout {
        grid-template-columns: 1fr 400px;
        align-items: start;
    }
}

/* Form panels */
.shroomco-checkout__panel {
    background: rgba(28,16,34,0.6);
    border: 1px solid rgba(175,37,244,0.15);
    border-radius: 1.25rem;
    padding: 2rem;
    animation: fadeInUp 0.5s ease both;
    transition: border-color 0.3s;
}
.shroomco-checkout__panel:focus-within {
    border-color: rgba(175,37,244,0.4);
}
.shroomco-checkout__panel + .shroomco-checkout__panel {
    margin-top: 1.5rem;
}
.shroomco-checkout__panel-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text);
}
.shroomco-checkout__panel-title .material-symbols-outlined {
    color: var(--color-primary);
}

/* Form fields */
.shroomco-field {
    margin-bottom: 1.25rem;
}
.shroomco-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
    transition: color 0.2s;
}
.shroomco-field:focus-within label { color: var(--color-primary); }

.shroomco-field input[type="text"],
.shroomco-field input[type="email"],
.shroomco-field input[type="tel"],
.shroomco-field input[type="password"],
.shroomco-field input[type="number"],
.shroomco-field select,
.shroomco-field textarea,
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select,
.woocommerce-checkout .woocommerce-input-wrapper textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(175,37,244,0.25);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    -webkit-appearance: none;
}
.shroomco-field input:focus,
.shroomco-field select:focus,
.shroomco-field textarea:focus,
.woocommerce-checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-input-wrapper select:focus,
.woocommerce-checkout .woocommerce-input-wrapper textarea:focus {
    border-color: var(--color-primary);
    background: rgba(175,37,244,0.06);
    box-shadow:
        0 0 0 3px rgba(175,37,244,0.12),
        0 0 20px rgba(175,37,244,0.08);
}
.shroomco-field input::placeholder,
.shroomco-field textarea::placeholder { color: #475569; }

.shroomco-field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23af25f4' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: rgba(255,255,255,0.04);
    padding-right: 2.5rem;
}
.shroomco-field select option {
    background: #1c1022;
    color: var(--color-text);
}

/* Two-column field row */
.shroomco-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 600px) {
    .shroomco-field-row { grid-template-columns: 1fr; }
}

/* Payment section */
.shroomco-payment {
    padding: 1.5rem;
    background: rgba(175,37,244,0.05);
    border: 1px solid rgba(175,37,244,0.2);
    border-radius: var(--radius-md);
    margin-top: 0.5rem;
}
.shroomco-payment__methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.shroomco-payment__method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    background: rgba(28,16,34,0.5);
    border: 1px solid rgba(175,37,244,0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 0.9rem;
}
.shroomco-payment__method:has(input:checked) {
    border-color: var(--color-primary);
    box-shadow: 0 0 12px rgba(175,37,244,0.2);
}
.shroomco-payment__method input[type="radio"] {
    appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgba(175,37,244,0.4);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}
.shroomco-payment__method input[type="radio"]::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 0.45rem;
    height: 0.45rem;
    background: var(--color-primary);
    border-radius: 50%;
    transition: transform 0.2s;
}
.shroomco-payment__method input[type="radio"]:checked {
    border-color: var(--color-primary);
}
.shroomco-payment__method input[type="radio"]:checked::after {
    transform: translate(-50%, -50%) scale(1);
}
.shroomco-payment__icon {
    font-family: 'Material Symbols Outlined';
    color: var(--color-primary);
    font-size: 1.25rem;
}

/* Place Order button */
.shroomco-place-order-btn {
    width: 100%;
    position: relative;
    padding: 1.1rem 2rem;
    border: none;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #af25f4, #ff00e5, #00ff9d);
    background-size: 200% 200%;
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 8px 32px rgba(175,37,244,0.4);
    animation: gradientShift 4s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    letter-spacing: 0.03em;
}
.shroomco-place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(175,37,244,0.55), 0 0 60px rgba(255,0,229,0.2);
}

/* Order summary sidebar */
.shroomco-order-summary {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    background: rgba(28,16,34,0.7);
    border: 1px solid rgba(175,37,244,0.2);
    border-radius: 1.25rem;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
    animation: fadeInUp 0.6s 0.1s ease both;
}
.shroomco-order-summary__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.shroomco-order-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.875rem;
}
.shroomco-order-summary__item-name {
    color: var(--color-text);
    flex: 1;
}
.shroomco-order-summary__item-qty {
    color: var(--color-muted);
    font-size: 0.8rem;
}
.shroomco-order-summary__item-price {
    color: var(--color-secondary);
    font-weight: 700;
    white-space: nowrap;
}
.shroomco-order-summary__totals {
    margin-top: 1rem;
}

/* ── WooCommerce notices / flash messages ──────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    max-width: var(--max-width);
    margin-inline: auto;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    animation: fadeInUp 0.4s ease;
}
.woocommerce-message {
    background: rgba(0,255,157,0.08);
    border: 1px solid rgba(0,255,157,0.3);
    color: var(--color-secondary);
}
.woocommerce-error {
    background: rgba(255,107,107,0.08);
    border: 1px solid rgba(255,107,107,0.3);
    color: #ff6b6b;
    display: block;
}
.woocommerce-error li { padding: 0.25rem 0; }
.woocommerce-info {
    background: rgba(175,37,244,0.08);
    border: 1px solid rgba(175,37,244,0.3);
    color: var(--color-primary);
}
.woocommerce-message .button,
.woocommerce-info    .button {
    margin-left: auto;
    padding: 0.4rem 1rem;
    border: 1px solid currentColor;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
}
.woocommerce-message .button:hover { background: rgba(0,255,157,0.15); }
.woocommerce-info    .button:hover { background: rgba(175,37,244,0.15); }

/* ── Shared buttons (WooCommerce default overrides) ────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 1.5rem;
    background: rgba(175,37,244,0.15);
    border: 1px solid rgba(175,37,244,0.4);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: rgba(175,37,244,0.3);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 16px rgba(175,37,244,0.3);
}
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: linear-gradient(135deg, #af25f4, #ff00e5);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 20px rgba(175,37,244,0.35);
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(175,37,244,0.5);
}

/* ── Responsive tweaks ─────────────────────────────────────── */
@media (max-width: 767px) {
    .shroomco-single__info { position: static; }
    .shroomco-cart  { padding-inline: 1rem; }
    .shroomco-checkout { padding-inline: 1rem; }
    .shroomco-checkout__panel { padding: 1.25rem; }
}

/* ── Category Filter Pills (shop page header) ──────────────── */
.shroomco-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.75rem;
}
.shroomco-cat-pill {
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(175,37,244,0.3);
    background: transparent;
    color: var(--color-muted);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.22s ease;
}
.shroomco-cat-pill:hover {
    border-color: var(--color-primary);
    color: var(--color-text);
    background: rgba(175,37,244,0.08);
}
.shroomco-cat-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 0 14px rgba(175,37,244,0.45);
}

/* ── Checkout Progress Steps ───────────────────────────────── */
.shroomco-checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 2rem;
    font-size: 0.8rem;
}
.shroomco-checkout-step {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #475569;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
}
.shroomco-checkout-step .material-symbols-outlined {
    font-size: 1.1rem;
}
.shroomco-checkout-step--done {
    color: var(--color-secondary);
}
.shroomco-checkout-step--active {
    color: var(--color-primary);
}
.shroomco-checkout-step--line {
    width: 3rem;
    height: 1px;
    background: rgba(175,37,244,0.25);
    padding: 0;
    display: block;
}

/* ── Cart count badge in header ────────────────────────────── */
.shroomco-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    padding: 0 0.3rem;
    vertical-align: super;
    margin-left: -0.25rem;
    box-shadow: 0 0 8px rgba(175,37,244,0.6);
    animation: pulseGlow 2.5s ease infinite;
}

/* ── WooCommerce form-row wrappers integration ─────────────── */
.woocommerce-checkout .form-row {
    margin-bottom: 0;
    padding: 0;
}
.woocommerce-checkout .form-row label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(175,37,244,0.25);
    color: var(--color-text);
    font-family: var(--font-display);
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    -webkit-appearance: none;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--color-primary);
    background: rgba(175,37,244,0.06);
    box-shadow: 0 0 0 3px rgba(175,37,244,0.12), 0 0 20px rgba(175,37,244,0.08);
}
.woocommerce-checkout .form-row.woocommerce-invalid input.input-text {
    border-color: #ff6b6b;
}
.woocommerce-checkout .form-row.woocommerce-invalid label,
.woocommerce form .form-row .required {
    color: #ff6b6b;
}

/* ── WooCommerce account / login forms ─────────────────────── */
.woocommerce-account .woocommerce,
.woocommerce-page .woocommerce {
    max-width: var(--max-width);
    margin-inline: auto;
    padding: 4rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
}

/* ============================================================
   EMPTY CART — cart-empty.php
   ============================================================ */

.shroomco-empty-cart {
    max-width: var(--max-width, 80rem);
    margin-inline: auto;
    padding: 2rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

/* ── Consultation Hero ──────────────────────────────────────── */
.shroomco-empty-cart__hero {
    position: relative;
    text-align: center;
    padding: 4rem 2rem 4.5rem;
    margin-bottom: 1rem;
    background: rgba(28,16,34,0.5);
    border: 1px solid rgba(175,37,244,0.2);
    border-radius: 2rem;
    overflow: hidden;
    box-sizing: border-box;
}

/* Animated gradient backdrop */
.shroomco-empty-cart__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(175,37,244,0.12) 0%, transparent 70%),
                radial-gradient(ellipse at 80% 100%, rgba(0,255,157,0.07) 0%, transparent 60%);
    pointer-events: none;
}

/* Floating spore particles */
.shroomco-empty-cart__spores {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.spore {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}
.spore--1 { width: 6px;  height: 6px;  background: var(--color-primary);   top: 15%; left: 12%;  animation-delay: 0s;   animation-duration: 7s; }
.spore--2 { width: 4px;  height: 4px;  background: var(--color-secondary);  top: 25%; right: 18%; animation-delay: 1s;   animation-duration: 5s; }
.spore--3 { width: 8px;  height: 8px;  background: var(--color-accent);     top: 60%; left: 8%;   animation-delay: 2.5s; animation-duration: 8s; }
.spore--4 { width: 5px;  height: 5px;  background: var(--color-primary);   bottom: 20%; right: 12%; animation-delay: 0.8s; animation-duration: 6s; }
.spore--5 { width: 3px;  height: 3px;  background: var(--color-secondary);  bottom: 30%; left: 30%; animation-delay: 3s;   animation-duration: 9s; }

.shroomco-empty-cart__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(175,37,244,0.1);
    border: 1px solid rgba(175,37,244,0.3);
    margin-bottom: 1.5rem;
    animation: pulseGlow 3s ease infinite;
}
.shroomco-empty-cart__icon .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.shroomco-empty-cart__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 30%, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shroomco-empty-cart__subtitle {
    max-width: 36rem;
    margin-inline: auto;
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.shroomco-empty-cart__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    margin-bottom: 1rem;
}

.shroomco-empty-cart__meta {
    font-size: 0.78rem;
    color: #475569;
    margin: 0;
}

/* ── Divider ─────────────────────────────────────────────────── */
.shroomco-empty-cart__divider {
    position: relative;
    text-align: center;
    margin: 3rem 0 2.5rem;
}
.shroomco-empty-cart__divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(175,37,244,0.2);
}
.shroomco-empty-cart__divider span {
    position: relative;
    background: var(--color-bg-dark, #0a060c);
    padding: 0 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
    letter-spacing: 0.04em;
}

/* ── Product grid ────────────────────────────────────────────── */
.shroomco-empty-cart__products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

/* ── View All button ─────────────────────────────────────────── */
.shroomco-empty-cart__view-all {
    text-align: center;
}
.shroomco-empty-cart__view-all .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
