
:root {
    --bg: #f6f5f1;
    --surface: #ffffff;
    --ink: #1c2430;
    --muted: #667085;
    --brand: #0f766e;
    --brand-ink: #083e3a;
    --accent: #c77d2f;
    --line: #d8dee7;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --shadow-soft: 0 10px 28px rgba(12, 25, 42, 0.08);
    --shadow-card: 0 12px 34px rgba(15, 35, 61, 0.12);
    --site-hero-min-height: clamp(240px, 20vw, 320px);
    --site-hero-padding-top: clamp(1rem, 1.5vw, 1.5rem);
    --site-hero-padding-bottom: clamp(1rem, 1.5vw, 1.5rem);
}

@media (max-width: 991.98px) {
    :root {
        --site-hero-min-height: 320px;
        --site-hero-padding-top: 1.25rem;
        --site-hero-padding-bottom: 1.1rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --site-hero-min-height: 200px;
        --site-hero-padding-top: 0.65rem;
        --site-hero-padding-bottom: 0.55rem;
    }
}


body {
    background: radial-gradient(circle at 15% -10%, #e3fbf7 0, transparent 45%), var(--bg);
    color: var(--ink);
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    line-height: 1.6;
}

body.native-offcanvas-open {
    overflow: hidden;
}

.offcanvas.is-native-open {
    visibility: visible;
    transform: none;
    z-index: 1045;
}

.native-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, "Times New Roman", serif;
    color: #111b26;
    letter-spacing: 0.2px;
}

a {
    color: var(--brand-ink);
}

.app-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid #bfd0e4;
    border-radius: 999px;
    background: #ffffff;
    color: #0e304f;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(13, 37, 64, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.app-back-link:hover {
    background: #f0f7ff;
    border-color: #8eb2d7;
    color: #0a2a45;
}

img {
    max-width: 100%;
    height: auto;
}

.brand-mark {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15rem;
    letter-spacing: 0.4px;
}

.nav-drawer-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}

.nav-drawer-btn span {
    width: 18px;
    height: 2px;
    background: #e8eef6;
    border-radius: 2px;
}

.order-timeline {
    display: grid;
    gap: 0.85rem;
}

.order-timeline-item {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 0.75rem;
    align-items: start;
}

.order-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    margin-top: 0.35rem;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.order-timeline-body {
    border: 1px solid #d9e3ef;
    border-radius: 10px;
    background: #fbfdff;
    padding: 0.55rem 0.7rem;
}


.hero-section {
    position: relative;
    padding: 4.5rem 0 3.8rem;
    background: linear-gradient(135deg, #0f766e, #0d5a54 55%, #0b3f57);
    color: #ecfff9;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -70px;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.hero-section h1 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
}

.hero-section p {
    max-width: 640px;
    color: #d7f8f1;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}


.section-block {
    padding: 3rem 0;
}

.section-head {
    margin-bottom: 1.5rem;
}

.section-head p {
    color: var(--muted);
    margin-bottom: 0;
}

.card {
    border: 1px solid rgba(13, 37, 64, 0.08);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    background: var(--surface);
}

.badge-soft {
    display: inline-block;
    background: #ebf7f4;
    color: #0c6159;
    border: 1px solid #bde4dd;
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.8rem;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    min-height: 44px;
    padding: 0.58rem 1rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.16s ease, border-color 0.16s ease,
                color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.btn:active:not(:disabled) {
    transform: translateY(1px);
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

.btn-primary {
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.22);
}

.btn-outline-primary {
    color: var(--brand);
    border-color: var(--brand);
}

.btn-outline-primary:hover:not(:disabled) {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
}

.btn-secondary {
    color: #ffffff;
    background: #536579;
    border-color: #536579;
}

.btn-outline-secondary {
    color: #46576a;
    border-color: #a9b4c0;
}

.btn-outline-secondary:hover:not(:disabled) {
    color: #ffffff;
    background: #536579;
    border-color: #536579;
}

.btn-danger {
    color: #ffffff;
    background: #b42318;
    border-color: #b42318;
}

.btn-outline-danger {
    color: #a61b13;
    border-color: #d87b75;
}

.btn-outline-danger:hover:not(:disabled) {
    color: #ffffff;
    background: #b42318;
    border-color: #b42318;
}

.btn-warning {
    color: #3d2b00;
    background: #f5c451;
    border-color: #e7b436;
}

.btn-icon {
    width: 44px;
    min-width: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon.btn-sm { min-height: 44px; }

.btn-close {
    width: 44px;
    height: 44px;
    padding: 0;
    background-size: 0.85rem;
}

.btn-sm {
    min-height: 38px;
    padding: 0.42rem 0.75rem;
}

.btn-dark {
    background: #1a2a44;
    border-color: #1a2a44;
    box-shadow: 0 3px 10px rgba(20, 36, 64, 0.2);
}

.btn-dark:hover:not(:disabled) {
    background: #132036;
    border-color: #132036;
    box-shadow: 0 4px 12px rgba(20, 36, 64, 0.26);
}

.surface-panel {
    background: var(--surface);
    border: 1px solid rgba(14, 41, 65, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 1.4rem;
}


.table {
    background: var(--surface);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table thead th {
    background: #17263d;
    color: #e8eef6;
}

.dot-warning { background: #f59e0b; }
.dot-danger { background: #dc2626; }
.dot-success { background: #10b981; }

.table td, .table th {
    vertical-align: middle;
}

.form-control,
.form-select {
    border-radius: 10px;
    border-color: #cad4e2;
}

.form-control:focus,
.form-select:focus {
    border-color: #58b6aa;
    box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.15);
}

.animate-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}






@media (max-width: 767.98px) {
    .hero-section {
        padding: 2.6rem 0 2rem;
        text-align: center;
    }

    .hero-section h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-section p {
        font-size: 0.95rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 44px;
    }
}



@media (max-width: 399px) {
    .hero-section {
        padding: 2rem 0 1.6rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        padding: 0.45rem 0.7rem;
        font-size: 0.9rem;
    }
}


@media (max-width: 767.98px) {
    .section-block {
        padding: 1.8rem 0;
    }
}


@media (max-width: 575.98px) {
    .section-head {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem;
    }

    .section-head .btn {
        align-self: flex-start;
    }
}


@media (max-width: 575.98px) {

    .surface-panel {
        padding: 1rem 0.9rem;
        border-radius: 12px;
    }
}


@media (max-width: 767.98px) {
    .table td,
    .table th {
        font-size: 0.875rem;
        padding: 0.5rem 0.6rem;
    }
}


@media (max-width: 575.98px) {
    .form-control,
    .form-select,
    textarea.form-control {
        font-size: 16px;
    }
}


@media (max-width: 767.98px) {

    .table td .btn,
    .table td .btn-sm {
        font-size: 0.78rem;
        padding: 0.4rem 0.55rem;
    }
}


@media (max-width: 767.98px) {
    .btn {
        min-height: 44px;
    }

    .page-link {
        min-width: 38px;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.3rem;
        justify-content: center;
    }

    .card-body {
        padding: 0.85rem;
    }

    .badge-soft {
        font-size: 0.75rem;
    }

    .brand-mark {
        font-size: 1rem;
    }

    .table td.text-end {
        white-space: nowrap;
    }
}


@media (max-width: 359.98px) {
    .container {
        
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-section {
        padding: 1.8rem 0 1.4rem;
    }

    .section-block {
        padding: 1.4rem 0;
    }

    .surface-panel {
        padding: 0.8rem 0.7rem;
        border-radius: 10px;
    }

    form .col-6,
    form .col-sm-6 {
        width: 100%;
        flex: 0 0 100%;
    }

    .btn {
        padding: 0.45rem 0.7rem;
        font-size: 0.9rem;
    }

    .badge-soft {
        white-space: normal;
        line-height: 1.2;
    }

    .pagination .page-link {
        font-size: 0.82rem;
        padding: 0.35rem 0.45rem;
        min-width: 34px;
        min-height: 34px;
    }

    .table td,
    .table th {
        font-size: 0.8rem;
        padding: 0.4rem 0.45rem;
    }

    .table td .btn,
    .table td .btn-sm {
        font-size: 0.72rem;
        padding: 0.35rem 0.45rem;
    }

    .card-body {
        padding: 0.75rem;
    }
}


@media (max-width: 767.98px) {
    .table-responsive,
    .surface-panel .table {
        -webkit-overflow-scrolling: touch;
    }
}
.price-inr { font-weight: 600; color: var(--brand); font-size: 1rem; }


.status-pending    { background: #fef3c7; color: #92400e; }
.status-confirmed  { background: #dbeafe; color: #1e40af; }
.status-processing { background: #ede9fe; color: #5b21b6; }
.status-shipped    { background: #e0e7ff; color: #3730a3; }
.status-delivered  { background: #d1fae5; color: #065f46; }
.status-cancelled  { background: #fee2e2; color: #991b1b; }

.pagination {
    gap: 0.35rem;
}

.pagination .page-item .page-link {
    border-radius: 10px;
    border: 1px solid rgba(13, 37, 64, 0.16);
    color: var(--ink);
    background: #ffffff;
    min-width: 40px;
    min-height: 40px;
    padding: 0.44rem 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    line-height: 1;
    transition: all 0.18s ease;
}

.pagination .page-item .page-link:hover {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
}

.pagination .page-item.active .page-link {
    color: #ffffff;
    background: var(--brand);
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.22);
}

.badge-soft--light {
    background: rgba(255, 255, 255, 0.15);
    color: #e0fff9;
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-hero {
    min-height: 44px;
    padding: 0.62rem 1.3rem;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.75rem;
}


.section-block--alt {
    background: linear-gradient(180deg, #f0fdf9 0%, var(--bg) 100%);
}


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

@media (min-width: 576px) {
    .home-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .home-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {

    .hero-actions {
        gap: 0.5rem;
    }
}

#main-content:focus {
    outline: none;
}

@keyframes site-toast-in {
    from { opacity: 0; transform: translateY(8px); }
}

@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-in,
    .animate-in.is-visible,
    .card {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}