/* ==========================================================================
   Public website theme (customer-facing). Loaded only by layouts/app.blade.php,
   so the admin / vendor / delivery dashboards are unaffected.
   ========================================================================== */
:root {
    --ink: #0b1b33;            /* deep navy text */
    --ink-soft: #51607a;
    --brand: #1f6feb;          /* fresh blue */
    --brand-dark: #0b3a8c;
    --aqua: #14b8a6;           /* clean / fresh accent */
    --sun: #ffb020;            /* highlight */
    --cloud: #f4f7fc;          /* section background */
    --line: #e5eaf3;
    --radius-lg: 1.25rem;
    --shadow-sm: 0 2px 6px rgba(11, 27, 51, .05);
    --shadow: 0 12px 32px -12px rgba(11, 27, 51, .18);
    --bs-body-font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-primary: #1f6feb;
    --bs-primary-rgb: 31, 111, 235;
    --bs-link-color: #1f6feb;
    --bs-link-color-rgb: 31, 111, 235;
}

body.site { background: #fff; color: var(--ink); font-family: var(--bs-body-font-family); -webkit-font-smoothing: antialiased; }
.site h1, .site h2, .site h3, .site .h1, .site .h2, .site .h3, .site .display-5 { font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.site .text-soft { color: var(--ink-soft) !important; }
.site .btn { border-radius: 999px; font-weight: 600; padding-inline: 1.25rem; }
.site .btn-sm { padding-inline: .9rem; }
.site .btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); box-shadow: 0 8px 20px -8px rgba(31,111,235,.6); }
.site .btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); }
.site .btn-sun { background: var(--sun); color: var(--ink); border: 0; }
.site .btn-sun:hover { background: #f59f00; color: var(--ink); }
.site .card { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.site .card-header { background: #fff; border-bottom-color: var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important; }
.site .form-control, .site .form-select { border-radius: .75rem; border-color: var(--line); padding: .6rem .9rem; }
.site .form-control:focus, .site .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .25rem rgba(31,111,235,.15); }
.site .badge { font-weight: 600; }

.eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: rgba(31,111,235,.08); border-radius: 999px; padding: .35rem .8rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-cloud { background: var(--cloud); }
.section-title { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-title p { color: var(--ink-soft); font-size: 1.05rem; }
@media (max-width: 767px) { .section { padding: 3.25rem 0; } .section-title { margin-bottom: 2rem; } }

/* ---------- Navbar ---------- */
.site-nav { background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-nav.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-nav .navbar-brand { font-weight: 800; color: var(--ink); letter-spacing: -.02em; display: flex; align-items: center; gap: .5rem; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--aqua)); font-size: 1.1rem; }
.site-nav .nav-link { font-weight: 600; color: var(--ink-soft); padding-inline: .9rem !important; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand); }
.nav-cart { position: relative; }
.nav-cart .count { position: absolute; top: 2px; right: 2px; font-size: .65rem; }

/* ---------- Hero ---------- */
.hero-v2 { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; background:
    radial-gradient(1200px 500px at 85% -10%, rgba(20,184,166,.16), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(31,111,235,.14), transparent 60%), #fff; }
.hero-v2 h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08; }
.hero-v2 h1 .hl { background: linear-gradient(120deg, var(--brand), var(--aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-v2 .lead { color: var(--ink-soft); font-size: 1.15rem; max-width: 34rem; }
.pickup-search { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem; box-shadow: var(--shadow); display: flex; align-items: center; max-width: 560px; }
.pickup-search i { color: var(--brand); font-size: 1.2rem; margin: 0 .5rem 0 .9rem; }
.pickup-search input { border: 0; flex: 1; min-width: 0; font-size: 1rem; outline: none; background: transparent; padding: .6rem 0; }
.pickup-search .btn { flex-shrink: 0; padding: .7rem 1.4rem; }
@media (max-width: 575px) {
    .pickup-search { flex-wrap: wrap; border-radius: 1.25rem; padding: .6rem; }
    .pickup-search input { width: calc(100% - 3rem); }
    .pickup-search .btn { width: 100%; margin-top: .4rem; }
}
.hero-chips { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.hero-chips i { color: var(--aqua); }
.hero-art { position: relative; max-width: 480px; margin-inline: auto; }
.hero-art svg { width: 100%; height: auto; display: block; }
.float-card { position: absolute; background: #fff; border-radius: 1rem; box-shadow: var(--shadow); padding: .7rem .95rem; display: flex; align-items: center; gap: .65rem; font-size: .85rem; font-weight: 600; animation: bob 5s ease-in-out infinite; }
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.float-card small { display: block; color: var(--ink-soft); font-weight: 500; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 1.75rem 1rem; margin-top: -2.5rem; position: relative; z-index: 2; box-shadow: var(--shadow); }
.stats-strip .num { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.stats-strip .lbl { color: #9fb0cc; font-size: .85rem; }

/* ---------- Service cards ---------- */
.svc-card { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; }
.svc-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .35rem; }
.svc-card p { color: var(--ink-soft); font-size: .9rem; margin-bottom: .9rem; }
.svc-card .from { font-size: .85rem; color: var(--ink-soft); }
.svc-card .from strong { color: var(--ink); font-size: 1.05rem; }
.svc-card .go { color: var(--brand); font-weight: 700; font-size: .9rem; }
.tone-blue { background: #e8f0fe; color: #1f6feb; } .tone-aqua { background: #e0f7f4; color: #0f9488; }
.tone-sun { background: #fff4dc; color: #c27c00; } .tone-rose { background: #fde8ef; color: #d6336c; }
.tone-violet { background: #efe9fd; color: #6f42c1; } .tone-green { background: #e6f6ec; color: #198754; } .tone-slate { background: #eef1f6; color: #3b4a63; }

/* ---------- How it works ---------- */
.step-card { text-align: center; padding: 1.5rem 1rem; position: relative; }
.step-num { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; font-size: 1.5rem; color: var(--brand); background: #fff; border: 2px dashed rgba(31,111,235,.35); }
.step-card h3 { font-size: 1.05rem; font-weight: 700; }
.step-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
@media (min-width: 992px) {
    .steps-row .col-lg-3:not(:last-child) .step-card::after { content: ""; position: absolute; top: 2.9rem; left: calc(50% + 44px); width: calc(100% - 88px); border-top: 2px dashed var(--line); }
}

/* ---------- Why us ---------- */
.feature { display: flex; gap: 1rem; }
.feature .svc-icon { flex-shrink: 0; margin: 0; width: 48px; height: 48px; font-size: 1.25rem; border-radius: 14px; }
.feature h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.feature p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
.why-panel { background: linear-gradient(150deg, var(--brand-dark), var(--brand) 60%, var(--aqua)); color: #fff; border-radius: 1.75rem; padding: 2.5rem; position: relative; overflow: hidden; }
.why-panel::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.why-panel h3 { color: #fff; }
.why-panel .tick { display: flex; gap: .6rem; margin-bottom: .75rem; }
.why-panel .tick i { color: #7ff0e1; }

/* ---------- Shop cards ---------- */
.shop-card-v2 { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.shop-card-v2:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shop-cover { height: 132px; position: relative; background: linear-gradient(135deg, #dbe7ff, #d6f5f0); }
.shop-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-cover .status { position: absolute; top: .75rem; right: .75rem; }
.shop-cover .rating { position: absolute; top: .75rem; left: .75rem; background: #fff; color: var(--ink); border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.shop-body { padding: 0 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.shop-logo-v2 { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; border: 4px solid #fff; margin-top: -32px; position: relative; box-shadow: var(--shadow-sm); background: #eef2ff; }
.shop-body h3 { font-size: 1.05rem; font-weight: 700; margin: .6rem 0 .15rem; }
.shop-body h3 a { color: var(--ink); text-decoration: none; }
.shop-body h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.shop-card-v2 { position: relative; }
.shop-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--ink-soft); background: var(--cloud); border-radius: 999px; padding: .25rem .65rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; height: 100%; display: flex; flex-direction: column; }
.quote-card .stars { color: var(--sun); margin-bottom: .75rem; }
.quote-card blockquote { font-size: 1rem; color: var(--ink); flex: 1; margin-bottom: 1.25rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--brand), var(--aqua)); flex-shrink: 0; }

/* ---------- Offers (banners) ---------- */
.offer-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 170px; color: #fff; display: flex; align-items: flex-end; padding: 1.5rem; text-decoration: none; background-size: cover; background-position: center; }
.offer-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,27,51,.82), rgba(11,27,51,.15)); }
.offer-card > * { position: relative; }
.offer-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: .25rem; }
.offer-card p { margin: 0; opacity: .85; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: 1.75rem; padding: 3rem; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(20,184,166,.35), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b5c3da; }
.cta-tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 1.25rem; padding: 1.5rem; height: 100%; position: relative; }
.cta-tile h3 { color: #fff; font-size: 1.1rem; }

/* ---------- FAQ ---------- */
.site .accordion { --bs-accordion-border-color: var(--line); --bs-accordion-border-radius: 1rem; --bs-accordion-inner-border-radius: 1rem; --bs-accordion-btn-focus-box-shadow: none; --bs-accordion-active-bg: #f4f8ff; --bs-accordion-active-color: var(--ink); }
.site .accordion-item { margin-bottom: .75rem; border: 1px solid var(--line) !important; border-radius: 1rem !important; overflow: hidden; }
.site .accordion-button { font-weight: 700; color: var(--ink); }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: linear-gradient(180deg, var(--cloud), #fff); padding: 3rem 0 2rem; border-bottom: 1px solid var(--line); }
.page-head .breadcrumb { font-size: .85rem; margin-bottom: .5rem; }

/* ---------- Filter bar ---------- */
.filter-bar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem; box-shadow: var(--shadow); margin-top: -2.2rem; position: relative; z-index: 2; }
.cat-pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.cat-pills a { flex-shrink: 0; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .95rem; font-size: .88rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; background: #fff; }
.cat-pills a:hover { border-color: var(--brand); color: var(--brand); }
.cat-pills a.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Shop detail ---------- */
.shop-hero { position: relative; height: 240px; background: linear-gradient(135deg, var(--brand-dark), var(--aqua)); overflow: hidden; }
.shop-hero img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.shop-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,27,51,.1), rgba(11,27,51,.55)); }
.shop-head-card { margin-top: -90px; position: relative; z-index: 2; }
.shop-head-card .logo { width: 104px; height: 104px; border-radius: 24px; object-fit: cover; border: 5px solid #fff; box-shadow: var(--shadow); background: #eef2ff; }
.service-tabs { position: sticky; top: 72px; z-index: 5; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin: 0 -1rem 1rem; padding: .6rem 1rem; }
.price-row { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row .garment { flex: 1; min-width: 0; font-weight: 600; }
.price-row .price { font-weight: 800; white-space: nowrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { border: 0; background: var(--cloud); width: 32px; height: 32px; font-weight: 700; color: var(--ink); }
.qty-stepper input { width: 42px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.info-list li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.info-list li:last-child { border-bottom: 0; }
.info-list li.today { color: var(--brand); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer-v2 { background: var(--ink); color: #9fb0cc; padding: 4rem 0 1.5rem; margin-top: 5rem; }
.site-footer-v2 h4 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 1rem; }
.site-footer-v2 a { color: #9fb0cc; text-decoration: none; display: inline-block; padding: .2rem 0; }
.site-footer-v2 a:hover { color: #fff; }
.site-footer-v2 .social a { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; margin-right: .35rem; padding: 0; }
.site-footer-v2 .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding-top: 1.5rem; font-size: .85rem; }

/* CMS content */
.cms-content { font-size: 1.02rem; line-height: 1.75; color: #2c3a52; }
.cms-content h2, .cms-content h3 { margin-top: 2rem; }

/* ---------- Booking bar & toast (shop page) ---------- */
.booking-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: var(--ink); color: #fff; padding: .85rem 0; box-shadow: 0 -10px 30px rgba(11,27,51,.25); transform: translateY(110%); transition: transform .3s ease; }
.booking-bar.show { transform: translateY(0); }
.booking-bar .bag { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--aqua)); font-size: 1.2rem; flex-shrink: 0; }
.booking-bar .btn.disabled { opacity: .55; }
body.site:has(.booking-bar.show) .site-footer-v2 { padding-bottom: 6rem; }
.add-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 1040; background: #146c43; color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); transition: opacity .4s, transform .4s; white-space: nowrap; max-width: 92vw; overflow: hidden; text-overflow: ellipsis; }
.add-toast.warn { background: #b45309; }
.add-toast.out { opacity: 0; transform: translate(-50%, 10px); }
