/* ============================================================
   Papri Cosmetics — Beauty & Self-Care Shop — Public Site CSS
   Identity: "Orchid Pulse" — bright, modern beauty-tech.
   Digital orchid violet #8B5CF6 + citrus-glow yellow #FFC857 on
   indigo-violet ink and cool lavender-white. Bold geometric display
   type, borderless "floaty" cards, full-pill buttons, circular
   icon bubbles, glow-blob hero, "Brush-Swipe" bar+dot motif.
   Light theme.

   NOTE: CSS custom-property NAMES are kept as --tn-* (inherited
   from the base this project was built on) so every view's inline
   var(--tn-*) usage keeps working — only the VALUES changed here.
   ============================================================ */

:root {
    --tn-primary: #8B5CF6;     /* digital orchid violet */
    --tn-primary-700: #6D28D9;
    --tn-accent: #FFC857;      /* citrus-glow yellow */
    --tn-accent-600: #E8A917;
    --tn-ink: #241442;         /* indigo-violet ink */
    --tn-dark: #241442;
    --tn-bg: #FAF7FF;          /* cool lavender-white, never pure #fff */
    --tn-surface: #FFFFFF;
    --tn-muted: #6B5C8A;       /* violet-grey */
    --tn-line: #EAE1F9;        /* soft violet-tinted line */
    --tn-primary-soft: #F1E9FE;
    --tn-accent-soft: #FFF4DA;
    --tn-warn: #F59E0B;
    --tn-danger: #E11D48;
    --tn-success: #16A34A;
    --tn-shipped: #0EA5E9;
    --radius: 24px;
    --radius-sm: 14px;
    --shadow-sm: 0 4px 18px rgba(36, 20, 66, .08);
    --shadow: 0 16px 44px rgba(36, 20, 66, .14);
    --shadow-lift: 0 24px 56px rgba(139, 92, 246, .28);
    --font-display: 'Unbounded', 'Hind Siliguri', system-ui, sans-serif;
    --font-body: 'Inter', 'Hind Siliguri', system-ui, sans-serif;
    --font-bn: 'Hind Siliguri', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--tn-ink);
    background: var(--tn-bg);
    line-height: 1.65;
    overflow-x: clip; /* §31 safety net — clip, not hidden (keeps sticky header) */
}

[lang="bn"] body, html[lang="bn"] { font-family: var(--font-bn); }

h1, h2, h3, h4, h5 { font-family: var(--font-display); color: var(--tn-ink); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
a { color: var(--tn-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--tn-accent-600); }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1240px; }
.text-primary-tn { color: var(--tn-primary) !important; }
.bg-soft { background: var(--tn-primary-soft); }

/* ---------- Buttons (full-pill silhouette) ---------- */
.btn-cta {
    background: var(--tn-primary); color: #fff; border: none; border-radius: 999px;
    padding: .62rem 1.6rem; font-weight: 600; font-family: var(--font-body);
    display: inline-flex; align-items: center; gap: .45rem;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 8px 20px rgba(139, 92, 246, .32);
}
.btn-cta:hover { background: var(--tn-primary-700); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(139, 92, 246, .44); }
.btn-accent { background: var(--tn-accent); color: #3B2C00; box-shadow: 0 8px 20px rgba(255, 200, 87, .35); }
.btn-accent:hover { background: var(--tn-accent-600); color: #3B2C00; box-shadow: 0 12px 26px rgba(255, 200, 87, .46); }
.btn-outline-cta {
    background: transparent; color: var(--tn-primary); border: 2px solid var(--tn-primary); border-radius: 999px;
    padding: .56rem 1.5rem; font-weight: 600; font-family: var(--font-body); display: inline-flex; align-items: center; gap: .45rem; transition: all .18s ease;
}
.btn-outline-cta:hover { background: var(--tn-primary); color: #fff; }
.btn-soft { background: var(--tn-primary-soft); color: var(--tn-primary-700); border: none; border-radius: 999px; padding: .55rem 1.35rem; font-weight: 600; }
.btn-soft:hover { background: #e3d3fd; color: var(--tn-primary-700); }

/* ---------- Notice bar ---------- */
.notice-bar { background: var(--tn-dark); color: #fff; font-size: .9rem; padding: .5rem 0; text-align: center; }
.notice-bar a, .notice-bar span { color: inherit; }
.notice-bar a:hover { text-decoration: underline; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(250,247,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--tn-line); transition: box-shadow .25s ease, padding .25s ease; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .navbar { padding-top: .65rem; padding-bottom: .65rem; }
.navbar-brand { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; font-family: var(--font-display); font-weight: 700; }
.brand-logo { max-height: 44px; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--tn-primary), var(--tn-accent)); color: #fff; display: inline-grid; place-items: center; font-size: 1.2rem; flex: 0 0 auto; box-shadow: 0 6px 16px rgba(139,92,246,.36); }
.brand-name { font-size: 1.3rem; color: var(--tn-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100vw - 140px); }
.navbar-nav .nav-link { font-weight: 600; color: var(--tn-ink); padding: .4rem .9rem; border-radius: 999px; transition: color .15s ease, background .15s ease; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--tn-primary); background: var(--tn-primary-soft); }
.header-search .form-control { border-radius: 999px; border: 1px solid var(--tn-line); background: var(--tn-bg); min-width: 180px; }
.header-search .form-control:focus { border-color: var(--tn-primary); box-shadow: 0 0 0 .2rem rgba(139,92,246,.15); }
.lang-toggle { font-weight: 600; color: var(--tn-ink); display: inline-flex; align-items: center; }
.lang-toggle:hover { color: var(--tn-primary); }
.header-icon { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; color: var(--tn-ink); font-size: 1.2rem; transition: background .15s ease, color .15s ease; }
.header-icon:hover { background: var(--tn-primary-soft); color: var(--tn-primary); }
.header-icon .count-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--tn-accent); color: #3B2C00; font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }

/* ---------- Hero (glow-blob composition) ---------- */
.hero { position: relative; overflow: hidden; background: var(--tn-dark); color: #fff; }
.hero-slide { position: relative; min-height: 72vh; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(36,20,66,.82) 0%, rgba(36,20,66,.5) 50%, rgba(139,92,246,.32) 100%); }
.hero::before, .hero::after {
    content: ""; position: absolute; z-index: 1; border-radius: 50%; filter: blur(52px); pointer-events: none;
}
.hero::before { width: 340px; height: 340px; top: -110px; right: 8%; background: radial-gradient(circle, rgba(255,200,87,.55), transparent 70%); }
.hero::after { width: 280px; height: 280px; bottom: -90px; left: 4%; background: radial-gradient(circle, rgba(139,92,246,.5), transparent 70%); }
.hero-content { position: relative; z-index: 2; max-width: 660px; padding: 2rem 0; }
.hero-content h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 1rem; }
.hero-content p { font-size: 1.15rem; opacity: .94; margin-bottom: 1.6rem; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,200,87,.55); border-radius: 999px; padding: .35rem 1.1rem .35rem .8rem; font-weight: 600; margin-bottom: 1rem;
}
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tn-accent); box-shadow: 0 0 0 4px rgba(255,200,87,.28); flex: 0 0 auto; }
.hero-trust { font-size: .85rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.85); font-weight: 500; }
.hero-trust li i { color: var(--tn-accent); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--tn-surface); }
.section.soft { background: var(--tn-primary-soft); }
.section.ink { background: var(--tn-dark); color: #fff; }
.section.ink h1, .section.ink h2, .section.ink h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head.start { margin-left: 0; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; color: var(--tn-accent-600); font-weight: 700; font-family: var(--font-body); letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .7rem; }
.lede { color: var(--tn-muted); font-size: 1.08rem; }

/* signature "Brush-Swipe" motif — a gradient swipe bar + dab dot (not a stroke/facet) */
.tn-underline {
    display: inline-block; width: 84px; height: 14px; margin-top: .4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 14'%3E%3Crect x='2' y='4' width='54' height='6' rx='3' fill='%238B5CF6'/%3E%3Ccircle cx='74' cy='7' r='6' fill='%23FFC857'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain; background-position: left center;
}
.section.ink .tn-underline, .section-head.on-dark .tn-underline {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 14'%3E%3Crect x='2' y='4' width='54' height='6' rx='3' fill='%23FFC857'/%3E%3Ccircle cx='74' cy='7' r='6' fill='white'/%3E%3C/svg%3E");
}
.cs-swirl { position: relative; }
.cs-swirl::before {
    content: ""; position: absolute; width: 120px; height: 120px; opacity: .6; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Ccircle cx='30' cy='90' r='16' fill='%23FFC857' opacity='.7'/%3E%3Ccircle cx='68' cy='55' r='24' fill='%238B5CF6' opacity='.5'/%3E%3Ccircle cx='96' cy='24' r='10' fill='%23FFC857' opacity='.7'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain;
}

/* ---------- Product / generic cards (borderless, floaty) ---------- */
.card-tn { background: var(--tn-surface); border: 1px solid transparent; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card-tn.h-100 { display: flex; flex-direction: column; }
.card-tn:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--tn-primary-soft); }
.card-tn .card-img { aspect-ratio: 1/1; overflow: hidden; background: #fff; position: relative; }
.card-tn .card-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transition: transform .5s ease; }
.card-tn:hover .card-img img { transform: scale(1.08); }
.card-tn .card-body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1 1 auto; }
.card-tn h3, .card-tn h4 { font-size: 1.06rem; margin: 0; }
.card-tn .muted { color: var(--tn-muted); font-size: .9rem; }
.card-tn .brand-line { color: var(--tn-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.card-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--tn-primary-soft); color: var(--tn-primary); display: grid; place-items: center; font-size: 1.55rem; margin-bottom: .4rem; }

/* product badges — asymmetric "swatch sticker" tag, not a plain pill */
.prod-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: .3rem; z-index: 2; }
.p-badge { border-radius: 10px 10px 10px 2px; padding: .22rem .65rem; font-size: .7rem; font-weight: 700; color: #fff; box-shadow: var(--shadow-sm); }
.p-badge.new { background: var(--tn-shipped); }
.p-badge.sale { background: var(--tn-danger); }
.p-badge.best { background: var(--tn-primary); }
.p-badge.feat { background: var(--tn-accent); color: #3b2c00; }

.price-tag { color: var(--tn-primary); font-weight: 800; font-family: var(--font-body); font-size: 1.12rem; }
.old-price { color: var(--tn-muted); text-decoration: line-through; font-weight: 500; margin-left: .4rem; font-size: .85em; }
.badge-soft { background: var(--tn-primary-soft); color: var(--tn-primary-700); border-radius: 999px; padding: .25rem .7rem; font-size: .76rem; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }
.badge-accent { background: var(--tn-accent-soft); color: var(--tn-accent-600); }
.badge-warn { background: #FEF3C7; color: #92670A; }
.stock-in { color: var(--tn-success); font-weight: 700; }
.stock-out { color: var(--tn-danger); font-weight: 700; }
.text-bg-purple { background-color: var(--tn-shipped) !important; color: #fff !important; }

/* ---------- Shade/size variant picker ---------- */
.variant-chips { display: flex; gap: .5rem; flex-wrap: wrap; }
.variant-chip {
    display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1.5px solid var(--tn-line);
    border-radius: 999px; padding: .4rem .9rem .4rem .5rem; font-size: .85rem; font-weight: 600; color: var(--tn-ink);
    cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.variant-chip:hover { transform: translateY(-1px); border-color: var(--tn-primary-soft); }
.variant-chip.active,
.variant-chip:has(input:checked) { border-color: var(--tn-primary); box-shadow: 0 0 0 3px var(--tn-primary-soft); color: var(--tn-primary-700); }
.variant-chip .swatch { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--tn-line); flex: 0 0 auto; }
.variant-chip.active .swatch { box-shadow: 0 0 0 2px var(--tn-primary); }

/* ---------- Flash-sale countdown ---------- */
.countdown-chip {
    display: inline-flex; align-items: center; gap: .4rem; background: var(--tn-dark); color: #fff;
    border-radius: 999px; padding: .35rem 1rem; font-weight: 700; font-size: .82rem; letter-spacing: .02em;
    position: relative; overflow: hidden;
}
.countdown-chip::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,200,87,.4) 50%, transparent 70%);
    background-size: 200% 100%; animation: shimmer-sweep 2.6s ease-in-out infinite;
}
@keyframes shimmer-sweep { 0% { background-position: 200% 0; } 100% { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .countdown-chip::after { animation: none; } }

/* ---------- Category / brand tiles ---------- */
.cat-tile { background: #fff; border: 1px solid transparent; border-radius: var(--radius); padding: 1.4rem 1rem; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; display: block; box-shadow: var(--shadow-sm); }
.cat-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--tn-primary-soft); }
.cat-tile .ic { font-size: 2rem; color: var(--tn-primary); }
.brand-tile { background: #fff; border: 1px solid var(--tn-line); border-radius: var(--radius-sm); padding: 1rem; display: grid; place-items: center; min-height: 92px; transition: box-shadow .2s ease, transform .2s; }
.brand-tile:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.brand-tile img { max-height: 56px; object-fit: contain; }

/* ---------- Stats ---------- */
.stat-tile { text-align: center; padding: 1.5rem 1rem; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--tn-primary); }
.stat-label { color: var(--tn-muted); font-weight: 600; }
.stat-ic { font-size: 1.8rem; color: var(--tn-accent-600); margin-bottom: .3rem; }
.section.ink .stat-label { color: #cdbdf0; }
.section.ink .stat-num { color: #fff; }

/* ---------- Testimonials ---------- */
.testi-card { background: #fff; border: 1px solid var(--tn-line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); }
.testi-card .quote { color: var(--tn-ink); font-size: 1.02rem; }
.testi-card .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.testi-card .who img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.stars { color: var(--tn-accent-600); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--tn-primary), var(--tn-primary-700)); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.page-hero::after { content: "\F602"; font-family: "bootstrap-icons"; position: absolute; right: -10px; bottom: -30px; font-size: 11rem; opacity: .10; }
.page-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0; }
.page-hero .crumbs { opacity: .9; margin-top: .5rem; }
.page-hero .crumbs a { color: #fff; opacity: .85; }

/* ---------- Forms ---------- */
.tn-form .form-label { font-weight: 600; color: var(--tn-ink); }
.tn-form .form-control, .tn-form .form-select { border-radius: var(--radius-sm); border: 1px solid var(--tn-line); padding: .6rem .85rem; }
.tn-form .form-control:focus, .tn-form .form-select:focus { border-color: var(--tn-primary); box-shadow: 0 0 0 .2rem rgba(139,92,246,.15); }
.form-card { background: #fff; border: 1px solid var(--tn-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }

/* ---------- Tables ---------- */
.spec-table, .fee-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec-table th, .fee-table th { background: var(--tn-primary); color: #fff; text-align: left; padding: .8rem 1rem; }
.spec-table td, .fee-table td { padding: .75rem 1rem; border-top: 1px solid var(--tn-line); }
.spec-table tr:nth-child(even) td, .fee-table tr:nth-child(even) td { background: var(--tn-bg); }

/* ---------- Pagination ---------- */
.pagination { gap: .35rem; }
.pagination .page-link { border-radius: 999px !important; border: 1px solid var(--tn-line); color: var(--tn-ink); margin: 0 2px; }
.pagination .active .page-link { background: var(--tn-primary); border-color: var(--tn-primary); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tn-dark); color: #d9cdf4; padding: 0 0 1.4rem; position: relative; }
.footer-accent { height: 6px; background: linear-gradient(90deg, var(--tn-primary) 0 55%, var(--tn-accent) 55% 100%); }
.site-footer .container { padding-top: 56px; }
.site-footer h5 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; display: inline-flex; align-items: center; }
.footer-logo { max-height: 50px; }
.footer-about { color: #bcaadf; font-size: .95rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--tn-primary); transform: translateY(-3px); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #bcaadf; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; color: #bcaadf; min-width: 0; }
.footer-contact li i { color: var(--tn-accent); margin-top: .2rem; }
.footer-contact a { color: #bcaadf; overflow-wrap: anywhere; }
.footer-contact a:hover { color: #fff; }
.newsletter-form { display: flex; gap: .5rem; margin-top: .6rem; }
.newsletter-form .form-control { border-radius: 999px; border: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between; font-size: .9rem; color: #bcaadf; }
.footer-bottom a { color: var(--tn-accent); }
.dev-credit { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: .35rem .9rem; color: #d9cdf4 !important; font-size: .85rem; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.dev-credit:hover { background: rgba(139,92,246,.3); color: #fff !important; transform: translateY(-1px); }
.dev-credit i { color: #f43f5e; animation: dev-heart 1.3s ease-in-out infinite; }
@keyframes dev-heart { 0%,100% { transform: scale(1); } 25% { transform: scale(1.25); } 40% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .dev-credit i { animation: none; } }

/* ---------- Floating actions + back to top ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 1040; display: flex; flex-direction: column; gap: .65rem; }
.float-actions a { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.4rem; box-shadow: var(--shadow); transition: transform .18s ease; }
.float-actions a:hover { transform: scale(1.08); color: #fff; }
.fa-whatsapp { background: #25D366; }
.fa-call { background: var(--tn-primary); }
.back-to-top { position: fixed; right: 18px; bottom: 86px; z-index: 1039; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--tn-dark); color: #fff; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ============================================================
   §12.1 Mobile safety-net + §31 overflow trio
   ============================================================ */
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
table { max-width: 100%; }
.container, .container-fluid { overflow-wrap: break-word; }
h1, h2, h3, h4, p, a, span, li { overflow-wrap: break-word; }

@media (max-width: 1199.98px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
}

/* keep the desktop nav on a single line (§14) */
@media (min-width: 1200px) {
    .site-header .navbar-nav { flex-wrap: nowrap; }
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse { background: #fff; border: 1px solid var(--tn-line); border-radius: var(--radius); padding: 1rem; margin-top: .6rem; box-shadow: var(--shadow); }
    .navbar-nav .nav-link { padding: .55rem .6rem; }
    .header-search { margin: .5rem 0; }
    .header-search .form-control { width: 100%; }
    .section { padding: 60px 0; }
    .hero-slide { min-height: 60vh; }
}

@media (max-width: 767px) {
    .section, .page-hero { padding: 44px 0; }
    .section-head { margin-bottom: 2rem; }
    .float-actions a { width: 48px; height: 48px; }
    .footer-bottom { justify-content: flex-start; }
    .hero::before, .hero::after { display: none; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .brand-name { font-size: 1.1rem; }
}

@media print {
    .site-header, .site-footer, .float-actions, .back-to-top, .notice-bar { display: none !important; }
    body { background: #fff; }
}
