@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Sinhala:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

@font-face {
    font-family: 'UN-Agni';
    src: url('../../fonts/UN-Agni.ttf') format('truetype'),
         url('/fonts/UN-Agni.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

[hidden] {
    display: none !important;
}

/* 1. Global CSS Variables & Resets */
:root {
    --abn-plum-dark: #05000c;
    --abn-deep-purple: #120224;
    --abn-purple-glow: #250742;
    --abn-gold: #f59e0b;
    --abn-gold-light: #fef08a;
    --abn-text-main: #ffffff;
    --abn-text-muted: #94a3b8;
    --abn-border: rgba(255, 255, 255, 0.12);
    --abn-card-bg: rgba(255, 255, 255, 0.02);
    --abn-nav-bg-scrolled: rgba(18, 2, 36, 0.95);
    --abn-nav-gold: #f59e0b;
    --abn-nav-gold-light: #fcd34d;
    --abn-nav-text: #cbd5e1;
    --abn-nav-text-active: #ffffff;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--abn-plum-dark);
    color: var(--abn-text-main);
}

body {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    background-color: var(--abn-plum-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ==========================================================================
   NAVIGATION BAR & MOBILE DOCK (UNIFIED GLOBALLY)
   Primary header navigation, Smart Auto-Hide (PC), and Mobile Floating Dock 
   are loaded globally from /css/style.css.
   ========================================================================== */

/* ==========================================================================
   ORDER FORM STYLES
   ========================================================================== */
/* Load Custom Sinhala Fonts */
/* CSS Variables & Theme Resets */
.abn-form-wrapper * {
    box-sizing: border-box;
}

.abn-form-wrapper {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: var(--abn-text-main);
    background: radial-gradient(ellipse at 50% 20%, #250742 0%, #120224 55%, #05000c 100%);
    padding: 100px 20px 120px;
    position: relative;
    overflow: hidden;
}

.abn-shell {
    width: min(1160px, 100% - 40px);
    margin-inline: auto;
}

/* Centered Order Form Layout */
.order-shell {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 780px;
    margin: 0 auto;
}

/* Sidebar Info Card */
.order-intro {
    position: sticky;
    top: 40px;
}

.order-step-label {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 6px 16px;
    border-radius: 30px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.order-intro h2 {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: clamp(22px, 2.5vw, 28px);
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 18px 0;
}

.order-intro p {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: var(--abn-text-muted);
    font-size: 17px;
    line-height: 1.85;
}

/* Selected Package Summary Box */
.selected-package-card {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 22px;
    margin-top: 30px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(245, 158, 11, 0.04);
}

.selected-package-card:after {
    content: "✦";
    color: rgba(245, 158, 11, 0.15);
    font-size: 80px;
    position: absolute;
    top: -10px;
    right: 15px;
    line-height: 1;
}

.selected-package-card span {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #cbd5e1;
    font-size: 13px;
    letter-spacing: 0.05em;
    display: block;
}

.selected-package-card b {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    display: block;
    font-size: 20px;
    margin-top: 8px;
    color: #ffffff;
}

.selected-package-card strong {
    display: block;
    color: #fcd34d;
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    margin-top: 6px;
}

.selected-package-card a {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 14px;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.selected-package-card a:hover {
    color: #fcd34d;
}

.order-help {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}

.order-help span {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 16px;
}

.order-help p {
    margin: 0;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 15px;
    color: var(--abn-text-muted);
}

.order-help b {
    color: #ffffff;
}

/* Form Container Style */
.order-form {
    width: 100%;
    max-width: 780px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.form-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.form-heading div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-heading div span {
    color: #f59e0b;
    width: 24px;
    height: 24px;
    font-weight: 700;
    font-size: 11px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.form-heading h3 {
    color: #ffffff;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    margin: 0;
}

.form-heading small {
    color: var(--abn-text-muted);
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 11px;
}

.form-divider {
    background: rgba(255, 255, 255, 0.08);
    height: 1px;
    margin: 18px 0;
}

.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: none;
    padding: 0;
    margin: 0;
}

.field-full {
    grid-column: 1 / -1;
}

.field>span,
.field>legend {
    color: #cbd5e1;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    height: 46px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0 14px;
    outline: none;
    transition: all 0.25s ease;
}

.field select option {
    background: #120224;
    color: #ffffff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

/* Highlight pulse when arrived from Package card link (?package=...) */
@keyframes packageSelectGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
        border-color: #f59e0b;
    }
    40% {
        box-shadow: 0 0 22px 3px rgba(245, 158, 11, 0.6);
        border-color: #fcd34d;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
        border-color: rgba(255, 255, 255, 0.12);
    }
}

.package-selected-pulse {
    animation: packageSelectGlow 2.2s ease !important;
    border-color: #f59e0b !important;
}

.field small {
    color: var(--abn-text-muted);
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12px;
}

/* Floating Labels & Modern Input Wrapper */
.floating-field {
    position: relative;
}

.input-inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-inner .input-icon {
    position: absolute;
    left: 14px;
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.input-inner .input-icon svg {
    width: 17px;
    height: 17px;
    stroke: #94a3b8;
    display: block;
    transition: stroke 0.25s ease;
}

.floating-field:focus-within .input-inner .input-icon svg,
.field:focus-within .input-inner .input-icon svg {
    stroke: #f59e0b;
}

.floating-field .input-inner input {
    width: 100%;
    height: 52px;
    padding: 16px 40px 6px 44px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    outline: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-field .input-inner input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.floating-field .input-inner label {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13.5px;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

/* Float label to top when input has focus or value */
.floating-field .input-inner input:focus ~ label,
.floating-field .input-inner input:not(:placeholder-shown) ~ label {
    top: 12px;
    font-size: 10.5px;
    font-weight: 600;
    color: #fcd34d;
    transform: translateY(0);
}

.field-validation-icon {
    position: absolute;
    right: 14px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.input-inner.is-valid .field-validation-icon {
    opacity: 1;
    color: #22c55e;
}
.input-inner.is-valid .field-validation-icon::after {
    content: "✓";
}

.input-inner.is-invalid .field-validation-icon {
    opacity: 1;
    color: #ef4444;
}
.input-inner.is-invalid .field-validation-icon::after {
    content: "✕";
}
.input-inner.is-invalid input {
    border-color: #ef4444 !important;
}

/* Gender Selector Cards Grid */
.gender-fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.gender-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 8px;
}

.gender-card {
    position: relative;
    cursor: pointer;
    display: block;
    user-select: none;
}

.gender-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.gender-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gender-card:hover .gender-card-inner {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-2px);
}

.gender-card input[type="radio"]:checked ~ .gender-card-inner {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.14) 0%, rgba(18, 2, 36, 0.8) 100%);
    border-color: #f59e0b;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.25), inset 0 0 15px rgba(245, 158, 11, 0.08);
}

.gender-check-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: transparent;
    font-size: 11px;
    display: grid;
    place-items: center;
    transition: all 0.2s ease;
}

.gender-card input[type="radio"]:checked ~ .gender-card-inner .gender-check-badge {
    background: #f59e0b;
    color: #05000c;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.gender-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    position: relative;
    transition: transform 0.3s ease;
}

.girl-avatar {
    background: rgba(244, 114, 182, 0.15);
    border: 1px solid rgba(244, 114, 182, 0.3);
}

.boy-avatar {
    background: rgba(96, 165, 250, 0.15);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.twins-avatar {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.gender-avatar svg {
    width: 26px;
    height: 26px;
    display: block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gender-card:hover .gender-avatar svg {
    transform: scale(1.1);
}

.gender-symbol {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 13px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #120224;
    font-weight: bold;
}
.girl-avatar .gender-symbol { color: #f472b6; }
.boy-avatar .gender-symbol { color: #60a5fa; }
.twins-avatar .gender-symbol { color: #c084fc; }

.gender-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.gender-title {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13.5px;
    color: #ffffff;
    font-weight: 600;
}

.gender-sub {
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    color: #94a3b8;
}

/* Twin Options Sub-Fieldset */
.twin-options-fieldset {
    border: none;
    margin: 8px 0 0;
    background: rgba(168, 85, 247, 0.05);
    border: 1px dashed rgba(168, 85, 247, 0.3);
    border-radius: 14px;
    padding: 16px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.twin-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.twin-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.twin-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.twin-card-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-align: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.twin-card:hover .twin-card-inner {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(168, 85, 247, 0.4);
}

.twin-card input[type="radio"]:checked ~ .twin-card-inner {
    background: rgba(168, 85, 247, 0.18);
    border-color: #c084fc;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.twin-check-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: transparent;
    font-size: 10px;
    display: grid;
    place-items: center;
}

.twin-card input[type="radio"]:checked ~ .twin-card-inner .twin-check-badge {
    background: #c084fc;
    color: #05000c;
    font-weight: bold;
}

.twin-icon {
    font-size: 20px;
}

.twin-text {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 500;
}

/* Unified WhatsApp Phone Input */
.phone-field-wrapper {
    position: relative;
}

.phone-input-container {
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.phone-input-container:focus-within {
    background: rgba(255, 255, 255, 0.07);
    border-color: #25D366;
    box-shadow: 0 0 18px rgba(37, 211, 102, 0.2);
}

.country-code-picker {
    flex: 0 0 auto;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
}

.country-code-picker select {
    height: 52px;
    border: none;
    background: transparent;
    padding: 0 12px 0 14px;
    font-family: 'Outfit', 'Noto Sans Sinhala', sans-serif;
    font-size: 13.5px;
    color: #fcd34d;
    font-weight: 600;
    cursor: pointer;
    outline: none;
}

.country-code-picker select option {
    background: #120224;
    color: #ffffff;
}

.phone-number-box {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.phone-number-box input {
    height: 52px;
    border: none;
    background: transparent;
    padding: 0 40px 0 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
}

.phone-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

.wa-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 8px #25D366;
    display: inline-block;
    flex-shrink: 0;
}

/* Modern Style Chips */
.style-chips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 6px;
}

.style-chip {
    position: relative;
    cursor: pointer;
    display: block;
}

.style-chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.style-chip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.style-chip:hover .style-chip-inner {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 158, 11, 0.35);
}

.style-chip input[type="checkbox"]:checked ~ .style-chip-inner {
    background: rgba(245, 158, 11, 0.14);
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.style-chip-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.style-chip-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    stroke: #e2e8f0;
    transition: stroke 0.2s ease;
}

.style-chip input[type="checkbox"]:checked ~ .style-chip-inner .style-chip-icon svg {
    stroke: #f59e0b;
}

.style-chip-label {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #e2e8f0;
}

.style-chip input[type="checkbox"]:checked ~ .style-chip-inner .style-chip-label {
    color: #ffffff;
}

.style-chip-tick {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: transparent;
    font-size: 11px;
    display: grid;
    place-items: center;
    margin-left: auto;
    transition: all 0.2s ease;
}

.style-chip input[type="checkbox"]:checked ~ .style-chip-inner .style-chip-tick {
    background: #f59e0b;
    color: #05000c;
    font-weight: bold;
}

/* Field Header Row & Character Counter */
.field-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.field-label {
    color: #cbd5e1;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
}

.char-counter {
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 10px;
}

.textarea-wrapper textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13.5px;
    color: #ffffff;
    resize: vertical;
    min-height: 95px;
    outline: none;
    transition: all 0.2s ease;
}

.textarea-wrapper textarea:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: #f59e0b;
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.important-note {
    color: #fef08a;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 10px;
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.important-note span {
    color: #05000c;
    background: #f59e0b;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    font-weight: bold;
    font-size: 11px;
}

.important-note p {
    margin: 0;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13px;
    line-height: 1.55;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 22px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13px;
    color: #cbd5e1;
    cursor: pointer;
    line-height: 1.5;
}

.consent input {
    accent-color: #f59e0b;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Submit Button */
.order-submit {
    width: 100%;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #05000c;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: 0;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.38);
}

.order-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.55);
}

.btn-main-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-lock-badge {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-lock-badge svg {
    display: block;
    stroke: #05000c;
}

.btn-text {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #05000c;
}

.btn-price-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 0, 12, 0.35);
    padding: 7px 14px;
    border-radius: 999px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
}

.pill-arrow {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: #fcd34d;
    font-size: 14px;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    transition: transform 0.25s ease;
}

.order-submit:hover .pill-arrow {
    transform: translateX(4px);
}

.order-submit.is-submitting {
    opacity: 0.85;
    cursor: wait;
    pointer-events: none;
}

.submit-note {
    text-align: center;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--abn-text-muted);
    margin-top: 14px;
}

.submit-error {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 14px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 14px;
    margin-top: 15px;
}

/* ==========================================================================
   Order Review & Confirmation Modal (ඇණවුම් විස්තර සමාලෝචන Modal)
   ========================================================================== */
.order-review-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(5, 0, 12, 0.88);
    display: grid;
    place-items: center;
    padding: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.order-review-modal[hidden] {
    display: none;
}

.review-modal-card {
    position: relative;
    width: min(650px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: radial-gradient(ellipse at 50% 0%, #1f0538 0%, #120224 60%, #080012 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.12);
}

.review-header {
    text-align: center;
    margin-bottom: 22px;
}

.review-header-badge {
    display: inline-block;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.review-header h2 {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.review-header p {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13.5px;
    color: #94a3b8;
    margin: 0;
}

/* Package Banner inside review */
.review-pkg-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-pkg-title-wrap span {
    display: block;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12px;
    color: #cbd5e1;
}

.review-pkg-title-wrap strong {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 16.5px;
    color: #ffffff;
}

.review-pkg-price-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fcd34d;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 6px 14px;
    border-radius: 20px;
}

/* Review Data Table / List */
.review-sections-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.review-section-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
}

.review-sec-head {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fcd34d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 6px;
}

.review-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
}

.review-row-item {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.review-row-item.full-width {
    grid-column: 1 / -1;
}

.review-item-label {
    color: #94a3b8;
    font-size: 11px;
}

.review-item-val {
    color: #ffffff;
    font-weight: 600;
    word-break: break-word;
}

/* Action Buttons Bar */
.review-actions-bar {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 12px;
    margin-top: 10px;
}

.review-edit-btn {
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.review-edit-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.review-confirm-btn {
    padding: 14px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    border: 0;
    color: #ffffff;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

.review-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.55);
}

/* Payment Modal Popup */
.payment-choice-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(5, 0, 12, 0.85);
    display: grid;
    place-items: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.payment-choice-modal[hidden] {
    display: none;
}

.payment-choice-card {
    position: relative;
    width: min(520px, 100%);
    background: #120224;
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.payment-choice-card>span {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #fcd34d;
    font-size: 13px;
    font-weight: 600;
}

.payment-choice-card h2 {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 21px;
    margin: 8px 0 12px;
}

.payment-choice-card>p {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: var(--abn-text-muted);
    font-size: 13.5px;
    margin-bottom: 24px;
}

.payment-choice-close {
    position: absolute;
    right: 20px;
    top: 18px;
    border: 0;
    background: rgba(255, 255, 255, 0.05);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s ease;
}

.payment-choice-close:hover {
    background: rgba(245, 158, 11, 0.2);
}

/* Payment Choice Modal Cards */
.payment-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 14px;
}

.payment-card-option {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
}

.payment-card-option:hover {
    background: rgba(245, 158, 11, 0.08);
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.15);
}

.pay-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pay-card-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.payment-card-option:hover .pay-card-radio {
    border-color: #f59e0b;
}

.pay-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.payment-card-option:hover .pay-radio-dot {
    opacity: 1;
}

.pay-card-titles {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    flex-wrap: wrap;
    gap: 8px;
}

.pay-method-title {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    color: #ffffff;
}

.pay-instant-badge {
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    padding: 3px 10px;
    border-radius: 20px;
}

.pay-manual-badge {
    font-family: 'Outfit', 'Noto Sans Sinhala', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 3px 10px;
    border-radius: 20px;
}

.pay-card-desc {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 12px;
}

.pay-logos-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.logo-pill {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-pill.visa { background: rgba(26, 31, 113, 0.4); border-color: #1a1f71; }
.logo-pill.master { background: rgba(235, 0, 27, 0.2); border-color: #eb001b; }
.logo-pill.frimi { background: rgba(255, 87, 34, 0.2); border-color: #ff5722; }
.logo-pill.genie { background: rgba(0, 150, 136, 0.2); border-color: #009688; }
.logo-pill.ez { background: rgba(255, 193, 7, 0.2); border-color: #ffc107; color: #ffc107; }

.boc-account-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.boc-logo-pill {
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.boc-logo-img {
    height: 18px;
    width: auto;
    display: block;
    object-fit: contain;
}

.boc-pill, .boc-acc-pill, .boc-branch-pill {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.1);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.bank-title-with-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-logo-pill {
    background: #ffffff;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.bank-card-boc-logo {
    height: 22px;
    width: auto;
    display: block;
    object-fit: contain;
}

.pay-banner-wrapper {
    margin-top: 10px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px;
    display: flex;
    justify-content: center;
}

.payhere-card-banner {
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* ==========================================================================
   Bank Details Modal & Success Modal Enhancements
   ========================================================================== */
.bank-modal-card {
    position: relative;
    width: min(580px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: #120224;
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(245, 158, 11, 0.12);
}

.success-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(245, 158, 11, 0.2));
    border: 2px solid #22c55e;
    color: #22c55e;
    display: grid;
    place-items: center;
    font-size: 28px;
    margin: 0 auto 14px;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.3);
}

.modal-order-header {
    text-align: center;
    margin-bottom: 22px;
}

.modal-order-header h2 {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 20px;
    margin: 0 0 8px 0;
}

.modal-order-header p {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: var(--abn-text-muted);
    font-size: 13.5px;
    margin: 0;
}

.order-reference-box {
    background: rgba(245, 158, 11, 0.08);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.order-reference-box span {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #cbd5e1;
    font-size: 13px;
    display: block;
}

.order-reference-box strong {
    font-family: 'Outfit', monospace, sans-serif;
    font-size: 20px;
    color: #fcd34d;
    letter-spacing: 0.05em;
    display: block;
}

.order-amount-pill {
    font-family: 'Outfit', sans-serif;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid #f59e0b;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 6px 14px;
    border-radius: 20px;
}

.bank-section-title {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 14px;
    color: #fcd34d;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-cards-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.bank-account-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 16px;
    transition: border-color 0.3s ease;
}

.bank-account-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
}

.bank-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.bank-name-badge {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.bank-branch-badge {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12px;
    color: var(--abn-text-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 12px;
}

.bank-data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
}

.bank-data-label {
    color: var(--abn-text-muted);
}

.bank-data-val {
    color: #ffffff;
    font-weight: 600;
}

.bank-acc-number-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bank-acc-no {
    font-family: 'Outfit', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #fcd34d;
    letter-spacing: 0.05em;
}

.copy-btn {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fcd34d;
    border-radius: 8px;
    padding: 5px 12px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #f59e0b;
    color: #05000c;
}

.whatsapp-action-box {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
    margin-bottom: 18px;
}

.whatsapp-action-box p {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
    color: #e2e8f0;
    line-height: 1.6;
    margin: 0 0 14px 0;
}

.whatsapp-send-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff !important;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff !important;
}

.modal-close-action-btn {
    width: 100%;
    padding: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 12px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Loading Overlay */
.order-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(5, 0, 12, 0.88);
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
}

.order-loader-overlay[hidden] {
    display: none;
}

.order-loader-content {
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(245, 158, 11, 0.2);
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: abnSpin 0.8s linear infinite;
    margin: 0 auto 16px;
}

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

.order-loader-content p {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 16px;
    color: #fcd34d;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .field-grid,
    .choice-row,
    .style-choices {
        grid-template-columns: 1fr;
    }

    .order-form {
        padding: 24px 20px;
    }
}

/* ==========================================================================
   LUXURY FOOTER STYLES
   ========================================================================== */
/* ================= LUXURY FOOTER STYLES ================= */
.ashirwada-luxury-footer {
    background: radial-gradient(ellipse at 50% 0%, #17042d 0%, #0c0119 50%, #05000c 100%);
    color: #cbd5e1;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    padding-top: 50px;
    padding-bottom: 30px;
    overflow: hidden;
}

.footer-glow-separator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand-logo {
    display: inline-block;
    margin-bottom: 18px;
    text-decoration: none;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.footer-brand-desc {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    color: #e2e8f0;
    margin: 0;
}

/* ================= LUXURY SQUIRCLE SOCIAL DOCK ================= */
.footer-social-dock-wrapper {
    position: relative;
    display: inline-flex;
    margin-top: 18px;
}

.footer-dock-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.footer-social-dock {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    z-index: 1;
}

.footer-squircle-item {
    position: relative;
    display: inline-flex;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

.footer-squircle-item:hover {
    transform: translateY(-8px) scale(1.12);
}

.footer-squircle-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    clip-path: url(#squircleClip);
    -webkit-clip-path: url(#squircleClip);
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
    transition: filter 0.3s ease;
}

.footer-squircle-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.footer-squircle-item:hover svg {
    transform: scale(1.08);
}

/* Individual Brand Gradients & Shadows */
.footer-squircle-btn.fb {
    background: linear-gradient(135deg, #1877f2 0%, #0d5bbd 100%);
    border-color: rgba(255, 255, 255, 0.25);
}
.footer-squircle-item.fb-item:hover {
    filter: drop-shadow(0 12px 22px rgba(24, 119, 242, 0.65));
}

.footer-squircle-btn.pinterest {
    background: linear-gradient(135deg, #e60023 0%, #ad001a 100%);
    border-color: rgba(255, 255, 255, 0.25);
}
.footer-squircle-item.pinterest-item:hover {
    filter: drop-shadow(0 12px 22px rgba(230, 0, 35, 0.65));
}

.footer-squircle-btn.insta {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    border-color: rgba(255, 255, 255, 0.3);
}
.footer-squircle-item.insta-item:hover {
    filter: drop-shadow(0 12px 22px rgba(253, 29, 29, 0.65));
}

.footer-squircle-btn.youtube {
    background: linear-gradient(135deg, #ff0000 0%, #c40000 100%);
    border-color: rgba(255, 255, 255, 0.25);
}
.footer-squircle-item.youtube-item:hover {
    filter: drop-shadow(0 12px 22px rgba(255, 0, 0, 0.65));
}

.footer-squircle-btn.tiktok {
    background: linear-gradient(135deg, #242735 0%, #0c0d13 100%);
    border-color: rgba(0, 242, 234, 0.45);
}
.footer-squircle-item.tiktok-item:hover {
    filter: drop-shadow(0 12px 22px rgba(0, 242, 234, 0.55));
}

@media (max-width: 480px) {
    .footer-squircle-btn {
        width: 42px;
        height: 42px;
    }
    .footer-squircle-btn svg {
        width: 20px;
        height: 20px;
    }
    .footer-social-dock {
        gap: 8px;
        padding: 6px 8px;
    }
}


.footer-heading {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif !important;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 600;
    margin: 0 0 20px 0;
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #f59e0b;
    border-radius: 2px;
}

.footer-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-nav-links a {
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.footer-nav-links a:hover {
    color: #fcd34d;
    transform: translateX(4px);
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

/* ================= FOOTER CONTACT BUTTONS (DUAL-LINE HOVER EFFECT) ================= */
.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
    text-decoration: none;
    border: none;
    background: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    padding: 12px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.footer-contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-item:hover::after,
.footer-contact-item:hover::before {
    width: 100%;
}

.footer-contact-item:hover {
    background: rgba(244, 67, 54, 0.04);
    transform: translateX(4px);
}

.contact-icon {
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
    transform: scale(1.15);
}

.contact-label {
    display: block;
    font-family: 'Noto Sans Sinhala', 'Poppins', sans-serif;
    font-size: 11.5px;
    color: #94a3b8;
    margin-bottom: 2px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.footer-contact-item:hover .contact-label {
    color: #fca5a5;
}

.contact-val {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.footer-contact-item:hover .contact-val {
    color: #ffffff;
}

/* WhatsApp Highlight Styling */
.footer-contact-item.highlight {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.32);
    border-radius: 8px;
    padding: 10px 12px;
}

.footer-contact-item.highlight::before,
.footer-contact-item.highlight::after {
    background: #25d366;
}

.footer-contact-item.highlight:hover {
    background: rgba(37, 211, 102, 0.16);
    border-color: rgba(37, 211, 102, 0.65);
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.22);
}

.footer-contact-item.highlight .contact-val {
    color: #22c55e;
}

.footer-contact-item.highlight .contact-label {
    color: #86efac;
}

.footer-contact-item.highlight:hover .contact-val {
    color: #4ade80;
}

.contact-badge {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(34, 197, 94, 0.35);
    vertical-align: middle;
}



.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
    font-size: 12.5px;
    color: #cbd5e1;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        text-align: center;
        justify-content: center;
    }
}

/* Time Picker & Hospital Cascading Select */
.time-picker-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr 1.3fr;
    align-items: center;
    gap: 6px;
}

.time-picker-grid select {
    height: 42px;
    padding: 0 6px;
    text-align: center;
    font-size: 13px;
    border-radius: 8px;
    font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif;
}

.time-colon {
    font-weight: 700;
    color: #f59e0b;
    font-size: 18px;
    text-align: center;
    line-height: 1;
}

.field select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
}

/* Highlighted Hospital Selection Note */
.hospital-note-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.03));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 4px;
    margin-bottom: 6px;
}

.hospital-note-icon {
    font-size: 1.25rem;
    line-height: 1.4;
    flex-shrink: 0;
}

.hospital-note-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hospital-note-si {
    font-size: 13px;
    color: #fef3c7;
    line-height: 1.55;
    margin: 0;
}

.hospital-note-si strong {
    color: #fbbf24;
}

.hospital-note-si em {
    font-style: normal;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    padding: 1px 6px;
    border-radius: 4px;
}

.hospital-note-en {
    font-size: 12px;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0;
}

.hospital-note-en strong {
    color: #e2e8f0;
}

.hospital-note-en em {
    font-style: normal;
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 5px;
    border-radius: 4px;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS ENHANCEMENTS (ORDER PAGE)
   ========================================================================== */
@media (max-width: 768px) {
    body {
        padding-bottom: 85px !important; /* Mobile floating dock clearance */
    }

    .abn-form-wrapper {
        padding: 85px 12px 100px;
    }

    .order-shell {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }

    .order-form {
        padding: 22px 14px;
        border-radius: 18px;
    }

    .form-heading {
        margin-bottom: 18px;
    }

    .form-heading h3 {
        font-size: 1.15rem;
    }

    /* Prevent iOS Safari Auto-Zoom on text/select fields */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    input[type="date"],
    input[type="time"],
    select,
    textarea {
        font-size: 16px !important;
        border-radius: 10px;
    }

    .package-card {
        padding: 18px 14px;
        margin-top: 16px;
    }

    .package-price-val {
        font-size: 1.6rem;
    }

    .choice-card {
        padding: 14px;
    }

    .btn-submit-order {
        padding: 16px 20px;
        font-size: 1.1rem;
        min-height: 52px;
    }

    .style-chips-grid,
    .twin-cards-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .review-modal-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .review-pkg-box {
        padding: 12px 14px;
    }

    .review-pkg-title-wrap strong {
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .gender-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gender-card-inner {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
        gap: 14px;
        text-align: left;
    }

    .gender-avatar {
        margin-bottom: 0;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .gender-meta {
        text-align: left;
    }

    .field-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .country-code-picker select {
        padding: 0 6px 0 10px;
        font-size: 12.5px;
    }
}

@media (max-width: 480px) {
    .time-picker-grid {
        grid-template-columns: 1fr auto 1fr 1.15fr;
        gap: 4px;
    }

    .time-picker-grid select {
        height: 38px;
        font-size: 13px !important;
        padding: 0 4px;
    }

    .hospital-note-card {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
    }

    .hospital-note-icon {
        display: none;
    }

    .footer-contact-item {
        padding: 10px 12px;
    }

    .btn-price-pill {
        padding: 4px 10px;
        font-size: 12px;
    }

    /* Mobile Modal & Form Refinements */
    .review-modal-card,
    .payment-choice-card,
    .bank-modal-card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .review-header h2 {
        font-size: 18px;
    }

    .review-header p {
        font-size: 12.5px;
    }

    .review-row-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .review-pkg-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .payment-choice-item {
        padding: 14px 16px;
    }

    .modal-close-action-btn,
    .order-submit,
    .review-confirm-btn,
    .review-edit-btn {
        touch-action: manipulation;
    }
}

@media (max-width: 380px) {
    .review-actions-bar {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .time-picker-grid {
        grid-template-columns: 1fr auto 1fr 1fr;
        gap: 2px;
    }

    .time-picker-grid select {
        font-size: 12px !important;
        padding: 0 2px;
    }

    .abn-form-wrapper {
        padding: 0 8px;
    }

    .order-form {
        padding: 20px 14px;
        border-radius: 18px;
    }

    .order-submit {
        font-size: 0.95rem;
        padding: 12px 14px;
    }

    .btn-price-pill {
        display: none;
    }
}


