/* =======================================================================
   ZOL — Tap target fixes (append to storefront.css)
   ======================================================================= */

/* Make inner elements pass clicks through to the parent button/card */
.fulfill-option *,
.payment-option *,
.pdp-option-chip *,
.browse-card * {
    pointer-events: none;
}

/* But re-enable for actual interactive children we DO want to receive clicks */
.cart-item-actions,
.cart-item-actions * {
    pointer-events: auto;
}

/* Make the whole tile act as one tap target */
.fulfill-option,
.payment-option,
.cat-nav-pill,
.pdp-option-chip,
.browse-card {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.04);
    touch-action: manipulation;
}

/* Apply to admin home tiles too (fixes the same issue there) */
.home-tile * {
    pointer-events: none;
}
.home-tile {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.04);
    touch-action: manipulation;
}

/* Pickup section in checkout */
.pickup-card {
    background: var(--paper);
    border: 1px solid var(--paper-3);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
}
.pickup-card-head {
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
}
.pickup-card-addr {
    font-size: 14px;
    color: rgba(14, 31, 20, 0.7);
    line-height: 1.5;
    margin-bottom: 12px;
}
.pickup-navigate-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--shop-primary);
    color: var(--shop-on-primary);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}
.pickup-navigate-btn:hover {
    background: var(--shop-secondary);
    text-decoration: none;
}
.pickup-navigate-btn svg {
    flex-shrink: 0;
}

/* Closed-shop warning during checkout */
.closed-warning {
    background: rgba(215, 130, 61, 0.12);
    border: 1px solid rgba(215, 130, 61, 0.35);
    color: #8c4d20;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    margin: 16px 16px 0;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.closed-warning svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}
.closed-warning strong {
    display: block;
    margin-bottom: 2px;
}
