/* DT Visual Systems — Storefront */
:root {
  --ink: #0f1a19;
  --ink-2: #4e6360;
  --bg: #f3f9f8;
  --card: #ffffff;
  --line: #dfecea;
  --brand: #115e59;
  --brand-2: #0d9488;
  --accent: #f0a422;
  --grad: linear-gradient(120deg, #083c38 0%, #115e59 45%, #0d9488 100%);
  --ok: #1e9e5a;
  --bad: #c8443e;
  --r: 16px;
  --shadow: 0 8px 30px rgba(15, 45, 43, 0.08);
  --shadow-lg: 0 18px 50px rgba(15, 45, 43, 0.18);
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.5; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(13, 148, 136, .15); }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 22px; }

/* ---------- navbar ---------- */
.topbar { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: rgba(7, 32, 30, 0.88); color: #fff; }
.topbar .container { display: flex; align-items: center; gap: 26px; height: 64px; }
.brand { display: flex; flex-direction: column; line-height: 1.15; }
.brand b { font-size: 17px; letter-spacing: .3px; }
.brand span { font-size: 10.5px; color: #9ccac4; letter-spacing: 1.6px; text-transform: uppercase; }
.topnav { display: flex; gap: 4px; margin-left: 10px; }
.topnav a { padding: 8px 14px; border-radius: 20px; font-size: 14px; color: #cde5e1; font-weight: 500; }
.topnav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.topnav a.active { background: rgba(255,255,255,.16); color: #fff; font-weight: 700; }
.topbar .spacer { flex: 1; }
.icon-btn { position: relative; background: rgba(255,255,255,.12); border: none; color: #fff; border-radius: 12px; padding: 9px 14px; font-weight: 600; font-size: 14px; }
.icon-btn:hover { background: rgba(255,255,255,.22); }
.icon-btn .pill { position: absolute; top: -7px; right: -7px; background: var(--accent); color: #241703; font-size: 11px; font-weight: 800; border-radius: 20px; padding: 1px 7px; }
.admin-link { font-size: 12.5px; color: #9ccac4; }
.admin-link:hover { color: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--grad); color: #fff; padding: 74px 0 90px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(240,164,34,.35), transparent 65%); }
.hero::before { content: ""; position: absolute; left: -120px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.12), transparent 65%); }
.hero .container { position: relative; z-index: 1; }
.hero .kicker { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 6px 16px; border-radius: 30px; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.12; max-width: 700px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin-top: 16px; max-width: 560px; color: #cfe8e4; font-size: 16.5px; }
.hero .cta-row { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; border: none; border-radius: 12px; padding: 13px 26px; font-weight: 700; font-size: 15px; }
.btn.primary { background: var(--accent); color: #241703; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn.outline:hover { background: rgba(255,255,255,.12); }
.btn.solid { background: var(--brand-2); color: #fff; }
.btn.solid:hover { background: var(--brand); }
.btn.small { padding: 8px 16px; font-size: 13.5px; border-radius: 10px; }
.hero .stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.hero .stats b { font-size: 26px; display: block; }
.hero .stats span { font-size: 13px; color: #a3d5cd; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head h2 { font-size: 27px; font-weight: 800; }
.section-head p { color: var(--ink-2); margin-top: 4px; }
.section-head .see-all { color: var(--brand-2); font-weight: 700; font-size: 14px; }

/* category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.cat-tile { border-radius: var(--r); padding: 26px 22px; color: #fff; position: relative; overflow: hidden; min-height: 130px; display: flex; flex-direction: column; justify-content: end; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; box-shadow: var(--shadow); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-tile .emoji { font-size: 32px; margin-bottom: auto; }
.cat-tile b { font-size: 17px; }
.cat-tile span { font-size: 12.5px; opacity: .85; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.pcard { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard .thumb { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 52px; position: relative; }
.pcard .thumb .tag { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,.9); color: var(--brand); text-transform: uppercase; letter-spacing: .6px; }
.pcard .thumb .gps { position: absolute; top: 12px; right: 12px; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; background: rgba(16,20,31,.75); color: #ffd98a; }
.pcard .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard .name { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.pcard .meta { font-size: 12.5px; color: var(--ink-2); }
.pcard .price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.pcard .price { font-size: 19px; font-weight: 800; color: var(--brand); }
.pcard .per { font-size: 12px; color: var(--ink-2); }
.pcard .avail { font-size: 12px; font-weight: 700; }
.pcard .avail.ok { color: var(--ok); }
.pcard .avail.no { color: var(--bad); }
.pcard .foot { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; }
.pcard .foot .btn { flex: 1; text-align: center; }
.pcard .foot .btn.ghosty { background: #e8f4f2; color: var(--brand); flex: 0 0 auto; }
.pcard .foot .btn.ghosty:hover { background: #daefec; }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.svc-card { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; gap: 10px; }
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card .emoji { font-size: 34px; }
.svc-card h3 { font-size: 17px; }
.svc-card p { font-size: 13.5px; color: var(--ink-2); flex: 1; }
.svc-card .from { font-size: 14px; font-weight: 800; color: var(--brand); }

/* shop layout */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .shop-layout { grid-template-columns: 1fr; } }
.facets { background: var(--card); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); position: sticky; top: 84px; }
.facets h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-2); margin: 14px 0 8px; }
.facets h4:first-child { margin-top: 0; }
.facets label.chk { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 5px 0; cursor: pointer; }
.facets input[type="checkbox"] { width: auto; }
.toolbar { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar input { flex: 1; min-width: 200px; }
.toolbar select { width: auto; }

/* steps banner */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.step-card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.step-card .n { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.step-card b { display: block; margin-bottom: 4px; }
.step-card span { font-size: 13px; color: var(--ink-2); }

/* cart drawer */
.drawer-back { position: fixed; inset: 0; background: rgba(10,16,28,.5); z-index: 60; display: flex; justify-content: flex-end; }
.drawer { width: 420px; max-width: 92vw; background: #fff; height: 100%; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.2); animation: slideIn .22s ease; }
@keyframes slideIn { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer .d-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer .d-head h3 { font-size: 18px; }
.drawer .d-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line .ic { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .info b { font-size: 14px; display: block; }
.cart-line .info span { font-size: 12.5px; color: var(--ink-2); }
.qty-ctl { display: flex; align-items: center; gap: 8px; }
.qty-ctl button { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; }
.qty-ctl button:hover { border-color: var(--brand-2); color: var(--brand-2); }
.drawer .d-foot { padding: 18px 22px; border-top: 1px solid var(--line); }
.drawer .total-row { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; margin-bottom: 12px; }
.x-btn { background: none; border: none; font-size: 22px; color: var(--ink-2); }

/* checkout & pages */
.page-pad { padding: 40px 0 70px; }
.panel { background: var(--card); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); margin-bottom: 20px; }
.panel h3 { margin-bottom: 14px; font-size: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1/-1; }
label.lbl { font-size: 12.5px; font-weight: 700; color: var(--ink-2); display: block; margin-bottom: 5px; }
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .checkout-layout { grid-template-columns: 1fr; } }
.sum-line { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.sum-line.total { border-top: 1.5px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 16px; }

/* order tracking */
.track-stepper { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tstep { padding: 6px 14px; border-radius: 20px; font-size: 12.5px; background: #edeff5; color: #7d8598; font-weight: 600; }
.tstep.done { background: #d9efe2; color: #1a7c48; }
.tstep.current { background: var(--grad); color: #fff; }
.badge { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.b-rental { background: #e3edfa; color: #1f5ca8; }
.b-event { background: #f6e9f5; color: #8b3a85; }
.b-video { background: #e7f3ea; color: #2e7d4f; }

/* success */
.success-box { text-align: center; padding: 70px 20px; }
.success-box .big { font-size: 60px; }
.success-box h2 { margin: 12px 0 8px; }
.success-box p { color: var(--ink-2); }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 30px; font-weight: 600; z-index: 80; box-shadow: var(--shadow-lg); animation: pop .2s ease; }
@keyframes pop { from { transform: translate(-50%, 12px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* footer */
.footer { background: #07201e; color: #9bc1bb; padding: 44px 0; margin-top: 40px; font-size: 13.5px; }
.footer .container { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer b { color: #fff; display: block; margin-bottom: 8px; }
.empty { text-align: center; color: var(--ink-2); padding: 40px 0; }
