/* Shelter detail page styles — hero, stats, gallery, about, map, services */

*::-webkit-scrollbar {
    display: none;
}

/* ══ HERO ══ */
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 6rem,
        rgba(194, 98, 42, 0.04) 6rem,
        rgba(194, 98, 42, 0.04) 6.1rem
    );
    pointer-events: none;
}
.hero-orb-left {
    width: 70rem;
    height: 70rem;
    background: radial-gradient(
        circle,
        rgba(194, 98, 42, 0.14) 0%,
        transparent 70%
    );
    top: -20rem;
    left: -22rem;
    animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-right {
    width: 50rem;
    height: 50rem;
    background: radial-gradient(
        circle,
        rgba(194, 98, 42, 0.09) 0%,
        transparent 70%
    );
    bottom: -15rem;
    right: -10rem;
    animation: orb-float 10s ease-in-out infinite reverse;
}
.hero-inner {
    max-width: 80rem;
}
.hero-tag {
    background: rgba(194, 98, 42, 0.15);
    border: 0.1rem solid rgba(194, 98, 42, 0.3);
    gap: 0.8rem;
    animation: fade-up 0.7s ease both;
}
.hero-tag-dot {
    width: 0.6rem;
    height: 0.6rem;
    animation: blink 1.5s infinite;
}
.hero-desc {
    color: rgba(255, 255, 255, 0.5);
    max-width: 52rem;
    animation: fade-up 0.7s 0.2s ease both;
}
.hbadge {
    backdrop-filter: blur(0.8rem);
}
.hbadge-dot {
    width: 0.5rem;
    height: 0.5rem;
}
.hbadge-open {
    background: rgba(22, 101, 52, 0.85);
    color: #fff;
}
.hbadge-open .hbadge-dot {
    background: #4ade80;
}
.hbadge-closed {
    background: rgba(192, 57, 43, 0.85);
    color: #fff;
}
.hbadge-neutral {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
}
.hbadge-accent {
    background: rgba(194, 98, 42, 0.85);
    color: #fff;
}
.hbadge-urgent-hero {
    background: rgba(220, 38, 38, 0.85);
    color: #fff;
}

/* ══ STATS ══ */
.stats-strip {
    grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
    border-right: 0.1rem solid rgba(255, 255, 255, 0.2);
}
.stat-cell:last-child {
    border-right: none;
}
.stat-lbl {
    color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 640px) {
    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-cell {
        border-right: none;
        border-bottom: 0.1rem solid rgba(255, 255, 255, 0.1);
    }
}

/* ══ LAYOUT ══ */

.hero-tag {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.main-head {
    text-align: center;
}
.hero-desc {
    text-align: center;
}

.hbadge {
    justify-content: center;
    text-align: center;
}
.hero-icons {
    justify-content: center;
}
.parent-btn {
    flex-direction: column;
}
.parent-btn .btn {
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-tag {
        display: inline-flex;
        margin-left: 0;
        margin-right: 0;
    }
    .hero-icons {
        justify-content: start;
    }
    .main-head {
        text-align: left;
    }
    .hero-desc {
        text-align: left;
    }
    .hero-icons {
        flex-direction: row;
    }
    .hbadge {
        justify-content: start;
        text-align: left;
    }
    .parent-btn {
        flex-direction: row;
    }
    .parent-btn .btn {
        justify-content: start;
    }
}

@media (min-width: 1024px) {
    .sec-inner {
        padding: 0 3.2rem;
    }
}

/* ══ GALLERY ══ */
.slides-wrap {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-item {
    min-width: 100%;
}
.gallery-img {
    height: 38rem;
    transition: transform 0.5s ease;
}
.gallery-main-wrap:hover .gallery-img {
    transform: scale(1.02);
}
.slide-overlay {
    background: rgba(0, 0, 0, 0.3);
}
.gallery-main-wrap:hover .slide-overlay {
    opacity: 1;
}
.sl-btn {
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 4.4rem;
    height: 4.4rem;
    background: rgba(255, 255, 255, 0.92);
    font-size: 2rem;
    color: var(--dark);
    transition: var(--t);
    box-shadow: var(--shadow-sm);
}
.sl-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}
.sl-prev {
    left: 1.2rem;
}
.sl-next {
    right: 1.2rem;
}
.slide-counter {
    bottom: 1.2rem;
    right: 1.2rem;
    background: rgba(22, 14, 6, 0.7);
    padding: 0.4rem 1rem;
    backdrop-filter: blur(0.6rem);
}
.thumbs-row {
    overflow-x: auto;
    scrollbar-width: none;
}
.thumb-item {
    width: 7.2rem;
    height: 5.2rem;
    border: 0.2rem solid transparent;
    opacity: 0.6;
}
.thumb-item:hover {
    opacity: 0.85;
}
.thumb-item.thumb-active {
    border-color: var(--primary);
    opacity: 1;
}
@media (min-width: 768px) {
    .gallery-img {
        height: 48rem;
    }
}

/* ══ ABOUT ══ */
.about-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 38rem;
    }
}
.tag-pill {
    border: 0.1rem solid rgba(194, 98, 42, 0.18);
}
.map-card {
    min-height: 30rem;
}
.map-overlay {
    background: linear-gradient(
        to top,
        rgba(22, 14, 6, 0.5) 0%,
        transparent 40%
    );
}
.map-dir-btn {
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: all;
    white-space: nowrap;
}
.qi-stats-row {
    grid-template-columns: repeat(3, 1fr);
}
.cap-track {
    height: 0.5rem;
    background: var(--border);
}
.cap-ok {
    background: var(--success);
}
.cap-warning {
    background: #d97706;
}
.cap-danger {
    background: var(--danger);
}
.c-danger {
    color: var(--danger);
}

/* ══ SERVICES ══ */
.services-grid {
    grid-template-columns: repeat(1, 1fr);
    text-align: center;
}
.srv-card span {
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 370px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }
    .srv-card span {
        margin-left: 0;
        margin-right: 0;
    }
}
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.srv-card {
    transition:
        box-shadow 0.26s ease,
        border-color 0.26s ease,
        transform 0.26s cubic-bezier(0.34, 1.1, 0.64, 1);
}
.srv-card:hover {
    box-shadow: var(--shadow-lift);
    border-color: var(--primary-light);
    transform: translateY(-0.4rem);
}
.srv-price {
    border: 0.1rem solid rgba(194, 98, 42, 0.18);
}
.srv-free {
    border: 0.1rem solid rgba(22, 101, 52, 0.2);
}

/* ════════════════════════════════════════
   ADOPTION ROSTER · REVIEWS · BOTTOM CTA
════════════════════════════════════════ */
.c-muted {
    color: rgba(255, 255, 255, 0.45);
}

/* ══ ADOPTION ══ */
.adopt-sort-select {
    border: 0.15rem solid var(--border);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.adopt-sort-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.3rem var(--primary-glow);
}
.adopt-chip {
    border-color: var(--border);
}
.adopt-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-pale);
}
.adopt-chip-active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.adopt-chip-count {
    background: rgba(194, 98, 42, 0.15);
    color: var(--primary);
}
.adopt-chip-active .adopt-chip-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.products-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: 1fr;
}
@media (min-width: 540px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.4rem;
    }
}
.product-card {
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        transform 0.26s cubic-bezier(0.34, 1.1, 0.64, 1);
}
.product-card:hover {
    transform: translateY(-1rem);
    box-shadow: var(--shadow-lift);
    border-color: var(--primary-light);
}
.product-img-wrap {
    height: 22rem;
    background: linear-gradient(145deg, #fff8f5, #ffe8d6);
}
.product-img {
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.06);
}
.img-name-overlay {
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 1.8rem 0.8rem;
    background: linear-gradient(
        to top,
        rgba(22, 14, 6, 0.55) 0%,
        transparent 100%
    );
    z-index: 2;
}
.prod-badge-tl {
    top: 1.2rem;
    left: 1.2rem;
    z-index: 2;
}
.prod-badge {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: var(--r-full);
    display: inline-block;
}
.badge-urgent {
    background: #ef4444;
    color: #fff;
    animation: pulse-urgent 2s ease-in-out infinite;
}
.badge-special {
    background: #7c3aed;
    color: #fff;
}
.card-slide-btn {
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 3.2rem;
    height: 3.2rem;
    background: rgba(255, 255, 255, 0.9);
}
.product-img-wrap:hover .card-slide-btn {
    opacity: 1;
}
.card-slide-btn:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.card-slide-prev {
    left: 0.8rem;
}
.card-slide-next {
    right: 0.8rem;
}
.card-dots {
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.card-dot {
    width: 0.6rem;
    height: 0.6rem;
    background: rgba(255, 255, 255, 0.6);
}
.card-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.meta-dot {
    width: 0.3rem;
    height: 0.3rem;
    background: var(--border-warm);
}
.animal-tag {
    border: 0.1rem solid rgba(194, 98, 42, 0.18);
    background: var(--primary-pale);
    color: var(--primary);
}
.adopt-btn-main:hover {
    background: var(--primary-dark);
    box-shadow: 0 0.6rem 2rem var(--primary-glow);
}
.don-arrow-btn-light {
    width: 4.8rem;
    height: 4.8rem;
}
.don-arrow-btn-light:hover {
    background: var(--primary-pale);
    border-color: var(--primary);
    color: var(--primary);
    transform: scale(1.08);
}
.don-arrow-disabled-light {
    opacity: 0.3;
    pointer-events: none;
}
.adopt-slider-dot {
    width: 0.8rem;
    height: 0.8rem;
    background: var(--border);
}
.adopt-slider-dot-active {
    background: var(--primary);
    transform: scale(1.4);
}
.srch-icon {
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
}
.srch-inp {
    padding: 1.2rem 1.4rem 1.2rem 4rem;
    border-color: var(--border);
}
.srch-inp:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.3rem var(--primary-glow);
}

/* ══ REVIEWS ══ */
.reviews-grid {
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.rev-avatar {
    width: 4.4rem;
    height: 4.4rem;
}
.rev-quote {
    font-style: italic;
    border-left: 0.3rem solid var(--primary-light);
}

/* ══ CTA BOTTOM ══ */
.cta-pattern {
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 6rem,
        rgba(194, 98, 42, 0.03) 6rem,
        rgba(194, 98, 42, 0.03) 6.1rem
    );
}
.cta-bottom-grid {
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .cta-bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.cta-box {
    background: rgba(255, 255, 255, 0.06);
    border: 0.1rem solid rgba(255, 255, 255, 0.09);
    text-align: center;
}
.cta-card-desc {
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}
.cta-box:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(194, 98, 42, 0.3);
    transform: translateY(-0.4rem);
}

/* ══ LIGHTBOX (gallery zoom) ══ */
.lightbox-overlay {
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
}
.lightbox-close {
    top: 2rem;
    right: 2rem;
    width: 4.4rem;
    height: 4.4rem;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.lbtn {
    align-self: center;
    width: 5.6rem;
    height: 5.6rem;
    background: rgba(255, 255, 255, 0.15);
    bottom: 13%;
    bottom: 5%;
}
.test {
    position: static;
}
@media (max-width: 640px) {
    .lbtn {
        position: absolute;
    }
    .lightbox-overlay {
        padding: 0;
    }
}
.lbtn-prev {
    left: 25%;
}
.lbtn-next {
    right: 25%;
}
.lbtn:hover {
    background: rgba(255, 255, 255, 0.25);
}
.lb-img-wrap {
    max-width: 90rem;
}
.lb-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}
.lb-dots {
    bottom: 2.4rem;
    left: 50%;
    transform: translateX(-50%);
}
.lb-dot {
    width: 1rem;
    height: 1rem;
    background: rgba(255, 255, 255, 0.4);
}
.lb-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* ══ ANIMAL (ADOPT) MODAL ══ */
.modal-overlay {
    background: rgba(22, 14, 6, 0.82);
    backdrop-filter: blur(1rem);
    z-index: 800;
    padding: 1.6rem;
    padding-bottom: 0;
}
.modal-box {
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    max-height: calc(100dvh - 3.2rem);
    max-width: 52rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    animation: modal-in 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.modal-box::-webkit-scrollbar {
    display: none;
}
.close-wrap {
    flex: 0 1 52rem;
    min-width: 0;
}
.modal-body {
    overflow: visible;
    min-height: 0;
}
.modal-body-scroll {
    overflow: visible;
}
@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
        padding: 2.4rem;
    }
    .modal-box {
        border-radius: var(--r-2xl);
        max-width: 88rem;
        max-height: calc(100dvh - 4.8rem);
        height: 56.82rem;
        flex-direction: row;
        overflow: hidden;
    }
    .modal-body {
        width: 50%;
        max-height: 100%;
        overflow: hidden;
    }
    .modal-body-scroll {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
    }
    .modal-body-scroll::-webkit-scrollbar {
        display: none;
    }
    .modal-img-side {
        width: 50%;
        flex-shrink: 0;
        overflow: hidden;
    }
    .modal-img-side .modal-img {
        width: 100%;
        height: 100%;
        min-height: 52rem;
        object-fit: cover;
        display: block;
    }
}
.modal-img-side {
    user-select: none;
}
.modal-img-side:active {
    cursor: grabbing;
}
.modal-img {
    height: 30rem;
    width: 100%;
}
.modal-img-overlay {
    background: linear-gradient(
        to top,
        rgba(22, 14, 6, 0.2) 0%,
        transparent 50%
    );
}
.modal-img-badges {
    top: 1.6rem;
    left: 1.6rem;
    z-index: 2;
}
.modal-name-overlay {
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
}
.modal-breed-lbl {
    color: rgba(255, 255, 255, 0.7);
}
.modal-slide-btn {
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.9);
}
.modal-slide-btn:hover {
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.modal-slide-prev {
    left: 1.2rem;
}
.modal-slide-next {
    right: 1.2rem;
}
.modal-dots {
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.modal-dot {
    width: 0.8rem;
    height: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
}
.modal-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.modal-details {
    grid-template-columns: 1fr 1fr;
}
.modal-actions {
    margin-top: auto;
}
.modal-add-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 0.8rem 2.4rem var(--primary-glow);
}
.modal-wish-btn {
    background: transparent;
}
.modal-wish-btn:hover {
    background: var(--primary-pale);
}

/* ══ ADOPT STEPS HEADER ══ */
.adopt-steps-header {
    position: sticky;
    top: 0;
    z-index: 10;
}
.form-progress-track {
    height: 0.4rem;
    background: var(--border);
}
.form-progress-fill {
    transition: width 0.4s ease;
}
.form-step-circle {
    width: 3.2rem;
    height: 3.2rem;
    background: var(--border);
}
.form-step-circle.active {
    background: var(--primary);
    color: #fff;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.3rem var(--primary-glow);
    outline: none;
}
.input-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 0.3rem rgba(192, 57, 43, 0.15) !important;
}
.form-err-inline {
    color: var(--danger);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.form-radio-btn {
    border-color: var(--border);
}
.form-radio-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-pale);
}
.form-radio-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.form-toggle-row {
    border-color: var(--border);
}
.form-toggle {
    width: 4.8rem;
    height: 2.8rem;
    background: var(--border);
    border: none;
    border-radius: 100rem;
}
.form-toggle.on {
    background: var(--primary);
}
.form-toggle-knob {
    top: 0.3rem;
    left: 0.3rem;
    width: 2.2rem;
    height: 2.2rem;
    box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.15);
}
.form-toggle.on .form-toggle-knob {
    left: calc(100% - 2.5rem);
}
.confirm-card-sub {
    color: rgba(255, 255, 255, 0.7);
}
.confirm-row {
    border-bottom: 0.1rem solid var(--border);
    padding-bottom: 1rem;
}

/* ══ SUCCESS VIEW ══ */
.success-view {
    background: linear-gradient(135deg, #2d6a4f 0%, #1a4a2e 100%);
    padding: 4.8rem 2.4rem;
    position: relative;
    overflow: hidden;
    gap: 0;
    flex: 1;
    min-height: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
.success-view::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 4rem,
        rgba(255, 255, 255, 0.03) 4rem,
        rgba(255, 255, 255, 0.03) 4.1rem
    );
    pointer-events: none;
}
.confetti-wrap {
    z-index: 0;
}
@keyframes confetti-fall {
    0% {
        transform: translateY(-2rem) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(10rem) rotate(720deg);
        opacity: 0;
    }
}
.confetti-piece {
    animation: confetti-fall 2s ease-in forwards;
    border-radius: 0.2rem;
}
.success-icon-wrap {
    z-index: 2;
    width: 9.6rem;
    height: 9.6rem;
    box-shadow: 0 0.8rem 3.2rem rgba(0, 0, 0, 0.2);
    animation: scale-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
.success-svg {
    width: 4.8rem;
    height: 4.8rem;
}
.success-check {
    stroke: #2d6a4f;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: check-draw 0.5s ease 0.7s both;
}
.success-view .playfair {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fade-up 0.5s 0.3s ease both;
}
.success-view p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    animation: fade-up 0.5s 0.4s ease both;
}
.success-view strong {
    color: #fff;
}
.adoption-ref {
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
    animation: fade-up 0.5s 0.5s ease both;
}
.adoption-ref strong {
    color: #fff;
}
.success-view .modal-add-btn {
    position: relative;
    z-index: 2;
    animation: fade-up 0.5s 0.6s ease both;
}

/* ══ MODAL CLOSE BTN ══ */
.modal-close-btn-fixed {
    top: 1rem;
    right: 1.4rem;
    z-index: 1100;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.25);
    transition:
        transform 0.22s ease,
        background 0.18s ease;
    backdrop-filter: blur(0.4rem);
}
@media (min-width: 768px) {
    .close-wrap {
        position: static;
        flex-basis: 88rem;
    }
    .modal-close-btn-fixed {
        position: fixed;
    }
}
.modal-close-btn-fixed:hover {
    transform: rotate(90deg) scale(1.1);
    background: #fff;
}

/* ══ BOOKING (widget + overlay) ══ */
.booking-em {
    font-style: italic;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.booking-card {
    box-shadow: var(--shadow-md);
}
.field-lbl {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    color: var(--text-3);
}
.form-inp {
    border: 0.15rem solid var(--border);
    width: auto;
}
.form-inp:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.3rem var(--primary-glow);
    outline: none;
}
.form-inp-err {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 0.3rem rgba(192, 57, 43, 0.12) !important;
}
.dates-grid {
    grid-template-columns: 1fr 1fr 1fr;
}
.animals-row {
    grid-template-columns: 1fr;
}
@media (min-width: 300px) {
    .animal-count {
        flex-direction: row;
    }
}
@media (max-width: 640px) {
    .dates-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .dates-grid {
        grid-template-columns: 1fr;
    }
}
@media (min-width: 660px) {
    .animals-row {
        grid-template-columns: 1fr 1fr;
    }
}
.nights-pill {
    border: 0.1rem solid rgba(194, 98, 42, 0.2);
}
.counter-btn {
    width: 3.2rem;
    height: 3.2rem;
}
.counter-btn:hover {
    background: var(--primary-pale) !important;
    border-color: var(--primary);
}
.counter-num {
    min-width: 2.4rem;
}
.animal-row-err {
    border-color: var(--danger) !important;
}
.book-cta-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 0.8rem 2.4rem var(--primary-glow);
}
.book-confirm-btn {
    background: linear-gradient(
        135deg,
        var(--primary-dark) 0%,
        var(--primary) 50%,
        #d4732f 100%
    );
    box-shadow: 0 0.6rem 2rem var(--primary-glow);
}
.book-confirm-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, #d4732f 100%);
    box-shadow: 0 1rem 3rem var(--primary-glow);
    transform: translateY(-0.2rem);
}
.confirm-btn-price {
    background: rgba(255, 255, 255, 0.2);
    letter-spacing: 0.05rem;
}
.form-err-banner {
    background: rgba(192, 57, 43, 0.07);
    border: 0.1rem solid rgba(192, 57, 43, 0.22);
    color: var(--danger);
    border-radius: 0.8rem;
}
.inp-err {
    border-color: var(--danger);
    box-shadow: 0 0 0 0.3rem rgba(192, 57, 43, 0.12);
}
.don-inp:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.3rem var(--primary-glow);
    outline: none;
}

/* ══ SAVED CARDS ══ */
.saved-card-row {
    border-color: var(--border);
}
.saved-card-row:hover {
    border-color: var(--primary);
    background: var(--primary-pale);
}
.saved-card-row-active {
    border-color: var(--primary) !important;
    border-width: 0.2rem;
    background: var(--primary-pale) !important;
}
.saved-card-icon-wrap {
    width: 4.4rem;
    height: 4.4rem;
}
.sc-chip-logo {
    width: 3.6rem;
    height: 2.4rem;
}
.sc-chip-circle {
    width: 2rem;
    height: 2rem;
    opacity: 0.9;
}
.sc-chip-c1 {
    background: #eb001b;
    left: 0;
}
.sc-chip-c2 {
    background: #f79e1b;
    left: 1.2rem;
    mix-blend-mode: multiply;
    opacity: 0.85;
}
.card-radio-dot {
    width: 2rem;
    height: 2rem;
    border: 0.2rem solid var(--border);
}
.card-radio-dot.active {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 0.3rem var(--primary-glow);
}

/* ══ BOOKING OVERLAY ══ */
.overlay-bg {
    background: rgba(22, 14, 6, 0.82);
    backdrop-filter: blur(1rem);
    z-index: 800;
}
.ov-box {
    max-height: calc(100% - 3.2rem);
    max-width: 52rem;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    box-shadow: var(--shadow-md);
    animation: modal-in 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@media (min-width: 768px) {
    .overlay-bg {
        align-items: center;
        padding: 2.4rem;
    }
    .ov-box {
        border-radius: var(--r-2xl);
        max-height: calc(100% - 4.8rem);
    }
}
.ov-sticky-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 0.1rem solid var(--border);
}
.ov-close-in-header {
    top: 50%;
    transform: translateY(-50%);
    right: 1.6rem;
    width: 3.6rem;
    height: 3.6rem;
    background: rgba(0, 0, 0, 0.06);
}
.ov-close-in-header:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: translateY(-50%) rotate(90deg);
}
.ov-scroll {
    scrollbar-width: none;
}
.book-success-body {
    background: linear-gradient(135deg, #2d6a4f 0%, #1a4a2e 100%);
}
.book-success-body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 4rem,
        rgba(255, 255, 255, 0.03) 4rem,
        rgba(255, 255, 255, 0.03) 4.1rem
    );
    pointer-events: none;
}
.book-success-title {
    z-index: 2;
    animation: fade-up 0.5s 0.3s ease both;
}
.book-success-desc {
    color: rgba(255, 255, 255, 0.75);
    z-index: 2;
    animation: fade-up 0.5s 0.4s ease both;
}
.book-success-body .adoption-ref {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
    color: #fff;
    animation: fade-up 0.5s 0.5s ease both;
}
.book-success-body .adoption-ref strong {
    color: #fff;
}
.book-success-body .success-icon-wrap {
    position: relative;
    z-index: 2;
    animation: scale-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
.book-success-body .modal-add-btn {
    position: relative;
    z-index: 2;
    animation: fade-up 0.5s 0.6s ease both;
}

/* ══ URGENT DONATIONS SECTION ══ */
.urgent-pattern {
    background: repeating-linear-gradient(
        -55deg,
        transparent,
        transparent 6rem,
        rgba(194, 98, 42, 0.03) 6rem,
        rgba(194, 98, 42, 0.03) 6.1rem
    );
}
.em-primary {
    font-style: italic;
    color: var(--primary-light);
    -webkit-text-fill-color: var(--primary-light);
}
.don-carousel-track {
    grid-template-columns: 1fr;
}
@media (min-width: 540px) {
    .don-carousel-track {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1200px) {
    .don-carousel-track {
        grid-template-columns: repeat(4, 1fr);
    }
}
.don-pg-arrow {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.12);
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
}
.don-pg-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: scale(1.08);
}
.don-arrow-disabled {
    opacity: 0.3;
    pointer-events: none;
}
.don-chip {
    background: rgba(255, 255, 255, 0.1);
    border: 0.1rem solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.7);
}
.don-chip:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.don-chip-active {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.don-chip-count {
    background: rgba(255, 255, 255, 0.18);
    color: inherit;
}
.don-chip-active .don-chip-count {
    background: rgba(255, 255, 255, 0.25);
}
.don-results-txt {
    color: rgba(255, 255, 255, 0.55);
}
.don4-card {
    background: rgba(255, 255, 255, 0.06);
    border: 0.1rem solid rgba(255, 255, 255, 0.1);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.1, 0.64, 1),
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}
.don4-card:hover {
    transform: translateY(-0.4rem);
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.35);
    border-color: rgba(194, 98, 42, 0.5);
}
.don4-img-wrap {
    height: 20rem;
}
.don4-img-wrap .card-slide-btn {
    background: rgba(22, 14, 6, 0.72);
    color: #fff;
}
.don4-img-wrap .card-slide-btn:hover {
    background: rgba(194, 98, 42, 0.85);
    color: #fff;
}
.don4-img-wrap:hover .card-slide-btn {
    opacity: 1;
}
.don4-img {
    transition: transform 0.5s ease;
}
.don4-card:hover .don4-img {
    transform: scale(1.06);
}
.don4-badges {
    top: 0.8rem;
    left: 0.8rem;
    z-index: 2;
}
.badge-urgent-pill {
    background: rgba(220, 38, 38, 0.9);
    backdrop-filter: blur(0.6rem);
    animation: pulse-urgent 2s ease-in-out infinite;
}
.badge-type-pill {
    background: rgba(22, 14, 6, 0.72);
    backdrop-filter: blur(0.6rem);
}
.don4-pct-badge {
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    width: 4.4rem;
    height: 4.4rem;
    background: rgba(22, 14, 6, 0.78);
    backdrop-filter: blur(0.8rem);
    border: 0.15rem solid rgba(194, 98, 42, 0.5);
}
.don4-img-dots {
    bottom: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.don4-img-dot {
    width: 0.6rem;
    height: 0.6rem;
    background: rgba(255, 255, 255, 0.55);
}
.don4-img-dot.active {
    background: #fff;
    transform: scale(1.35);
}
.don4-body {
    background: rgba(255, 255, 255, 0.04);
}
.don4-condition {
    color: rgba(255, 255, 255, 0.6);
}
.don4-story {
    color: rgba(255, 255, 255, 0.55);
}
.don4-raised-lbl {
    opacity: 0.6;
}
.don4-goal-lbl {
    color: rgba(255, 255, 255, 0.4);
}
.don4-track {
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
}
.don4-fill {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.don4-remaining {
    color: #fca5a5;
}
.don4-btn {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.don4-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 0.6rem 2rem var(--primary-glow);
}
.don-slider-dot {
    width: 0.8rem;
    height: 0.8rem;
    background: rgba(255, 255, 255, 0.35);
}
.don-slider-dot-active {
    background: var(--primary-light);
    transform: scale(1.4);
}

/* ══ DONATION MODAL ══ */
.don-modal-overlay {
    background: rgba(22, 14, 6, 0.82);
    backdrop-filter: blur(1rem);
    z-index: 800;
    padding: 0 1.6rem;
}
.don-modal-box {
    max-height: calc(100dvh - 3.2rem);
    max-width: 52rem;
    border-radius: var(--r-2xl) var(--r-2xl) 0 0;
    box-shadow: var(--shadow-md);
    animation: modal-in 0.38s cubic-bezier(0.34, 1.4, 0.64, 1);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.don-modal-box::-webkit-scrollbar {
    display: none;
}
.don-modal-sticky-hd {
    border-bottom: 0.1rem solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.don-img-side {
    user-select: none;
}
.don-modal-img {
    height: 30rem;
    width: 100%;
}
.don-modal-img-fade {
    background: linear-gradient(
        to top,
        rgba(22, 14, 6, 0.25) 0%,
        transparent 55%
    );
}
.don-modal-name {
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    z-index: 2;
}
.don-modal-condition {
    color: rgba(255, 255, 255, 0.65);
}
@media (min-width: 768px) {
    .don-modal-overlay {
        align-items: center;
        padding: 2.4rem;
        padding-bottom: 0;
    }
    .don-modal-box {
        flex-direction: row;
        border-radius: var(--r-2xl);
        max-width: 88rem;
        height: 54.14rem;
        overflow: hidden;
    }
    .don-img-side {
        width: 45%;
        flex-shrink: 0;
        overflow: hidden;
    }
    .don-modal-img {
        height: 100%;
    }
    .don-content-side {
        overflow: hidden;
        flex: 1;
    }
    .don-full-scroll {
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex: 1;
    }
    .don-full-scroll::-webkit-scrollbar {
        display: none;
    }
}
.don-success-view {
    background: linear-gradient(135deg, #2d6a4f 0%, #1a4a2e 100%);
    gap: 0;
}
.don-success-view::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 4rem,
        rgba(255, 255, 255, 0.03) 4rem,
        rgba(255, 255, 255, 0.03) 4.1rem
    );
    pointer-events: none;
}
.don-success-progress-wrap {
    z-index: 2;
    max-width: 32rem;
    animation: fade-up 0.5s 0.25s ease both;
}
.don-success-prog-track {
    height: 0.6rem;
    background: rgba(255, 255, 255, 0.2);
}
.don-success-prog-fill {
    background: linear-gradient(90deg, #4ade80, #22c55e);
    border-radius: 100rem;
}
.don-success-raised {
    opacity: 0.8;
}
.don-success-pct {
    color: #4ade80;
}
.don-success-view .playfair {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fade-up 0.5s 0.3s ease both;
}
.don-success-view p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
    animation: fade-up 0.5s 0.4s ease both;
}
.don-success-view strong {
    color: #fff;
}
.don-success-view .adoption-ref {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.12);
    border: 0.1rem solid rgba(255, 255, 255, 0.2);
    color: #fff;
    animation: fade-up 0.5s 0.5s ease both;
}
.don-success-view .modal-add-btn {
    position: relative;
    z-index: 2;
    animation: fade-up 0.5s 0.6s ease both;
}
.don-detail-stats-grid {
    grid-template-columns: 1fr 1fr;
}
.don-detail-stat-box {
    border-color: var(--border);
}
.don-trust-row {
    border-color: var(--border) !important;
}
.don-trust-icon {
    width: 3.6rem;
    height: 3.6rem;
}
.don-back-side-btn {
    width: 9rem;
    background: transparent;
}
.don-back-side-btn:hover {
    background: var(--primary-pale);
}
.don-presets-grid {
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 480px) {
    .don-presets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.don-preset-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.don-preset-active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}
.don-modal-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.don-modal-cta:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 0.6rem 2rem var(--primary-glow);
}
.don-confirm-btn {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.don-confirm-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 0.8rem 2.4rem var(--primary-glow);
}
.don-prog-track {
    height: 0.5rem;
    background: var(--border);
    border-radius: 100rem;
}
.don-prog-fill {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* ══ NEW-CARD FORM ══ */
.sc-add-icon {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 0.8rem;
}
/* ══ NEW CARD ══ */

.nc-card-preview {
    min-height: 13rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.3);
}
.nc-card-shine {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.04) 100%
    );
}
.nc-chip {
    width: 3.2rem;
    height: 2.4rem;
    background: linear-gradient(135deg, #f0c040, #d4a017);
    border-radius: 0.4rem;
}
.nc-chip-inner {
    width: 2rem;
    height: 1.4rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0.2rem;
}
.nc-brand-logo {
    width: 4.4rem;
    height: 2.8rem;
}
.nc-circle {
    width: 2.4rem;
    height: 2.4rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.9;
}
.nc-c1 {
    background: #eb001b;
    left: 0;
}
.nc-c2 {
    background: #f79e1b;
    left: 1.4rem;
    mix-blend-mode: multiply;
    opacity: 0.85;
}
.nc-number {
    font-family: "Courier New", monospace;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2rem;
}

.nc-label {
    letter-spacing: 0.08rem;
    color: rgba(255, 255, 255, 0.45);
}
.nc-value {
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05rem;
}
.nc-field-lbl {
    letter-spacing: 0.08rem;
}
.nc-input {
    border-radius: 0.8rem;
}
.nc-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.3rem var(--primary-glow);
    outline: none;
}
.nc-input-err {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 0.3rem rgba(192, 57, 43, 0.12) !important;
}
.nc-row {
    grid-template-columns: 1fr 1fr;
}
.nc-cvv-icon {
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
}

/*  */
.mlb-overlay {
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
}
.mlb-close {
    right: 2rem;
    top: -7rem;
    width: 4.4rem;
    height: 4.4rem;
    background: rgba(255, 255, 255, 0.15);
}
.mlb-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
.mlb-btn {
    position: absolute;
    width: 5.6rem;
    height: 5.6rem;
    background: rgba(255, 255, 255, 0.15);
    bottom: 3rem;
}
.mlb-prev {
    left: 25%;
}
.mlb-next {
    right: 25%;
}
.mlb-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}
.mlb-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90rem;
    padding: 1.6rem;
}
.mlb-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}
.mlb-dots {
    bottom: 2.4rem;
    left: 50%;
    transform: translateX(-50%);
}
.mlb-dot {
    width: 1rem;
    height: 1rem;
    background: rgba(255, 255, 255, 0.4);
}
.mlb-dot.active {
    background: #fff;
    transform: scale(1.3);
}
@media (min-width: 640px) {
    .mlb-btn {
        font-size: 3.6rem;
        position: static;
        bottom: auto;
    }
    .mlb-close {
        right: -4.4rem;
        top: -2rem;
    }
}
