/* ============================================================
   customer.css
   Page-specific styles extracted from individual customer PHP files.
   Loaded after style.css via customer-header.php.
   ============================================================ */


/* === customer-about-us.php === */

.about-wrap {
    padding: 90px 8% 80px;
    background: #fdf2f2;
}

/* -- Hero -- */
.about-hero {
    max-width: 1100px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-text h1 {
    font-size: 2.8rem;
    color: #1a1010;
    margin: 0 0 20px;
    line-height: 1.2;
}

.about-hero-text h1 span {
    color: #9b1c1c;
}

.about-hero-text p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 16px;
}

.about-hero-img {
    position: relative;
}

.about-hero-img img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: 0 20px 60px rgba(155,28,28,0.12);
}

.about-hero-img::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    width: 100%;
    height: 100%;
    border: 2px solid #f0dada;
    border-radius: 16px;
    z-index: 0;
}

.about-hero-img img {
    position: relative;
    z-index: 1;
}

/* -- Values strip -- */
.about-values {
    max-width: 1100px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.about-value-card {
    background: white;
    border-radius: 12px;
    padding: 28px 22px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.04);
    text-align: center;
}

.about-value-icon {
    width: 48px;
    height: 48px;
    background: #fdf2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #9b1c1c;
}

.about-value-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #1a1010;
    letter-spacing: 0.5px;
}

.about-value-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

/* -- Service sections -- */
.about-services {
    max-width: 1100px;
    margin: 0 auto 60px;
}

.about-services h2 {
    font-size: 2rem;
    color: #1a1010;
    margin: 0 0 32px;
    text-align: center;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-service-card {
    background: white;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.about-service-card:hover {
    border-color: #9b1c1c;
    box-shadow: 0 4px 20px rgba(155,28,28,0.1);
}

.about-service-icon {
    width: 44px;
    height: 44px;
    background: #fdf2f2;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #9b1c1c;
}

.about-service-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: #1a1010;
    letter-spacing: 0.5px;
}

.about-service-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
}

/* -- CTA -- */
.about-cta {
    max-width: 1100px;
    margin: 0 auto;
    background: #9b1c1c;
    border-radius: 16px;
    padding: 52px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-cta h2 {
    color: white;
    font-size: 1.8rem;
    margin: 0 0 8px;
}

.about-cta p {
    color: rgba(255,255,255,0.8);
    margin: 0;
    font-size: 0.95rem;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: #9b1c1c;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.about-cta-btn:hover {
    background: #fdf2f2;
}

@media (max-width: 900px) {
    .about-hero         { grid-template-columns: 1fr; }
    .about-values       { grid-template-columns: repeat(2, 1fr); }
    .about-services-grid { grid-template-columns: 1fr; }
    .about-cta          { flex-direction: column; text-align: center; padding: 40px 30px; }
}

@media (max-width: 600px) {
    .about-values { grid-template-columns: 1fr; }
    .about-wrap   { padding: 90px 5% 60px; }
}

/* -- Animations -- */

/* Hero entrance */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes heroPulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(155,28,28,0.12); }
    50%       { box-shadow: 0 20px 80px rgba(155,28,28,0.22); }
}

.about-hero-text {
    animation: heroFadeUp 0.7s ease both;
}

.about-hero-img {
    animation: heroSlideIn 0.7s 0.2s ease both;
}

.about-hero-img img {
    animation: heroPulse 4s 1s ease-in-out infinite;
}

/* Scroll reveal -- base state */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.from-left  { transform: translateX(-40px); }
.reveal.from-right { transform: translateX(40px); }

.reveal.visible {
    opacity: 1;
    transform: translate(0);
}

/* Stagger delays for child items */
.stagger .reveal:nth-child(1) { transition-delay: 0s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.3s; }

/* Icon hover bounce */
@keyframes iconBounce {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25) rotate(-6deg); }
    70%  { transform: scale(0.95) rotate(3deg); }
    100% { transform: scale(1) rotate(0); }
}

.about-value-card:hover .about-value-icon,
.about-service-card:hover .about-service-icon {
    animation: iconBounce 0.5s ease;
}

/* Value card hover lift */
.about-value-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value-card:hover {
    transform: translateY(-5px);
    border-color: #9b1c1c;
    box-shadow: 0 8px 28px rgba(155,28,28,0.12);
}

/* Service card already has hover -- add lift */
.about-service-card {
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.about-service-card:hover {
    transform: translateY(-4px);
}

/* CTA shimmer on button */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.about-cta-btn {
    background-size: 200% auto;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.about-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Decorative floating dot behind hero */
.about-hero-img::after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(155,28,28,0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -40px;
    right: -40px;
    z-index: 0;
    animation: floatDot 6s ease-in-out infinite;
}

@keyframes floatDot {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-16px) scale(1.08); }
}

/* Section heading underline draw */
.about-services h2 {
    position: relative;
    display: inline-block;
}

.about-services-heading-wrap {
    text-align: center;
    margin-bottom: 32px;
}

.about-services h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #9b1c1c;
    border-radius: 2px;
    transition: width 0.6s ease;
}

.about-services h2.underlined::after {
    width: 60%;
}


/* === customer-add-card.php === */

.addcard-wrapper {
    max-width: 550px;
    margin: 0 auto;
    padding: 50px 20px;
}

.addcard-wrapper > h1 { margin-bottom: 4px; }

.addcard-intro {
    color: var(--text-gray);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.addcard-section {
    background: white;
    border-radius: 10px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.05);
    overflow: hidden;
}

.addcard-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0dada;
    background: #fffafa;
}

.addcard-section-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--crimson-red);
}

.addcard-section-body { padding: 24px; }

.addcard-info-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #166534;
}

.addcard-info-box.warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.addcard-info-box.error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

#card-element {
    background: #fdf8f8;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 14px 16px;
    transition: border-color 0.2s;
}

#card-element.StripeElement--focus { border-color: var(--crimson-red); }

#card-errors {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 10px;
    min-height: 20px;
}

.btn-save-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-cta, var(--crimson-red));
    color: white;
    border: 2px solid var(--crimson-red);
    padding: 13px 32px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-body);
    margin-top: 20px;
    transition: background 0.2s;
}

.btn-save-card:hover { background: var(--crimson-bright); border-color: var(--crimson-bright); }
.btn-save-card:disabled { opacity: 0.6; cursor: not-allowed; }

.secure-note {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 0.78rem;
    margin-top: 16px;
}

.success-box {
    text-align: center;
    padding: 40px 24px;
}

.success-box h2 { color: #166534; margin: 16px 0 8px; }
.success-box p { color: #555; font-size: 0.95rem; }

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }


/* === customer-booking-card.php === */

.pay-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 20px 60px;
}

.pay-wrap h1 {
    font-size: 1.9rem;
    color: #1a1010;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
}

.pay-intro {
    color: #888;
    font-size: 0.92rem;
    margin: 0 0 32px;
    line-height: 1.6;
}

.section-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #bbb;
    margin-bottom: 10px;
    display: block;
}

/* -- Apple Pay / Google Pay -- */
.wallet-pay { margin: 0 0 22px; }
.wallet-pay-head { margin-bottom: 10px; }
.wallet-pay-label {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #bbb;
}
/* Stripe injects an <iframe> here; the height it picks is honoured natively. */
.wallet-pay-btn {
    width: 100%;
    min-height: 48px;
}
.wallet-pay-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 14px;
    color: #bbb;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wallet-pay-divider::before,
.wallet-pay-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f0dada;
}

/* -- Card list -- */
.card-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }

.card-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: white;
    border: 2px solid #e8ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
    position: relative;
}

.card-option:hover { border-color: #f0dada; }
.card-option.selected { border-color: #9b1c1c; box-shadow: 0 0 0 3px rgba(155,28,28,0.08); }

.card-option input[type=radio] { display: none; }

.card-radio {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.15s;
}

.card-option.selected .card-radio { border-color: #9b1c1c; }
.card-radio-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #9b1c1c;
    display: none;
}
.card-option.selected .card-radio-dot { display: block; }

.card-icon {
    width: 52px; height: 34px;
    background: white;
    border: 1px solid #eee;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 3px;
    box-sizing: border-box;
}

.card-details { flex: 1; }
.card-details .card-name { font-weight: 700; color: #1a1010; font-size: 0.92rem; }
.card-details .card-sub  { font-size: 0.75rem; color: #aaa; margin-top: 1px; }

.card-default-badge {
    font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.4px; background: #d1fae5; color: #065f46;
    padding: 3px 8px; border-radius: 20px;
}

/* -- Add new card row -- */
.add-card-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border: 2px dashed #e8ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    margin-bottom: 24px;
    color: #9b1c1c;
    font-weight: 700;
    font-size: 0.88rem;
}

.add-card-row:hover { border-color: #9b1c1c; background: #fdf9f9; }
.add-card-row.open  { border-color: #9b1c1c; background: #fdf9f9; border-style: solid; }

/* -- New card form -- */
.new-card-form {
    display: none;
    background: #fdf9f9;
    border: 2px solid #9b1c1c;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 20px;
    margin-top: -14px;
    margin-bottom: 24px;
}

.stripe-field {
    background: white;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 13px 14px;
    transition: border-color 0.15s;
    margin-bottom: 12px;
}

.stripe-field.StripeElement--focus { border-color: #9b1c1c; }
.stripe-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field-label {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.4px; color: #888; display: block; margin-bottom: 5px;
}

.postcode-input {
    width: 100%; box-sizing: border-box;
    background: white; border: 1.5px solid #ddd; border-radius: 8px;
    padding: 12px 14px; font-size: 15px; font-family: 'Manrope', sans-serif;
    color: #1a1010; outline: none; transition: border-color 0.15s;
}
.postcode-input:focus { border-color: #9b1c1c; }

/* SCA-compliant consent checkbox */
.consent-box {
    background: white;
    border: 1.5px solid #e8ecef;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 14px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.consent-box input[type=checkbox] {
    width: 17px; height: 17px;
    accent-color: #9b1c1c;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
}

.consent-text {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.6;
}

.consent-text strong { color: #1a1010; }

.btn-add-confirm {
    width: 100%; padding: 12px;
    background: #1a0a0a; color: white; border: none;
    border-radius: 8px; font-weight: 700; font-size: 0.88rem;
    font-family: 'Manrope', sans-serif; cursor: pointer;
    transition: background 0.15s; margin-top: 4px;
}
.btn-add-confirm:hover { background: #9b1c1c; }
.btn-add-confirm:disabled { opacity: 0.6; cursor: not-allowed; }

/* -- Promo / referral code -- */
.promo-section { margin-bottom: 28px; }

.promo-input-row {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.promo-input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #ddd; border-radius: 8px;
    font-size: 0.88rem; font-family: 'Manrope', sans-serif;
    color: #1a1010; outline: none;
    text-transform: uppercase; letter-spacing: 1px;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.promo-input:focus { border-color: #9b1c1c; }

.btn-apply {
    padding: 0 20px;
    height: 44px;
    background: #1a0a0a; color: white;
    border: none; border-radius: 8px; font-weight: 700;
    font-size: 0.85rem; font-family: 'Manrope', sans-serif;
    cursor: pointer; white-space: nowrap; transition: background 0.15s;
    flex-shrink: 0;
}
.btn-apply:hover { background: #9b1c1c; }

.code-result {
    margin-top: 8px; font-size: 0.82rem; min-height: 20px;
    display: flex; align-items: center; gap: 6px;
}
.code-result.ok   { color: #065f46; }
.code-result.fail { color: #991b1b; }

.applied-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0;
    border-radius: 20px; padding: 5px 12px;
    font-size: 0.8rem; font-weight: 700; margin-top: 8px;
}

.applied-tag a {
    color: #065f46; text-decoration: none; font-size: 1rem; line-height: 1;
}
.applied-tag a:hover { color: #991b1b; }

/* -- Actions -- */
.pay-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.btn-complete {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 16px;
    background: #9b1c1c; color: white; border: none;
    border-radius: 12px; font-weight: 800; font-size: 1rem;
    font-family: 'Manrope', sans-serif; cursor: pointer;
    transition: background 0.15s; letter-spacing: 0.2px;
}
.btn-complete:hover { background: #c0392b; }
.btn-complete:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-skip {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px;
    background: white; color: #888; border: 1.5px solid #e8ecef;
    border-radius: 12px; font-weight: 600; font-size: 0.88rem;
    font-family: 'Manrope', sans-serif; cursor: pointer;
    transition: all 0.15s; text-decoration: none;
}
.btn-skip:hover { border-color: #9b1c1c; color: #9b1c1c; }

@media (max-width: 500px) {
    .stripe-field-grid { grid-template-columns: 1fr; }
}


/* === customer-booking-details.php === */

/* -- Wrapper -- */
.booking-details-wrapper {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
}

.booking-details-wrapper > h1 {
    margin-bottom: 4px;
}

.booking-details-intro {
    color: var(--text-gray);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* -- Cards -- */
.form-section {
    background: white;
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.05);
}

.form-section h3 {
    margin: 0 0 20px 0;
    font-size: 1rem;
    color: var(--crimson-red);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.form-section h3 svg {
    flex-shrink: 0;
    color: var(--crimson-red);
}

/* -- Form elements -- */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--charcoal-deep);
    font-size: 0.9rem;
}

.form-group input[type="date"],
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--crimson-red);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-gray);
    font-size: 0.82rem;
}

/* -- Time grid -- */
.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot { position: relative; }

.time-slot input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}

.time-slot label {
    display: block;
    padding: 11px;
    text-align: center;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    background: white;
}

.time-slot label:hover {
    border-color: var(--crimson-red);
    background: #fdf2f2;
    color: var(--crimson-red);
}

.time-slot input:checked + label {
    background: var(--crimson-red);
    color: white;
    border-color: var(--crimson-red);
}

/* -- Duration slider -- */
.duration-display {
    margin-top: 8px;
    text-align: center;
    font-weight: 700;
    color: var(--crimson-red);
    font-size: 1rem;
}

/* -- Address section -- */
.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.btn-change-address {
    background: transparent;
    border: none;
    color: var(--crimson-red);
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 4px 0;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.selected-address-box {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

.selected-address-box strong {
    display: block;
    margin-bottom: 4px;
    font-size: 1rem;
    color: var(--charcoal-deep);
}

.address-list-expanded {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding-top 0.4s ease;
    opacity: 0;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid #f0dada;
}

.address-option-item {
    border: 1.5px solid #eee;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

.address-option-item:hover {
    border-color: var(--crimson-red);
    background: #fdf2f2;
}

.address-option-item .addr-name {
    font-weight: 700;
    color: var(--charcoal-deep);
    margin-bottom: 4px;
}

.address-option-item .addr-default-badge {
    display: inline-block;
    margin-top: 6px;
    background: #f0dada;
    color: var(--crimson-red);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-edit-address {
    background: transparent;
    border: none;
    color: var(--crimson-red);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    padding: 4px 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
    flex-shrink: 0;
}

.add-address-trigger {
    border: 2px dashed #f0dada;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    color: var(--crimson-red);
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-address-trigger:hover {
    background: #fdf2f2;
    border-color: var(--crimson-red);
}

/* -- New address form -- */
.new-address-form {
    margin-top: 16px;
    padding: 18px 20px;
    background: #fdf8f8;
    border-radius: 8px;
    border: 1.5px solid #f0dada;
}
/* Compact rows inside the new-address form — much tighter than the rest of the page */
.new-address-form                       { padding: 14px 16px; }
.new-address-form .form-group           { margin-bottom: 6px; }
.new-address-form .form-group label     { margin-bottom: 2px; font-size: 0.82rem; line-height: 1.3; }
.new-address-form .form-group input,
.new-address-form .form-group select    { padding: 7px 10px; font-size: 0.88rem; }
.new-address-form .form-group small     { margin-top: 1px; font-size: 0.74rem; line-height: 1.3; color: #888; }
.new-address-form .two-col              { gap: 10px; }
/* Checkbox row — left-aligned, single line, no full-width-input bleed */
.new-address-form .form-check-row   { display:flex; align-items:center; gap:8px; margin-top:8px; margin-bottom:0; }
.new-address-form .form-check-row input[type="checkbox"] { width:auto; flex:0 0 auto; margin:0; }
.new-address-form .form-check-row label { margin:0; font-weight:normal; cursor:pointer; font-size:0.88rem; color:var(--charcoal-deep); }

/* Save Address & Continue button row */
.new-address-form .new-address-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:12px; padding-top:12px; border-top:1px solid #f0dada; }
.new-address-form .btn-save-address {
    display:inline-flex; align-items:center; gap:6px;
    padding:10px 22px; background:var(--brand-cta,#9b1c1c); color:#fff; border:none;
    border-radius:999px; font-size:0.88rem; font-weight:700; cursor:pointer;
    font-family:inherit; transition:background 0.15s;
}
.new-address-form .btn-save-address:hover { background:#7e1717; }
.new-address-form .btn-save-address:disabled { opacity:0.6; cursor:wait; }
.new-address-form .save-address-msg { font-size:0.85rem; }
.new-address-form .save-address-msg.ok  { color:#065f46; font-weight:600; }
.new-address-form .save-address-msg.err { color:#991b1b; font-weight:600; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* -- No address warning -- */
.no-address-box {
    padding: 24px;
    background: #fdf2f2;
    border: 2px dashed #f0dada;
    border-radius: 8px;
    text-align: center;
}

.no-address-box h4 {
    margin: 10px 0 8px;
    color: var(--crimson-red);
}

.no-address-box p {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

/* -- Edit address modal -- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    overflow-y: auto;
}

.modal-box {
    max-width: 560px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #f0dada;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--charcoal-deep);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
}

.modal-body {
    padding: 20px 24px;
}

.modal-body input[type="text"],
.modal-body input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.modal-body input:focus {
    outline: none;
    border-color: var(--crimson-red);
}

.modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-footer .btn-save {
    flex: 1;
    background: var(--brand-cta, var(--crimson-red));
    color: white;
    border: none;
    padding: 11px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: background 0.2s;
}

.modal-footer .btn-save:hover { background: var(--crimson-bright); }

.modal-footer .btn-cancel {
    flex: 1;
    background: white;
    color: #666;
    border: 1.5px solid #ddd;
    padding: 11px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.modal-footer .btn-cancel:hover { border-color: #aaa; }

/* -- Submit button -- */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--crimson-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 11px 0;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--crimson-red);
    color: white;
    border: 2px solid var(--crimson-red);
    padding: 11px 28px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-continue:hover {
    background: var(--crimson-bright);
    border-color: var(--crimson-bright);
}

@media (max-width: 600px) {
    .time-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col { grid-template-columns: 1fr; }
}


/* === customer-booking-success.php === */

.suc-wrap { background: #fdf2f2; padding: 90px 8% 80px; }
.suc-inner { max-width: 780px; margin: 0 auto; }

/* Hero banner */
.suc-banner {
    background: #9b1c1c;
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    margin-bottom: 32px;
    animation: sucFadeUp 0.6s ease both;
}
@keyframes sucFadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

.suc-check {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: white;
    border: 2px solid rgba(255,255,255,0.3);
}
.suc-banner h1 { color: white; font-size: 2rem; margin: 0 0 10px; }
.suc-banner p  { color: rgba(255,255,255,0.85); margin: 0; font-size: 0.95rem; line-height: 1.6; }

/* Booking cards */
.suc-booking-card {
    background: white; border-radius: 12px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 12px rgba(155,28,28,0.05);
    margin-bottom: 16px; overflow: hidden;
    animation: sucFadeUp 0.6s ease both;
}
.suc-booking-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #f5eded;
    background: #fdf2f2;
}
.suc-booking-ref { font-size: 0.82rem; font-weight: 700; color: #a1a1aa; text-transform: uppercase; letter-spacing: 0.5px; }
.suc-status-badge {
    background: #fff7ed; color: #c2410c;
    padding: 4px 12px; border-radius: 20px;
    font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.suc-booking-body { padding: 20px 24px; }
.suc-booking-title { font-size: 1.05rem; font-weight: 700; color: #1a1010; margin: 0 0 16px; }
.suc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.suc-detail {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.88rem; color: #555;
}
.suc-detail svg { color: #9b1c1c; flex-shrink: 0; margin-top: 2px; }
.suc-detail strong { display: block; color: #1a1010; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.suc-desc {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid #f5eded;
    font-size: 0.88rem; color: #555; line-height: 1.6;
}
.suc-desc strong { display: block; color: #1a1010; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }

/* What happens next */
.suc-next {
    background: white; border-radius: 12px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 12px rgba(155,28,28,0.05);
    padding: 28px;
    margin-bottom: 24px;
    animation: sucFadeUp 0.6s 0.2s ease both;
}
.suc-next h3 { font-size: 1rem; color: #1a1010; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.suc-steps { display: flex; flex-direction: column; gap: 12px; }
.suc-step { display: flex; align-items: flex-start; gap: 14px; font-size: 0.88rem; color: #555; line-height: 1.5; }
.suc-step-num {
    width: 26px; height: 26px; background: #9b1c1c; color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.78rem; flex-shrink: 0;
}

/* Action buttons */
.suc-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    animation: sucFadeUp 0.6s 0.3s ease both;
}
.suc-btn-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #9b1c1c; color: white; padding: 14px 20px;
    border-radius: 25px; font-weight: 700; font-size: 0.92rem;
    text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.suc-btn-primary:hover { background: #c0392b; transform: translateY(-2px); }
.suc-btn-outline {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: white; color: #9b1c1c;
    border: 2px solid #f0dada; padding: 12px 20px;
    border-radius: 25px; font-weight: 700; font-size: 0.92rem;
    text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.suc-btn-outline:hover { border-color: #9b1c1c; transform: translateY(-2px); }

@media (max-width: 640px) {
    .suc-detail-grid { grid-template-columns: 1fr; }
    .suc-actions { grid-template-columns: 1fr; }
    .suc-wrap { padding: 90px 5% 60px; }
    .suc-banner { padding: 36px 24px; }
}


/* === customer-booking-summary.php === */

.summary-wrapper {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
}

.summary-wrapper > h1 {
    margin-bottom: 4px;
}

.summary-intro {
    color: var(--text-gray);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

/* -- Section cards -- */
.summary-section {
    background: white;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.05);
    overflow: hidden;
}

.summary-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 1px solid #f0dada;
    background: #fffafa;
}

.summary-section-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--crimson-red);
    letter-spacing: 1px;
}

.summary-section-body {
    padding: 20px 24px;
}

/* -- Info grid -- */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.info-grid .span-2 {
    grid-column: span 2;
}

.info-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-gray);
    display: block;
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--charcoal-deep);
    margin: 0;
    line-height: 1.4;
}

.info-value.highlight {
    color: var(--crimson-red);
}

/* -- Job items -- */
.job-item {
    padding: 16px 0;
    border-bottom: 1px solid #f5eded;
}

.job-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.job-item:first-child {
    padding-top: 0;
}

.job-service {
    font-weight: 700;
    color: var(--crimson-red);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.job-description {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.job-media {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.job-media img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #f0dada;
}

.media-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fdf2f2;
    color: var(--crimson-red);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 8px;
}

/* -- Actions -- */
.summary-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-confirm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--crimson-red);
    color: white;
    border: 2px solid var(--crimson-red);
    padding: 13px 32px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    transition: background 0.2s, border-color 0.2s;
}

.btn-confirm:hover {
    background: var(--crimson-bright);
    border-color: var(--crimson-bright);
}

@media (max-width: 600px) {
    .info-grid { grid-template-columns: 1fr; }
    .info-grid .span-2 { grid-column: span 1; }
}


/* === customer-booking-view.php === */

#ch-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    transition: background 0.3s ease;
}

#ch-lightbox.active {
    display: flex;
    background: rgba(0,0,0,0.88);
}

.ch-lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    opacity: 0;
    transform: scale(0.88) translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    cursor: default;
}

#ch-lightbox.open .ch-lightbox-inner {
    opacity: 1;
    transform: scale(1) translateY(0);
}

#ch-lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 10px;
    display: block;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.ch-lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #9b1c1c;
    color: white;
    border: none;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.ch-lightbox-close:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.ch-photo-clickable {
    cursor: zoom-in;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ch-photo-clickable:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(155,28,28,0.2);
}

.ch-icon {
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-right: 5px;
    color: var(--crimson-red, #9b1c1c);
    display: inline-block;
}


/* === customer-contact-us.php === */

.contact-wrap {
    padding: 90px 8% 80px;
    background: #fdf2f2;
}

/* -- Hero banner -- */
.contact-hero {
    max-width: 1100px;
    margin: 0 auto 48px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.6rem;
    color: #1a1010;
    margin: 0 0 14px;
}

.contact-hero h1 span { color: #9b1c1c; }

.contact-hero p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

/* -- Contact method cards -- */
.contact-methods-grid {
    max-width: 1100px;
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-method-card {
    background: white;
    border-radius: 12px;
    padding: 32px 24px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.04);
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.contact-method-card:hover {
    border-color: #9b1c1c;
    box-shadow: 0 6px 24px rgba(155,28,28,0.1);
    transform: translateY(-4px);
}

.contact-method-icon {
    width: 56px;
    height: 56px;
    background: #fdf2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #9b1c1c;
    transition: background 0.2s;
}

.contact-method-card:hover .contact-method-icon {
    background: #9b1c1c;
    color: white;
}

.contact-method-card h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    color: #1a1010;
    letter-spacing: 0.5px;
}

.contact-method-card a {
    color: #9b1c1c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.contact-method-card a:hover { color: #c0392b; }

/* -- Main content grid -- */
.contact-main {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

/* -- Hours card -- */
.contact-hours-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.04);
}

.contact-hours-card h2 {
    font-size: 1.4rem;
    color: #1a1010;
    margin: 0 0 20px;
}

.hours-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f5eded;
}

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

.hours-icon {
    width: 36px;
    height: 36px;
    background: #fdf2f2;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9b1c1c;
    flex-shrink: 0;
    margin-top: 2px;
}

.hours-row p {
    margin: 0;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
}

.hours-row strong {
    display: block;
    color: #1a1010;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

/* -- Contact form card -- */
.contact-form-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.04);
}

.contact-form-card h2 {
    font-size: 1.4rem;
    color: #1a1010;
    margin: 0 0 20px;
}

.contact-form-card .cf-field {
    margin-bottom: 14px;
}

.contact-form-card .cf-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 5px;
}

.contact-form-card input,
.contact-form-card textarea {
    width: 100%;
    padding: 10px 13px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: white;
    margin: 0;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: #9b1c1c;
}

.contact-form-card textarea { resize: vertical; }

.cf-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cf-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #9b1c1c;
    color: white;
    border: none;
    padding: 13px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
    cursor: pointer;
    margin-top: 6px;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
    justify-content: center;
}

.cf-submit:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .contact-main          { grid-template-columns: 1fr; }
    .contact-methods-grid  { grid-template-columns: 1fr; }
    .cf-2col               { grid-template-columns: 1fr; }
    .contact-wrap          { padding: 90px 5% 60px; }
}


/* === customer-footer.php === */

@media (max-width: 968px) {
    .testimonial-set { grid-template-columns: 1fr !important; }
}

@media (max-width: 968px) {
    footer > div > div:nth-child(2) { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
    footer > div > div:nth-child(2) { grid-template-columns: 1fr !important; }
}
footer a:hover { color: white !important; }


/* === customer-forgot-password.php === */

.auth-wrap{min-height:80vh;background:#fdf2f2;display:flex;align-items:center;justify-content:center;padding:100px 20px 60px;}
.auth-card{background:white;border-radius:16px;border:1px solid #f0dada;box-shadow:0 8px 40px rgba(155,28,28,0.08);width:100%;max-width:440px;padding:44px 40px;animation:authFadeUp 0.5s ease both;}
@keyframes authFadeUp{from{opacity:0;transform:translateY(24px);}to{opacity:1;transform:none;}}
.auth-logo-row{display:flex;justify-content:center;margin-bottom:24px;}
.auth-icon-circle{width:64px;height:64px;background:#fdf2f2;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#9b1c1c;border:2px solid #f0dada;}
.auth-card h1{font-size:1.8rem;color:#1a1010;text-align:center;margin:0 0 8px;}
.auth-subtitle{text-align:center;color:#a1a1aa;font-size:0.9rem;margin:0 0 28px;line-height:1.6;}
.auth-alert-ok{background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;border-radius:8px;padding:12px 16px;font-size:0.88rem;font-weight:600;margin-bottom:18px;display:flex;align-items:center;gap:8px;}
.auth-alert-err{background:#fdf2f2;color:#9b1c1c;border:1px solid #f0dada;border-radius:8px;padding:12px 16px;font-size:0.88rem;font-weight:600;margin-bottom:18px;display:flex;align-items:center;gap:8px;}
.auth-field{margin-bottom:16px;}
.auth-label{display:block;font-size:0.78rem;font-weight:700;text-transform:uppercase;letter-spacing:0.5px;color:#555;margin-bottom:5px;}
.auth-input{width:100%;padding:11px 14px;border:1.5px solid #e0e0e0;border-radius:8px;font-size:0.95rem;font-family:inherit;box-sizing:border-box;transition:border-color 0.2s;background:white;color:#1a1010;}
.auth-input:focus{outline:none;border-color:#9b1c1c;}
.auth-submit{width:100%;background:#9b1c1c;color:white;border:none;padding:13px;border-radius:25px;font-weight:700;font-size:0.95rem;font-family:inherit;cursor:pointer;transition:background 0.2s,transform 0.15s;margin-top:4px;display:flex;align-items:center;justify-content:center;gap:8px;}
.auth-submit:hover{background:#c0392b;transform:translateY(-1px);}
.auth-back{text-align:center;margin-top:20px;}
.auth-back a{color:#a1a1aa;font-size:0.85rem;text-decoration:none;display:inline-flex;align-items:center;gap:5px;transition:color 0.2s;}
.auth-back a:hover{color:#9b1c1c;}


/* === customer-forgot-password-sent.php === */

.auth-success-circle{width:72px;height:72px;background:#f0fdf4;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 24px;color:#10b981;border:2px solid #bbf7d0;}
.auth-card p{color:#666;font-size:0.92rem;line-height:1.7;margin:0 0 12px;}
.auth-email-highlight{font-weight:700;color:#1a1010;}
.dev-notice{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:20px;margin:24px 0;text-align:left;}
.dev-notice h4{color:#92400e;margin:0 0 8px;font-size:0.9rem;display:flex;align-items:center;gap:6px;}
.dev-notice p{color:#92400e;font-size:0.85rem;margin:0 0 12px;}
.dev-link{background:#f3f4f6;padding:12px;border-radius:6px;word-break:break-all;font-family:monospace;font-size:0.8rem;margin-bottom:14px;color:#333;display:block;}
.auth-btn{display:inline-flex;align-items:center;gap:8px;background:#9b1c1c;color:white;padding:12px 24px;border-radius:25px;font-weight:700;font-size:0.9rem;text-decoration:none;transition:background 0.2s;}
.auth-btn:hover{background:#c0392b;}


/* === customer-form-success.php === */

.fs-wrap {
    min-height: 80vh;
    background: #fdf2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
}
.fs-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #f0dada;
    box-shadow: 0 8px 40px rgba(155,28,28,0.08);
    width: 100%;
    max-width: 520px;
    padding: 52px 44px;
    text-align: center;
    animation: fsFadeUp 0.6s ease both;
}
@keyframes fsFadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:none; } }

.fs-icon-circle {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px;
}
.fs-card h1 { font-size: 1.9rem; color: #1a1010; margin: 0 0 12px; }
.fs-card .fs-sub { color: #666; font-size: 0.95rem; line-height: 1.7; margin: 0 0 32px; }

.fs-steps {
    background: #fdf2f2;
    border-radius: 10px;
    padding: 22px 24px;
    text-align: left;
    margin-bottom: 32px;
    border: 1px solid #f0dada;
}
.fs-steps h4 {
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    color: #9b1c1c; margin: 0 0 14px;
}
.fs-step {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.88rem; color: #555; line-height: 1.5;
    margin-bottom: 10px;
}
.fs-step:last-child { margin-bottom: 0; }
.fs-step-dot {
    width: 22px; height: 22px;
    background: #9b1c1c; color: white;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-size: 0.72rem;
    font-weight: 700; flex-shrink: 0; margin-top: 1px;
}

.fs-actions { display: flex; flex-direction: column; gap: 10px; }
.fs-btn-primary {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #9b1c1c; color: white; padding: 13px 24px;
    border-radius: 25px; font-weight: 700; font-size: 0.92rem;
    text-decoration: none; transition: background 0.2s, transform 0.2s;
}
.fs-btn-primary:hover { background: #c0392b; transform: translateY(-2px); }
.fs-btn-outline {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: white; color: #9b1c1c; border: 2px solid #f0dada;
    padding: 11px 24px; border-radius: 25px;
    font-weight: 700; font-size: 0.92rem;
    text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.fs-btn-outline:hover { border-color: #9b1c1c; transform: translateY(-2px); }


/* === customer-join-the-team.php === */

/* -- Wrapper -- */
.jt-wrap { padding: 90px 8% 80px; background: #fdf2f2; }

/* -- Hero -- */
.jt-hero {
    max-width: 1100px;
    margin: 0 auto 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.jt-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fdf2f2;
    border: 1px solid #f0dada;
    color: #9b1c1c;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.jt-hero h1 {
    font-size: 2.8rem;
    color: #1a1010;
    margin: 0 0 18px;
    line-height: 1.15;
}

.jt-hero h1 span { color: #9b1c1c; }

.jt-hero p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin: 0 0 28px;
}

.jt-hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 8px;
}

.jt-stat { text-align: center; }
.jt-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: #9b1c1c;
    font-family: var(--font-main, 'Yeseva One'), serif;
    display: block;
    line-height: 1;
}
.jt-stat-label {
    font-size: 0.78rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.jt-hero-img {
    position: relative;
}
.jt-hero-img img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    position: relative;
    z-index: 1;
    box-shadow: 0 24px 60px rgba(155,28,28,0.14);
}
.jt-hero-img::before {
    content: '';
    position: absolute;
    top: -12px; left: -12px;
    width: 100%; height: 100%;
    border: 2px solid #f0dada;
    border-radius: 16px;
    z-index: 0;
}
.jt-hero-img::after {
    content: '';
    position: absolute;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(155,28,28,0.09) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -36px; right: -36px;
    z-index: 0;
    animation: jt-float 6s ease-in-out infinite;
}
@keyframes jt-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.06); }
}

/* -- Section headings -- */
.jt-section {
    max-width: 1100px;
    margin: 0 auto 64px;
}

.jt-section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.jt-section-label span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9b1c1c;
}
.jt-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f0dada;
}

.jt-section h2 {
    font-size: 2rem;
    color: #1a1010;
    margin: 0 0 32px;
}

/* -- Who we want -- */
.jt-profiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.jt-profile-card {
    background: white;
    border-radius: 14px;
    border: 1px solid #f0dada;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(155,28,28,0.05);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.jt-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 36px rgba(155,28,28,0.12);
    border-color: #9b1c1c;
}

.jt-profile-header {
    background: #9b1c1c;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.jt-profile-num {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-main, 'Yeseva One'), serif;
    flex-shrink: 0;
}
.jt-profile-header h3 {
    margin: 0;
    color: white;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}
.jt-profile-header p {
    margin: 4px 0 0;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
}

.jt-profile-body {
    padding: 24px 28px;
}
.jt-profile-body p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.75;
    margin: 0 0 16px;
}
.jt-profile-body p:last-child { margin-bottom: 0; }

/* -- What we offer -- */
.jt-offers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.jt-offer-card {
    background: white;
    border-radius: 12px;
    padding: 28px 22px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.04);
    transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.jt-offer-card:hover {
    transform: translateY(-4px);
    border-color: #9b1c1c;
    box-shadow: 0 6px 24px rgba(155,28,28,0.1);
}
.jt-offer-icon {
    width: 48px; height: 48px;
    background: #fdf2f2;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #9b1c1c;
    margin-bottom: 14px;
    transition: background 0.2s;
}
.jt-offer-card:hover .jt-offer-icon { background: #9b1c1c; color: white; }
.jt-offer-card h3 { margin: 0 0 8px; font-size: 1rem; color: #1a1010; letter-spacing: 0.5px; }
.jt-offer-card p  { margin: 0; font-size: 0.86rem; color: #666; line-height: 1.65; }

/* -- Attributes checklist -- */
.jt-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.jt-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid #f0dada;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}
.jt-check-dot {
    width: 22px; height: 22px;
    background: #fdf2f2;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #9b1c1c;
    flex-shrink: 0;
    margin-top: 1px;
}

/* -- Application form -- */
.jt-form-wrap {
    background: white;
    border-radius: 16px;
    border: 1px solid #f0dada;
    box-shadow: 0 4px 20px rgba(155,28,28,0.06);
    overflow: hidden;
}
.jt-form-header {
    background: #9b1c1c;
    padding: 32px 40px;
    display: flex; align-items: center; gap: 20px;
}
.jt-form-header h2 { margin: 0 0 4px; color: white; font-size: 1.6rem; }
.jt-form-header p  { margin: 0; color: rgba(255,255,255,0.8); font-size: 0.92rem; }
.jt-form-header-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; flex-shrink: 0;
}
.jt-form-body { padding: 36px 40px; }

.jt-field { margin-bottom: 18px; }
.jt-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    margin-bottom: 6px;
}
.jt-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.92rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: white;
}
.jt-input:focus { outline: none; border-color: #9b1c1c; }
.jt-input[type="file"] {
    padding: 8px 12px;
    cursor: pointer;
    color: #555;
}

.jt-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.jt-trades {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
    margin-top: 8px;
}
.jt-trade-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #444;
    cursor: pointer;
    width: 50%;
    box-sizing: border-box;
    padding-right: 16px;
}
.jt-trade-check input {
    accent-color: #9b1c1c;
    margin: 0;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.jt-submit {
    display: inline-flex;
    align-items: center; gap: 8px;
    background: #9b1c1c;
    color: white; border: none;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700; font-size: 0.95rem;
    font-family: inherit; cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 8px;
}
.jt-submit:hover { background: #c0392b; transform: translateY(-2px); }

/* -- Animations -- */
@keyframes hero-up   { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: none; } }
@keyframes hero-side { from { opacity:0; transform: translateX(36px); } to { opacity:1; transform: none; } }
.jt-hero-text-inner { animation: hero-up 0.7s ease both; }
.jt-hero-img        { animation: hero-side 0.7s 0.2s ease both; }

@media (max-width: 900px) {
    .jt-hero      { grid-template-columns: 1fr; }
    .jt-profiles  { grid-template-columns: 1fr; }
    .jt-offers    { grid-template-columns: 1fr 1fr; }
    .jt-checklist { grid-template-columns: 1fr; }
    .jt-2col      { grid-template-columns: 1fr; }
    .jt-trades .jt-trade-check { width: 100%; }
    .jt-form-header { padding: 24px 24px; }
    .jt-form-body   { padding: 24px 24px; }
    .jt-wrap        { padding: 90px 5% 60px; }
}
@media (max-width: 600px) {
    .jt-offers  { grid-template-columns: 1fr; }
    .jt-hero-stats { gap: 20px; }
    .jt-hero h1 { font-size: 2rem; }
}


/* === customer-login.php === */

/* Google button */
.btn-google {
    width: 100%;
    padding: 12px 16px;
    background: white;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.92rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-family: inherit;
    box-sizing: border-box;
}
.btn-google:hover {
    border-color: #aaa;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #a1a1aa;
    font-size: 0.82rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f0dada;
}

/* Error */
.auth-error {
    background: #fdf2f2;
    color: #9b1c1c;
    border: 1px solid #f0dada;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Footer links */
.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.82rem;
    color: #a1a1aa;
}
.auth-footer a {
    color: #9b1c1c;
    text-decoration: none;
    font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

.auth-forgot {
    text-align: right;
    margin-top: -10px;
    margin-bottom: 16px;
}
.auth-forgot a {
    font-size: 0.82rem;
    color: #9b1c1c;
    text-decoration: none;
    font-weight: 600;
}
.auth-forgot a:hover { text-decoration: underline; }

.auth-terms {
    text-align: center;
    color: #a1a1aa;
    font-size: 0.78rem;
    margin-top: 20px;
    line-height: 1.5;
}
.auth-terms a { color: #9b1c1c; text-decoration: none; }

.auth-input[readonly] { background: #fdf8f8; color: #888; cursor: not-allowed; }


/* === customer-login-password.php === */

/* (Shares auth-* classes with customer-login.php and customer-forgot-password.php above) */


/* === customer-my-account.php === */

.ch-filter-bar { display:flex; align-items:center; gap:10px; margin-bottom:20px; }
.ch-filter-select { padding:8px 32px 8px 12px; border:1.5px solid #e0e0e0; border-radius:8px; font-size:0.82rem; font-family:inherit; background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 10px center; -webkit-appearance:none; appearance:none; color:#444; cursor:pointer; }
.ch-filter-select:focus { outline:none; border-color:#9b1c1c; }
.ch-reset-link { font-size:0.78rem; color:#9b1c1c; font-weight:600; text-decoration:none; white-space:nowrap; margin-left:auto; }
/* Address option text can be long; cap width so it never blows out the
   desktop filter row (native control clips overflow under the chevron). */
.ch-filter-select.ch-filter-address { max-width:220px; text-overflow:ellipsis; }

/* Booking cards */
.ch-booking-card { display:block; text-decoration:none; background:white; border:1px solid #eeeeee; border-radius:14px; padding:18px 22px; margin-bottom:10px; transition:box-shadow 0.15s, border-color 0.15s; }
.ch-booking-card:hover { box-shadow:0 4px 20px rgba(155,28,28,0.07); border-color:#f0dada; }
.ch-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.ch-card-svc { font-size:1rem; font-weight:800; color:#1a1010; line-height:1.2; }
.ch-card-loc { font-size:0.82rem; color:#999; margin-top:4px; }
.ch-capsule  { display:inline-block; padding:5px 14px; border-radius:20px; font-size:0.72rem; font-weight:700; white-space:nowrap; flex-shrink:0; }
.ch-card-bottom { display:flex; align-items:center; justify-content:space-between; margin-top:12px; padding-top:12px; border-top:1px solid #f3f3f3; }
.ch-card-date { font-size:0.82rem; color:#555; font-weight:500; }
.ch-card-date.confirmed { color:#065f46; font-weight:700; }
.ch-card-date.pending { color:#d97706; font-style:italic; }
.ch-card-ref { font-size:0.72rem; color:#ccc; font-weight:600; letter-spacing:0.3px; }

/* Pagination */
.ch-pagination { display:flex; justify-content:space-between; align-items:center; margin-top:18px; flex-wrap:wrap; gap:10px; }
.ch-pg-info { font-size:0.8rem; color:#aaa; }
.ch-pg-pills { display:flex; gap:5px; flex-wrap:wrap; }
.ch-pg-pill { padding:5px 12px; border:1.5px solid #e0e0e0; border-radius:8px; color:#555; font-size:0.8rem; font-weight:600; text-decoration:none; transition:all 0.15s; }
.ch-pg-pill:hover { border-color:#9b1c1c; color:#9b1c1c; }
.ch-pg-pill.active { background:#1a0a0a; color:white; border-color:#1a0a0a; }
.ch-pg-pill.disabled { color:#ccc; border-color:#eee; pointer-events:none; }


/* === customer-my-account-cards.php === */

.card-item {
    display:flex; align-items:center; gap:16px;
    padding:16px 20px; background:white;
    border:1px solid #f0dada; border-radius:10px;
    box-shadow:0 2px 8px rgba(155,28,28,0.05);
    transition: border-color 0.2s;
}
.card-item:hover { border-color:#d4b5b5; }
.card-item.is-default { border-color:#22c55e; border-width:2px; }

.card-brand-icon {
    width:48px; height:32px;
    border-radius:6px; flex-shrink:0;
    object-fit:contain;
}

.card-number { font-weight:700; color:#1a1010; font-size:0.95rem; }
.card-expiry { color:#a1a1aa; font-size:0.82rem; margin-top:2px; }
.card-wallet-tag { display:inline-block; margin-left:6px; padding:1px 7px; border-radius:999px; background:var(--brand-primary, #9b1c1c); color:#fff; font-size:0.62rem; font-weight:800; letter-spacing:0.04em; text-transform:uppercase; vertical-align:middle; }

.card-actions { display:flex; gap:8px; align-items:center; }

.card-btn {
    padding:6px 14px; border-radius:6px;
    font-size:0.78rem; font-weight:600;
    font-family:inherit; cursor:pointer;
    border:1px solid #ddd; background:white; color:#555;
    transition:all 0.15s;
}
.card-btn:hover { border-color:#9b1c1c; color:#9b1c1c; }
.card-btn-delete { color:#991b1b; border-color:#fca5a5; }
.card-btn-delete:hover { background:#fee2e2; color:#991b1b; }

.empty-cards {
    text-align:center; padding:40px 20px;
    background:white; border:1px solid #f0dada;
    border-radius:10px; color:#a1a1aa;
}
.empty-cards p { margin:8px 0 0; font-size:0.9rem; }

/* Add card section */
.add-card-section {
    background:white; border:1px solid #f0dada;
    border-radius:10px; padding:24px;
    box-shadow:0 2px 8px rgba(155,28,28,0.05);
}
.add-card-section h3 {
    margin:0 0 4px; font-size:1rem; color:#1a1010;
}
.add-card-section .sub { color:#a1a1aa; font-size:0.85rem; margin:0 0 16px; }

.btn-add-card {
    display:inline-flex; align-items:center; gap:8px;
    background:var(--crimson-red); color:white;
    border:none; padding:11px 24px; border-radius:25px;
    font-weight:700; font-size:0.88rem; font-family:inherit;
    cursor:pointer; margin-top:16px;
    transition:background 0.2s;
}
.btn-add-card:hover { background:var(--crimson-bright); }
.btn-add-card:disabled { opacity:0.6; cursor:not-allowed; }


/* === customer-our-rates.php === */

.rates-wrap { padding: 90px 8% 80px; background: #fdf2f2; }

/* -- Hero -- */
.rates-hero {
    max-width: 1100px;
    margin: 0 auto 56px;
    text-align: center;
}
.rates-hero h1 { font-size: 2.6rem; color: #1a1010; margin: 0 0 14px; }
.rates-hero h1 span { color: #9b1c1c; }
.rates-hero p { font-size: 1rem; color: #666; line-height: 1.8; max-width: 600px; margin: 0 auto 24px; }
.rates-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rates-btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: #9b1c1c; color: white;
    padding: 13px 28px; border-radius: 30px;
    font-weight: 700; font-size: 0.9rem; text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.rates-btn-primary:hover { background: #c0392b; transform: translateY(-2px); }
.rates-btn-outline {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: #9b1c1c;
    border: 2px solid #f0dada;
    padding: 11px 24px; border-radius: 30px;
    font-weight: 700; font-size: 0.9rem; text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}
.rates-btn-outline:hover { border-color: #9b1c1c; transform: translateY(-2px); }

/* -- Option tabs -- */
.rates-section { max-width: 1100px; margin: 0 auto 40px; }

.rates-section-label {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.rates-section-label span {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: #9b1c1c;
}
.rates-section-label::after { content: ''; flex: 1; height: 1px; background: #f0dada; }
.rates-section h2 { font-size: 1.8rem; color: #1a1010; margin: 0 0 24px; }

/* -- By Time card -- */
.rates-card {
    background: white; border-radius: 14px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 12px rgba(155,28,28,0.05);
    overflow: hidden;
    margin-bottom: 24px;
}
.rates-card-header {
    background: #9b1c1c; padding: 24px 32px;
    display: flex; align-items: center; gap: 18px;
}
.rates-card-header-icon {
    width: 50px; height: 50px; background: rgba(255,255,255,0.15);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: white; flex-shrink: 0;
}
.rates-card-header h3 { margin: 0 0 4px; color: white; font-size: 1.3rem; letter-spacing: 0.5px; }
.rates-card-header p  { margin: 0; color: rgba(255,255,255,0.8); font-size: 0.88rem; }
.rates-card-body { padding: 28px 32px; }

/* -- Time pricing blocks -- */
.rates-time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.rates-time-block {
    background: #fdf2f2; border-radius: 10px;
    padding: 22px 18px; text-align: center;
    border: 1px solid #f0dada;
    transition: border-color 0.2s, transform 0.2s;
}
.rates-time-block:hover { border-color: #9b1c1c; transform: translateY(-3px); }
.rates-time-block .rtb-label {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: #a1a1aa; margin-bottom: 8px; display: block;
}
.rates-time-block .rtb-price {
    font-size: 2rem; font-weight: 700; color: #9b1c1c;
    font-family: var(--font-main, 'Yeseva One'), serif; display: block; line-height: 1;
}
.rates-time-block .rtb-sub {
    font-size: 0.78rem; color: #888; margin-top: 6px; display: block;
}

.rates-notes { list-style: none; padding: 0; margin: 0; }
.rates-notes li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #f5eded;
    font-size: 0.9rem; color: #555; line-height: 1.5;
}
.rates-notes li:last-child { border-bottom: none; }
.rates-notes li svg { color: #9b1c1c; flex-shrink: 0; margin-top: 2px; }

/* -- Fixed price table -- */
.rates-table-wrap { overflow-x: auto; }
.rates-table {
    width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.rates-table thead th {
    background: #fdf2f2; padding: 12px 16px;
    text-align: left; font-size: 0.72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px; color: #a1a1aa;
    border-bottom: 2px solid #f0dada;
}
.rates-table tbody td {
    padding: 13px 16px; border-bottom: 1px solid #f5eded; color: #444;
}
.rates-table tbody tr:last-child td { border-bottom: none; }
.rates-table tbody tr:hover td { background: #fffafa; }
.rates-table .price-col {
    font-weight: 700; color: #9b1c1c; text-align: right; white-space: nowrap;
}
.rates-table .section-divider td {
    background: #fdf2f2; font-weight: 700; color: #9b1c1c;
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.8px;
    padding: 10px 16px; border-bottom: 1px solid #f0dada;
}

/* -- Survey steps -- */
.rates-steps { display: flex; flex-direction: column; gap: 16px; }
.rates-step {
    display: flex; gap: 18px; align-items: flex-start;
    background: #fdf2f2; border-radius: 10px;
    padding: 20px 22px; border: 1px solid #f0dada;
}
.rates-step-num {
    width: 36px; height: 36px; background: #9b1c1c; color: white;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-weight: 700; font-size: 1rem;
    font-family: var(--font-main, 'Yeseva One'), serif; flex-shrink: 0;
}
.rates-step h4 { margin: 0 0 4px; font-size: 0.95rem; color: #1a1010; }
.rates-step p  { margin: 0; font-size: 0.88rem; color: #555; line-height: 1.6; }

/* -- CTA -- */
.rates-cta {
    max-width: 1100px; margin: 40px auto 0;
    background: #9b1c1c; border-radius: 16px;
    padding: 48px 56px; display: flex;
    align-items: center; justify-content: space-between; gap: 40px;
}
.rates-cta h2 { color: white; font-size: 1.7rem; margin: 0 0 8px; }
.rates-cta p  { color: rgba(255,255,255,0.8); margin: 0; font-size: 0.92rem; }
.rates-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: white; color: #9b1c1c;
    padding: 14px 32px; border-radius: 30px;
    font-weight: 700; font-size: 0.95rem; text-decoration: none;
    white-space: nowrap; flex-shrink: 0;
    transition: background 0.2s, transform 0.2s;
}
.rates-cta-btn:hover { background: #fdf2f2; transform: translateY(-2px); }

@media (max-width: 900px) {
    .rates-time-grid { grid-template-columns: 1fr 1fr; }
    .rates-cta { flex-direction: column; text-align: center; padding: 36px 28px; }
    .rates-wrap { padding: 90px 5% 60px; }
}
@media (max-width: 600px) {
    .rates-time-grid { grid-template-columns: 1fr; }
    .rates-card-body { padding: 20px; }
    .rates-card-header { padding: 20px; }
}


/* === customer-privacy-policy.php === */

.policy-wrap { padding: 90px 8% 80px; background: #fdf2f2; }
.policy-inner { max-width: 800px; margin: 0 auto; }
.policy-hero { margin-bottom: 40px; }
.policy-hero h1 { font-size: 2.2rem; color: #1a1010; margin: 0 0 10px; }
.policy-hero p  { color: #888; font-size: 0.9rem; margin: 0; }
.policy-card {
    background: white; border-radius: 12px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 12px rgba(155,28,28,0.04);
    padding: 36px 40px;
    margin-bottom: 20px;
}
.policy-card h2 {
    font-size: 1.1rem; color: #9b1c1c;
    margin: 0 0 14px;
    display: flex; align-items: center; gap: 10px;
}
.policy-card p, .policy-card li {
    font-size: 0.9rem; color: #555; line-height: 1.8; margin: 0 0 10px;
}
.policy-card ul { padding-left: 20px; margin: 0 0 10px; }
.policy-card li { margin-bottom: 6px; }
.policy-card a { color: #9b1c1c; text-decoration: none; font-weight: 600; }
.policy-card a:hover { text-decoration: underline; }
.policy-updated {
    font-size: 0.78rem; color: #a1a1aa;
    margin-bottom: 32px;
    display: flex; align-items: center; gap: 6px;
}


/* === customer-register.php === */

.auth-label span { color: #9b1c1c; }
.auth-hint { font-size: 0.78rem; color: #a1a1aa; margin-top: 4px; }
.auth-field-error { font-size: 0.78rem; color: #9b1c1c; margin-top: 4px; display: none; }
@keyframes authErrorSlide { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.auth-field-error.show { display:block; animation:authErrorSlide 0.35s ease-out; }
.auth-check { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 0.88rem; color: #444; cursor: pointer; }
.auth-check input { accent-color: #9b1c1c; margin: 0; width: 15px; height: 15px; cursor: pointer; flex-shrink: 0; }
.auth-check-stack { align-items: flex-start; line-height: 1.5; }
.auth-check-stack input { margin-top: 3px; }
.auth-check-stack > span { flex: 1; min-width: 0; }
@media (max-width: 600px) {
    .auth-wrap { padding: 80px 14px 40px; }
    .auth-card { padding: 28px 22px; border-radius: 14px; }
    .auth-card h1 { font-size: 1.45rem; }
    .auth-subtitle { font-size: 0.88rem; margin-bottom: 22px; }
    .auth-check { font-size: 0.85rem; }
    .auth-submit { min-height: 48px; }
}


/* === customer-reset-password.php === */

/* (Shares auth-* classes with customer-forgot-password.php above) */


/* === customer-select-service.php === */

.select-service-wrapper {
    max-width: 750px;
    margin: 0 auto;
    padding: 40px 20px;
}

.select-service-wrapper h1 {
    margin-bottom: 8px;
}

.select-service-intro {
    color: var(--text-gray);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.job-entry {
    background: white;
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 1px solid #f0dada;
    box-shadow: 0 2px 8px rgba(155,28,28,0.05);
}

.job-entry .form-group {
    margin-bottom: 16px;
}

.job-entry .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--charcoal-deep);
    font-size: 0.9rem;
}

.job-entry .form-group select,
.job-entry .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.job-entry .form-group select:focus,
.job-entry .form-group textarea:focus {
    outline: none;
    border-color: var(--crimson-red);
}

.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.media-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--charcoal-deep);
    font-size: 0.9rem;
}

.file-upload-container {
    border: 2px dashed #f0dada;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    background: #fdf8f8;
    transition: all 0.25s;
}

.file-upload-container:hover {
    border-color: var(--crimson-red);
    background: #fdf2f2;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--crimson-red);
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.file-upload-label:hover {
    background: var(--crimson-bright);
}

.file-upload-input {
    display: none;
}

.file-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.file-preview-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-preview-item img,
.file-preview-item video {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

.file-preview-item .remove-file {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    transition: background 0.2s;
    font-size: 0.85rem;
}

.file-preview-item .remove-file:hover {
    background: var(--crimson-red);
}

.file-preview-item .file-type-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}

.file-count {
    margin-top: 8px;
    color: #999;
    font-size: 0.82rem;
}

.btn-add {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--crimson-red);
    border: 2px solid var(--crimson-red);
    padding: 11px 22px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.88rem;
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    transition: background 0.2s, color 0.2s;
}

.btn-add:hover {
    background: var(--crimson-red);
    color: white;
}

@media (max-width: 600px) {
    .media-grid { grid-template-columns: 1fr; }
    .form-actions { flex-direction: column; align-items: stretch; }
    .btn-add, .btn-continue { justify-content: center; }
}


/* === customer-select-service-debugged.php === */

.service-selection-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
}

.btn-submit {
    background: var(--brand-cta, #c0392b);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
}

.btn-submit:hover {
    background: #c0392b;
}


/* === customer-variation-view.php === */

.variation-container { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.card { background: white; border: 1px solid #ddd; padding: 30px; border-radius: 12px; margin-bottom: 25px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.status-badge { display: inline-block; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; }
.status-pending { background: #cce5ff; color: #004085; }
.status-approved { background: #d4edda; color: #155724; }
.status-declined { background: #f8d7da; color: #721c24; }
.btn-approve { background: #c0392b; color: white; border: none; padding: 16px 32px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 1.1rem; width: 100%; }
.btn-decline { background: #e74c3c; color: white; border: none; padding: 16px 32px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 1.1rem; width: 100%; }
.btn-back { background: #666; color: white; text-decoration: none; padding: 12px 24px; border-radius: 8px; font-weight: 700; display: inline-block; }

/* ============================================================
   MOBILE OVERRIDES — Customer portal
   Added 2026-05-04. Mobile-first refinements that override the
   desktop-first defaults above. Breakpoints:
     <=640px : phones (single column, compact header)
     <=900px : narrow tablet / wide phone (already partially
               handled by per-page rules above)
   ============================================================ */

/* ── Nav header (shared with style.css <nav>) ── */
@media (max-width: 640px) {
    nav {
        height: 64px;
        padding: 0 16px;
    }
    .logo-area { gap: 10px; }
    .logo-area img { height: 48px; }

    /* Phone+email contact items in the top header.
       Hide the text labels and show icon-only chips so they fit
       without wrapping or being truncated. Each chip remains a
       tap-to-call / tap-to-email link. The full numbers also
       appear at the top of the slide-out mobile menu. */
    .nav-contact {
        position: fixed;
        top: 14px;
        right: 64px; /* clears the 44px hamburger + 8px gap + 12px edge */
        margin: 0;
        gap: 6px;
        z-index: 1100;
    }
    .nav-contact-item {
        width: 36px;
        height: 36px;
        padding: 0;
        justify-content: center;
        background: rgba(255,255,255,0.18);
        border-radius: 50%;
    }
    .nav-contact-item span { display: none; }
    .nav-contact-icon { width: 16px; height: 16px; }

    /* Hamburger pinned to top-right of the viewport (fixed so it
       doesn't scroll away). Bigger hit area + subtle pill background
       so the white bars actually stand out on the red nav. */
    .mobile-menu-btn {
        position: fixed;
        top: 12px;
        right: 12px;
        z-index: 1100;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 5px;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.18);
        border-radius: 10px;
        backdrop-filter: blur(4px);
    }
    .mobile-menu-btn span {
        width: 22px;
        height: 2.5px;
    }
}

/* On slightly wider phones the hamburger still needs to be reachable
   (style.css turns it on for <=768px). Pin it at all mobile widths. */
@media (min-width: 641px) and (max-width: 768px) {
    .mobile-menu-btn {
        position: fixed;
        top: 28px;
        right: 20px;
        z-index: 1100;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 5px;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.18);
        border-radius: 10px;
    }
}

/* ── Customer account layout (sidebar -> top tab bar) ── */
@media (max-width: 768px) {
    .ch-account-wrap { padding: 24px 12px 40px; }

    .ch-account-grid {
        flex-direction: column;
        gap: 16px;
    }

    /* Sidebar becomes a horizontal scrolling tab strip so it
       no longer eats the whole viewport before page content. */
    .ch-sidebar {
        position: static;
        flex: none;
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
    }
    .ch-sidebar::-webkit-scrollbar { display: none; }
    .ch-sidebar h3,
    .ch-sidebar .ch-divider { display: none; }

    .ch-nav-btn {
        flex: 0 0 auto;
        margin-bottom: 0;
        padding: 8px 14px;
        font-size: 0.82rem;
        white-space: nowrap;
        border-radius: 999px;
    }
    /* Logout sits at the end of the strip, visually de-emphasised */
    .ch-logout {
        margin-left: auto;
        order: 99;
    }
}

/* ── Booking-list rows (title + status badge stacking) ── */
@media (max-width: 640px) {
    .ch-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 14px;
    }
    .ch-col-service { gap: 2px; }
    .ch-svc { font-size: 0.95rem; }
    .ch-status { margin-top: 4px; }
}

/* ── Hero typography on small screens ── */
@media (max-width: 640px) {
    .contact-hero h1,
    .rates-hero h1   { font-size: 1.8rem; line-height: 1.15; }
    .contact-hero p,
    .rates-hero p    { font-size: 0.95rem; line-height: 1.55; }
    .contact-wrap    { padding: 32px 16px 48px; }
}

/* ── Account page heading + filter bar ── */
@media (max-width: 640px) {
    .ch-heading { font-size: 1.4rem; }
    .ch-sub     { font-size: 0.9rem; margin-bottom: 16px; }
    .ch-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .ch-filter-select { width: 100%; }
}

/* ── Login / register / auth cards ── */
@media (max-width: 640px) {
    /* Most login containers use either an .auth-card or a
       max-width div; tighten outer page padding so the card
       can use the available width. */
    body { -webkit-text-size-adjust: 100%; }
}

/* ── Tap-target floor: every nav/button at least 44px tall ── */
@media (max-width: 768px) {
    .nav-login-link,
    .ch-nav-btn,
    .btn-book-nav {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    /* Phone+email circular chips keep their square aspect ratio
       (don't stretch them with a min-height). They're 40×40 which
       is still comfortable to tap. */
    .nav-contact-item {
        width: 40px;
        height: 40px;
        min-height: 0;
    }
    /* mobile-menu links must keep the original block stacking; just
       ensure they have enough vertical room for a tap. */
    .mobile-menu a,
    .mobile-book-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Booking cards on mobile: stack title above status capsule */
@media (max-width: 640px) {
    .ch-booking-card { padding: 14px 14px; }
    .ch-card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .ch-capsule { align-self: flex-start; }
    .ch-card-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-top: 10px;
        padding-top: 10px;
    }
    .ch-card-svc { font-size: 0.95rem; }
}

/* Payment cards on mobile: stack icon/details/actions in 2 rows */
@media (max-width: 640px) {
    .card-item {
        flex-wrap: wrap;
        padding: 12px 14px;
        gap: 10px;
    }
    .card-details { flex: 1 1 60%; min-width: 0; }
    .card-number { font-size: 0.9rem; }
    .card-default-badge { order: 5; }
    .card-actions {
        flex: 1 0 100%;
        order: 10;
        justify-content: flex-end;
    }
}

/* ── Phone + email items at the top of the slide-out mobile menu ── */
.mobile-menu-contact {
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
    text-decoration: none;
}
.mobile-menu-contact i { color: #ff8a8a; flex-shrink: 0; }
.mobile-menu-contact span { word-break: break-all; }
.mobile-menu-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 8px 0 18px;
}

/* ── Join the Team page: prevent hero/stat overflow on phones ── */
@media (max-width: 640px) {
    .jt-wrap { padding: 24px 16px 60px; overflow-x: hidden; }
    .jt-hero { gap: 24px; margin-bottom: 32px; }
    .jt-hero h1 { font-size: 1.7rem; line-height: 1.2; }
    .jt-hero p { font-size: 0.95rem; line-height: 1.6; word-wrap: break-word; }
    .jt-hero-stats {
        flex-wrap: wrap;
        gap: 16px;
        justify-content: space-between;
    }
    .jt-hero-stats .jt-stat {
        flex: 1 1 30%;
        min-width: 0;
        /* Override inline border-left+padding-left from PHP */
        border-left: none !important;
        padding-left: 0 !important;
    }
    .jt-stat-num { font-size: 1.5rem; }
    .jt-stat-label { font-size: 0.7rem; }

    /* Application Form CTA pinned in the hero */
    .jt-hero-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #9b1c1c;
        color: #fff !important;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 0.9rem;
        margin-bottom: 20px;
        box-shadow: 0 4px 16px rgba(155,28,28,0.25);
    }
    .jt-hero-cta:hover { background: #7c1414; }
}

/* On wider tablets the CTA can still appear if rendered */
.jt-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #9b1c1c;
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 16px;
    transition: background 0.2s;
}
.jt-hero-cta:hover { background: #7c1414; color: #fff; }

/* Booking flow Continue button — keep label on a single line on phones */
.btn-continue { white-space: nowrap; }
@media (max-width: 640px) {
    .btn-continue {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
    .btn-add { white-space: nowrap; }
}

/* ── Close (X) button inside slide-out mobile menu ── */
.mobile-menu-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border: 0;
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.mobile-menu-close:hover { background: rgba(255,255,255,0.20); }
.mobile-menu-close i,
.mobile-menu-close svg { width: 20px; height: 20px; }

/* ── Account sidebar pill strip — tighter, with right-edge fade hint ── */
@media (max-width: 768px) {
    .ch-account-grid > .ch-sidebar {
        position: relative;
        top: auto;          /* clear the desktop sticky offset */
        padding: 6px 8px;
        /* Subtle gradient on the right edge to hint there's more to scroll */
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    }
    .ch-sidebar .ch-nav-btn {
        padding: 7px 11px;
        font-size: 0.78rem;
        letter-spacing: 0.1px;
    }
    /* Logout cuts to a tight pill so it doesn't dominate */
    .ch-sidebar .ch-logout {
        padding: 7px 11px;
        margin-left: 4px;
    }
}

/* ── Filter bar: 2 selects side-by-side on phones (was stacked) ── */
@media (max-width: 640px) {
    .ch-filter-bar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 14px;
    }
    .ch-filter-select {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        padding: 8px 28px 8px 10px;
        font-size: 0.82rem;
        background-position: right 8px center;
    }
    .ch-reset-link {
        flex: 0 0 100%;
        text-align: right;
        font-size: 0.82rem;
    }
    /* Address dropdown has the longest text and is the odd 3rd select —
       give it its own full-width row instead of a lone half-width box. */
    .ch-filter-bar .ch-filter-select.ch-filter-address {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* ── Customer testimonials: one quote at a time on mobile ── */
@media (max-width: 640px) {
    /* Override the inline 3-column grid → single column */
    .testimonial-set {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    /* Show only the first quote in each rotating set */
    .testimonial-set > div:nth-child(n+2) { display: none !important; }
    /* Tighten the section to match the new compact tone */
    footer h2 { font-size: 1.5rem !important; margin-bottom: 24px !important; }
    .testimonials-container { padding: 8px 0 !important; }
}

/* ── customer-select-service.php — fit Step 1 on a single mobile screen ── */
@media (max-width: 640px) {
    .select-service-wrapper {
        padding: 12px 12px 16px;   /* was 40px 20px */
        max-width: 100%;
    }
    .select-service-wrapper h1 {
        font-size: 1.35rem;
        margin: 0 0 4px;
    }
    .select-service-intro {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0 0 14px;
    }
    .job-entry {
        padding: 14px 14px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .job-entry .form-group { margin-bottom: 10px; }
    .job-entry .form-group label,
    .media-label { font-size: 0.82rem; margin-bottom: 4px; }
    .job-entry .form-group select,
    .job-entry .form-group textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    .job-entry .form-group textarea { min-height: 64px; }

    /* Keep Photos + Videos side-by-side on mobile (more compact than stacking) */
    .media-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
        margin-top: 4px;
    }
    .file-upload-container {
        padding: 8px 6px;
    }
    .file-upload-label {
        padding: 7px 10px;
        font-size: 0.78rem;
        gap: 6px;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
    .file-upload-label i { width: 14px !important; height: 14px !important; }
    .file-count { font-size: 0.7rem; margin-top: 4px; }

    /* Action row: Add Another Job + Continue side-by-side, tight */
    .form-actions {
        flex-direction: row !important;
        gap: 8px;
        margin-top: 4px;
    }
    .btn-add {
        padding: 9px 12px;
        font-size: 0.78rem;
        flex: 1;
        justify-content: center;
    }
    .btn-continue {
        padding: 9px 14px;
        font-size: 0.82rem;
        flex: 1.4;
        justify-content: center;
    }
}

/* ── Tight outer .page-content padding on mobile ──
   Default is 60px 8% (≈31px sides at 390px) which adds a big gap
   on top of every wrapper inside. Strip it back to zero/tiny so
   inner wrappers control their own spacing. */
@media (max-width: 640px) {
    .page-content { padding: 0; min-height: auto; }
}

/* ── customer-booking-details.php — match the compact mobile style of
   customer-select-service.php so Step 2 has the same look. ── */
@media (max-width: 640px) {
    .booking-details-wrapper {
        padding: 12px 10px 16px;
        max-width: 100%;
    }
    .booking-details-wrapper > h1 {
        font-size: 1.35rem;
        margin: 0 0 4px;
    }
    .booking-details-intro {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0 0 12px;
    }
    .form-section {
        padding: 14px 12px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .form-section h3 {
        font-size: 0.92rem;
        margin: 0 0 12px;
    }
}

/* Tighten select-service wrapper a bit more — both are now 10px sides */
@media (max-width: 640px) {
    .select-service-wrapper {
        padding: 12px 10px 16px;
    }
}

/* ── Hide the chunky desktop-style scrollbar on mobile/preview ──
   Real phones (iOS Safari, Chrome Android) auto-hide the scrollbar
   but the simulated viewport in admin-mobile-preview.php (and Chrome
   DevTools) still shows it — leaving a black strip down the right
   edge that doesn't exist on the real device. Mask it at mobile
   widths so the preview matches what users actually see. */
@media (max-width: 768px) {
    html, body { scrollbar-width: none; -ms-overflow-style: none; }
    html::-webkit-scrollbar,
    body::-webkit-scrollbar { width: 0; height: 0; background: transparent; }
}

/* ── Bullet-proof: clip any horizontal overflow at the root level on
   mobile so nothing — child element, scrollbar, or third-party widget
   — can ever produce a horizontal strip at the right edge. ── */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
}

/* ── customer-booking-summary.php — match Step 1/2 compact mobile style ── */
@media (max-width: 640px) {
    .summary-wrapper {
        padding: 12px 10px 16px;
        max-width: 100%;
    }
    .summary-wrapper > h1 {
        font-size: 1.35rem;
        margin: 0 0 4px;
    }
    .summary-intro {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0 0 12px;
    }
    .summary-section {
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .summary-section-header {
        padding: 10px 14px;
    }
    .summary-section-header h3 {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
    .summary-section-body {
        padding: 12px 14px;
    }
    /* Info grid: stack key/value pairs vertically with tighter gap */
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
}

/* ── customer-booking-card.php — match Step 1/2/3 compact mobile style ── */
@media (max-width: 640px) {
    .pay-wrap {
        padding: 12px 10px 24px;
        max-width: 100%;
    }
    .pay-wrap h1 {
        font-size: 1.35rem;
        margin: 0 0 4px;
    }
    .pay-intro {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0 0 14px;
    }
    .section-label {
        margin-bottom: 6px;
    }
    /* Saved card option rows: tighter padding */
    .card-option {
        padding: 12px 14px;
        gap: 10px;
        border-radius: 10px;
    }
    /* "+ Add new card" trigger */
    .add-card-row {
        padding: 12px 14px;
        font-size: 0.88rem;
    }
    /* Stripe Elements form when expanded */
    .new-card-form {
        padding: 12px 14px;
    }
    .stripe-field {
        padding: 10px 12px;
    }
    .field-label {
        font-size: 0.78rem;
        margin-bottom: 4px;
    }
}

/* ── Mobile slide-out menu: full-width on phones ──
   Default is 80% / max 300px (good for tablets) but on phones the
   menu should cover the whole screen so the close button is the
   obvious tap target and the page underneath isn't a confusing
   sliver. */
@media (max-width: 640px) {
    .mobile-menu {
        width: 100%;
        max-width: 100%;
        padding: 64px 24px 24px;
    }
}

/* ── Carousel hero text — scale down so "Impeccable Craft." etc.
   never overflows on narrow phones (Galaxy 360px) ── */
@media (max-width: 640px) {
    .floating-text { padding: 12px; max-width: 100%; }
    .floating-text h1 { font-size: 2.4rem; line-height: 1.1; word-break: break-word; }
    .floating-text p  { font-size: 0.95rem; margin: 14px 0; line-height: 1.5; }
}
@media (max-width: 380px) {
    .floating-text h1 { font-size: 2rem; }
}

/* ── Animated scroll-down arrow at the bottom of the carousel ── */
.carousel-scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.18);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    backdrop-filter: blur(4px);
    animation: chArrowBounce 1.8s ease-in-out infinite;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-scroll-hint:hover {
    background: rgba(0,0,0,0.32);
    border-color: #fff;
}
.carousel-scroll-hint svg { width: 22px; height: 22px; }
@keyframes chArrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.85; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
@media (max-width: 640px) {
    .carousel-scroll-hint { bottom: 14px; width: 40px; height: 40px; }
}

/* ── Cookie banner: stack tidily on phones, no horizontal overflow ── */
@media (max-width: 640px) {
    #ch-cookie-banner {
        padding: 14px 14px 16px !important;
        gap: 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    #ch-cookie-banner .ch-cookie-text { min-width: 0 !important; }
    #ch-cookie-banner .ch-cookie-text p { font-size: 0.8rem !important; line-height: 1.5 !important; }
    #ch-cookie-banner .ch-cookie-actions { width: 100% !important; gap: 8px !important; }
    #ch-cookie-banner .ch-cookie-accept,
    #ch-cookie-banner .ch-cookie-decline {
        flex: 1; padding: 10px 14px !important; font-size: 0.82rem !important;
    }
}

/* ── Global animated scroll-down button (rendered by customer-footer.php) ──
   Pinned bottom-CENTRE of every customer page, bounces gently to invite a
   scroll. On tap it jumps to the next [data-scroll-section] (or the next
   <h2> if no section markers exist on the page) — see customer-footer.php.
   Auto-hides via .hidden when the user is near the bottom. */
.ch-scroll-down {
    position: fixed;
    left: 50%;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(155, 28, 28, 0.92);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    box-shadow: 0 6px 18px rgba(155, 28, 28, 0.30);
    transition: opacity 0.25s, background 0.2s, visibility 0.25s;
    animation: chScrollDownBounce 1.8s ease-in-out infinite;
}
.ch-scroll-down:hover { background: #c0392b; }
.ch-scroll-down svg { width: 22px; height: 22px; }
.ch-scroll-down.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* Bounce keyframes preserve the translateX(-50%) horizontal centring */
@keyframes chScrollDownBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 640px) {
    .ch-scroll-down { bottom: 16px; width: 42px; height: 42px; }
    .ch-scroll-down svg { width: 20px; height: 20px; }
}

/* Keep the in-carousel scroll hint rule for backwards compatibility but
   safe to ignore now that the global one supersedes it. */
.carousel-scroll-hint { display: none; }

/* ── Mobile menu primary CTAs (Book Now + My Account / Login) ── */
.mobile-account-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
    padding: 12px;
    text-align: center;
    border-radius: 25px;
    margin-top: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.mobile-account-btn:hover {
    background: #fff;
    color: var(--crimson-red) !important;
}

.mobile-menu-logout {
    color: #ff8a8a !important;
    margin-top: 16px;
    font-weight: 600 !important;
}

/* ── Account nav: 2-column grid of pills, no horizontal scroll ──
   The horizontal scroll strip wasn't obviously scrollable to users.
   On phones the sidebar becomes a 2-column tile grid showing all
   options at a glance with no swiping needed. */
@media (max-width: 768px) {
    .ch-account-grid > .ch-sidebar {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
        padding: 10px;
        overflow: visible;
        /* clear the desktop fade-mask + scroll behaviour */
        -webkit-mask-image: none;
        mask-image: none;
    }
    .ch-sidebar .ch-nav-btn {
        flex: none;
        margin: 0;
        padding: 11px 10px;
        text-align: center;
        font-size: 0.82rem;
        line-height: 1.2;
        white-space: normal;
        border-radius: 10px;
        background: #fdf2f2;
        color: #555;
    }
    .ch-sidebar .ch-nav-btn.active {
        background: var(--crimson-red);
        color: #fff;
    }
    /* Logout is already in the hamburger menu on mobile — hide the
       duplicate (and the divider above it) from the account-page nav grid. */
    .ch-sidebar .ch-logout,
    .ch-sidebar .ch-divider { display: none !important; }
}

/* ── Homepage on mobile: one section = one full screen ──
   Each marked card/section fills the viewport (minus the 64px nav)
   so a single tap on the scroll-down arrow advances by exactly one
   section without showing partial content from the next. */
@media (max-width: 640px) {
    /* Booking + Rates stacked cards */
    .idx-booking-card,
    .idx-rates-card,
    .idx-why,
    .idx-areas {
        min-height: calc(100vh - 64px);
        min-height: calc(100svh - 64px);
        min-height: calc(100dvh - 64px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }
    /* Outer pink band: keep tight padding but allow each card to
       breathe vertically. */
    #next-section {
        padding: 0 12px !important;
        background: #fdf2f2;
    }
    #next-section .idx-booking-section-inner {
        gap: 0 !important;
        padding: 0 !important;
    }
    /* Cards need a tiny vertical gap between them so they don't kiss */
    .idx-booking-card { margin-top: 14px; margin-bottom: 7px; }
    .idx-rates-card  { margin-top: 7px; margin-bottom: 14px; }

    /* "Five great reasons" + "Areas we cover" sections — keep their
       own background bands, just stretch them. */
    .idx-why   { padding-top: 32px; padding-bottom: 32px; }
    .idx-areas { padding-top: 32px; padding-bottom: 32px; }
}

/* ── Homepage enquiry-form thank-you banner ── */
.idx-enquiry-msg {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    font-size: 0.92rem;
    line-height: 1.45;
}
.idx-enquiry-ok  { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.idx-enquiry-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.idx-enquiry-msg i { margin-top: 1px; }
.idx-enquiry-ok strong  { color: #047857; }

/* ── Scroll-down arrow: phones only ──
   The bouncing arrow at the bottom of the page is a mobile affordance
   (small screens make "swipe / tap to advance" obvious). Desktop users
   use the trackpad/wheel — the floating button just covers content. */
@media (min-width: 769px) {
    .ch-scroll-down { display: none !important; }
}
