/* ================================================================
   DExpert BBQ System — Public Form CSS
   ================================================================ */

:root {
    --dex-red:    #c0392b;
    --dex-dark:   #2c3e50;
    --dex-border: #e1e4e8;
    --dex-bg:     #f8f9fa;
    --dex-radius: 8px;
}

.dex-public-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px 16px 48px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

/* --- Header --------------------------------------------------------- */
.dex-pub-header { margin-bottom: 24px; }
.dex-pub-header h2 {
    font-size: 24px;
    color: var(--dex-dark);
    margin: 0 0 6px;
    border-bottom: 3px solid var(--dex-red);
    padding-bottom: 10px;
}
.dex-pub-header p { color: #666; margin: 0; }

/* --- Notices -------------------------------------------------------- */
.dex-notice {
    padding: 14px 18px;
    border-radius: var(--dex-radius);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 15px;
}
.dex-notice-success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.dex-notice-error   { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }

/* --- Form sections -------------------------------------------------- */
.dex-pub-form { margin: 0; }

.dex-pub-section {
    background: #fff;
    border: 1px solid var(--dex-border);
    border-radius: var(--dex-radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.dex-pub-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dex-dark);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}
.dex-pub-section-title small {
    font-weight: 400;
    font-size: 12px;
    color: #888;
    margin-left: 6px;
}

/* --- Grid & Fields -------------------------------------------------- */
.dex-pub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .dex-pub-grid { grid-template-columns: 1fr; }
}

.dex-pub-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.dex-pub-field-full { grid-column: 1 / -1; }

/* Radio button group */
.dex-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.dex-radio-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    padding: 8px 14px;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    transition: border-color .15s, background .15s;
    user-select: none;
}
.dex-radio-label:has(input:checked) {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #92400e;
    font-weight: 600;
}
.dex-radio-label input[type="radio"] {
    accent-color: #f59e0b;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.dex-pub-field label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.dex-pub-field small { font-size: 11px; color: #888; }

.dex-pub-field input[type="text"],
.dex-pub-field input[type="tel"],
.dex-pub-field input[type="email"],
.dex-pub-field input[type="url"],
.dex-pub-field input[type="date"],
.dex-pub-field input[type="time"],
.dex-pub-field select,
.dex-pub-field textarea {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 9px 12px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color .15s;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
}
.dex-pub-field input:focus,
.dex-pub-field select:focus,
.dex-pub-field textarea:focus {
    outline: none;
    border-color: var(--dex-red);
    box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}

.dex-req { color: var(--dex-red); }

/* --- Accordion ------------------------------------------------------ */
.dex-accordion {
    border: 1px solid var(--dex-border);
    border-radius: var(--dex-radius);
    overflow: hidden;
}

.dex-acc-item { border-bottom: 1px solid var(--dex-border); }
.dex-acc-item:last-child { border-bottom: none; }

.dex-acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 16px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background .15s;
    font-family: inherit;
}
.dex-acc-head:hover { background: #eef2f8; }
.dex-acc-head[aria-expanded="true"] { background: #f0f4ff; }

.dex-acc-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--dex-dark);
}

.dex-acc-badge {
    background: var(--dex-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.dex-acc-chevron {
    font-size: 11px;
    color: #888;
    transition: transform .2s;
    flex-shrink: 0;
}
.dex-acc-head[aria-expanded="true"] .dex-acc-chevron {
    transform: rotate(180deg);
}

.dex-acc-body {
    padding: 12px 16px 16px;
    background: #fff;
}
.dex-acc-body[hidden] { display: none; }

/* --- Product catalog (inside accordion) ----------------------------- */
.dex-pub-cat { margin-bottom: 20px; }
.dex-pub-cat:last-child { margin-bottom: 0; }

.dex-pub-cat-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--dex-red);
    margin: 0 0 10px;
    padding: 6px 0;
    border-bottom: 1px solid #f0eded;
}

/* --- Product Catalog Cards ----------------------------------------- */
.dex-pub-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    padding: 16px 4px;
}

.dex-prod-card {
    display: flex;
    flex-direction: column;
    border: 2px solid var(--dex-border);
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.dex-prod-card:hover {
    border-color: #b0bec5;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.dex-prod-card.dex-has-qty {
    border-color: var(--dex-red);
    box-shadow: 0 4px 14px rgba(192,57,43,.15);
}

/* Image area */
.dex-prod-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f4f4f4;
}
.dex-prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.dex-prod-card:hover .dex-prod-card-img img { transform: scale(1.04); }
.dex-prod-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ccc;
}

/* Text area */
.dex-prod-card-body {
    padding: 10px 12px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dex-prod-card-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dex-dark);
    line-height: 1.35;
}
.dex-prod-card-desc {
    font-size: 11.5px;
    color: #777;
    line-height: 1.4;
}
.dex-prod-card-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--dex-red);
    margin-top: 4px;
}

/* Qty row */
.dex-prod-card-qty {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px 12px;
    border-top: 1px solid var(--dex-border);
    background: var(--dex-bg);
}
.dex-prod-card-qty-label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.dex-prod-card-qty-inner {
    display: flex;
    align-items: center;
    gap: 6px;
}
.dex-prod-card-qty .dex-qty-input {
    width: 80px !important;
    text-align: center;
    border: 1px solid #ddd !important;
    border-radius: 5px;
    padding: 7px 8px !important;
    font-size: 15px;
    font-weight: 700;
    color: var(--dex-dark);
}
.dex-prod-card-qty .dex-qty-input:focus {
    border-color: #16a34a !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.dex-prod-card.dex-has-qty .dex-prod-card-qty .dex-qty-input {
    border-color: #16a34a !important;
    background: #f0fdf4;
}
.dex-prod-card-unit { font-size: 12px; color: #999; }

@media (max-width: 500px) {
    .dex-pub-catalog { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* Aqiqah child name */
.dex-aqiqah-name-wrap {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fdf8ff;
    border: 1px solid #c4b5fd;
    border-radius: 6px;
}
.dex-aqiqah-name-wrap label { color: #7c3aed !important; }
.dex-aqiqah-name-wrap input { border-color: #c4b5fd !important; }

/* --- Submit area ---------------------------------------------------- */
.dex-pub-submit-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px 0 8px;
}

.dex-pub-btn-submit {
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: var(--dex-radius);
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s, box-shadow .2s;
    letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(22,163,74,.25);
}
.dex-pub-btn-submit:hover  { background: #15803d; box-shadow: 0 4px 14px rgba(22,163,74,.35); }
.dex-pub-btn-submit:active { transform: scale(.98); }

.dex-pub-btn-search {
    background: var(--dex-dark);
    color: #fff;
    border: none;
    border-radius: var(--dex-radius);
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background .2s;
}
.dex-pub-btn-search:hover { background: #1a252f; color: #fff; }

.dex-pub-btn-cancel {
    color: #666;
    font-size: 14px;
    text-decoration: none;
    padding: 11px 16px;
}
.dex-pub-btn-cancel:hover { color: var(--dex-red); }

.dex-pub-submit-note { font-size: 12px; color: #888; margin: 0; }

/* --- Order portal card ---------------------------------------------- */
.dex-pub-order-card {
    background: #fff;
    border: 1px solid var(--dex-border);
    border-radius: var(--dex-radius);
    padding: 20px 24px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.dex-pub-order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.dex-pub-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dex-pub-meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #888;
    font-weight: 600;
}

.dex-pub-order-code {
    background: #f0f4ff;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
}

.dex-pub-locked-notice {
    background: #fff8e1;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 16px;
}

/* Items table */
.dex-pub-items-wrap h4 { font-size: 13px; color: #444; margin: 0 0 10px; }

.dex-pub-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dex-pub-items-table th {
    background: #f0f4f8;
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #555;
    border-bottom: 2px solid #d0dae6;
}
.dex-pub-items-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f5f5f5;
    vertical-align: middle;
}
.dex-pub-aqiqah-tag {
    display: inline-block;
    background: #f3e8ff;
    color: #7c3aed;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 11px;
}

/* Edit section */
.dex-pub-edit-section {
    margin-top: 8px;
}
.dex-pub-edit-section > h3 {
    font-size: 16px;
    color: var(--dex-dark);
    margin: 0 0 16px;
    border-bottom: 2px solid #e8eef5;
    padding-bottom: 10px;
}

/* Search form */
.dex-search-form .dex-pub-grid { max-width: 600px; }

/* Muted */
.dex-pub-muted { color: #999; font-style: italic; font-size: 13px; }

/* --- Order Detail view --------------------------------------------- */
.dex-pub-back-link { font-size: 13px; color: #1d4ed8; text-decoration: none; }
.dex-pub-back-link:hover { text-decoration: underline; }

.dex-pub-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.dex-pub-inv-badge {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.dex-pub-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 8px;
}
@media (max-width: 640px) {
    .dex-pub-detail-grid { grid-template-columns: 1fr; }
}

.dex-pub-detail-section { }
.dex-pub-detail-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #888;
    margin: 0 0 8px;
}

.dex-pub-detail-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dex-pub-detail-table th {
    width: 80px;
    font-weight: 500;
    color: #888;
    font-size: 12px;
    padding: 4px 8px 4px 0;
    vertical-align: top;
    white-space: nowrap;
}
.dex-pub-detail-table td { padding: 4px 0; color: #222; }

.dex-pub-card-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dex-dark);
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}
.dex-pub-subtable-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #888;
    margin: 16px 0 8px;
}

.dex-pub-map-link { font-size: 12px; color: #1d4ed8; text-decoration: none; }
.dex-pub-map-link:hover { text-decoration: underline; }

/* Payment summary cards */
.dex-pub-pay-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.dex-pub-pay-card {
    background: var(--dex-bg);
    border: 1px solid var(--dex-border);
    border-radius: 6px;
    padding: 12px 14px;
    text-align: center;
}
.dex-pub-pay-label { font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #888; margin-bottom: 6px; }
.dex-pub-pay-amount { font-size: 20px; font-weight: 700; color: var(--dex-dark); }
.dex-pub-pay-paid .dex-pub-pay-amount { color: #16a34a; }
.dex-pub-pay-alert { border-color: #fca5a5; background: #fff5f5; }
.dex-pub-pay-alert .dex-pub-pay-amount { color: #dc2626; }
.dex-pub-pay-done { border-color: #86efac; background: #f0fdf4; }
.dex-pub-pay-done .dex-pub-pay-amount { color: #16a34a; }
.dex-pub-pay-inv-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }

.dex-pub-btn-inv {
    display: inline-block;
    background: #c0392b;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.dex-pub-btn-inv:hover { background: #a93226; }

.dex-pub-receipt-link { color: #1d4ed8; font-size: 13px; text-decoration: none; }
.dex-pub-receipt-link:hover { text-decoration: underline; }

/* Edit gate card */
.dex-pub-edit-gate { border-left: 4px solid #f59e0b; }

.dex-pub-btn-otp {
    background: #f59e0b;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
}
.dex-pub-btn-otp:hover { background: #d97706; }

/* --- OTP Form ------------------------------------------------------- */
.dex-pub-otp-card {
    background: #fff;
    border: 1px solid var(--dex-border);
    border-radius: var(--dex-radius);
    padding: 32px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.dex-pub-otp-form { }
.dex-pub-otp-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.dex-pub-otp-field label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.dex-pub-otp-input {
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: 12px;
    text-align: center;
    width: 220px !important;
    padding: 12px 16px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    color: var(--dex-dark);
    font-family: monospace;
}
.dex-pub-otp-input:focus {
    border-color: var(--dex-red) !important;
    outline: none;
    box-shadow: 0 0 0 4px rgba(192,57,43,.1);
}
.dex-pub-otp-field small { font-size: 11px; color: #999; }

.dex-pub-otp-resend {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.dex-pub-btn-text {
    background: none;
    border: none;
    color: #1d4ed8;
    font-size: 13px;
    cursor: pointer;
    padding: 4px;
    text-decoration: underline;
}
.dex-pub-btn-text:hover { color: #1e40af; }

/* ================================================================
   Custom Order Card
   ================================================================ */
.dex-custom-order-wrap {
    padding: 16px;
}
.dex-custom-order-card {
    border: 2px dashed #f59e0b;
    border-radius: 10px;
    background: #fffbeb;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.dex-custom-order-card.dex-has-qty {
    border-color: #d97706;
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(217,119,6,.15);
    background: #fef3c7;
}
.dex-custom-order-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 10px;
    border-bottom: 1px dashed #fcd34d;
    background: #fef9ee;
}
.dex-custom-order-card.dex-has-qty .dex-custom-order-header {
    border-bottom-color: #fbbf24;
    background: #fef3c7;
}
.dex-custom-order-icon  { font-size: 20px; flex-shrink: 0; }
.dex-custom-order-title { font-size: 15px; font-weight: 700; color: #92400e; }
.dex-custom-order-note  { font-size: 12px; color: #a16207; margin-left: auto; text-align: right; }

.dex-custom-order-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.dex-custom-order-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #78350f;
    margin-bottom: 6px;
}
.dex-custom-desc-input {
    width: 100%;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    background: #fff;
    color: #333;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.dex-custom-desc-input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,.2);
}
.dex-custom-order-qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dex-custom-order-qty-row label {
    font-size: 13px;
    font-weight: 600;
    color: #78350f;
    white-space: nowrap;
}
.dex-custom-order-qty-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dex-custom-qty-input {
    width: 80px;
    padding: 8px 10px;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    background: #fff;
}
.dex-custom-qty-input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,.2);
}
.dex-custom-order-qty-wrap span {
    font-size: 13px;
    color: #92400e;
}

/* Extra custom item controls */
.dex-custom-extra-footer {
    padding: 10px 16px 16px;
    text-align: center;
}
.dex-add-custom-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, box-shadow .15s;
    font-family: inherit;
}
.dex-add-custom-btn:hover {
    background: #15803d;
    box-shadow: 0 2px 8px rgba(22,163,74,.3);
}
.dex-remove-custom-item {
    margin-left: auto;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    transition: background .15s;
    font-family: inherit;
    line-height: 1;
    padding: 0;
}
.dex-remove-custom-item:hover {
    background: #fecaca;
}
.dex-custom-extra-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
}
.dex-custom-extra-list:empty {
    padding: 0;
}

/* --- Responsive ----------------------------------------------------- */
@media (max-width: 600px) {
    .dex-pub-section { padding: 16px; }
    .dex-pub-order-meta { gap: 12px; }
    .dex-pub-submit-wrap { flex-direction: column; align-items: stretch; }
    .dex-pub-btn-submit,
    .dex-pub-btn-search { text-align: center; }
    .dex-custom-order-note { display: none; }
}

/* ================================================================
   Booking Banner
   ================================================================ */
.dex-booking-banner {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
    max-height: 280px;
    background: #f4f4f4;
}
.dex-booking-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 600px) {
    .dex-booking-banner { max-height: 160px; border-radius: 8px; }
}

/* ================================================================
   Terms & Conditions Box
   ================================================================ */
.dex-terms-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: #78350f;
    line-height: 1.65;
}
.dex-terms-lead { margin: 0 0 8px; }
.dex-terms-heading { margin: 8px 0 4px; }
.dex-terms-list {
    margin: 0 0 0 18px;
    padding: 0;
}
.dex-terms-list li { margin-bottom: 5px; }

/* ================================================================
   Menu Search & Filter Bar
   ================================================================ */
.dex-menu-search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.dex-search-input-wrap {
    flex: 1;
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 0 12px;
    transition: border-color .15s, box-shadow .15s;
}
.dex-search-input-wrap:focus-within {
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22,163,74,.1);
}
.dex-search-icon { color: #aaa; font-size: 14px; flex-shrink: 0; }
.dex-search-input-wrap input[type="text"] {
    flex: 1;
    border: none !important;
    outline: none !important;
    padding: 11px 0 !important;
    font-size: 14px;
    background: transparent;
    box-shadow: none !important;
    color: #333;
    min-width: 0;
}
.dex-search-clear {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 13px;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 3px;
    flex-shrink: 0;
}
.dex-search-clear:hover { color: #666; background: #f0f0f0; }
#dexCatFilter {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    min-width: 160px;
    color: #333;
    font-family: inherit;
    transition: border-color .15s;
}
#dexCatFilter:focus { border-color: #16a34a; outline: none; }
@media (max-width: 500px) {
    .dex-menu-search-bar { flex-direction: column; }
    #dexCatFilter { min-width: 0; width: 100%; }
}

/* ================================================================
   Search Active States (filter mode)
   ================================================================ */
.dex-search-active .dex-acc-head   { display: none; }
.dex-search-active .dex-acc-item   { border-bottom: none; }
.dex-search-active .dex-acc-body   { display: block !important; padding-top: 0; }
.dex-search-active .dex-acc-body[hidden] { display: block !important; }
.dex-search-active .dex-pub-catalog { padding-top: 4px; }
.dex-prod-card.dex-search-hidden   { display: none !important; }
.dex-acc-item.dex-cat-hidden        { display: none !important; }

/* No Results */
.dex-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}
.dex-no-results-icon { font-size: 40px; margin-bottom: 10px; }
.dex-no-results p    { font-size: 15px; margin: 0 0 14px; }
.dex-btn-clear-search {
    background: #16a34a;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s;
}
.dex-btn-clear-search:hover { background: #15803d; }

/* ================================================================
   Booking Page — hide theme page title & reduce top spacing
   ================================================================ */

/* Hide the WordPress page title rendered by the theme */
body.dex-booking-page .entry-title,
body.dex-booking-page .page-title,
body.dex-booking-page .page-header,
body.dex-booking-page .entry-header,
body.dex-booking-page h1.wp-block-post-title,
body.dex-booking-page .wp-block-post-title {
    display: none !important;
}

/* Remove extra top gap from theme content wrappers */
body.dex-booking-page .entry-content,
body.dex-booking-page .page-content,
body.dex-booking-page .wp-block-post-content,
body.dex-booking-page article.page,
body.dex-booking-page .site-main > article {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Remove top padding from our own wrap so banner sits flush */
body.dex-booking-page .dex-public-wrap {
    padding-top: 0;
}

/* =========================================================================
   Custom Footer — hide theme footer, show our own
   ========================================================================= */

/* Hide ALL theme footer elements on our pages */
body.dex-custom-footer-page footer,
body.dex-custom-footer-page .site-footer,
body.dex-custom-footer-page #colophon,
body.dex-custom-footer-page #footer,
body.dex-custom-footer-page .wp-block-template-part[class*="footer"],
body.dex-custom-footer-page [class*="footer-widget"],
body.dex-custom-footer-page .footer-widgets,
body.dex-custom-footer-page .footer-inner,
body.dex-custom-footer-page .footer-credits {
    display: none !important;
}

/* Our minimal copyright bar */
.dex-site-footer {
    text-align: center;
    font-size: 12px;
    color: #9ca3af;
    padding: 20px 16px 24px;
    border-top: 1px solid #f3f4f6;
    background: #fff;
    margin-top: 32px;
}

.dex-site-footer strong {
    color: #6b7280;
    font-weight: 600;
}

/* =========================================================================
   Social Proof Toast
   ========================================================================= */

.dex-sp-toast {
    position: fixed;
    top: 88px;
    right: -380px;
    width: 310px;
    z-index: 99999;
    transition: right .45s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}

.dex-sp-toast.dex-sp-show {
    right: 18px;
    pointer-events: auto;
}

.dex-sp-inner {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .18), 0 2px 8px rgba(0, 0, 0, .08);
    border-left: 5px solid #ef4444;
    padding: 14px 16px 10px;
    position: relative;
}

.dex-sp-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.dex-sp-name {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dex-sp-product {
    font-size: 12.5px;
    color: #374151;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dex-sp-time {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.dex-sp-progress {
    height: 3px;
    background: #f3f4f6;
    border-radius: 2px;
    overflow: hidden;
}

.dex-sp-bar {
    height: 100%;
    background: linear-gradient(90deg, #ef4444, #f97316);
    border-radius: 2px;
    width: 100%;
}

@media (max-width: 480px) {
    .dex-sp-toast {
        width: calc(100vw - 36px);
        top: auto;
        bottom: 80px;
        right: -110%;
    }
    .dex-sp-toast.dex-sp-show {
        right: 18px;
        bottom: 80px;
    }
}
