/* ==========================================================================
   Al Raza Pakwan - site styles
   1. Tokens & base   2. Layout chrome   3. Hero & home sections
   4. Menu & cards    5. Product        6. Cart & checkout
   7. Misc components 8. Footer         9. Animations
   ========================================================================== */

/* ---------- 1. Tokens & base ---------- */
:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --accent: #ffc107;
    --ink: #1f2937;
    --muted: #6b7280;
    --line: #e8e8ec;
    --soft: #faf6f1;
    --dark: #1a1a1a;
    --radius: 18px;
    --shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--ink);
    background: #fff;
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--primary-dark);
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.text-primary {
    color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-soft {
    background: var(--soft);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-dark);
    --bs-btn-hover-border-color: var(--primary-dark);
    --bs-btn-active-bg: var(--primary-dark);
    --bs-btn-active-border-color: var(--primary-dark);
    --bs-btn-disabled-bg: var(--primary);
    --bs-btn-disabled-border-color: var(--primary);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(211, 47, 47, 0.15);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- 2. Layout chrome ---------- */
#site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.top-header {
    max-height: 44px;
    overflow: hidden;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    transition: max-height 0.3s ease;
}

.top-header .container {
    height: 44px;
}

.top-header a {
    color: inherit;
    text-decoration: none;
}

.top-header a:hover {
    color: #fff;
}

.top-header i {
    margin-right: 0.5rem;
    color: var(--accent);
}

#site-header.scrolled .top-header {
    max-height: 0;
}

.main-nav {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

#site-header.scrolled .main-nav {
    padding: 0.6rem 0;
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.1);
}

.navbar-brand {
    margin-right: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--ink);
}

.navbar-brand span {
    color: var(--primary);
}

.logo img {
    max-width: 250px;
}

.main-nav .nav-link {
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    color: #4b5563;
    font-size: 0.93rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.main-nav .nav-link:hover {
    background: #f4f4f6;
    color: var(--ink);
}

.main-nav .nav-link.active {
    background: #fdecec;
    color: var(--primary);
}

/* ---------- Dropdown Sub-menu ---------- */
.main-nav .nav-item.dropdown {
    position: relative;
}

.main-nav .dropdown-toggle::after {
    margin-left: 0.45rem;
    vertical-align: 0.16em;
    border-top: 0.32em solid currentColor;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    transition: transform 0.25s ease;
}

.main-nav .dropdown:hover .dropdown-toggle::after,
.main-nav .dropdown.show .dropdown-toggle::after,
.main-nav .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.main-nav .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 0.5rem;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(31, 41, 55, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.main-nav .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 10px;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background: #fdecec;
    color: var(--primary);
    transform: translateX(4px);
}

.main-nav .dropdown-item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #fef2f2;
    color: var(--primary);
    font-size: 0.92rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.main-nav .dropdown-item:hover .dropdown-item-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08);
}

.main-nav .dropdown-item-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.main-nav .dropdown-item-title {
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.25;
}

.main-nav .dropdown-item-desc {
    font-size: 0.74rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.2;
}

.main-nav .dropdown-item:hover .dropdown-item-desc {
    color: #7f1d1d;
}

.main-nav .dropdown-divider {
    border-color: var(--line);
    opacity: 0.8;
}

.nav-search {
    position: relative;
}

.nav-search i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: var(--muted);
}

.nav-search input {
    width: 100%;
    padding: 0.55rem 1rem 0.55rem 2.4rem;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: #f6f6f8;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}

.nav-search input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.btn-order {
    padding: 0.55rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
}

.btn-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 1.2rem;
    transition: all 0.2s;
}

.btn-cart:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    padding: 2px 5px;
    border: 2px solid #fff;
    border-radius: 50px;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 1.6rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (min-width: 992px) {
    .nav-search {
        width: 210px;
        margin-right: 0.75rem;
    }

    .main-nav .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 275px;
        margin-top: 0.5rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    }

    .main-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
    }

    .main-nav .dropdown:hover > .dropdown-menu,
    .main-nav .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        padding: 1rem 0 0.5rem;
    }

    .main-nav .navbar-nav {
        gap: 0.25rem;
        margin-bottom: 1rem;
    }

    .main-nav .dropdown-menu {
        position: static !important;
        float: none;
        margin: 0.35rem 0 0.5rem 0.5rem;
        padding: 0.4rem 0.5rem;
        background: #fbfbfd;
        border: 1px solid var(--line);
        box-shadow: none;
        transform: none !important;
    }

    .btn-order {
        display: block;
        margin-top: 0.75rem;
        text-align: center;
    }
}

/* ---------- 3. Hero & home sections ---------- */
.hero-section {
    min-height: 78vh;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.75)),
        url('images/hero.png') center / cover;
}

.hero-copy {
    max-width: 640px;
}

@media (min-width: 992px) {
    .hero-section {
        background-attachment: fixed;
    }
}

.section {
    padding: 5rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 3rem;
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin: 0;
}

.eyebrow {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.page-hero {
    padding: 4rem 0 3.5rem;
    background:
        linear-gradient(rgba(26, 26, 26, 0.82), rgba(26, 26, 26, 0.88)),
        url('images/hero.png') center / cover;
    color: #fff;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
}

.page-hero p {
    max-width: 560px;
    margin: 0.5rem auto 0;
    opacity: 0.8;
}

/* Feature strip */
.feature_section {
    background:
        radial-gradient(circle at 8% 20%, rgba(211, 47, 47, 0.12), transparent 40%),
        radial-gradient(circle at 92% 80%, rgba(255, 193, 7, 0.18), transparent 35%),
        #f3f4f6;
}

.feature_shell {
    padding: 1rem;
    border: 1px dashed rgba(0, 0, 0, 0.18);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
}

.feature_item {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 16px;
    transition: transform 0.28s, background-color 0.28s, box-shadow 0.28s;
}

.feature_item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
}

.feature_icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(211, 47, 47, 0.2);
    border-radius: 14px;
    background: linear-gradient(135deg, #fff, #fff3f3);
    color: var(--primary);
    font-size: 1.4rem;
}

.feature_copy h3 {
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.feature_copy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--muted);
}

/* Category tiles */
.cat-tile {
    position: relative;
    display: block;
    height: 280px;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    text-decoration: none;
}

.cat-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.cat-tile:hover img {
    transform: scale(1.08);
}

.cat-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0) 65%);
}

.cat-tile-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.1rem;
}

.cat-tile-body h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
}

.cat-tile-body span {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* How it works */
.step {
    height: 100%;
    padding: 2rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.step-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

/* Stats */
.stats-band {
    padding: 3.5rem 0;
    background: var(--primary);
    color: #fff;
}

.stats-band strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
}

.stats-band span {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Testimonials */
.testimonial {
    margin: 0;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.testimonial .stars {
    margin-bottom: 1rem;
    color: var(--accent);
}

.testimonial blockquote {
    margin-bottom: 1.2rem;
    color: #4b5563;
    font-style: italic;
}

.testimonial figcaption strong {
    display: block;
}

.testimonial figcaption span {
    color: var(--muted);
    font-size: 0.85rem;
}

/* CTA */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.5rem;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--dark), #3a1515);
    color: #fff;
}

.cta-band h2 {
    font-weight: 700;
}

.cta-band p {
    opacity: 0.8;
}

/* ---------- 4. Menu & cards ---------- */
.menu-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cat-pill {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.cat-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cat-pill.active {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.menu-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.menu-controls .form-select {
    width: auto;
    border-radius: 50px;
}

.dish-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.dish-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.dish-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.dish-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.dish-card:hover .dish-media img {
    transform: scale(1.07);
}

.dish-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.dish-tag.static {
    position: static;
    display: inline-block;
    background: #fdecec;
    color: var(--primary);
}

.dish-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.dish-rating {
    color: #b7791f;
    font-size: 0.82rem;
    font-weight: 600;
}

.dish-title {
    margin: 0.25rem 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.dish-title a {
    color: var(--ink);
    text-decoration: none;
}

.dish-title a:hover {
    color: var(--primary);
}

.dish-price {
    margin: 0 0 0.9rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.dish-price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--muted);
}

.dish-body .btn {
    margin-top: auto;
}

@media (max-width: 575.98px) {
    .dish-body {
        padding: 0.75rem;
    }

    .dish-title {
        font-size: 0.95rem;
    }

    .dish-body .btn {
        padding: 0.4rem 0.5rem;
        font-size: 0.82rem;
    }

    .cat-tile {
        height: 220px;
    }
}

/* ---------- 5. Product ---------- */
.product-photo {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.product-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.size-option {
    display: block;
    height: 100%;
    cursor: pointer;
}

.size-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.size-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    height: 100%;
    padding: 0.9rem;
    border: 2px solid var(--line);
    border-radius: 14px;
    transition: all 0.2s;
}

.size-card small {
    color: var(--muted);
    font-size: 0.75rem;
}

.size-card em {
    margin-top: 0.3rem;
    color: var(--primary);
    font-style: normal;
    font-weight: 700;
}

.size-option:hover .size-card {
    border-color: #f1b3b3;
}

.size-option input:checked+.size-card {
    border-color: var(--primary);
    background: #fff6f6;
}

.size-option input:focus-visible+.size-card {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.perk-list {
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 0.92rem;
}

.perk-list li {
    margin-bottom: 0.5rem;
}

.perk-list i {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* ---------- 6. Cart & checkout ---------- */
.panel {
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.summary-panel {
    position: sticky;
    top: 100px;
}

.qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: #fff;
}

.qty button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: none;
    transition: background 0.2s;
}

.qty button:hover {
    background: #f1f1f4;
}

.qty [data-qty] {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
}

.cart-line {
    display: grid;
    grid-template-columns: 84px 1fr auto 110px auto;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.cart-line:first-child {
    padding-top: 0;
}

.cart-line:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.cart-line img {
    width: 84px;
    height: 84px;
    border-radius: 14px;
    object-fit: cover;
}

.cart-line-total {
    text-align: right;
}

@media (max-width: 767.98px) {
    .cart-line {
        grid-template-columns: 70px 1fr auto;
    }

    .cart-line img {
        width: 70px;
        height: 70px;
    }

    .cart-line .qty {
        grid-column: 2;
        justify-self: start;
    }

    .cart-line-total {
        grid-column: 3;
        grid-row: 2;
    }

    .cart-line .btn-icon {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
}

.btn-icon {
    border: 0;
    background: none;
    color: var(--muted);
    transition: color 0.2s;
}

.btn-icon:hover {
    color: var(--primary);
}

.sum-row {
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0;
    font-size: 0.95rem;
}

.sum-total {
    margin-top: 0.4rem;
    padding-top: 0.9rem;
    border-top: 1px dashed #cfcfd6;
    font-size: 1.15rem;
    font-weight: 700;
}

.promo-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.free-ship {
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: #fff7e0;
    color: #8a6200;
    font-size: 0.82rem;
}

.free-ship.ok {
    background: #e8f6ec;
    color: #1d6b37;
}

.mini-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--line);
}

.mini-line img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
}

.pay-option {
    display: block;
    height: 100%;
    cursor: pointer;
}

.pay-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pay-option span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    height: 100%;
    padding: 1rem 0.5rem;
    border: 2px solid var(--line);
    border-radius: 14px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
}

.pay-option i {
    font-size: 1.5rem;
    color: var(--primary);
}

.pay-option input:checked+span {
    border-color: var(--primary);
    background: #fff6f6;
}

.pay-option input:focus-visible+span {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.success-card {
    padding: 2rem 1rem;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: #e8f6ec;
    color: #1d8f46;
    font-size: 2.6rem;
}

.order-id {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1.4rem;
    border: 1px dashed var(--primary);
    border-radius: 50px;
    color: var(--primary);
}

/* ---------- 7. Misc components ---------- */
.empty-state i {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 3.5rem;
    color: #c7c7cf;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.contact-list i {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fdecec;
    color: var(--primary);
}

.contact-list strong {
    display: block;
}

.contact-list span,
.contact-list a {
    color: var(--muted);
    text-decoration: none;
}

.toast-host {
    position: fixed;
    right: 1rem;
    bottom: 5.5rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast-msg {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    max-width: 320px;
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
    background: var(--dark);
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
}

.toast-msg.show {
    opacity: 1;
    transform: none;
}

.toast-success i {
    color: #4ade80;
}

.toast-error i {
    color: #f87171;
}

.wa-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.2s;
}

.wa-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* ---------- 8. Footer ---------- */
.site-footer {
    background: var(--dark);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.88rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.social-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/* ---------- 9. Animations ---------- */
.animate-fade-up,
.animate-fade-down {
    opacity: 0;
    animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-up {
    transform: translateY(30px);
}

.animate-fade-down {
    transform: translateY(-30px);
}

.delay-100 {
    animation-delay: 0.2s;
}

.delay-200 {
    animation-delay: 0.4s;
}

@keyframes fade-in {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .animate-fade-up,
    .animate-fade-down {
        opacity: 1;
        transform: none;
    }
}