:root {
    color-scheme: light dark;
    --bg: #f4f7fc;
    --surface: #ffffff;
    --surface-strong: #e7edf8;
    --text: #102a43;
    --text-muted: #52606d;
    --primary: #1b3a65;
    --primary-soft: #edf3fb;
    --accent: #2563eb;
    --accent-soft: #eff6ff;
    --border: #d8e2ef;
    --shadow: 0 18px 55px rgba(17, 33, 66, 0.08);
}

body.theme-dark {
    --bg: #091625;
    --surface: #11203a;
    --surface-strong: #1a2d51;
    --text: #f8fafc;
    --text-muted: #cbd5e1;
    --primary: #5586de;
    --primary-soft: rgba(86, 132, 235, 0.16);
    --accent: #86b5ff;
    --accent-soft: rgba(134, 181, 255, 0.12);
    --border: rgba(255,255,255,0.08);
    --shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

button, input, select, textarea {
    font: inherit;
}

.page-shell {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
    box-shadow: 0 18px 60px rgba(17, 33, 66, 0.12);
    padding: 1rem clamp(1rem, 4vw, 2rem);
    transition: all 0.35s ease;
}

/* Mobile Drawer Navigation */
.mobile-nav-overlay {
    display: none;
}

.mobile-nav-overlay.active {
    display: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.mobile-nav-drawer {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 900px) {
    .mobile-nav-drawer {
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--surface);
        z-index: 45;
        padding: 5rem 1.5rem 2rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-nav-drawer.active {
        transform: translateX(0);
        animation: slideInLeft 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .mobile-nav-item {
        display: block;
        width: 100%;
        padding: 1rem 1rem;
        margin-bottom: 0.5rem;
        color: var(--text);
        text-decoration: none;
        border-radius: 0.75rem;
        background: var(--surface-strong);
        border: 1px solid var(--border);
        transition: all 0.3s ease;
        font-weight: 500;
    }

    .mobile-nav-item:hover {
        background: var(--accent-soft);
        color: var(--accent);
        transform: translateX(4px);
    }

    .mobile-nav-logout {
        margin-top: 1rem;
        background: rgba(200, 50, 50, 0.1);
        color: #dc2626;
        border-color: rgba(220, 38, 38, 0.3);
    }

    .mobile-nav-logout:hover {
        background: rgba(200, 50, 50, 0.2);
        color: #7f1d1d;
    }

    .mobile-nav-divider {
        margin: 1rem 0;
        border: none;
        border-top: 1px solid var(--border);
    }
}

.mobile-nav-overlay {
    display: none;
}

.mobile-nav-overlay.active {
    display: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.mobile-nav-drawer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--surface);
    z-index: 45;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.main-header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.6), rgba(59, 130, 246, 0.4), rgba(37, 99, 235, 0.3));
    border-radius: 3px;
}

body.theme-dark .main-header {
    background: rgba(17, 32, 58, 0.95);
}

.admin-header {
    background: rgba(8, 16, 38, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.admin-header .brand-link,
.admin-header .theme-toggle,
.admin-header .menu-toggle {
    color: #f8fafc;
}

.admin-header .theme-toggle,
.admin-header .menu-toggle {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.08);
}

.admin-header .brand-link:hover {
    opacity: 0.95;
}

.main-header.scrolled {
    padding: 0.85rem 1.5rem;
    box-shadow: 0 8px 32px rgba(12, 34, 68, 0.15);
}

.brand-bar,
.site-footer,
.hero-section,
.page-content {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.brand-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
    color: var(--text);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.brand-mark {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    box-shadow: 0 12px 30px rgba(27, 58, 101, 0.24);
}

.brand-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.15;
}

.theme-toggle {
    border: none;
    background: var(--surface-strong);
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--border);
    transform: rotate(20deg);
}

.menu-toggle {
    display: none;
    border: none;
    background: var(--surface-strong);
    color: var(--text);
    cursor: pointer;
    font-size: 1.1rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 1rem;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--border);
}

.nav-actions .btn {
    min-width: 6.5rem;
    padding: 0.85rem 1.4rem;
}

.main-nav {
    display: none;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    padding: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.main-nav a,
.nav-actions a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    transition: all 0.3s ease;
}

.main-nav a {
    position: relative;
    padding: 0.85rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.65);
    color: var(--text);
    box-shadow: inset 0 0 0 1px transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.16);
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.5rem;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease, left 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: calc(100% - 1.2rem);
    left: 0.6rem;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0;
}

.cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--surface-strong);
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}


.cart-link:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    box-shadow: 0 6px 20px rgba(27, 58, 101, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
}

.btn-outline {
    color: var(--text);
    border-color: var(--border);
    background: transparent;
}

.btn-outline:hover {
    background: var(--surface-strong);
    border-color: var(--accent);
}

.btn-secondary {
    background: var(--surface-strong);
    color: var(--text);
}

.hero-section {
    display: grid;
    gap: 1.75rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
    align-items: center;
    padding: 3rem 0 2rem;
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 700;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 3.5vw, 4.25rem);
    line-height: 1;
    margin: 1rem 0 1rem;
}

.hero-section p {
    max-width: 44rem;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-media {
    width: 100%;
    max-width: 760px;
    min-height: auto;
    border-radius: 2rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin: 0 auto;
}

.hero-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.service-hero {
    margin-bottom: 2rem;
}

.service-hero img {
    width: 100%;
    border-radius: 1.5rem;
    object-fit: cover;
    max-height: 460px;
}

.section-intro {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-intro h2 {
    margin: 0;
    font-size: 1.9rem;
}

.grid-card-list {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.card-body {
    padding: 1.35rem;
}

.card-tag,
.badge {
    display: inline-flex;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
}

.card-title {
    margin: 0.9rem 0 0.7rem;
    font-size: 1.2rem;
}

.card-text {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.card-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.card-footer .price {
    font-weight: 700;
    color: var(--primary);
    order: -1;
}

.service-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-add-cart {
    min-width: 120px;
}

.card-footer .btn {
    width: 100%;
}

.stats-grid,
.footer-grid {
    display: grid;
    gap: 1.5rem;
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin-top: 2rem;
}

.stat-card {
    padding: 1.5rem;
    background: var(--surface-strong);
    border-radius: 1.5rem;
    border: 1px solid var(--border);
}

.table-card {
    overflow-x: auto;
    background: var(--surface);
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.orders-table th,
.orders-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.orders-table th {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.orders-table tbody tr:hover {
    background: var(--surface-strong);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.filter-form input,
.filter-form select {
    min-width: 220px;
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.filter-summary {
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

.user-edit-form {
    display: grid;
    gap: 1rem;
    max-width: 520px;
}

.user-edit-form label {
    display: grid;
    gap: 0.5rem;
}

.user-edit-form input,
.user-edit-form select {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--surface-strong);
    color: var(--text);
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.btn-danger {
    background: #d92d20;
    color: #fff;
    border-color: transparent;
}

.btn-danger:hover {
    background: #b42318;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

.page-link:hover {
    background: var(--surface-strong);
}

.page-link.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.order-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.order-items-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1rem;
    background: var(--surface-strong);
    border-radius: 1rem;
    border: 1px solid var(--border);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.6rem;
}

.stat-card p {
    margin: 0;
    color: var(--text-muted);
}

.testimonials,
.faq-list {
    display: grid;
    gap: 1rem;
}

.testimonial,
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.5rem;
}

.testimonial p,
.faq-item p {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.faq-question {
    font-weight: 700;
}

.page-section {
    padding: 3rem 0;
}

.content-grid {
    display: grid;
    gap: 1.5rem;
}

.content-grid .card {
    border: none;
}

.contact-page .contact-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2rem;
}

@media (max-width: 900px) {
    .contact-page .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-grid > div,
    .contact-page .contact-grid > aside {
        width: 100%;
    }
}

.service-detail-page {
    max-width: 1180px;
    margin-inline: auto;
}

.service-hero-banner {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.service-hero-banner img {
    width: 100%;
    height: min(560px, 55vh);
    object-fit: cover;
    filter: saturate(1.05) brightness(0.9);
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    background: linear-gradient(180deg, rgba(7, 14, 32, 0) 0%, rgba(7, 14, 32, 0.82) 70%);
    color: #fff;
}

.service-hero-overlay h1 {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2.75rem, 4vw, 4.5rem);
    line-height: 1.05;
}

.service-hero-overlay p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.8;
}

.service-meta-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.service-meta-chips .badge {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-intro-copy h2 {
    margin-top: 0;
    font-size: 2rem;
}

.service-intro-copy p {
    color: var(--text-muted);
    line-height: 1.9;
    max-width: 760px;
}

.service-feature-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 1.5rem;
}

.feature-card {
    border-radius: 1.75rem;
    box-shadow: 0 16px 45px rgba(18, 46, 91, 0.08);
}

.feature-card .card-body {
    padding: 1.75rem;
}

.feature-card h4 {
    margin: 0 0 0.75rem;
}

.service-details-text {
    margin-top: 2rem;
}

.service-details-text h3 {
    margin-bottom: 0.85rem;
}

.service-details-text p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.85;
}

.pricing-panel {
    position: sticky;
    top: 2rem;
    padding: 0;
    overflow: hidden;
}

.pricing-panel .card-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
}

.pricing-header {
    display: grid;
    gap: 0.5rem;
}

.pricing-header .price {
    font-size: clamp(2.5rem, 3vw, 3.25rem);
    margin: 0;
    color: var(--primary);
}

.price-copy {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.75;
}

.feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--primary);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.download-note {
    display: grid;
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.download-note p {
    margin: 0;
    color: var(--text-muted);
}

.meta-text {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.grid-card-list {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.form-field {
    display: grid;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.form-field label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    padding: 0.95rem 1rem;
}

.form-field textarea {
    min-height: 160px;
    resize: vertical;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1.75rem;
}

.checkout-main {
    display: grid;
    gap: 1.5rem;
}

.checkout-card {
    border-radius: 1.75rem;
    padding: 1.75rem;
}

.checkout-card-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.checkout-card-header h3,
.summary-header h3 {
    margin: 0;
}

.checkout-card-header .badge {
    background: var(--accent-soft);
    color: var(--accent);
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
}

.checkout-form {
    display: grid;
    gap: 1rem;
}

.upi-details {
    margin-top: 0.5rem;
}

.upi-card {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 1rem;
    padding: 1rem;
}

.upi-id {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.upi-instructions {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.checkout-actions {
    display: flex;
    justify-content: flex-start;
}

.checkout-help,
.coupon-hint {
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.checkout-summary-card {
    position: sticky;
    top: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
    align-items: center;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    font-size: 1.15rem;
}

.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
}

.cart-items-column {
    display: grid;
    gap: 1rem;
}

.cart-item-card {
    padding: 1.25rem;
    border-radius: 1.5rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
}

.cart-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
}

.quantity-pill,
.line-total {
    background: var(--surface);
    color: var(--text);
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 600;
}

.cart-summary-card {
    position: sticky;
    top: 1rem;
}

.cart-floating-cta {
    display: none;
}

.btn-fab {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    border-radius: 999px;
}

.btn-remove {
    min-width: auto;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
}

.btn-full {
    width: 100%;
}

.section-copy {
    margin: 0.75rem 0 0;
    color: var(--text-muted);
    max-width: 740px;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .checkout-summary-card {
        position: static;
    }
    .main-header {
        grid-template-columns: auto 1fr auto;
        padding: 1rem 1rem;
    }
    .brand-link {
        gap: 0.5rem;
    }
    .brand-mark {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.9rem;
    }
    .brand-text {
        display: none;
    }
    .theme-toggle {
        display: none;
    }
    .menu-toggle {
        display: grid;
    }
    .nav-actions {
        display: none;
    }
    .mobile-nav-drawer {
        display: block;
    }
    .mobile-nav-drawer.active {
        transform: translateX(0);
    }
    .mobile-nav-overlay {
        display: none;
    }
    .mobile-nav-overlay.active {
        display: fixed;
    }
}
    .main-nav a {
        width: 100%;
        padding: 1rem 1.2rem;
        border-radius: 1.25rem;
        background: var(--surface-strong);
    }
    .cart-link {
        width: 2.8rem;
        height: 2.8rem;
    }
    .cart-page-grid {
        grid-template-columns: 1fr;
    }
    .cart-item-header {
        flex-direction: column;
        align-items: stretch;
    }
    .cart-item-meta {
        flex-direction: column;
        align-items: stretch;
    }
    .cart-summary-card {
        position: static;
    }
    .cart-summary-card .btn-primary {
        display: none;
    }
    .page-section {
        padding-bottom: 7rem;
    }
    .section-intro {
        gap: 1rem;
        display: grid;
    }
    .section-intro .btn-primary {
        width: 100%;
        max-width: 100%;
    }
    .cart-floating-cta {
        display: block;
    }
    .cart-floating-cta .btn-fab {
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        z-index: 50;
    }
}

.flash-alert {
    margin: 1rem auto 0;
    max-width: min(1200px, calc(100% - 2rem));
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #e2f0ff;
    color: #0f3d91;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.site-footer {
    border-top: 1px solid var(--border);
    margin-top: auto;
    padding: 1.5rem 0 2rem;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.footer-grid.footer-grid-simple {
    grid-template-columns: 1.4fr 1fr;
}

.footer-grid h4,
.footer-grid h3 {
    margin: 0 0 0.7rem;
    font-size: 0.95rem;
}

.footer-contact-info p,
.footer-grid a,
.footer-bottom {
    font-size: 0.88rem;
}

.footer-contact-info p {
    margin: 0 0 0.5rem;
    color: var(--text-muted);
}

.footer-contact-info a {
    color: inherit;
    text-decoration: none;
}

.phone-highlight {
    background: #fff17633; /* soft yellow */
    padding: 0 4px;
    border-radius: 3px;
    font-weight: 700;
}

.footer-contact-info a {
    color: inherit;
    text-decoration: none;
}

.footer-actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-actions .btn {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

.footer-map iframe {
    width: 100%;
    height: 220px;
    border-radius: 1rem;
    border: 0;
}

.footer-grid a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.6rem;
}

.footer-bottom {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    color: var(--text-muted);
}

.app-bottom-nav {
    display: none;
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    padding: 0.5rem 0.5rem 0.75rem;
    background: rgba(17, 33, 66, 0.95);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
}

.app-bottom-nav .nav-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 25%;
    min-height: 3.75rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 0.6rem 0.35rem;
    border-radius: 1rem;
    transition: background 0.2s ease;
}

.app-bottom-nav .nav-item:hover,
.app-bottom-nav .nav-item.active {
    background: rgba(255, 255, 255, 0.08);
}

.app-bottom-nav .nav-item i {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

@media (max-width: 680px) {
    .app-bottom-nav {
        display: flex;
    }
    .page-shell {
        padding-bottom: 4.5rem;
    }
}

@media (min-width: 900px) {
    .main-nav {
        display: flex;
    }
    .main-header {
        padding: 0 0 0.5rem;
    }
}

@media (max-width: 899px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding-top: 2rem;
    }
    .nav-actions {
        justify-content: flex-start;
    }
    .card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    .service-actions {
        flex-direction: column;
    }
    .btn-add-cart {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .brand-bar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 0.75rem;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 1rem;
        overflow: hidden;
    }
    .main-nav.open {
        display: flex;
    }
    .main-nav a {
        display: block;
        padding: 1rem 1.25rem;
        width: 100%;
        border-bottom: 1px solid rgba(16, 42, 67, 0.08);
    }
    .main-nav a:last-child {
        border-bottom: none;
    }
    .menu-toggle {
        display: inline-grid;
    }
    .nav-actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        width: 100%;
    }
    .brand-text {
        font-size: 1rem;
    }
    .theme-toggle {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.95rem;
    }
    .btn {
        padding: 0.65rem 1rem;
        font-size: 0.9rem;
        min-width: 110px;
    }
    .btn-primary,
    .btn-outline {
        min-width: 110px;
    }
    .cart-link {
        width: 2.6rem;
        height: 2.6rem;
    }
    .cart-link span {
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-section {
        padding-top: 1.5rem;
    }
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    padding: 1rem 1rem;
    margin: 0 auto;
    width: min(1200px, calc(100% - 2rem));
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(8, 16, 38, 0.92);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 20px 60px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(18px);
}

.admin-nav a {
    color: var(--text);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-1px);
}

.admin-site-link {
    margin-left: 0;
}

.admin-menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    cursor: pointer;
}

.admin-nav.admin-nav-open {
    display: flex;
}

.admin-header .main-nav,
.admin-header .nav-actions {
    display: none;
}

body.admin-section {
    --bg: #061226;
    --surface: #0f1d3b;
    --surface-strong: rgba(13, 26, 52, 0.95);
    --text: #f8fbff;
    --text-muted: #b8d3f7;
    --primary: #6d8ff5;
    --primary-soft: rgba(109, 143, 245, 0.16);
    --accent: #8db6ff;
    --accent-soft: rgba(141, 182, 255, 0.12);
    --border: rgba(255,255,255,0.08);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

body.admin-section .main-header {
    background: rgba(8, 16, 38, 0.92);
    border-bottom-color: rgba(255,255,255,0.08);
}

body.admin-section .brand-bar {
    background: transparent;
}

body.admin-section .admin-nav {
    background: rgba(8, 16, 38, 0.92);
    border-top-color: rgba(255,255,255,0.08);
    border-bottom-color: rgba(255,255,255,0.08);
}

body.admin-section .admin-nav a {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd7ff;
    border-color: rgba(255, 255, 255, 0.08);
}

body.admin-section .admin-nav a:hover,
body.admin-section .admin-nav a.active {
    background: rgba(109, 143, 245, 0.18);
    color: #fff;
    border-color: rgba(109, 143, 245, 0.28);
}

.admin-nav::-webkit-scrollbar {
    height: 6px;
}

.admin-nav::-webkit-scrollbar-thumb {
    background: rgba(109, 143, 245, 0.4);
    border-radius: 999px;
}

.admin-nav::-webkit-scrollbar-track {
    background: transparent;
}

@media (max-width: 900px) {
    .admin-nav {
        display: none;
    }
    .admin-nav.admin-nav-open {
        display: flex;
        flex-direction: column;
    }
    .admin-menu-toggle {
        display: inline-flex;
    }
}
