/* File: public/bizcard/bizcard.css */

.bc-hidden{ display:none !important; }

.bc-body{
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;

    background-color: var(--bc-bg-color, #111);
    background-image: var(--bc-bg-img, none);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;

    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.bc-mobile{
    width: 100%;
}

/* ✅ Banner full-width (no margins) */
.bc-banner-full{
    width: 100vw;
    margin: 0;
    padding: 0;
}

.bc-banner-full img{
    display: block;
    width: 100%;
    height: auto;
}

/* Content shell for iPad/folds */
.bc-shell{
    width: min(var(--bc-shell-w, 420px), calc(100vw - 16px));
    margin: 0 auto;
    padding-bottom: 70px;
    position: relative;
    box-sizing: border-box;
}

.bc-content{
    padding: 10px 6px 0;
    box-sizing: border-box;
}

.bc-grid{
    display: grid;
    grid-template-columns: repeat(var(--bc-cols, 3), minmax(0, 1fr));
    column-gap: 8px;
    row-gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

.bc-btn{
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    min-width: 0;
}

.bc-icon{
    display: block;
    width: 100%;
    max-width: 104px;
    height: auto;
    max-height: 82px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

.bc-fallback{
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
}

.bc-section-title{
    text-align: center;
    color: rgba(255,255,255,.95);
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 18px;
    margin: 10px 0 14px;
    text-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.bc-section-divider{
    height: 1px;
    background: rgba(255,255,255,.55);
    margin: 18px 8px 18px;
    box-shadow: 0 1px 6px rgba(0,0,0,.18);
}

/* Suspended */
.bc-btn.is-disabled{
    pointer-events: none;
    cursor: default;
}

.bc-suspended .bc-content{
    opacity: .34;
    filter: grayscale(1) saturate(.12) brightness(.88);
}

.bc-suspended-stamp{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-28deg);
    width: min(96%, 420px);
    padding: 16px 10px;
    border: 8px solid rgba(220, 38, 38, 0.92);
    color: rgba(220, 38, 38, 0.95);
    text-align: center;
    font-size: clamp(26px, 9vw, 54px);
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
    z-index: 25;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,.18);
}

/* Footer */
.bc-footer{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6px 8px;
    text-align: center;
    background: rgba(245,245,245,.95);
    border-top: 1px solid rgba(0,0,0,.12);
    color: #666;
    font-size: 11px;
    line-height: 1.2;
    box-sizing: border-box;
}

/* Rotate overlay */
.bc-rotate-overlay{
    display:none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}
.bc-rotate-card{
    width: min(460px, 92vw);
    background: rgba(255,255,255,.96);
    border-radius: 18px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.bc-rotate-icon{ font-size: 36px; margin-bottom: 10px; }
.bc-rotate-title{ font-size: 18px; font-weight: 800; color:#111827; margin-bottom: 6px; }
.bc-rotate-sub{ font-size: 13px; color:#4b5563; }

@media (orientation: landscape) and (max-height: 520px){
    #mobile-content{ display:none !important; }
    .bc-rotate-overlay{ display:flex !important; }
}

@media (max-width: 400px){
    .bc-content{ padding-left: 4px; padding-right: 4px; }
    .bc-grid{ column-gap: 4px; row-gap: 16px; }
    .bc-icon{ max-width: 96px; max-height: 76px; }
}

/* Desktop notice (elegant) */
.bc-desktop{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px 16px 90px;
    box-sizing: border-box;
}

.bc-desktop-card{
    width: min(560px, 94vw);
    border-radius: 20px;
    padding: 22px 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255,255,255,.95);
    position: relative;
    overflow: hidden;
}

.bc-desktop-card:before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255,255,255,.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.10), transparent 60%);
    pointer-events: none;
}

.bc-desktop-icon{
    font-size: 42px;
    line-height: 1;
    margin-bottom: 10px;
}

.bc-desktop-title{
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}

.bc-desktop-subtitle{
    font-size: 14px;
    color: rgba(255,255,255,.78);
    line-height: 1.5;
    margin-bottom: 16px;
}

.bc-desktop-steps{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.bc-desktop-step{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.45;
}

.bc-desktop-step-num{
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.18);
    font-weight: 800;
    flex: 0 0 auto;
}

.bc-desktop-linkbox{
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 16px;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.14);
    margin-bottom: 12px;
}

.bc-desktop-link{
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: rgba(255,255,255,.90);
    word-break: break-all;
    line-height: 1.4;
}

.bc-desktop-copy{
    border: none;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255,255,255,.92);
    color: #111827;
    font-weight: 800;
    font-size: 12px;
    transition: transform .15s ease, opacity .2s ease;
}

.bc-desktop-copy:hover{ opacity: .95; }
.bc-desktop-copy:active{ transform: scale(.98); }

.bc-desktop-note{
    font-size: 12px;
    color: rgba(255,255,255,.70);
    line-height: 1.5;
}

.bc-desktop-toast{
    position: absolute;
    right: 16px;
    top: 16px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(255,255,255,.18);
    color: rgba(255,255,255,.95);
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.bc-desktop-qr{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
    margin: 4px 0 14px;
}

.bc-desktop-qr img{
    width: 220px;
    max-width: 70vw;
    height: auto;
    background: #fff;
    border-radius: 16px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 16px 50px rgba(0,0,0,.30);
}

.bc-desktop-qr-text{
    font-size: 12px;
    color: rgba(255,255,255,.75);
}


/* =========================================================
   MODAL (Biz Hours / Banquet Hall / Deals)
   ========================================================= */

.bc-footer{
    z-index: 5; /* footer abajo del modal */
}

.bc-modal{
    position: fixed;
    inset: 0;
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-sizing: border-box;
}

.bc-modal-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.62);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.bc-modal-box{
    position: relative;
    width: min(560px, 94vw);
    max-height: min(80vh, 680px);
    background: rgba(255,255,255,.98);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 22px 70px rgba(0,0,0,.40);
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.bc-modal-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.98);
}

.bc-modal-title{
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: #111827;
    letter-spacing: -.01em;
}

.bc-modal-close{
    appearance: none;
    border: none;
    background: rgba(0,0,0,.06);
    color: #111827;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.bc-modal-close:active{
    transform: scale(.98);
}

.bc-modal-body{
    padding: 14px 16px 16px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    color: #111827;
}

.bc-modal-footer{
    padding: 12px 14px;
    border-top: 1px solid rgba(0,0,0,.08);
    background: rgba(255,255,255,.98);
}

.bc-modal-cta{
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 900;
    background: #111827;
    color: #fff;
}

/* -------- Business Hours content -------- */

.bc-hours{
    display: flex;
    flex-direction: column;
}

.bc-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.bc-row:last-child{
    border-bottom: none;
}

.bc-day{
    font-weight: 900;
    color: #111827;
}

.bc-time{
    font-weight: 700;
    color: #374151;
    text-align: right;
}

.bc-hr{
    border: none;
    border-top: 1px solid rgba(0,0,0,.10);
    margin: 14px 0;
}

/* Phone card inside Biz Hours */
.bc-phone-card{
    background: rgba(0,0,0,.03);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    padding: 12px;
}

.bc-phone-heading{
    font-weight: 900;
    color: #111827;
    margin-bottom: 2px;
}

.bc-phone-subheading{
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 10px;
}

.bc-phone-button{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    background: #0b5cff;
    color: #fff;
    font-weight: 900;
}

.bc-phone-button-label{
    opacity: .9;
}

.bc-phone-button-number{
    font-variant-numeric: tabular-nums;
}

/* -------- Banquet Hall -------- */
.bc-block{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bc-strong{
    font-weight: 900;
    color: #111827;
}

.bc-text{
    color: #374151;
    line-height: 1.5;
}

/* -------- Deals -------- */
.bc-deals{
    color: #111827;
}

/* Small phones */
@media (max-width: 380px){
    .bc-modal{ padding: 12px; }
    .bc-modal-box{ width: 96vw; max-height: 84vh; }
}

.bc-btn.is-disabled{
    pointer-events: none;
    cursor: default;
    opacity: .35;
    filter: grayscale(1) brightness(.9);
}

/* evita clicks “raros” en img/children */
.bc-btn.is-disabled *{
    pointer-events: none;
}

.bc-btn.is-disabled{
    opacity: .35;
    filter: grayscale(1) brightness(.9);
}
.bc-btn.is-disabled .bc-icon{
    filter: grayscale(1) brightness(.9);
}
