* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
    min-height: 100%;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background .35s ease, color .35s ease;
}

body {
    display: flex;
    justify-content: center;
    padding: 24px 16px 60px;
}

.container {
    width: 100%;
    max-width: 460px;
}


.theme-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.theme-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.6);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: transform .2s ease, border-color .2s ease;
}
.theme-dot:hover { transform: scale(1.15); }
.theme-dot.active { border-color: var(--accent); transform: scale(1.2); }
.theme-dot[data-theme="modern"]  { background: linear-gradient(135deg,#6366f1,#a855f7); }
.theme-dot[data-theme="dark"]    { background: linear-gradient(135deg,#111827,#374151); }
.theme-dot[data-theme="elegant"] { background: linear-gradient(135deg,#b8860b,#2c2c2c); }
.theme-dot[data-theme="nature"]  { background: linear-gradient(135deg,#2e7d32,#a5d6a7); }
.theme-dot[data-theme="minimal"] { background: linear-gradient(135deg,#ffffff,#cccccc); }
.theme-dot[data-theme="navy"]    { background: linear-gradient(135deg,#0b2559,#ffffff); }

/* ---------- CARD ---------- */
.card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    border: 1px solid var(--border);
}

.cover {
    width: 100%;
    height: 150px;
    background: var(--accent-gradient);
    position: relative;
}
.cover img { width: 100%; height: 100%; object-fit: cover; }

.profile-wrap {
    display: flex;
    justify-content: center;
    margin-top: -46px;
    position: relative;
    z-index: 2;
}
.profile {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.profile img { width: 100%; height: 100%; object-fit: cover; }

.info {
    text-align: center;
    padding: 14px 24px 24px;
}
.info h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.info p.tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.btn-main {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px var(--accent-shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}
.btn-main:active { transform: scale(.97); }

.socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    color: var(--icon-color);
    text-decoration: none;
    font-size: 20px;
    transition: transform .15s ease, background .2s ease;
    border: 1px solid var(--border);
}
.social-btn:hover { transform: translateY(-3px); background: var(--accent-gradient); color: #fff; }

.footer-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 22px;
}


.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 50;
}
.overlay.show { opacity: 1; pointer-events: auto; }

.modal {
    background: var(--card-bg);
    width: 100%;
    max-width: 460px;
    border-radius: 24px 24px 0 0;
    padding: 26px 24px 34px;
    transform: translateY(30px);
    transition: transform .3s ease;
    max-height: 82vh;
    overflow-y: auto;
}
.overlay.show .modal { transform: translateY(0); }

.modal-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin: 0 auto 18px;
}

.modal h2 {
    font-size: 19px;
    margin-bottom: 10px;
    color: var(--text);
}
.modal p.about {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--accent-solid);
    margin: 18px 0 8px;
}

.wa-dialog {
    border: none;
    border-radius: 20px;
    padding: 26px 24px 30px;
    width: 90%;
    max-width: 340px;
    background: var(--card-bg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
}
.wa-dialog::backdrop {
    background: rgba(0,0,0,.55);
}
.wa-admin-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.wa-admin-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(0,0,0,0.04);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform .15s ease, background .15s ease;
}
.wa-admin-btn:hover {
    transform: translateY(-2px);
    background: var(--accent-gradient);
    color: #fff;
}
.wa-admin-btn i {
    font-size: 20px;
    color: #25D366;
}
.wa-admin-btn:hover i {
    color: #fff;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
    color: var(--text);
}
.hours-row:last-child { border-bottom: none; }

.address-item {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}
.address-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.address-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}
.address-box {
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 4px;
}
.maps-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-solid);
    text-decoration: none;
}

.product-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}
.product-row:last-child { border-bottom: none; }
.product-row .price { color: var(--accent-solid); font-weight: 600; }

.close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--icon-bg);
    color: var(--text);
    font-size: 16px;
    cursor: pointer;
}
.modal { position: relative; }
