#toast-container > .toast {
    background-color: #1f2937 !important;
    color: #fff !important;
}

#toast-container > .toast-success {
    background-color: #0f766e !important;
}

#toast-container > .toast-error {
    background-color: #b91c1c !important;
}

#toast-container > .toast-info {
    background-color: #0369a1 !important;
}

#toast-container > .toast-warning {
    background-color: #c2410c !important;
}

:root {
    --gift-bg: #f2f7f6;
    --gift-surface: #ffffff;
    --gift-ink: #0f172a;
    --gift-muted: #64748b;
    --gift-primary: #bf9456;
    --gift-primary-2: #bf9456;
    --gift-accent: #d97706;
    --gift-line: #dbe6e4;
    --gift-soft: #f8fcfb;
}

body {
    font-family: 'Zain', sans-serif !important;
    color: var(--gift-ink);
    background:
        radial-gradient(circle at 15% -10%, #d3f1ec 0, transparent 34%),
        radial-gradient(circle at 90% 5%, #fde9c7 0, transparent 28%),
        linear-gradient(180deg, #f8fbfb 0%, var(--gift-bg) 100%);
    margin: 0;
    padding: 0;
}

.gift-page-shell {
    position: relative;
    padding-bottom: 36px;
    animation: pageIn .55s ease;
}

.main-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 16px;
}

.gift-card-container {
    width: 100%;
}

.page-title {
    text-align: center;
    color: #0b3c38;
    font-size: clamp(1.5rem, 2.3vw, 2.2rem);
    font-weight: 800;
    margin: 22px 0 6px;
    letter-spacing: .2px;
}

.page-subtitle {
    text-align: center;
    color: var(--gift-muted);
    margin: 0 0 20px;
    font-size: 1rem;
}

.proh {
    position: relative;
    overflow: hidden;
    direction: ltr;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 18px;
    border: 1px solid #e6eceb;
    background: linear-gradient(125deg, #ffffff 0%, #f7fbfa 100%);
    box-shadow: 0 14px 36px rgba(2, 6, 23, .06);
}

.slider-track {
    display: flex;
    gap: 14px;
    padding: 16px;
    width: max-content;
    animation: scroll-left 26s linear infinite;
}

.slider-item {
    flex-shrink: 0;
}

.slider-item img {
    height: 200px;
    width: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(2, 6, 23, .16);
    transition: transform .35s ease, box-shadow .35s ease;
}

.slider-item img:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 16px 30px rgba(2, 6, 23, .24);
}

.form-container {
    background: var(--gift-surface);
    border-radius: 24px;
    border: 1px solid #e8efee;
    box-shadow: 0 16px 45px rgba(2, 6, 23, .08);
    padding: 28px;
    margin: 0 auto;
    max-width: 1120px;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: "";
    position: absolute;
    inset: -140px -180px auto auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, .16), rgba(20, 184, 166, 0));
    pointer-events: none;
}

.section {
    margin-bottom: 18px;
    border: 1px solid var(--gift-line);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff 0%, var(--gift-soft) 100%);
    padding: 18px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0b3c38;
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-title i {
    color: var(--gift-accent);
    font-size: 1rem;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f2937;
    cursor: pointer;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 700;
    border: 1px solid #d8e3e1;
    background: #fff;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.radio-item:hover {
    transform: translateY(-1px);
    border-color: #b7d8d3;
    box-shadow: 0 8px 14px rgba(15, 118, 110, .08);
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-indicator {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #9ca3af;
    background: #fff;
    display: inline-block;
    position: relative;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.radio-item input[type="radio"]:checked + .radio-indicator {
    border-color: var(--gift-primary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .18);
}

.radio-item input[type="radio"]:checked + .radio-indicator::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gift-primary);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.input-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 10px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: .95rem;
    color: #1f2937;
    margin-bottom: 6px;
    font-weight: 700;
}

.form-input,
.form-textarea {
    border: 1px solid #d3dfdd;
    border-radius: 12px;
    padding: 11px 13px;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #19a597;
    outline: none;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .15);
    transform: translateY(-1px);
}

.form-textarea {
    min-height: 90px;
    resize: vertical;
}

.services-container {
    margin-bottom: 18px;
}

.services-container .container {
    border-radius: 14px;
    border: 1px solid var(--gift-line);
    background: #fff;
    margin-bottom: 12px;
    padding: 0;
    overflow: hidden;
}

.clickable-div {
    color: #0f172a !important;
    padding: 14px 16px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    transition: all .25s ease;
    border-bottom: 1px solid transparent;
    position: relative;
    background: linear-gradient(90deg, #f8fcfb, #f2f8f7);
}

.clickable-div::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset-inline-end: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    transition: transform .25s ease;
}

.clickable-div.active {
    border-bottom-color: #d6e7e4;
    color: #0b3c38 !important;
}

.clickable-div.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.checkbox-list {
    display: none;
    background: #ffffff;
    padding: 14px;
    margin: 0;
}

.checkbox-list.show {
    display: flex;
    animation: slideDown .28s ease;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 9px;
    border-radius: 10px;
    transition: background-color .2s ease;
}

.checkbox-item:hover {
    background-color: #f4faf9;
}

.checkbox-item input[type="checkbox"] {
    margin-inline-end: 10px;
    transform: scale(1.15);
    accent-color: var(--gift-primary);
}

.checkbox-item label {
    cursor: pointer;
    font-size: .95rem;
    color: #334155;
    flex: 1;
}

.service-notes,
.pricing-summary {
    background: linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
    border-radius: 16px;
    border: 1px solid var(--gift-line);
    padding: 18px;
    margin-bottom: 14px;
}

.notes-title {
    color: #0b3c38;
    font-weight: 800;
    font-size: 1.02rem;
    margin-bottom: 12px;
}

.notes-list {
    color: #475569;
    font-size: .95rem;
    margin: 0;
    padding-inline-start: 18px;
}

.notes-list li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.pricing-summary h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

#displayAmount {
    margin-inline-start: 4px;
}

.add-to-cart-button {
    white-space: nowrap;
    text-decoration: none;
    background: linear-gradient(135deg, var(--gift-primary), var(--gift-primary-2));
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 1.02rem;
    font-weight: 800;
    width: 100%;
    max-width: 310px;
    margin: 10px 0 0 auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}

.add-to-cart-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 118, 110, .3);
    filter: saturate(1.05);
}

.package-name {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.info-icon {
    color: #0f766e;
    cursor: pointer;
    font-size: 14px;
    transition: transform .2s;
}

.info-icon:hover {
    transform: scale(1.1);
}

.custom-tooltip {
    position: absolute;
    bottom: 130%;
    inset-inline-end: 0;
    background: #0f172a;
    color: #fff;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12px;
    min-width: 170px;
    max-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: all .25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 999;
}

.tooltip-wrapper:hover .custom-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-tooltip div {
    padding: 2px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.custom-tooltip div:last-child {
    border-bottom: none;
}

.text-active {
    color: #0f172a !important;
    font-family: Almarai, sans-serif;
    font-weight: 700 !important;
    font-size: 18px;
    line-height: 100%;
}

.h5,
h5 {
    font-size: 15.6px;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

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

@media (max-width: 991px) {
    .form-container {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .input-row,
    .radio-group {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.05rem;
    }

    .add-to-cart-button {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .main-container {
        padding: 0 10px;
    }

    .page-title {
        margin-top: 14px;
        margin-bottom: 2px;
    }

    .page-subtitle {
        margin-bottom: 14px;
        font-size: .92rem;
    }

    .checkbox-item {
        align-items: flex-start;
    }

    .checkbox-item label {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .checkbox-item label > div {
        width: 100%;
        word-break: break-word;
    }
}
