/* Public business page — distinct component shapes per content type:
   contact actions = pill row, bank cards = real card silhouette,
   catalog = image-led grid. Not identical shadow-cards everywhere. */

body.ez-public { background: var(--ez-bg); color: var(--ez-text); }

.ez-pp-wrap { max-width: 520px; margin: 0 auto; padding: 0 0 60px; }

.ez-pp-cover { height: 120px; background: linear-gradient(135deg, var(--ez-primary), var(--ez-secondary)); }
.ez-pp-cover.no-cover { height: 84px; }

.ez-pp-hero { text-align: center; margin-top: -46px; padding: 0 20px; }
.ez-pp-logo {
    width: 92px; height: 92px; border-radius: 24px; object-fit: cover; background: var(--ez-surface);
    border: 4px solid var(--ez-surface); box-shadow: var(--ez-shadow); margin: 0 auto 12px;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.6rem; color: var(--ez-primary);
}
.ez-pp-name { font-size: 1.3rem; margin: 0 0 4px; }
.ez-pp-desc { font-size: .92rem; max-width: 380px; margin: 0 auto 18px; }

/* Top feature buttons — menu/catalog/products, distinct from the bottom quick bar */
.ez-pp-features { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 20px 6px; }
.ez-pp-feature-btn {
    display: inline-flex; align-items: center; gap: 6px; padding: 12px 22px;
    border-radius: var(--ez-radius); text-decoration: none; font-size: .9rem; font-weight: 700;
    background: var(--ez-primary); color: #fff;
}

.ez-pp-section { padding: 26px 20px 0; }
.ez-pp-section h2 { font-size: 1.02rem; margin-bottom: 12px; }

.ez-pp-hours { border: 1px solid var(--ez-border); border-radius: var(--ez-radius); background: var(--ez-surface); overflow: hidden; }
.ez-pp-hours .row { display: flex; justify-content: space-between; padding: 10px 16px; font-size: .86rem; border-bottom: 1px solid var(--ez-border); }
.ez-pp-hours .row:last-child { border-bottom: none; }
.ez-pp-hours .row.today { font-weight: 700; color: var(--ez-primary); }

/* Bank cards — shaped like an actual bank card, not a generic list card */
.ez-bank-card {
    border-radius: 18px; padding: 18px 20px; color: #fff; margin-bottom: 12px;
    background: linear-gradient(135deg, var(--card-color, var(--ez-primary)), rgba(0,0,0,.18));
    box-shadow: var(--ez-shadow); position: relative; overflow: hidden;
}
.ez-bank-card .bank-name { font-size: .8rem; opacity: .85; margin-bottom: 14px; }
.ez-bank-card .number { font-size: 1.15rem; letter-spacing: .04em; direction: ltr; text-align: left; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.ez-bank-card .bottom-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.ez-bank-card .holder { font-size: .82rem; opacity: .9; }
.ez-bank-card .copy-btn, .ez-bank-card .copy-btn-inline {
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff;
    padding: 6px 12px; border-radius: 999px; font-size: .74rem; cursor: pointer; flex-shrink: 0;
}
.ez-bank-card .shaba-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ez-bank-card .shaba { font-size: .74rem; opacity: .85; direction: ltr; text-align: left; }
.ez-bank-card .copy-btn-inline { padding: 4px 10px; font-size: .68rem; }

/* Bottom quick bar — contact & social, icon-based, mobile-first */
.ez-quickbar {
    position: sticky; bottom: 0; z-index: 40; margin-top: 30px;
    display: flex; overflow-x: auto; gap: 2px; background: var(--ez-surface);
    border-top: 1px solid var(--ez-border); padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 16px rgba(0,0,0,.05);
}
.ez-quickbar-item {
    flex: 1 0 72px; display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 8px 6px; border-radius: 12px; text-decoration: none; color: var(--ez-text);
    font-size: .68rem; font-weight: 600; white-space: nowrap;
}
.ez-quickbar-item:hover, .ez-quickbar-item:active { background: var(--ez-bg); }
.ez-quickbar-icon { width: 22px; height: 22px; object-fit: contain; }

/* Catalog */
.ez-cat-group { margin-bottom: 22px; }
.ez-cat-group h3 { font-size: .95rem; color: var(--ez-secondary); margin-bottom: 10px; }
.ez-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ez-product-card { background: var(--ez-surface); border: 1px solid var(--ez-border); border-radius: var(--ez-radius); overflow: hidden; }
.ez-product-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; background: var(--ez-bg); }
.ez-product-card .body { padding: 10px 12px; }
.ez-product-card .name { font-size: .86rem; font-weight: 700; margin-bottom: 4px; }
.ez-product-card .price { font-size: .82rem; color: var(--ez-primary); font-weight: 700; }
.ez-product-card .price .old { color: var(--ez-muted); text-decoration: line-through; font-weight: 400; margin-inline-end: 6px; font-size: .78rem; }
.ez-product-card.unavailable { opacity: .5; }

.ez-pp-footer { text-align: center; padding: 32px 20px 0; font-size: .78rem; color: var(--ez-muted); }
.ez-pp-footer a { color: var(--ez-primary); text-decoration: none; font-weight: 600; }

.ez-pp-mode-toggle {
    position: fixed; bottom: 16px; inset-inline-end: 16px; z-index: 50;
    width: 44px; height: 44px; border-radius: 50%; background: var(--ez-surface);
    border: 1px solid var(--ez-border); box-shadow: var(--ez-shadow); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}

.ez-pp-suspended { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; }
