/*------------------------------------------------------------------
[Order Kit Page - Professional Design]

Styling for the LucyDNA Kit ordering page with:
1. Professional hero section
2. Clean form design
3. Better typography and spacing
4. Responsive layout

Color Scheme:
- Primary Green: #3db54a
- Dark Green: #2d9240
- Dark Text: #333333
- Light Background: #f9fafb
- Border Color: #e5e7eb

-------------------------------------------------------------------*/

/* ========== General Typography ========== */

html, body {
    scroll-behavior: smooth;
}

/* ========== Header Adjustments ========== */

.header-area-desktop {
    height: 80px;
    display: flex;
    align-items: center;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.header-area-desktop .navbar-brand img {
    max-height: 50px;
    width: auto;
}

.header-area-desktop .menu-item a {
    font-weight: 600;
    color: #333333;
    padding: 8px 0;
    margin: 0 20px;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.header-area-desktop .menu-item a:hover {
    color: #3db54a;
}

/* ========== Hero Section ========== */

.order-hero {
    background: linear-gradient(135deg, #1fa34a 0%, #2d9240 100%);
    color: #ffffff;
    padding: 80px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.order-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(61, 181, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(45, 146, 64, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.order-hero .container {
    position: relative;
    z-index: 2;
}

/* Logo Styling */
.order-logo-wrap {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.order-logo-wrap img {
    max-height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* Hero Text */
.order-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -1px;
    text-align: center;
    color: #ffffff;
}

.order-hero > .container > .row > .col-lg-6 > p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 0;
    text-align: center;
    line-height: 1.6;
    color: #ffffff;
}

.order-hero ul {
    margin: 24px 0 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.order-hero ul li {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #ffffff;
    opacity: 0.9;
}

.order-hero ul li::before {
    content: '✓';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 8px;
    font-size: 12px;
    font-weight: bold;
}

.subscription-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    margin-top: 14px;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    padding: 16px 18px;
    backdrop-filter: blur(8px);
}

.subscription-strip strong,
.subscription-strip span {
    display: block;
}

.subscription-strip strong {
    color: #ffffff;
    font-size: 16px;
}

.subscription-strip span {
    color: #ecfdf3;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 4px;
}

.subscription-strip a {
    white-space: nowrap;
    border-radius: 999px;
    background: #ffffff;
    color: #166534;
    font-size: 13px;
    font-weight: 800;
    padding: 10px 14px;
    text-decoration: none;
}

.membership-bundle {
    margin-bottom: 20px;
}

.membership-bundle-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    border: 1px solid #b7e4c3;
    border-radius: 16px;
    background: linear-gradient(180deg, #f7fff9 0%, #ffffff 100%);
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.membership-bundle-card:hover {
    border-color: #3db54a;
    box-shadow: 0 10px 28px rgba(61, 181, 74, 0.12);
}

.membership-bundle-card input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #3db54a;
}

.membership-bundle-card input:disabled {
    opacity: 1;
}

.membership-bundle-card strong,
.membership-bundle-card small {
    display: block;
}

.membership-bundle-card strong {
    color: #12301c;
    font-size: 15px;
    font-weight: 900;
}

.membership-bundle-card small {
    margin-top: 5px;
    color: #56675c;
    font-size: 13px;
    line-height: 1.55;
}

/* ========== Order Card ========== */

.order-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin: 40px auto 0 auto;
    max-width: 980px;
    width: 100%;
}

.order-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

/* ========== Form Styling ========== */

.order-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.order-form .form-row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.order-form .form-row:last-child {
    margin-bottom: 0;
}

.order-form label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.order-form input,
.order-form textarea,
.order-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Nunito', sans-serif;
    color: #333333;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
    outline: none;
    border-color: #3db54a;
    box-shadow: 0 0 0 3px rgba(61, 181, 74, 0.1);
}

.order-form textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Nunito', sans-serif;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
    color: #9ca3af;
}

.condition-picker {
    border: 1px solid #d9efe0;
    border-radius: 16px;
    background: #fbfefc;
    padding: 16px;
    margin-bottom: 20px;
}

.condition-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.condition-picker-header label {
    margin: 0;
    color: #12301c;
    font-size: 16px;
}

.condition-picker-header p {
    color: #607166;
    font-size: 13px;
    line-height: 1.45;
    margin: 5px 0 0;
}

.condition-picker-header button {
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #ffffff;
    color: #166534;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    padding-right: 4px;
}

.condition-grid label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 70px;
    border: 1px solid #e2eee5;
    border-radius: 14px;
    background: #ffffff;
    padding: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.condition-grid label:hover {
    border-color: #9ae6b4;
    background: #f0fdf4;
    transform: translateY(-1px);
}

.condition-grid input {
    width: auto;
    margin-top: 3px;
    accent-color: #3db54a;
}

.condition-grid span {
    color: #24342a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.condition-grid small {
    display: block;
    color: #2f8f45;
    font-size: 11px;
    font-weight: 800;
    margin-top: 4px;
}

.condition-grid label:has(input:checked) {
    border-color: #3db54a;
    background: #ecf8ed;
}

.cart-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    border-radius: 14px;
    background: #12301c;
    color: #ffffff;
    padding: 13px 14px;
}

.cart-summary span {
    color: #d1fae5;
    font-size: 13px;
    font-weight: 700;
}

.cart-summary strong {
    color: #ffffff;
    font-size: 18px;
}

.payment-placard {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
    padding: 14px;
    color: #14532d;
}

.payment-placard strong,
.payment-placard span {
    display: block;
}

.payment-placard strong {
    margin-bottom: 4px;
    font-size: 14px;
}

.payment-placard span {
    color: #3f6212;
    font-size: 12px;
    line-height: 1.5;
}

.card-brands {
    align-self: center;
    white-space: nowrap;
    border-radius: 999px;
    background: #ffffff;
    padding: 7px 10px;
    color: #166534;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.order-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: -2px 0 18px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
}

.order-checkbox input {
    width: auto;
    margin-top: 3px;
}

/* ========== Form Button ========== */

.order-form .form-row button {
    margin-top: 8px;
}

.miwlo-btn-pill.btn-orange {
    background: linear-gradient(135deg, #3db54a 0%, #2d9240 100%);
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
}

.miwlo-btn-pill.btn-orange:hover {
    background: linear-gradient(135deg, #2d9240 0%, #1f6a2a 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(61, 181, 74, 0.25);
}

.miwlo-btn-pill.btn-orange:active {
    transform: translateY(0);
    box-shadow: 0 6px 15px rgba(61, 181, 74, 0.15);
}

/* ========== Form Success/Error Message ========== */

#order-message {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
    animation: slideDown 0.3s ease;
}

#order-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

#order-message.error {
    background: #fee2e2;
    color: #7f1d1d;
    border: 1px solid #fecaca;
}

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

/* ========== Mobile Menu ========== */

.miwlo-header-area-mobile {
    display: none;
}

@media (max-width: 991px) {
    .header-area-desktop {
        display: none;
    }

    .miwlo-header-area-mobile {
        display: block;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 1000;
    }

    .miwlo-header-mobile {
        padding: 12px 0;
    }

    .miwlo-header-mobile ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .mobile-logo img {
        max-height: 40px;
        width: auto;
    }

    .mobile-header-btn-wrapper a {
        padding: 10px 20px !important;
        font-size: 13px !important;
    }

    .order-hero {
        margin-top: 0;
        padding: 60px 0;
    }

    .order-hero h1 {
        font-size: 32px;
    }

    .order-hero > .container > .row > .col-lg-6 > p {
        font-size: 15px;
    }

    .order-card {
        padding: 30px;
        margin: 30px 15px 0 15px;
    }

    .subscription-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .condition-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-card h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .order-hero {
        padding: 50px 0;
    }

    .order-hero h1 {
        font-size: 28px;
    }

    .order-hero > .container > .row > .col-lg-6 > p {
        font-size: 14px;
    }

    .order-hero ul li {
        font-size: 13px;
    }

    .order-card {
        padding: 24px;
        margin: 24px 12px 0 12px;
    }

    .order-form input,
    .order-form textarea,
    .order-form select {
        padding: 11px 12px;
        font-size: 13px;
    }

    .payment-placard {
        flex-direction: column;
    }

    .condition-grid {
        grid-template-columns: 1fr;
        max-height: 420px;
    }

    .card-brands {
        align-self: flex-start;
    }

    .miwlo-btn-pill.btn-orange {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .order-hero {
        padding: 40px 0;
    }

    .order-logo-wrap {
        margin-bottom: 16px;
    }

    .order-logo-wrap img {
        max-height: 70px;
    }

    .order-hero h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .order-hero > .container > .row > .col-lg-6 > p {
        font-size: 13px;
    }

    .order-hero ul {
        margin-top: 16px;
        gap: 12px;
    }

    .order-card {
        padding: 20px;
        margin: 20px 10px 0 10px;
        border-radius: 12px;
    }

    .order-card h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .order-form .form-row {
        margin-bottom: 16px;
    }

    .order-form label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .order-form input,
    .order-form textarea,
    .order-form select {
        padding: 10px 11px;
        font-size: 12px;
    }

    .miwlo-btn-pill.btn-orange {
        padding: 11px 24px;
        font-size: 13px;
    }
}

/* ========== Footer Styling ========== */

.miwlo-footer-wrap {
    background: #1f2937;
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.miwlo-footer-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.miwlo-footer-text p {
    font-size: 14px;
    line-height: 1.7;
    color: #d1d5db;
    margin-bottom: 15px;
}

.miwlo-footer-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.miwlo-footer-text ul li {
    margin-bottom: 10px;
}

.miwlo-footer-text ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.miwlo-footer-text ul li a:hover {
    color: #3db54a;
}

.miwlo-footer-social {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.miwlo-footer-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(61, 181, 74, 0.1);
    color: #3db54a;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.miwlo-footer-social li a:hover {
    background: #3db54a;
    color: #ffffff;
    transform: translateY(-3px);
}

/* ========== Smooth Scroll Behavior ========== */

* {
    box-sizing: border-box;
}
