/* Obsession Fishing — design tokens from the logo (navy, sky blue, coral fin, pastel splash) */
:root {
  --bg: #faf7f2; --bg2: #f3eee6; --card: #ffffff; --line: #e8e1d6;
  --text: #171a2e; --muted: #6b6f85;
  --navy: #1f2a7a; --navy-2: #2b39a3; --sky: #2f8fd8; --coral: #e0763c; --coral-2: #c8693a;
  --lime: #d6ec7a; --lilac: #b79be8; --peach: #f6c08e; --aqua: #9fd8ef;
  --primary: var(--navy); --on-primary: #fff;
  --ok: #1e9e6a; --danger: #d94848;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(23, 26, 46, .05), 0 8px 24px -12px rgba(23, 26, 46, .18);
  --font: 'Outfit', 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --header-h: 64px;
}
[data-theme="dark"] {
  --bg: #0c1020; --bg2: #121733; --card: #161c38; --line: #262e55;
  --text: #eef0fb; --muted: #9aa0c3;
  --primary: #4f63e6; --sky: #4aa8f0;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -14px rgba(0, 0, 0, .7);
}
html[dir="rtl"] { --font: 'Cairo', 'Outfit', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; transition: background .25s, color .25s; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.app { flex: 1; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* announce */
.announce { background: var(--navy); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 7px 12px; letter-spacing: .2px; }
.announce:empty { display: none; }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 46px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; font-family: 'Outfit', sans-serif; }
.brand-txt b { font-weight: 800; letter-spacing: 1.5px; color: var(--navy); font-size: 17px; }
[data-theme="dark"] .brand-txt b { color: #dfe4ff; }
.brand-txt i { font-style: italic; font-weight: 600; font-size: 14px; color: var(--sky); margin-top: 2px; }
.nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav a.active, .nav a:hover { color: var(--text); background: var(--bg2); }
.actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--card); cursor: pointer; }
.icon-btn:hover { border-color: var(--sky); }
.i-moon { display: none; } [data-theme="dark"] .i-moon { display: block; } [data-theme="dark"] .i-sun { display: none; }
.chip-select { height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); padding: 0 8px; font-weight: 700; cursor: pointer; }
.badge { position: absolute; top: -6px; inset-inline-end: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.badge.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: transform .12s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 8px 20px -10px var(--primary); }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--coral); color: #fff; box-shadow: 0 8px 20px -10px var(--coral); }
.btn-accent:hover { background: var(--coral-2); }
.btn-ghost { background: var(--card); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn-wa { background: #25d366; color: #fff; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 36px 0 28px; }
.hero::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(260px 160px at 12% 18%, color-mix(in srgb, var(--aqua) 55%, transparent), transparent 70%),
  radial-gradient(220px 140px at 88% 12%, color-mix(in srgb, var(--lilac) 45%, transparent), transparent 70%),
  radial-gradient(260px 160px at 80% 90%, color-mix(in srgb, var(--peach) 50%, transparent), transparent 70%),
  radial-gradient(200px 120px at 20% 92%, color-mix(in srgb, var(--lime) 50%, transparent), transparent 70%);
  opacity: .8; pointer-events: none; }
[data-theme="dark"] .hero::before { opacity: .22; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--sky); }
.kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(30px, 5vw, 54px); line-height: 1.08; margin: 14px 0 12px; font-weight: 800; letter-spacing: -.5px; color: var(--navy); }
[data-theme="dark"] .hero h1 { color: #fff; }
.hero p { color: var(--muted); font-size: 16px; max-width: 520px; margin: 0 0 22px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-logo { width: 100%; filter: drop-shadow(0 24px 40px rgba(31, 42, 122, .25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-1deg); } }

/* trust row */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 8px; }
.trust div { display: flex; gap: 10px; align-items: center; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.trust .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: color-mix(in srgb, var(--sky) 14%, transparent); color: var(--sky); }
.trust b { display: block; font-size: 14px; line-height: 1.3; } .trust small { display: block; color: var(--muted); font-size: 12px; line-height: 1.35; }

/* sections */
.section { padding: 26px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.sec-head a { color: var(--sky); font-weight: 700; font-size: 14px; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; font-weight: 700; font-size: 13px; transition: transform .15s, border-color .15s; }
.cat:hover { transform: translateY(-2px); border-color: var(--sky); }
.cat img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 13px; cursor: pointer; }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; }
.card:hover { transform: translateY(-3px); }
.card .thumb { aspect-ratio: 1; background: var(--bg2); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .thumb img { transform: scale(1.05); }
.card .body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 17px; font-weight: 800; color: var(--navy); }
[data-theme="dark"] .price b { color: #c9d1ff; }
.price s { color: var(--muted); font-size: 13px; }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--coral); color: #fff; }
.tag.out { background: #6b6f85; }
.card .add { margin-top: auto; }

/* toolbar */
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.search { flex: 1; min-width: 200px; position: relative; }
.search input { width: 100%; height: 44px; padding: 0 14px; padding-inline-start: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.search svg { position: absolute; top: 11px; inset-inline-start: 12px; width: 20px; height: 20px; color: var(--muted); }
.input, .select, .textarea { width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); outline: none; transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 80px; padding: 12px 14px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus, .search input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 22%, transparent); outline: none; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 13px; }
.field .err { color: var(--danger); font-size: 12px; min-height: 0; }
.field.bad .input, .field.bad .select { border-color: var(--danger); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px 0; }
.gallery .main { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { width: 64px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--bg2); }
.thumbs button.on { border-color: var(--sky); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: 26px; margin: 6px 0 10px; line-height: 1.2; }
.pdp .price b { font-size: 28px; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ok); }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.no { color: var(--danger); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--card); height: 46px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty span { min-width: 34px; text-align: center; font-weight: 800; }
.buy { display: flex; gap: 10px; margin: 18px 0; flex-wrap: wrap; }
.buy .btn { flex: 1; min-width: 150px; }
.desc { white-space: pre-line; color: var(--muted); }
.crumbs { font-size: 13px; color: var(--muted); padding-top: 18px; }
.crumbs a:hover { color: var(--sky); }

/* cart & checkout */
.layout2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; padding: 22px 0 40px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.panel h2 { margin: 0 0 14px; font-size: 18px; }
.sticky { position: sticky; top: calc(var(--header-h) + 14px); }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: var(--bg2); }
.line-item h4 { margin: 0 0 4px; font-size: 14px; }
.line-item .qty { height: 34px; } .line-item .qty button { width: 30px; font-size: 16px; }
.link-btn { background: none; border: 0; color: var(--danger); font-size: 12px; font-weight: 700; cursor: pointer; padding: 4px 0; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-row.total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 18px; font-weight: 800; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); }
.radio-card input { position: absolute; opacity: 0; }
.radio-card b { font-size: 14px; } .radio-card small { color: var(--muted); }
.radio-card:has(input:checked) { border-color: var(--sky); background: color-mix(in srgb, var(--sky) 8%, var(--card)); }
.cod { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--ok); font-weight: 700; margin: 14px 0; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.form-grid { display: grid; gap: 12px; }

/* empty / thanks */
.empty { text-align: center; padding: 60px 16px; }
.empty .big { width: 84px; height: 84px; margin: 0 auto 12px; border-radius: 24px; display: grid; place-items: center; background: color-mix(in srgb, var(--sky) 12%, transparent); color: var(--sky); }
.empty .big svg { width: 40px; height: 40px; }
.empty h2 { margin: 0 0 6px; }
.order-no { display: inline-block; margin: 12px 0 20px; padding: 10px 18px; border-radius: 12px; border: 1px dashed var(--sky); font-weight: 800; font-size: 20px; letter-spacing: 1px; color: var(--sky); }

/* footer */
.footer { margin-top: 30px; background: var(--navy); color: #dfe3ff; padding: 32px 0 90px; }
[data-theme="dark"] .footer { background: #090c1a; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer h4 { margin: 0 0 10px; color: #fff; }
.footer a:hover { color: #fff; }
.footer p { margin: 4px 0; font-size: 14px; opacity: .85; }
.foot-logo { width: 90px; margin-bottom: 8px; background: #fff; border-radius: 50%; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.copy { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; opacity: .7; }

.wa-float { position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .7); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 30px); z-index: 60; padding: 12px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.loader { display: grid; place-items: center; padding: 100px 0; }
.loader span { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--sky); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

/* mobile bottom bar for PDP */
.mbar { display: none; }

/* ---------- aquarium hero + intro ---------- */
.aq-hero { background: #0b2257; color: #fff; min-height: clamp(480px, 66vh, 680px); display: flex; align-items: center; padding: 40px 0; isolation: isolate; }
.aq-hero::before { display: none; }
.aq-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; z-index: -1; }
.aq-hero .hero-in { width: 100%; }
.aq-hero h1, [data-theme="dark"] .aq-hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 10, 40, .45); }
.aq-hero p { color: rgba(226, 236, 255, .88); text-shadow: 0 1px 12px rgba(0, 10, 40, .5); }
.aq-hero .kicker { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #bfe2ff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.hero-badge { justify-self: center; width: min(360px, 80%); position: relative; }
.hero-badge::before { content: ''; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(120, 190, 255, .35), transparent 70%); filter: blur(30px); z-index: -1; }
.hero-logo { width: 100%; filter: drop-shadow(0 30px 50px rgba(0, 8, 30, .55)); animation: float 6s ease-in-out infinite; }

.aq-lock, .aq-lock body { overflow: hidden; }
.aq-intro { position: fixed; inset: 0; z-index: 200; background: #0b2257; color: #fff; display: grid; place-items: center; transition: opacity .8s ease, transform .8s ease; }
.aq-intro.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.aq-intro .aq-canvas { z-index: 0; }
.aq-intro-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 20px; }
.aq-intro-logo { width: min(48vw, 300px); filter: drop-shadow(0 30px 60px rgba(0, 8, 30, .6)); opacity: 0; transform: scale(.75) translateY(30px); transition: 1.1s cubic-bezier(.2, .8, .2, 1) .2s; }
.aq-intro-title { display: flex; flex-direction: column; align-items: center; line-height: 1; font-family: 'Outfit', sans-serif; opacity: 0; transform: translateY(14px); transition: .9s ease 1.1s; }
.aq-intro.show .aq-intro-logo, .aq-intro.show .aq-intro-title { opacity: 1; transform: none; }
.aq-intro-title b { font-size: clamp(28px, 6vw, 48px); font-weight: 800; letter-spacing: 7px; text-shadow: 0 4px 30px rgba(0, 10, 40, .6); }
.aq-intro-title i { font-size: clamp(20px, 4vw, 30px); font-weight: 600; color: #8fd0ff; margin-top: 6px; }
.aq-intro-title small { margin-top: 14px; font-size: 14px; letter-spacing: 1px; opacity: .85; font-family: var(--font); }
.aq-skip { position: absolute; z-index: 2; bottom: calc(24px + env(safe-area-inset-bottom)); inset-inline-end: 24px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.aq-skip:hover { background: rgba(255, 255, 255, .2); }
@media (prefers-reduced-motion: reduce) { .aq-intro { display: none; } .hero-logo { animation: none; } }

@media (max-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .brand-txt { display: none; }
  .hero { padding: 20px 0 10px; }
  .hero-in { grid-template-columns: 1fr; text-align: center; }
  .hero-badge { order: -1; width: 190px; }
  .aq-hero { min-height: 0; padding: 28px 0 36px; }
  .hero p { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card .body { padding: 10px; }
  .card .add { height: 38px; font-size: 13px; padding: 0 10px; }
  .pdp, .layout2 { grid-template-columns: 1fr; gap: 16px; }
  .sticky { position: static; }
  .foot-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .mbar { display: flex; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
  .mbar .btn { flex: 1; }
  .has-mbar .wa-float { bottom: 84px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.copy { display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
.dev-credit a { color: #fff; font-weight: 700; border-bottom: 1px dashed rgba(255, 255, 255, .5); }
.dev-credit a:hover { border-bottom-style: solid; }
