/* ==========================================================================
   NothiPoints Design System — "Elegant Beauty"
   Soft ivory / rose-gold / charcoal. Playfair Display + Jost.
   Loaded after Bootstrap 5.3; overrides Bootstrap CSS variables.
   ========================================================================== */

:root {
    /* Palette */
    --np-ivory: #faf6f1;
    --np-cream: #f4ece4;
    --np-blush: #f0ded7;
    --np-rose: #d9a7a0;
    --np-rose-deep: #b76e79;
    --np-rose-dark: #9c5b66;
    --np-gold: #c6a15b;
    --np-gold-soft: #e9dcc3;
    --np-ink: #2e2a26;
    --np-ink-soft: #5c544c;
    --np-muted: #94897e;
    --np-line: #e8ddd2;
    --np-white: #ffffff;
    --np-success: #6f8f6a;
    --np-danger: #b3544e;

    /* Bootstrap variable overrides */
    --bs-body-bg: var(--np-ivory);
    --bs-body-color: var(--np-ink);
    --bs-body-font-family: "Jost", "Segoe UI", system-ui, sans-serif;
    --bs-primary: var(--np-rose-dark);
    --bs-primary-rgb: 156, 91, 102;
    --bs-secondary: var(--np-ink-soft);
    --bs-success: var(--np-success);
    --bs-danger: var(--np-danger);
    --bs-border-color: var(--np-line);
    --bs-border-radius: 0.75rem;
    --bs-border-radius-lg: 1.25rem;
    --bs-border-radius-pill: 50rem;

    /* Typography */
    --np-font-display: "Playfair Display", Georgia, serif;
    --np-font-body: "Jost", "Segoe UI", system-ui, sans-serif;

    /* Elevation */
    --np-shadow-sm: 0 2px 10px rgba(46, 42, 38, 0.06);
    --np-shadow-md: 0 8px 28px rgba(46, 42, 38, 0.10);
    --np-shadow-lg: 0 18px 50px rgba(46, 42, 38, 0.14);

    /* Layout */
    --np-header-h: 76px;
    --np-container: 1240px;
}

/* ---------- Base ---------- */

html { scroll-behavior: smooth; }

body {
    font-family: var(--np-font-body);
    background: var(--np-ivory);
    color: var(--np-ink);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-font {
    font-family: var(--np-font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--np-ink);
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); line-height: 1.12; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

a { color: var(--np-rose-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--np-rose-deep); }

::selection { background: var(--np-blush); color: var(--np-ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--np-cream); }
::-webkit-scrollbar-thumb { background: var(--np-rose); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--np-rose-deep); }

/* ---------- Buttons ---------- */

.btn {
    font-family: var(--np-font-body);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.78rem;
    padding: 0.7rem 1.6rem;
    border-radius: var(--bs-border-radius-pill);
    border: 1px solid transparent;
    transition: all .22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.btn:focus-visible { box-shadow: 0 0 0 0.2rem rgba(183, 110, 121, .25); }

.btn-primary {
    background: linear-gradient(135deg, var(--np-rose-deep), var(--np-rose-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(156, 91, 102, .28);
}
.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(135deg, var(--np-rose-dark), #7d4a54);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(156, 91, 102, .34);
}

.btn-outline-primary {
    color: var(--np-rose-dark);
    border-color: var(--np-rose);
    background: transparent;
}
.btn-outline-primary:hover {
    background: var(--np-rose-dark);
    border-color: var(--np-rose-dark);
    color: #fff;
}

.btn-outline-dark {
    color: var(--np-ink);
    border-color: var(--np-ink);
}
.btn-outline-dark:hover { background: var(--np-ink); color: var(--np-ivory); }

.btn-light {
    background: var(--np-white);
    color: var(--np-ink);
    border-color: var(--np-line);
    box-shadow: var(--np-shadow-sm);
}
.btn-light:hover { background: var(--np-cream); color: var(--np-ink); }

.btn-lg { padding: 0.9rem 2.1rem; font-size: 0.82rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.72rem; }

/* Icon buttons */
.btn-icon {
    width: 42px; height: 42px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* ---------- Cards ---------- */

.card {
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--np-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { box-shadow: var(--np-shadow-md); }
.card-header {
    background: transparent;
    border-bottom: 1px solid var(--np-line);
    font-family: var(--np-font-display);
    font-size: 1.05rem;
    padding: 1.1rem 1.4rem;
}
.card-body { padding: 1.4rem; }

/* Product card */
.product-card .card-img-top,
.product-card .product-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--np-cream);
    border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
}
.product-card .card-body { padding: 1rem 1.1rem 1.2rem; }
.product-card .product-name {
    font-family: var(--np-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--np-ink);
    margin-bottom: .2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: display;
    overflow: hidden;
}
.product-card .product-brand { color: var(--np-muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.product-card .product-price { font-family: var(--np-font-display); font-size: 1.15rem; font-weight: 700; color: var(--np-rose-dark); }
.product-card .product-old-price { color: var(--np-muted); text-decoration: line-through; font-size: .85rem; }
.product-card .badge-discount {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--np-gold);
    color: #fff;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    padding: .3rem .6rem;
    border-radius: var(--bs-border-radius-pill);
}
.product-card { position: relative; overflow: hidden; }
.product-card .card-actions {
    position: absolute;
    inset-inline-end: 12px;
    bottom: 64px;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s ease;
}
.product-card:hover .card-actions { opacity: 1; transform: translateY(0); }
.product-card .card-actions .btn-icon {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(6px);
    color: var(--np-ink);
    width: 38px; height: 38px;
    box-shadow: var(--np-shadow-sm);
}
.product-card .card-actions .btn-icon:hover { background: var(--np-rose-dark); color: #fff; }
@media (hover: none) { .product-card .card-actions { opacity: 1; transform: none; position: static; flex-direction: row; padding: 0 1.1rem .8rem; } }

/* ---------- Badges / pills ---------- */

.badge {
    font-weight: 500;
    letter-spacing: .04em;
    padding: .4em .8em;
    border-radius: var(--bs-border-radius-pill);
}
.badge.bg-success, .badge.text-bg-success { background: rgba(111,143,106,.14) !important; color: var(--np-success) !important; }
.badge.bg-danger, .badge.text-bg-danger { background: rgba(179,84,78,.12) !important; color: var(--np-danger) !important; }
.badge.bg-warning, .badge.text-bg-warning { background: rgba(198,161,91,.18) !important; color: #8a6d3b !important; }
.badge.bg-primary, .badge.text-bg-primary { background: rgba(156,91,102,.12) !important; color: var(--np-rose-dark) !important; }
.badge.bg-secondary, .badge.text-bg-secondary { background: rgba(92,84,76,.1) !important; color: var(--np-ink-soft) !important; }
.badge.bg-light, .badge.text-bg-light { background: var(--np-cream) !important; color: var(--np-ink-soft) !important; border: 1px solid var(--np-line); }

/* Status pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .4rem .85rem;
    border-radius: var(--bs-border-radius-pill);
    background: var(--np-cream);
    color: var(--np-ink-soft);
}
.status-pill::before {
    content: "";
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
}
.status-pill.is-success { background: rgba(111,143,106,.14); color: var(--np-success); }
.status-pill.is-danger { background: rgba(179,84,78,.12); color: var(--np-danger); }
.status-pill.is-warning { background: rgba(198,161,91,.18); color: #8a6d3b; }
.status-pill.is-info { background: rgba(156,91,102,.12); color: var(--np-rose-dark); }

/* ---------- Forms ---------- */

.form-control, .form-select {
    font-family: var(--np-font-body);
    font-size: .92rem;
    padding: .65rem .95rem;
    border: 1px solid var(--np-line);
    border-radius: 0.65rem;
    background: var(--np-white);
    color: var(--np-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus, .form-select:focus {
    border-color: var(--np-rose);
    box-shadow: 0 0 0 .2rem rgba(183,110,121,.15);
    background: var(--np-white);
}
.form-control::placeholder { color: var(--np-muted); }
.form-label { font-weight: 500; font-size: .85rem; color: var(--np-ink-soft); margin-bottom: .35rem; }
.form-text { color: var(--np-muted); font-size: .8rem; }

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder { color: var(--np-muted); opacity: 1; }

.input-group-text {
    background: var(--np-cream);
    border: 1px solid var(--np-line);
    color: var(--np-ink-soft);
    border-radius: 0.65rem;
}

/* Search */
.search-box .form-control {
    border-radius: var(--bs-border-radius-pill);
    padding-inline: 1.2rem 3rem;
    background: var(--np-white);
    border-color: var(--np-line);
}
.search-box .btn-search {
    position: absolute;
    inset-inline-end: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    border-radius: 50%;
    padding: 0;
    background: var(--np-rose-dark);
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Alerts / flash ---------- */

.alert {
    border: none;
    border-radius: var(--bs-border-radius-lg);
    font-size: .9rem;
    padding: 1rem 1.25rem;
}
.alert-success { background: rgba(111,143,106,.14); color: #4c6647; }
.alert-danger { background: rgba(179,84,78,.12); color: var(--np-danger); }
.alert-warning { background: rgba(198,161,91,.18); color: #8a6d3b; }
.alert-info { background: rgba(156,91,102,.1); color: var(--np-rose-dark); }

/* ---------- Tables ---------- */

.table { --bs-table-bg: transparent; --bs-table-color: var(--np-ink); }
.table thead th {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--np-muted);
    border-bottom: 1px solid var(--np-line);
    padding: .85rem .75rem;
    white-space: nowrap;
}
.table td { padding: .85rem .75rem; vertical-align: middle; border-color: var(--np-line); }
.table tbody tr { transition: background .15s ease; }
.table-hover tbody tr:hover { background: var(--np-cream); }
.table-striped > tbody > tr:nth-of-type(odd) > * { --bs-table-accent-bg: var(--np-ivory); }

/* ---------- Pagination ---------- */

.pagination { gap: .3rem; }
.page-link {
    color: var(--np-rose-dark);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-pill) !important;
    padding: .5rem .9rem;
    font-size: .85rem;
    background: var(--np-white);
}
.page-item.active .page-link {
    background: var(--np-rose-dark);
    border-color: var(--np-rose-dark);
    color: #fff;
}
.page-link:hover { background: var(--np-blush); color: var(--np-rose-dark); }

/* ---------- Nav / tabs / dropdowns ---------- */

.nav-pills .nav-link {
    color: var(--np-ink-soft);
    font-weight: 500;
    font-size: .85rem;
    letter-spacing: .04em;
    padding: .55rem 1.1rem;
    border-radius: var(--bs-border-radius-pill);
}
.nav-pills .nav-link.active {
    background: var(--np-rose-dark);
    color: #fff;
}
.nav-pills .nav-link:not(.active):hover { background: var(--np-blush); color: var(--np-ink); }

.nav-tabs { border-bottom: 1px solid var(--np-line); }
.nav-tabs .nav-link {
    color: var(--np-ink-soft);
    font-weight: 500;
    border: none;
    border-bottom: 2px solid transparent;
    padding: .8rem 1.2rem;
    font-size: .88rem;
}
.nav-tabs .nav-link.active {
    color: var(--np-rose-dark);
    border-bottom-color: var(--np-rose-dark);
    background: transparent;
}

.dropdown-menu {
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--np-shadow-md);
    padding: .5rem;
}
.dropdown-item { border-radius: .5rem; font-size: .9rem; padding: .5rem .85rem; }
.dropdown-item:hover { background: var(--np-blush); color: var(--np-ink); }

/* ---------- Section helpers ---------- */

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--np-line), transparent);
}
.section-title .eyebrow {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--np-gold);
    display: block;
    margin-bottom: .15rem;
}

.eyebrow {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--np-gold);
}

/* Elegant divider ornament */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    color: var(--np-rose);
}
.ornament::before, .ornament::after {
    content: "";
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--np-rose));
}
.ornament::after { background: linear-gradient(90deg, var(--np-rose), transparent); }

/* ---------- Utility classes ---------- */

.text-ink { color: var(--np-ink) !important; }
.text-ink-soft { color: var(--np-ink-soft) !important; }
.text-muted-np { color: var(--np-muted) !important; }
.text-rose { color: var(--np-rose-dark) !important; }
.text-gold { color: var(--np-gold) !important; }
.bg-ivory { background: var(--np-ivory) !important; }
.bg-cream { background: var(--np-cream) !important; }
.bg-blush { background: var(--np-blush) !important; }
.bg-white-np { background: var(--np-white) !important; }

.font-display { font-family: var(--np-font-display); }
.letter-spaced { letter-spacing: .12em; }

.shadow-sm-np { box-shadow: var(--np-shadow-sm) !important; }
.shadow-md-np { box-shadow: var(--np-shadow-md) !important; }

.rounded-np { border-radius: var(--bs-border-radius-lg) !important; }
.rounded-pill-np { border-radius: var(--bs-border-radius-pill) !important; }

.border-np { border: 1px solid var(--np-line) !important; }

/* Aspect media */
.ratio-45 { aspect-ratio: 4 / 5; }
.object-cover { object-fit: cover; width: 100%; height: 100%; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    color: var(--np-muted);
}
.empty-state i { font-size: 3rem; color: var(--np-rose); opacity: .6; display: block; margin-bottom: 1rem; }
.empty-state h4 { color: var(--np-ink); margin-bottom: .5rem; }

/* Price */
.price { font-family: var(--np-font-display); font-weight: 700; color: var(--np-rose-dark); }
.price-lg { font-size: 1.6rem; }
.price-sm { font-size: .95rem; }

/* Toast-style flash */
.flash-toast {
    position: fixed;
    top: 90px;
    inset-inline-end: 20px;
    z-index: 2000;
    min-width: 300px;
    max-width: 380px;
}

/* Sticky elements */
.sticky-top-np { position: sticky; top: calc(var(--np-header-h) + 12px); z-index: 100; }

/* Focus visibility global */
a:focus-visible, button:focus-visible, .btn:focus-visible, .form-control:focus-visible {
    outline: 2px solid var(--np-rose-deep);
    outline-offset: 2px;
}

/* Print */
@media print {
    .no-print { display: none !important; }
    body { background: #fff; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Section: Storefront
   ========================================================================== */

/* Announcement bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--np-rose-dark), var(--np-rose-deep));
    color: #fff;
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-align: center;
    padding: .5rem 1rem;
}

/* Header */
.store-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(250, 246, 241, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--np-line);
    transition: box-shadow .25s ease;
}
.store-header.is-scrolled { box-shadow: var(--np-shadow-md); }
.store-header .navbar { padding: .6rem 0; }
.store-header .brand {
    font-family: var(--np-font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--np-ink);
    letter-spacing: .01em;
}
.store-header .brand span { color: var(--np-rose-dark); }
.store-header .nav-link {
    color: var(--np-ink-soft);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .5rem .9rem !important;
    position: relative;
}
.store-header .nav-link::after {
    content: "";
    position: absolute;
    inset-inline: .9rem;
    bottom: .15rem;
    height: 1.5px;
    background: var(--np-rose-dark);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}
.store-header .nav-link:hover, .store-header .nav-link.active { color: var(--np-rose-dark); }
.store-header .nav-link:hover::after, .store-header .nav-link.active::after { transform: scaleX(1); }

.header-icon {
    width: 42px; height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--np-ink);
    font-size: 1.15rem;
    position: relative;
    transition: background .18s ease, color .18s ease;
}
.header-icon:hover { background: var(--np-blush); color: var(--np-rose-dark); }
.header-icon .count-badge {
    position: absolute;
    top: 2px;
    inset-inline-end: 0;
    background: var(--np-rose-dark);
    color: #fff;
    font-size: .6rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 85% 15%, rgba(217,167,160,.35), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(233,220,195,.6), transparent 50%),
        linear-gradient(160deg, var(--np-ivory) 0%, var(--np-blush) 55%, var(--np-cream) 100%);
}
.hero .hero-eyebrow { color: var(--np-gold); }
.hero h1 { margin: .6rem 0 1rem; }
.hero .hero-sub { color: var(--np-ink-soft); font-size: 1.05rem; max-width: 46ch; line-height: 1.7; }
.hero-img-wrap {
    position: relative;
}
.hero-img-wrap img {
    border-radius: 50% 50% 18px 18px;
    box-shadow: var(--np-shadow-lg);
    max-height: 560px;
    object-fit: cover;
}
.hero-img-wrap::before {
    content: "";
    position: absolute;
    inset: -18px -18px auto auto;
    width: 55%;
    height: 55%;
    border: 1px solid var(--np-rose);
    border-radius: 50% 50% 18px 18px;
    opacity: .5;
}
.hero-badge {
    position: absolute;
    background: var(--np-white);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--np-shadow-md);
    padding: .8rem 1.1rem;
    font-size: .82rem;
}
.hero-badge strong { font-family: var(--np-font-display); font-size: 1.05rem; color: var(--np-rose-dark); display: block; }

/* Category tiles */
.cat-tile {
    position: relative;
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: flex-end;
    background: var(--np-cream);
}
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile .cat-tile-label {
    position: relative;
    width: 100%;
    padding: 1rem 1.2rem;
    background: linear-gradient(transparent, rgba(46,42,38,.72));
    color: #fff;
    font-family: var(--np-font-display);
    font-size: 1.1rem;
}
.cat-tile .cat-tile-label small { display: block; font-family: var(--np-font-body); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* Promo banner */
.promo-banner {
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    background: linear-gradient(120deg, var(--np-rose-dark), var(--np-gold));
    color: #fff;
    padding: 3rem;
    position: relative;
}
.promo-banner::after {
    content: "✦";
    position: absolute;
    inset-inline-end: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5rem;
    opacity: .15;
}

/* Trust strip */
.trust-item {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem 1.25rem;
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    height: 100%;
}
.trust-item i {
    font-size: 1.6rem;
    color: var(--np-rose-dark);
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--np-blush);
    border-radius: 50%;
    flex-shrink: 0;
}
.trust-item strong { display: block; font-size: .9rem; font-weight: 600; }
.trust-item span { font-size: .8rem; color: var(--np-muted); }

/* Product detail */
.pd-gallery .main-img {
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    background: var(--np-white);
    border: 1px solid var(--np-line);
    aspect-ratio: 1 / 1;
}
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb {
    width: 76px; height: 76px;
    border-radius: .8rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: .7;
    transition: all .18s ease;
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--np-rose-dark); opacity: 1; }

.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-pill);
    overflow: hidden;
    background: var(--np-white);
}
.qty-selector button {
    width: 42px; height: 44px;
    border: none;
    background: transparent;
    color: var(--np-ink);
    font-size: 1.1rem;
}
.qty-selector button:hover { background: var(--np-blush); }
.qty-selector input {
    width: 52px;
    border: none;
    text-align: center;
    font-weight: 600;
    background: transparent;
    -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Footer */
.store-footer {
    background: linear-gradient(180deg, var(--np-cream), #efe3d8);
    border-top: 1px solid var(--np-line);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}
.store-footer h5, .store-footer h6 {
    font-family: var(--np-font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: var(--np-ink);
}
.store-footer .footer-links a {
    display: block;
    color: var(--np-ink-soft);
    font-size: .88rem;
    padding: .28rem 0;
}
.store-footer .footer-links a:hover { color: var(--np-rose-dark); padding-inline-start: .3rem; }
.store-footer .footer-contact i { color: var(--np-rose-dark); margin-inline-end: .5rem; }
.footer-bottom {
    border-top: 1px solid var(--np-line);
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    color: var(--np-muted);
    font-size: .82rem;
}
.social-link {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--np-white);
    border: 1px solid var(--np-line);
    color: var(--np-ink-soft);
    transition: all .18s ease;
}
.social-link:hover { background: var(--np-rose-dark); border-color: var(--np-rose-dark); color: #fff; transform: translateY(-2px); }

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    inset-inline-end: 24px;
    z-index: 1050;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
    transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }

/* Breadcrumb */
.breadcrumb-np {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .82rem;
    color: var(--np-muted);
    padding: 1.2rem 0;
    flex-wrap: wrap;
}
.breadcrumb-np a { color: var(--np-ink-soft); }
.breadcrumb-np a:hover { color: var(--np-rose-dark); }
.breadcrumb-np .sep { color: var(--np-rose); }
.breadcrumb-np [aria-current] { color: var(--np-rose-dark); font-weight: 500; }

/* Page hero (inner pages) */
.page-hero {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(217,167,160,.25), transparent 55%),
        linear-gradient(150deg, var(--np-cream), var(--np-blush));
    padding: 4rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--np-line);
}
.page-hero h1 { margin: .4rem 0 .6rem; }
.page-hero p { color: var(--np-ink-soft); max-width: 56ch; margin: 0 auto; }

/* Rating stars */
.stars { color: var(--np-gold); letter-spacing: 2px; font-size: .9rem; }

/* ==========================================================================
   Section: Admin
   ========================================================================== */

.admin-body { background: var(--np-ivory); }

.admin-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    width: 264px;
    background: linear-gradient(180deg, #2e2a26, #3a342e);
    color: #d8cfc4;
    display: flex;
    flex-direction: column;
    z-index: 1040;
    transition: transform .28s ease;
}
.admin-sidebar .brand {
    padding: 1.4rem 1.5rem 1.2rem;
    font-family: var(--np-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: .6rem;
}
.admin-sidebar .brand i { color: var(--np-gold); }
.admin-sidebar nav { flex: 1; overflow-y: auto; padding: .8rem .9rem; }
.admin-sidebar .nav-label {
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #8d8172;
    padding: 1rem .8rem .4rem;
}
.admin-sidebar .side-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .85rem;
    border-radius: .7rem;
    color: #cfc5b8;
    font-size: .9rem;
    font-weight: 400;
    margin-bottom: 2px;
    transition: all .16s ease;
}
.admin-sidebar .side-link i { width: 20px; text-align: center; font-size: 1rem; opacity: .85; }
.admin-sidebar .side-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.admin-sidebar .side-link.active {
    background: linear-gradient(90deg, var(--np-rose-dark), var(--np-rose-deep));
    color: #fff;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(156,91,102,.35);
}
.admin-sidebar .side-link.active i { opacity: 1; }
.admin-sidebar .side-footer {
    padding: 1rem 1.4rem;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .78rem;
    color: #8d8172;
}

.admin-main {
    margin-inline-start: 264px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(250,246,241,.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--np-line);
    padding: .7rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.admin-topbar .page-title {
    font-family: var(--np-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}
.admin-content { padding: 1.75rem; flex: 1; }

.sidebar-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--np-line);
    border-radius: .6rem;
    background: var(--np-white);
    color: var(--np-ink);
}
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(46,42,38,.45);
    z-index: 1035;
}
@media (max-width: 991.98px) {
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-inline-start: 0; }
    .sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .sidebar-backdrop.show { display: block; }
}

/* Admin cards / stats */
.stat-card {
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    padding: 1.25rem 1.4rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--np-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--np-shadow-md); }
.stat-card .stat-icon {
    width: 52px; height: 52px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.stat-card .stat-icon.tone-rose { background: rgba(183,110,121,.14); color: var(--np-rose-dark); }
.stat-card .stat-icon.tone-gold { background: rgba(198,161,91,.18); color: #8a6d3b; }
.stat-card .stat-icon.tone-green { background: rgba(111,143,106,.15); color: var(--np-success); }
.stat-card .stat-icon.tone-ink { background: rgba(46,42,38,.08); color: var(--np-ink); }
.stat-card .stat-label { font-size: .78rem; color: var(--np-muted); letter-spacing: .06em; text-transform: uppercase; }
.stat-card .stat-value { font-family: var(--np-font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.stat-card .stat-delta { font-size: .78rem; }
.stat-card .stat-delta.up { color: var(--np-success); }
.stat-card .stat-delta.down { color: var(--np-danger); }

.admin-panel {
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--np-shadow-sm);
    overflow: hidden;
}
.admin-panel .panel-head {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--np-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.admin-panel .panel-head h3 {
    font-size: 1.05rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: .55rem;
}
.admin-panel .panel-head h3 i { color: var(--np-rose-dark); }
.admin-panel .panel-body { padding: 1.4rem; }
.admin-panel .panel-body.flush { padding: 0; }

/* Admin table wrapper */
.table-card { background: var(--np-white); border: 1px solid var(--np-line); border-radius: var(--bs-border-radius-lg); box-shadow: var(--np-shadow-sm); overflow: hidden; }
.table-card .table { margin: 0; }
.table-card .table-responsive { border: none; }

/* Toolbar */
.admin-toolbar {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding: 1rem 1.4rem;
    border-bottom: 1px solid var(--np-line);
    background: var(--np-ivory);
}

/* Settings cards */
.settings-card {
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    overflow: hidden;
    box-shadow: var(--np-shadow-sm);
    margin-bottom: 1.5rem;
}
.settings-card .settings-head {
    padding: 1rem 1.4rem;
    background: linear-gradient(90deg, var(--np-cream), transparent);
    border-bottom: 1px solid var(--np-line);
    display: flex;
    align-items: center;
    gap: .7rem;
}
.settings-card .settings-head i { color: var(--np-rose-dark); font-size: 1.1rem; }
.settings-card .settings-head h3 { font-size: 1rem; margin: 0; }
.settings-card .settings-body { padding: 1.4rem; }

/* Switch (Bootstrap form-check custom) */
.form-switch .form-check-input {
    width: 2.6em;
    height: 1.4em;
    cursor: pointer;
    background-color: var(--np-line);
    border-color: var(--np-line);
}
.form-switch .form-check-input:checked {
    background-color: var(--np-rose-dark);
    border-color: var(--np-rose-dark);
}

/* Login pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(217,167,160,.3), transparent 55%),
        radial-gradient(ellipse at 85% 85%, rgba(233,220,195,.7), transparent 50%),
        var(--np-ivory);
    padding: 2rem;
}
.auth-card {
    width: 100%;
    max-width: 430px;
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: 1.5rem;
    box-shadow: var(--np-shadow-lg);
    padding: 2.75rem 2.5rem;
}
.auth-card .auth-logo {
    font-family: var(--np-font-display);
    font-size: 1.9rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: .3rem;
}
.auth-card .auth-logo span { color: var(--np-rose-dark); }
.auth-card .auth-sub { text-align: center; color: var(--np-muted); font-size: .9rem; margin-bottom: 2rem; }

/* ==========================================================================
   Section: POS
   ========================================================================== */

.pos-screen {
    background: var(--np-ink);
    color: #e8e0d6;
    min-height: 100vh;
    font-family: var(--np-font-body);
}
.pos-topbar {
    background: #241f1b;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .8rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
.pos-brand {
    font-family: var(--np-font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.pos-brand span { color: var(--np-gold); }
.pos-topbar .pos-meta { font-size: .8rem; color: #a89c8d; }
.pos-grid { display: grid; grid-template-columns: 1fr 400px; gap: 0; min-height: calc(100vh - 64px); }
.pos-products { padding: 1.25rem; overflow-y: auto; }
.pos-cart { background: #2b2620; border-inline-start: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; }

.pos-search .form-control {
    background: #3a342c;
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    border-radius: var(--bs-border-radius-pill);
    padding: .8rem 1.4rem;
    font-size: 1rem;
}
.pos-search .form-control::placeholder { color: #8d8172; }
.pos-search .form-control:focus { background: #3a342c; color: #fff; border-color: var(--np-rose); box-shadow: 0 0 0 .2rem rgba(183,110,121,.25); }

.pos-cat-chip {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1.1rem;
    border-radius: var(--bs-border-radius-pill);
    background: #3a342c;
    color: #cfc5b8;
    font-size: .82rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all .16s ease;
}
.pos-cat-chip:hover { background: #4a4238; color: #fff; }
.pos-cat-chip.active { background: var(--np-rose-dark); color: #fff; border-color: var(--np-rose-dark); }

.pos-product-tile {
    background: #332d26;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all .16s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pos-product-tile:hover { border-color: var(--np-rose); transform: translateY(-2px); }
.pos-product-tile .tile-img { aspect-ratio: 1/1; background: #241f1b; overflow: hidden; }
.pos-product-tile .tile-img img { width: 100%; height: 100%; object-fit: cover; }
.pos-product-tile .tile-body { padding: .7rem .85rem .9rem; flex: 1; display: flex; flex-direction: column; }
.pos-product-tile .tile-name { color: #e8e0d6; font-size: .85rem; font-weight: 500; margin-bottom: .2rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pos-product-tile .tile-price { color: var(--np-gold); font-family: var(--np-font-display); font-weight: 700; font-size: .95rem; margin-top: auto; }
.pos-product-tile.out-of-stock { opacity: .45; cursor: not-allowed; }
.pos-product-tile.out-of-stock .tile-price::after { content: " • Out"; color: #b3544e; font-family: var(--np-font-body); font-size: .72rem; }

.pos-cart-head { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; }
.pos-cart-head h3 { font-family: var(--np-font-display); color: #fff; font-size: 1.05rem; margin: 0; }
.pos-cart-items { flex: 1; overflow-y: auto; padding: .75rem; }
.pos-cart-empty { text-align: center; color: #6d6255; padding: 3rem 1rem; font-size: .9rem; }
.pos-cart-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .65rem .5rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.pos-cart-item .ci-img { width: 46px; height: 46px; border-radius: .6rem; object-fit: cover; background: #241f1b; flex-shrink: 0; }
.pos-cart-item .ci-name { color: #e8e0d6; font-size: .85rem; font-weight: 500; }
.pos-cart-item .ci-price { color: #a89c8d; font-size: .78rem; }
.pos-cart-item .ci-qty { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.pos-cart-item .ci-qty button {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.15);
    background: transparent;
    color: #e8e0d6;
    font-size: .85rem;
    line-height: 1;
}
.pos-cart-item .ci-qty button:hover { background: var(--np-rose-dark); border-color: var(--np-rose-dark); }
.pos-cart-item .ci-qty span { min-width: 26px; text-align: center; font-size: .85rem; font-weight: 600; }
.pos-cart-item .ci-remove { color: #6d6255; border: none; background: none; padding: .3rem; }
.pos-cart-item .ci-remove:hover { color: #b3544e; }

.pos-cart-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid rgba(255,255,255,.08); }
.pos-total-row { display: flex; justify-content: space-between; color: #a89c8d; font-size: .85rem; padding: .2rem 0; }
.pos-total-row.grand { color: #fff; font-size: 1.15rem; font-weight: 600; font-family: var(--np-font-display); padding-top: .5rem; }
.pos-total-row.grand span:last-child { color: var(--np-gold); }

.pos-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    padding: .95rem 1.25rem;
    border-radius: .9rem;
    border: none;
    font-family: var(--np-font-body);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: all .16s ease;
}
.pos-btn:disabled { opacity: .45; cursor: not-allowed; }
.pos-btn-primary { background: linear-gradient(135deg, var(--np-rose-deep), var(--np-rose-dark)); color: #fff; box-shadow: 0 6px 18px rgba(156,91,102,.35); }
.pos-btn-primary:hover:not(:disabled) { transform: translateY(-1px); }
.pos-btn-gold { background: linear-gradient(135deg, var(--np-gold), #a8843f); color: #fff; }
.pos-btn-ghost { background: #3a342c; color: #cfc5b8; border: 1px solid rgba(255,255,255,.1); }
.pos-btn-ghost:hover { background: #4a4238; color: #fff; }
.pos-btn-danger { background: rgba(179,84,78,.2); color: #e8a49f; border: 1px solid rgba(179,84,78,.35); }

.pos-customer-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #3a342c;
    border: 1px solid rgba(255,255,255,.1);
    color: #e8e0d6;
    border-radius: var(--bs-border-radius-pill);
    padding: .45rem .95rem;
    font-size: .82rem;
    cursor: pointer;
}
.pos-customer-chip:hover { border-color: var(--np-rose); }
.pos-customer-chip i { color: var(--np-gold); }

.pos-pay-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1rem .5rem;
    border-radius: .9rem;
    border: 1px solid rgba(255,255,255,.1);
    background: #332d26;
    color: #cfc5b8;
    font-size: .8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all .16s ease;
}
.pos-pay-method i { font-size: 1.5rem; color: var(--np-gold); }
.pos-pay-method:hover { border-color: var(--np-rose); color: #fff; }
.pos-pay-method.active { border-color: var(--np-rose-dark); background: rgba(156,91,102,.18); color: #fff; }

/* POS modals */
.pos-modal .modal-content {
    background: #2b2620;
    border: 1px solid rgba(255,255,255,.1);
    color: #e8e0d6;
    border-radius: 1.25rem;
}
.pos-modal .modal-header { border-bottom-color: rgba(255,255,255,.08); }
.pos-modal .modal-title { font-family: var(--np-font-display); color: #fff; }
.pos-modal .btn-close { filter: invert(1); }
.pos-modal .form-control, .pos-modal .form-select {
    background: #3a342c;
    border-color: rgba(255,255,255,.12);
    color: #fff;
}
.pos-modal .form-control:focus { background: #3a342c; color: #fff; border-color: var(--np-rose); }
.pos-modal .form-label { color: #a89c8d; }

@media (max-width: 991.98px) {
    .pos-grid { grid-template-columns: 1fr; }
    .pos-cart { border-inline-start: none; border-top: 1px solid rgba(255,255,255,.08); max-height: 60vh; }
}

/* ==========================================================================
   Section: Customer account
   ========================================================================== */

.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.75rem; align-items: start; }
.account-nav {
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    padding: .8rem;
    position: sticky;
    top: calc(var(--np-header-h) + 16px);
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .65rem .9rem;
    border-radius: .7rem;
    color: var(--np-ink-soft);
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 2px;
}
.account-nav a i { width: 20px; text-align: center; color: var(--np-muted); }
.account-nav a:hover { background: var(--np-cream); color: var(--np-ink); }
.account-nav a.active { background: var(--np-blush); color: var(--np-rose-dark); }
.account-nav a.active i { color: var(--np-rose-dark); }

.account-card {
    background: var(--np-white);
    border: 1px solid var(--np-line);
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--np-shadow-sm);
    overflow: hidden;
}
.account-card .account-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--np-line);
    background: linear-gradient(90deg, var(--np-cream), transparent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.account-card .account-head h3 { margin: 0; font-size: 1.1rem; }
.account-card .account-body { padding: 1.5rem; }

.order-timeline { display: flex; align-items: center; gap: 0; margin: 1.5rem 0; }
.order-timeline .tl-step { flex: 1; text-align: center; position: relative; }
.order-timeline .tl-step::before {
    content: "";
    display: block;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--np-line);
    margin: 0 auto .5rem;
    position: relative;
    z-index: 1;
}
.order-timeline .tl-step::after {
    content: "";
    position: absolute;
    top: 5px;
    inset-inline-start: -50%;
    width: 100%;
    height: 2px;
    background: var(--np-line);
    z-index: 0;
}
.order-timeline .tl-step:first-child::after { display: none; }
.order-timeline .tl-step.done::before { background: var(--np-rose-dark); }
.order-timeline .tl-step.done::after { background: var(--np-rose-dark); }
.order-timeline .tl-label { font-size: .75rem; color: var(--np-muted); }
.order-timeline .tl-step.done .tl-label { color: var(--np-ink); font-weight: 500; }

@media (max-width: 991.98px) {
    .account-layout { grid-template-columns: 1fr; }
    .account-nav { position: static; display: flex; overflow-x: auto; gap: .3rem; padding: .6rem; }
    .account-nav a { white-space: nowrap; margin-bottom: 0; }
}

/* ==========================================================================
   Section: Receipt print
   ========================================================================== */

.receipt-sheet {
    background: #fff;
    color: #1a1a1a;
    font-family: "Courier New", monospace;
    max-width: 320px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    font-size: .82rem;
    line-height: 1.55;
}
.receipt-sheet h2, .receipt-sheet h3 { font-family: "Courier New", monospace; text-align: center; }
.receipt-sheet .r-center { text-align: center; }
.receipt-sheet .r-line { border-top: 1px dashed #999; margin: .6rem 0; }
.receipt-sheet table { width: 100%; border-collapse: collapse; }
.receipt-sheet td { padding: .15rem 0; vertical-align: top; }
.receipt-sheet .r-total td { font-weight: 700; font-size: .95rem; }

@media print {
    body * { visibility: hidden; }
    .receipt-sheet, .receipt-sheet * { visibility: visible; }
    .receipt-sheet { position: absolute; inset: 0; max-width: none; }
    .no-print { display: none !important; }
}

/* ==========================================================================
   Responsive helpers
   ========================================================================== */

@media (max-width: 767.98px) {
    .hero { min-height: auto; padding: 3.5rem 0; }
    .hero-img-wrap { margin-top: 2.5rem; }
    .hero-img-wrap img { max-height: 380px; }
    .promo-banner { padding: 2rem 1.5rem; }
    .admin-content { padding: 1rem; }
    .pos-cart-foot .pos-btn { padding: .8rem; font-size: .88rem; }
    .auth-card { padding: 2rem 1.5rem; }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .account-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RTL support (bn locale)
   ========================================================================== */

[dir="rtl"] .admin-sidebar,
[dir="rtl"] .pos-cart { /* handled by logical properties above */ }
[dir="rtl"] .inset-inline-end { /* logical props used throughout */ }

/* Smooth image loading */
img { background: var(--np-cream); }

/* Selection color for inputs */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px var(--np-white) inset;
    -webkit-text-fill-color: var(--np-ink);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes np-fade-up {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: np-fade-up .55s ease both; }
.animate-fade-up-1 { animation: np-fade-up .55s .08s ease both; }
.animate-fade-up-2 { animation: np-fade-up .55s .16s ease both; }
.animate-fade-up-3 { animation: np-fade-up .55s .24s ease both; }

@keyframes np-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.animate-float { animation: np-float 5s ease-in-out infinite; }

@keyframes np-pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: .55; }
}
.animate-pulse-soft { animation: np-pulse-soft 2.4s ease-in-out infinite; }

/* ==========================================================================
   Print: hide chrome on storefront receipts handled above
   ========================================================================== */

/* ==========================================================================
   END OF DESIGN SYSTEM
   ========================================================================== */

/* ==========================================================================
   Settings panels & tabs polish
   ========================================================================== */
.admin-panel .panel-head strong {
    font-family: var(--np-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--np-ink);
}
.admin-panel .panel-head .badge { font-size: .7rem; }

.nav-tabs-np {
    border-bottom: 1px solid var(--np-line);
    gap: .35rem;
}
.nav-tabs-np .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--np-muted);
    font-weight: 500;
    font-size: .88rem;
    padding: .7rem 1.1rem;
    border-radius: 0;
}
.nav-tabs-np .nav-link:hover { color: var(--np-rose-dark); border-bottom-color: var(--np-blush); }
.nav-tabs-np .nav-link.active {
    color: var(--np-rose-dark);
    border-bottom-color: var(--np-rose);
    background: transparent;
}

/* ===== Cart / Checkout additions ===== */
.qty-selector form { display: contents; }
.qty-selector .qty-val {
    min-width: 34px; text-align: center; font-weight: 600; font-size: .9rem;
    color: var(--np-ink); align-self: center;
}
.cart-thumb {
    width: 56px; height: 56px; border-radius: var(--bs-border-radius);
    overflow: hidden; background: var(--np-cream); display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    color: var(--np-rose); font-size: 1.4rem; text-decoration: none;
}
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.form-label-np { font-size: .85rem; font-weight: 500; color: var(--np-ink); margin-bottom: .35rem; }
.alert-np { border-radius: var(--bs-border-radius); font-size: .9rem; }
.pay-option { cursor: pointer; display: block; }
.pay-option input:checked + .pay-option-inner {
    border-color: var(--np-rose) !important;
    background: var(--np-blush) !important;
    box-shadow: 0 0 0 1px var(--np-rose);
}
.pay-option-inner {
    display: flex; align-items: center; gap: .75rem;
    border: 1px solid var(--np-line); border-radius: var(--bs-border-radius-lg);
    padding: .9rem 1rem; height: 100%; transition: all .15s ease;
    background: #fff;
}
.pay-option-inner i { font-size: 1.4rem; color: var(--np-rose-dark); }
.pay-option-inner small { display: block; color: var(--np-muted); font-size: .75rem; }

/* ===== Blog ===== */
.blog-card { transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--np-shadow-lg, 0 12px 30px rgba(0,0,0,.08)); }
.blog-card .card-img-top { aspect-ratio: 16/10; object-fit: cover; }
.blog-content { font-size: 1rem; line-height: 1.85; color: var(--np-ink-soft); }
.blog-content h2, .blog-content h3 { font-family: var(--np-font-display); color: var(--np-ink); margin-top: 1.6em; margin-bottom: .6em; }
.blog-content p { margin-bottom: 1.1em; }
.blog-content img { max-width: 100%; height: auto; border-radius: var(--bs-border-radius-lg); margin: 1em 0; }
.blog-content iframe, .blog-content video { max-width: 100%; border-radius: var(--bs-border-radius-lg); margin: 1em 0; }
.blog-content blockquote { border-inline-start: 3px solid var(--np-rose); padding: .8em 1.2em; background: var(--np-blush); border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0; margin: 1.4em 0; font-style: italic; }
.blog-content ul, .blog-content ol { padding-inline-start: 1.4em; margin-bottom: 1.1em; }
.blog-content a { color: var(--np-rose-dark); }

/* ===== Skin Concerns ===== */
.concern-card { display: block; cursor: pointer; }
.concern-card-inner {
    border: 1.5px solid var(--np-line); border-radius: var(--bs-border-radius-lg);
    padding: 1.4rem 1rem; text-align: center; background: #fff;
    transition: all .2s ease; height: 100%;
}
.concern-card:hover .concern-card-inner { border-color: var(--np-rose); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.07); }
.concern-card.selected .concern-card-inner { border-color: var(--np-rose); background: var(--np-blush); box-shadow: 0 0 0 1px var(--np-rose); }
.concern-icon { font-size: 1.8rem; color: var(--np-rose-dark); display: block; margin-bottom: .5rem; }
.concern-name { font-weight: 600; color: var(--np-ink); font-size: .92rem; }
.concern-count { font-size: .75rem; color: var(--np-muted); margin-top: .2rem; }
.concern-badge {
    position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2;
    background: var(--np-rose-dark); color: #fff; font-size: .68rem; font-weight: 600;
    padding: .25em .7em; border-radius: 999px;
}
