/* Header & Tabs */
.is-maker .maker-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 20px; 
    background: #fff; 
    border-bottom: 1px solid #eee; 
}
.is-maker .maker-tabs { 
    display: flex !important; 
    flex-direction: row !important; 
    gap: 10px; 
    flex-wrap: wrap; 
}
.is-maker .maker-tab { 
    padding: 10px 20px; 
    background: #fff; 
    border: 1px solid #ddd; 
    border-radius: 25px; 
    cursor: pointer; 
    font-weight: 600; 
    transition: 0.2s;
}
.is-maker .maker-tab:hover { background: #f5f5f5; }
.is-maker .maker-tab.active { 
    background: #00a884 !important; 
    color: #fff !important; 
    border-color: #00a884;
}

/* Guest Counter Section */
.is-maker .maker-guests {
    padding: 20px;
    background: #f9f9f9;
    margin: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    border: 1px solid #eee;
    gap: 30px; 
}
.is-maker .maker-guests h3 { margin: 0; font-size: 22px; color: #111b21; }

.is-maker .maker-ctrls {
    display: flex;
    gap: 15px;
}
.is-maker .maker-ctrls button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 24px;
    color: #00a884;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; 
    transition: 0.2s;
    padding: 0; 
    line-height: 0; 
}
.is-maker .maker-ctrls button:hover {
    background: #00a884;
    color: #fff;
    border-color: #00a884;
}

/* Grid & Cards */
.is-maker .maker-sec-title { 
    padding: 0 20px; 
    margin-top: 20px; 
    font-size: 18px; 
    font-weight: bold; 
}
.is-maker .maker-grid { 
    display: grid !important; 
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important; 
    gap: 20px !important; 
    padding: 20px; 
}
.is-maker .maker-card { 
    border: 1px solid #eee; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #fff; 
    transition: 0.2s; 
    cursor: pointer; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.is-maker .maker-card:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.is-maker .maker-card.selected { 
    border: 2px solid #00a884 !important; 
    background: #f0fffb !important; 
}
.is-maker .maker-img { height: 160px; width: 100%; background: #f0f0f0; position: relative; }
.is-maker .maker-img img { width: 100%; height: 100%; object-fit: cover; }

/* The Zoom button is now styled inline in PHP, but hover effect is here */
.is-maker .cc-zoom-btn:hover {
    transform: scale(1.1);
    background: rgba(0,0,0,0.8) !important;
}

.is-maker .maker-info { padding: 15px; }
.is-maker .maker-info b { display: block; margin-bottom: 5px; font-size: 15px; }

/* Checkout Form & Footer */
.cc-checkout-form { padding: 30px; background: #fcfcfc; border-top: 1px solid #eee; }
.cc-form-header { margin-top: 0; margin-bottom: 20px; }
.cc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.cc-form-grid input { 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    background: #fff !important; 
    width: 100%;
}
.maker-footer { 
    position: sticky; 
    bottom: 0; 
    padding: 20px; 
    background: #fff; 
    border-top: 1px solid #ddd; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 100;
}
.cc-grand-total { font-size: 18px; color: #111b21; }
.cc-footer-btns { display: flex; gap: 10px; }

/* Zoom Modal (Global) */
.cc-zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}
.cc-zoom-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cc-zoom-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.cc-zoom-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .cc-form-grid { grid-template-columns: 1fr; }
    .maker-footer { flex-direction: column; gap: 15px; }
    .cc-footer-btns { width: 100%; justify-content: space-between; }
    .cc-btn-primary, .cc-btn-secondary { flex: 1; text-align: center; }
    .cc-zoom-close { top: -40px; right: 0; }
}