:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --ocean-dark: #082f49;
  --ocean-mid: #164e63;
  --ocean-muted: #477899;
  --sand-50: #fffbeb;
  --sand-100: #fef3c7;
  --sand-300: #fcd34d;
  --sand-500: #f59e0b;
  --coral-500: #f97316;
  --mint-bg: #dcfce7;
  --mint-border: #6ee7b7;
  --mint-text: #0f764a;
  --peach-bg: #fef3c7;
  --peach-border: #fcd34d;
  --peach-text: #a15c07;
  --rose-bg: #ffe2e8;
  --rose-border: #fda4af;
  --rose-text: #be123c;
  --radius-xl: 26px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  font-family: 'Plus Jakarta Sans', 'Quicksand', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ocean-dark);
  background:
    radial-gradient(circle at 88% 8%, rgba(253, 224, 71, 0.45) 0%, transparent 32%),
    radial-gradient(circle at 10% 25%, rgba(56, 189, 248, 0.32) 0%, transparent 38%),
    radial-gradient(circle at 85% 65%, rgba(251, 146, 60, 0.18) 0%, transparent 36%),
    linear-gradient(180deg, #b9e6fe 0%, #dff4ff 32%, #f0fbff 64%, #fff3c4 100%);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* ==========================================================
   SUMMER AMBIENT DECORATIONS & SUBTLE MOVING OCEAN WAVES
   ========================================================== */
.summer-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.summer-ambient__sunburst {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(254, 240, 138, 0.55) 0%, rgba(251, 191, 36, 0.22) 45%, transparent 70%);
  filter: blur(8px);
  animation: ambientSunBreath 7s ease-in-out infinite alternate;
}

@keyframes ambientSunBreath {
  0% {
    transform: scale(0.95);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.summer-ambient__cloud {
  position: absolute;
  font-size: 3.2rem;
  opacity: 0.35;
  filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.2));
}

.summer-ambient__cloud--1 {
  top: 76px;
  left: 6%;
  animation: cloudDrift 26s ease-in-out infinite alternate;
}

.summer-ambient__cloud--2 {
  top: 150px;
  right: 9%;
  font-size: 2.5rem;
  animation: cloudDrift 32s ease-in-out infinite alternate-reverse;
}

@keyframes cloudDrift {
  0% {
    transform: translateX(-24px) translateY(0);
  }
  100% {
    transform: translateX(36px) translateY(-8px);
  }
}

.summer-floater {
  position: absolute;
  font-size: 1.45rem;
  opacity: 0.42;
  user-select: none;
  filter: drop-shadow(0 6px 12px rgba(2, 132, 199, 0.18));
  animation: summerBob 6.5s ease-in-out infinite alternate;
}

.summer-floater--1 {
  top: 18%;
  left: 2.2%;
  font-size: 1.85rem;
  animation-duration: 7.5s;
}
.summer-floater--2 {
  top: 38%;
  right: 2.4%;
  font-size: 1.55rem;
  animation-delay: -1.5s;
}
.summer-floater--3 {
  top: 58%;
  left: 3%;
  font-size: 1.4rem;
  animation-delay: -3s;
}
.summer-floater--4 {
  top: 12%;
  right: 18%;
  font-size: 1.35rem;
  animation-delay: -2.2s;
}
.summer-floater--5 {
  top: 74%;
  right: 3.2%;
  font-size: 1.65rem;
  animation-delay: -4s;
}
.summer-floater--6 {
  top: 46%;
  left: 1.6%;
  font-size: 1.4rem;
  animation-delay: -0.8s;
}
.summer-floater--7 {
  top: 82%;
  left: 4.5%;
  font-size: 1.45rem;
  animation-delay: -2.7s;
}
.summer-floater--8 {
  top: 28%;
  right: 4%;
  font-size: 1.3rem;
  animation-delay: -3.5s;
}

@keyframes summerBob {
  0% {
    transform: translateY(0) rotate(-6deg) scale(0.96);
  }
  100% {
    transform: translateY(-16px) rotate(8deg) scale(1.06);
  }
}

/* Subtle Thin Moving Ocean Waves at the Bottom Horizon of Viewport */
.ambient-ocean-waves {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 54px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-wave {
  position: absolute;
  left: -25%;
  bottom: 0;
  width: 150%;
  height: 54px;
}

.ambient-wave--back {
  fill: rgba(56, 189, 248, 0.14);
  animation: subtleWaveFlow 13s ease-in-out infinite alternate;
}

.ambient-wave--mid {
  height: 44px;
  fill: rgba(14, 165, 233, 0.16);
  animation: subtleWaveFlow 9.5s ease-in-out infinite alternate-reverse;
}

.ambient-wave--front {
  height: 32px;
  fill: rgba(250, 204, 21, 0.14);
  animation: subtleWaveFlow 7.5s ease-in-out infinite alternate;
}

@keyframes subtleWaveFlow {
  0% {
    transform: translateX(0) scaleY(0.95);
  }
  50% {
    transform: translateX(6%) scaleY(1.06);
  }
  100% {
    transform: translateX(12%) scaleY(0.97);
  }
}

.page-shell,
.top-navbar,
.ocean-footer {
  position: relative;
  z-index: 2;
}

a {
  color: var(--sky-600);
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Click Burst Particles */
.burst-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-size: 16px;
  user-select: none;
  animation: burstFly 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes burstFly {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1.25) rotate(var(--rot));
    opacity: 0;
  }
}

/* Sticky Top Summer App-Store Navbar */
.top-navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1.5px solid rgba(125, 211, 252, 0.6);
  box-shadow: 0 4px 20px -6px rgba(2, 132, 199, 0.14);
}

.top-navbar__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.nav-brand-modern {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.nav-sun-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  border: 2px solid #bae6fd;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex: none;
  box-shadow: 0 5px 12px -4px rgba(2, 132, 199, 0.35);
}

.nav-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.nav-brand-text h1 {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 900;
  color: var(--ocean-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ocean-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  flex: none;
}

/* Wide Page Wrapper */
.page-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 18px calc(88px + env(safe-area-inset-bottom, 0px));
}

.container--wide {
  max-width: 1060px;
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* Full-Width Tropical Summer Coastal Hero Banner with Rolling Ocean Waves */
.summer-hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(254, 240, 138, 0.55) 0%, transparent 38%),
    radial-gradient(circle at 12% 85%, rgba(45, 212, 191, 0.42) 0%, transparent 45%),
    linear-gradient(130deg, #0369a1 0%, #0ea5e9 38%, #06b6d4 68%, #f59e0b 105%, #fb7185 130%);
  background-size: 130% 130%;
  animation: tropicalGradientShift 12s ease-in-out infinite alternate;
  color: #fff;
  padding: 34px 28px 74px;
  box-shadow:
    0 22px 48px -12px rgba(2, 132, 199, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

@keyframes tropicalGradientShift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.summer-hero__palm {
  position: absolute;
  font-size: 3.1rem;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(8, 47, 73, 0.25));
}

.summer-hero__palm--left {
  top: 12px;
  left: 12px;
  transform: rotate(-12deg);
  animation: palmSway 5s ease-in-out infinite alternate;
}

.summer-hero__palm--right {
  bottom: 44px;
  right: 14px;
  font-size: 2.6rem;
  animation: palmSway 6s ease-in-out infinite alternate-reverse;
}

.summer-hero__seagulls {
  position: absolute;
  top: 16px;
  right: 175px;
  font-size: 1rem;
  letter-spacing: 6px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  animation: cloudDrift 8s ease-in-out infinite alternate;
}

@keyframes palmSway {
  0% {
    transform: rotate(-10deg) scale(0.98);
  }
  100% {
    transform: rotate(8deg) scale(1.05);
  }
}

.summer-hero__sun {
  position: absolute;
  top: -36px;
  right: 36px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, #fef08a 0%, #f59e0b 70%, transparent 72%);
  opacity: 0.88;
  filter: drop-shadow(0 0 32px rgba(254, 240, 138, 0.85));
  animation: sunPulse 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes sunPulse {
  0% {
    transform: scale(1) translateY(0);
  }
  100% {
    transform: scale(1.08) translateY(6px);
  }
}

.summer-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
  align-items: center;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-search-input {
  max-width: 260px;
}

.summer-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(8, 47, 73, 0.22);
}

.summer-hero p {
  margin: 0 0 16px;
  font-size: 0.94rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
}

/* Spotlight Netflix Card Inside Hero */
.hero-spotlight {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ocean-dark);
  border-radius: 22px;
  padding: 16px 18px;
  box-shadow: 0 14px 32px rgba(8, 47, 73, 0.22);
  border: 2px solid #fef08a;
}

.hero-spotlight__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.netflix-logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1rem;
  color: #dc2626;
}

.netflix-n {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #111827;
  color: #ef4444;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.netflix-tiers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.netflix-tier-btn {
  border: 1.5px solid var(--sky-200);
  background: var(--sky-50);
  border-radius: 12px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.16s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.netflix-tier-btn:hover {
  border-color: var(--sky-500);
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -4px rgba(2, 132, 199, 0.2);
}

.netflix-tier-name {
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--ocean-mid);
}

.netflix-tier-price {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--sky-700);
}

/* Animated Multi-Layer Rolling SVG Ocean Waves at Hero Bottom */
.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 54px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.hero-wave-svg {
  position: absolute;
  left: -20%;
  bottom: 0;
  display: block;
  width: 145%;
}

.hero-wave-svg--back {
  height: 52px;
  animation: waveSway 10s ease-in-out infinite alternate;
}

.hero-wave-svg--mid {
  height: 42px;
  animation: waveSwayReverse 7.5s ease-in-out infinite alternate;
}

.hero-wave-svg--front {
  height: 34px;
  animation: waveSway 6s ease-in-out infinite alternate;
}

@keyframes waveSway {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(12%);
  }
}

@keyframes waveSwayReverse {
  0% {
    transform: translateX(11%);
  }
  100% {
    transform: translateX(-2%);
  }
}

/* Summer Beach Perks & Guarantees Strip */
.summer-perks-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.summer-perk-pill {
  border-radius: 18px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--sky-200);
  box-shadow: 0 10px 22px -10px rgba(2, 132, 199, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.summer-perk-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -10px rgba(2, 132, 199, 0.28);
}

.summer-perk-pill--aqua {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-color: #7dd3fc;
}

.summer-perk-pill--sun {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border-color: #fcd34d;
}

.summer-perk-pill--coral {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border-color: #fda4af;
}

.summer-perk-pill--mint {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border-color: #6ee7b7;
}

.summer-perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex: none;
  box-shadow: 0 4px 10px rgba(8, 47, 73, 0.08);
  animation: summerBob 4.5s ease-in-out infinite alternate;
}

.summer-perk-pill strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ocean-dark);
  line-height: 1.2;
}

.summer-perk-pill span {
  display: block;
  font-size: 0.71rem;
  font-weight: 700;
  color: var(--ocean-muted);
}

/* Status & Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  border: 1.5px solid transparent;
  white-space: nowrap;
  flex: none;
}

.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  flex: none;
}

.pill--sun {
  background: #fef08a;
  color: #854d0e;
  border-color: #facc15;
}

.pill--sky {
  background: var(--sky-100);
  color: var(--sky-700);
  border-color: var(--sky-300);
}

.status--available {
  background: var(--mint-bg);
  color: var(--mint-text);
  border-color: var(--mint-border);
}

.status--near_limit {
  background: var(--peach-bg);
  color: var(--peach-text);
  border-color: var(--peach-border);
}

.status--limit_full {
  background: var(--rose-bg);
  color: var(--rose-text);
  border-color: var(--rose-border);
}

/* Summer Announcement Strip */
.announcement {
  margin-bottom: 18px;
  background: linear-gradient(90deg, #fffbeb, #f0f9ff);
  border: 1.5px solid #fcd34d;
  border-left: 5px solid #f59e0b;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ocean-dark);
  box-shadow: 0 6px 18px -8px rgba(245, 158, 11, 0.25);
}

/* Toolbar: Search + Category Filter Pills */
.catalog-toolbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--sky-200);
  border-radius: 22px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 24px -10px rgba(2, 132, 199, 0.14);
}

.toolbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-bar-wrap {
  flex: 1;
  min-width: 240px;
}

.search-input {
  width: 100%;
  border: 2px solid var(--sky-200);
  background: var(--sky-50);
  color: var(--ocean-dark);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #fff;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}

.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  border: 1.5px solid var(--sky-200);
  background: #fff;
  color: var(--ocean-mid);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab-btn:hover {
  border-color: var(--sky-400);
  background: var(--sky-50);
  transform: translateY(-1px);
}

.tab-btn.is-active {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.45);
}

/* Category Section Divider with Colorful Tropical Banner Headers */
.cat-section {
  margin-bottom: 30px;
}

.cat-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 11px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.92), rgba(254, 249, 195, 0.85));
  border: 1.5px solid var(--sky-300);
  box-shadow: 0 8px 20px -10px rgba(2, 132, 199, 0.22);
}

.cat-section--streaming .cat-section__head {
  background: linear-gradient(90deg, #e0f2fe 0%, #bae6fd 55%, #fef3c7 100%);
  border-color: #38bdf8;
}

.cat-section--editing .cat-section__head {
  background: linear-gradient(90deg, #fff1f2 0%, #fed7aa 55%, #fef3c7 100%);
  border-color: #fb923c;
}

.cat-section--music .cat-section__head {
  background: linear-gradient(90deg, #ecfdf5 0%, #a7f3d0 55%, #e0f2fe 100%);
  border-color: #34d399;
}

.cat-section--ai .cat-section__head {
  background: linear-gradient(90deg, #fefce8 0%, #fde68a 50%, #bae6fd 100%);
  border-color: #f59e0b;
}

.cat-title-icon {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(8, 47, 73, 0.1);
}

.cat-section__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--ocean-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill--cat-streaming {
  background: #0284c7;
  color: #fff;
}

.pill--cat-editing {
  background: linear-gradient(135deg, #f97316, #fb7185);
  color: #fff;
}

.pill--cat-music {
  background: linear-gradient(135deg, #059669, #0ea5e9);
  color: #fff;
}

.pill--cat-ai {
  background: linear-gradient(135deg, #d97706, #0284c7);
  color: #fff;
}

/* Modern 3-4 Column App Store Product Cards Grid */
.app-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.app-card {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 68%, rgba(254, 252, 232, 0.92) 100%);
  border: 1.5px solid #bae6fd;
  border-top: 3.5px solid #38bdf8;
  border-radius: 22px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 10px 24px -10px rgba(2, 132, 199, 0.18);
  transition:
    transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1),
    border-color 0.18s ease,
    box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}

.cat-section--editing .app-card {
  border-top-color: #fb923c;
}

.cat-section--music .app-card {
  border-top-color: #10b981;
}

.cat-section--ai .app-card {
  border-top-color: #f59e0b;
}

.app-card::after {
  content: '';
  position: absolute;
  top: -28px;
  right: -28px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 240, 138, 0.45) 0%, rgba(56, 189, 248, 0.15) 60%, transparent 72%);
  pointer-events: none;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: var(--sky-400);
  box-shadow: 0 18px 34px -10px rgba(2, 132, 199, 0.32);
}

.app-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.app-tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  flex: none;
  box-shadow: 0 8px 16px -4px rgba(8, 47, 73, 0.25);
  overflow: hidden;
  border: 2px solid #fff;
}

.app-tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__meta {
  flex: 1;
  min-width: 0;
}

.app-card__badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 3px;
}

.prod-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--sky-100);
  color: var(--sky-700);
  font-size: 0.68rem;
  font-weight: 800;
}

.app-card__name {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--ocean-dark);
  line-height: 1.25;
}

.app-card__desc {
  margin: 8px 0 0;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--ocean-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1.5px dashed var(--sky-100);
}

.app-price-tag {
  display: flex;
  flex-direction: column;
}

.app-price-label {
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--ocean-muted);
  text-transform: uppercase;
}

.app-price-val {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--sky-700);
}

.app-card__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.is-highlighted {
  border-color: var(--sand-500) !important;
  box-shadow:
    0 0 0 3px rgba(245, 158, 11, 0.35),
    0 14px 28px -6px rgba(2, 132, 199, 0.35) !important;
}

/* Floating Summer Shopping Cart / Quick Order Bar at Bottom */
.floating-cart {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 45;
  width: calc(100% - 28px);
  max-width: 680px;
  background: linear-gradient(135deg, #082f49, #0369a1);
  color: #fff;
  border: 2px solid #7dd3fc;
  border-radius: 20px;
  padding: 12px 16px;
  box-shadow: 0 18px 40px -8px rgba(8, 47, 73, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.floating-cart[hidden] {
  display: none !important;
}

.floating-cart__info {
  min-width: 0;
  flex: 1;
}

.floating-cart__title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #fef08a;
}

.floating-cart__items {
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Slide-Over Right Drawer for Store Info & Community */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 47, 73, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: flex-end;
}

.drawer-backdrop.is-open {
  display: flex;
}

.info-drawer {
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #f8fcff;
  box-shadow: -12px 0 36px rgba(8, 47, 73, 0.35);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  animation: drawerSlideIn 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes drawerSlideIn {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

.info-drawer__top {
  background: linear-gradient(135deg, #082f49, #0284c7);
  color: #fff;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drawer-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.info-drawer__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--sky-700);
  text-transform: uppercase;
}

.drawer-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.drawer-stat-box {
  background: #fff;
  border: 1.5px solid var(--sky-200);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
}

.drawer-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ocean-muted);
}

.drawer-contact-card {
  background: #fff;
  border: 1.5px solid var(--sky-200);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer-community-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link-tile {
  background: #fff;
  border: 1.5px solid var(--sky-200);
  border-radius: 14px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--ocean-dark);
  transition: all 0.16s ease;
}

.drawer-link-tile:hover {
  border-color: var(--sky-500);
  background: var(--sky-50);
  transform: translateX(3px);
}

/* Full-Width 3-Column Deep Ocean Footer */
.ocean-footer {
  position: relative;
  background: linear-gradient(135deg, #082f49 0%, #0c4a6e 55%, #0369a1 100%);
  color: #fff;
  margin-top: 56px;
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

.ocean-footer__wave {
  position: relative;
  top: -34px;
  height: 36px;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -24px;
  pointer-events: none;
}

.footer-wave-svg {
  position: absolute;
  left: -18%;
  bottom: 0;
  width: 140%;
  height: 36px;
}

.footer-wave-svg--back {
  animation: waveSwayReverse 9s ease-in-out infinite alternate;
}

.footer-wave-svg--front {
  height: 28px;
  animation: waveSway 6.5s ease-in-out infinite alternate;
}

.ocean-footer__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 18px 8px;
}

.ocean-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(186, 230, 253, 0.22);
}

.ocean-footer__heading {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fef08a;
}

.ocean-footer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.footer-cat-link {
  border: none;
  background: transparent;
  padding: 2px 0;
  color: #e0f2fe;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.footer-cat-link:hover {
  color: #fef08a;
}

.ocean-footer__bottom {
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #bae6fd;
}

.ocean-admin-link {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .ocean-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Admin Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.prod-card {
  background: linear-gradient(145deg, #f0f9ff, #ecfeff);
  border: 1.5px solid var(--sky-200);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.prod-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.prod-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--sky-100);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex: none;
  overflow: hidden;
}

.prod-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ocean-dark);
}

.prod-desc {
  margin: 0;
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--ocean-mid);
}

.prod-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--sky-200);
}

.prod-price {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--sky-700);
}

.prod-actions {
  display: flex;
  gap: 5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    filter 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1.5px);
}

.btn:active:not(:disabled) {
  transform: scale(0.95);
}

.btn--primary {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #fff;
  box-shadow: 0 5px 14px -3px rgba(2, 132, 199, 0.45);
}

.btn--sun {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #422006;
  box-shadow: 0 5px 14px -3px rgba(245, 158, 11, 0.45);
}

.btn--soft {
  background: var(--sky-100);
  color: var(--sky-700);
  border: 1.5px solid var(--sky-300);
}

.btn--outline {
  background: #fff;
  color: var(--ocean-mid);
  border: 1.5px solid var(--sky-200);
}

.btn--danger {
  background: var(--rose-bg);
  color: var(--rose-text);
  border: 1.5px solid var(--rose-border);
}

.btn--sm {
  padding: 6px 12px;
  font-size: 0.77rem;
}

.btn--block {
  width: 100%;
  padding: 11px 16px;
  font-size: 0.88rem;
}

/* Form & Admin Shared */
.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(186, 230, 253, 0.75), rgba(254, 249, 195, 0.75));
  border: 1.5px solid var(--sky-200);
  border-radius: 15px;
}

.section-title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
}

.section-sub {
  margin: 2px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ocean-mid);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ocean-mid);
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1.5px solid var(--sky-200);
  background: #fff;
  color: var(--ocean-dark);
  border-radius: 11px;
  padding: 9px 11px;
  font-size: 0.86rem;
  font-weight: 600;
  outline: none;
}

.textarea {
  min-height: 70px;
  resize: vertical;
}

/* Footer */
.site-footer {
  margin-top: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1.5px solid var(--sky-200);
  border-radius: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer-store-line {
  font-size: 0.88rem;
  font-weight: 900;
  color: var(--ocean-dark);
}

.footer-wa-line {
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--sky-700);
}

.admin-entry {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--sky-100);
  border: 1.5px solid var(--sky-300);
  color: var(--sky-700);
  font-size: 0.76rem;
  font-weight: 800;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 47, 73, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.is-open {
  display: flex;
}

.modal-panel {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border: 2.5px solid var(--sky-300);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: 0 20px 44px -10px rgba(8, 47, 73, 0.35);
}

.modal-panel--wide {
  max-width: 560px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 800;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(20px);
  z-index: 100;
  background: var(--ocean-dark);
  color: #fff;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.83rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--error {
  background: var(--rose-text);
}

/* Modern Sidebar SaaS Admin Console */
.admin-body {
  background: #f1f7fb;
}

.admin-login-wrapper {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #082f49 0%, #0284c7 60%, #38bdf8 100%);
}

.admin-login-wrapper[hidden] {
  display: none !important;
}

.admin-login-card {
  width: 100%;
  max-width: 780px;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 24px 60px rgba(8, 47, 73, 0.45);
}

.admin-login-card__art {
  background: linear-gradient(145deg, #082f49, #0369a1);
  color: #fff;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.admin-login-card__art h2 {
  margin: 10px 0 6px;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.25;
}

.admin-login-card__art p {
  margin: 0;
  font-size: 0.86rem;
  color: #bae6fd;
  line-height: 1.6;
}

.admin-login-card__form {
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-login-card__form h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--ocean-dark);
}

.admin-console {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100dvh;
}

.admin-console[hidden] {
  display: none !important;
}

.admin-sidebar {
  background: linear-gradient(180deg, #082f49 0%, #0c4a6e 100%);
  color: #fff;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  height: 100dvh;
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 8px 16px;
  border-bottom: 1px solid rgba(186, 230, 253, 0.18);
}

.admin-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-item {
  border: none;
  background: transparent;
  color: #bae6fd;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-nav-item.is-active {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #fff;
  box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.5);
}

.admin-sidebar__footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(186, 230, 253, 0.18);
}

.admin-ext-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #e0f2fe;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.admin-logout-btn {
  border: 1px solid rgba(253, 164, 175, 0.35);
  background: rgba(244, 63, 94, 0.15);
  color: #fecdd3;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-workspace {
  padding: 24px 28px 60px;
  max-width: 1100px;
  width: 100%;
}

.admin-workspace__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.kpi-card {
  background: #fff;
  border: 1.5px solid var(--sky-200);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 6px 16px -8px rgba(2, 132, 199, 0.12);
}

.kpi-card__label {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ocean-muted);
  text-transform: uppercase;
}

.kpi-card__val {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ocean-dark);
}

.kpi-card__sub {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--ocean-muted);
}

.inventory-box {
  background: #fff;
  border: 1.5px solid var(--sky-200);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 26px -12px rgba(2, 132, 199, 0.14);
}

.inventory-toolbar {
  padding: 14px 18px;
  background: var(--sky-50);
  border-bottom: 1.5px solid var(--sky-100);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inventory-list {
  display: flex;
  flex-direction: column;
}

.inv-row {
  padding: 12px 18px;
  border-bottom: 1px solid var(--sky-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background 0.15s ease;
}

.inv-row:hover {
  background: #f8fcff;
}

.inv-row--off {
  opacity: 0.58;
  background: #fafafa;
}

.inv-row__main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.inv-row__text {
  min-width: 0;
  flex: 1;
}

.inv-row__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.inv-price-pill {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--sky-700);
  background: var(--sand-100);
  border: 1px solid var(--sand-300);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.shortcut-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.shortcut-tile {
  background: var(--sky-50);
  border: 1.5px solid var(--sky-200);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.shortcut-tile strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ocean-dark);
}

.shortcut-tile code {
  font-size: 0.78rem;
  color: var(--sky-700);
  font-weight: 700;
}

.alert-banner {
  background: var(--peach-bg);
  border: 1.5px solid var(--peach-border);
  color: var(--peach-text);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.upload-preview {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid var(--sky-200);
}

.empty-state {
  text-align: center;
  padding: 28px 14px;
  background: #fff;
  color: var(--ocean-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 700;
  cursor: pointer;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--sky-500);
}

/* ==========================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVE ADAPTATIONS
   ========================================================== */

/* Tablet & Mobile Admin Console (<= 960px):
   - Sticky top header + Fixed Bottom App Navigation Bar */
@media (max-width: 960px) {
  .admin-console {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 45;
    height: auto;
    padding: 10px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(8, 47, 73, 0.28);
  }

  .admin-sidebar__brand {
    padding: 0;
    border-bottom: none;
    min-width: 0;
  }

  .admin-sidebar__footer {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
    border-top: none;
    gap: 6px;
    flex: none;
  }

  .admin-ext-btn,
  .admin-logout-btn {
    padding: 7px 11px;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* Turn Admin Menu into a Fixed Bottom Mobile Tab Bar */
  .admin-sidebar__nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    background: rgba(8, 47, 73, 0.96);
    backdrop-filter: blur(14px);
    border-top: 1.5px solid rgba(125, 211, 252, 0.35);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 -8px 24px rgba(8, 47, 73, 0.32);
  }

  .admin-nav-item {
    flex: 1;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding: 7px 4px;
    border-radius: 12px;
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .admin-nav-item span:first-child {
    font-size: 1.1rem;
  }

  .admin-nav-item span:last-child {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .admin-workspace {
    padding: 16px 14px calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
  }

  .admin-login-wrapper {
    padding: 14px;
  }

  .admin-login-card {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .admin-login-card__art {
    padding: 22px 20px;
    gap: 10px;
  }

  .admin-login-card__art h2 {
    font-size: 1.25rem;
    margin: 4px 0;
  }

  .admin-login-card__form {
    padding: 22px 20px 26px;
  }
}

@media (max-width: 820px) {
  .summer-hero__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .summer-perks-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Smartphone Layout (<= 640px) */
@media (max-width: 640px) {
  .summer-perks-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }

  .summer-perk-pill {
    padding: 9px 10px;
    gap: 8px;
    border-radius: 15px;
  }

  .summer-perk-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .summer-perk-pill strong {
    font-size: 0.75rem;
  }

  .summer-perk-pill span {
    font-size: 0.65rem;
  }

  .summer-floater {
    font-size: 1.15rem;
    opacity: 0.28;
  }

  .ambient-ocean-waves {
    height: 36px;
  }

  .cat-section__head {
    padding: 9px 12px;
    border-radius: 15px;
  }

  .top-navbar__inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .page-shell {
    padding: 12px 12px calc(108px + env(safe-area-inset-bottom, 0px));
  }

  .summer-hero {
    padding: 20px 15px 52px;
    border-radius: 22px;
    margin-bottom: 16px;
  }

  .summer-hero__sun {
    width: 110px;
    height: 110px;
    top: -24px;
    right: 16px;
  }

  .summer-hero h2 {
    font-size: 1.38rem;
  }

  .summer-hero p {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }

  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-cta-row > :first-child {
    grid-column: 1 / -1;
  }

  .hero-cta-row .btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.81rem;
  }

  .hero-spotlight {
    padding: 13px 14px;
    border-radius: 18px;
  }

  .netflix-tiers {
    gap: 7px;
  }

  .netflix-tier-btn {
    padding: 8px 9px;
  }

  /* Announcement Banner */
  .announcement {
    padding: 10px 12px;
    font-size: 0.8rem;
    border-radius: 14px;
    margin-bottom: 14px;
    align-items: flex-start;
  }

  /* Search & Sticky Horizontal Category Pills */
  .catalog-toolbar {
    padding: 12px;
    border-radius: 18px;
    margin-bottom: 16px;
    gap: 10px;
  }

  .search-bar-wrap {
    min-width: 0;
    width: 100%;
  }

  .tabs-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    margin: 0 -2px;
  }

  .tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: none;
    padding: 7px 13px;
    font-size: 0.79rem;
  }

  .cat-section {
    margin-bottom: 22px;
  }

  .cat-section__title {
    font-size: 1.05rem;
  }

  /* 2-Column Mobile App Store Grid */
  .app-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .app-card {
    padding: 12px 11px;
    border-radius: 18px;
    gap: 10px;
  }

  .app-card__top {
    gap: 9px;
  }

  .app-tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 0.84rem;
  }

  .prod-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .app-card__name {
    font-size: 0.88rem;
    line-height: 1.22;
  }

  .app-card__desc {
    font-size: 0.73rem;
    margin-top: 6px;
    -webkit-line-clamp: 2;
  }

  /* Stack Price and Action Buttons cleanly inside 2-column mobile cards */
  .app-card__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 9px;
  }

  .app-price-tag {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px;
  }

  .app-price-val {
    font-size: 0.92rem;
  }

  .app-card__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 6px;
  }

  .app-card__actions .btn {
    width: 100%;
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  /* Floating Bottom Cart Bar on Mobile */
  .floating-cart {
    width: calc(100% - 20px);
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 10px 12px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .floating-cart > div:last-child {
    display: grid !important;
    grid-template-columns: auto 1fr;
    gap: 8px;
  }

  /* Slide-Over Info Drawer full-screen on Mobile */
  .info-drawer {
    max-width: 100%;
  }

  .info-drawer__top {
    padding: 18px 16px;
  }

  .info-drawer__body {
    padding: 16px;
  }

  .drawer-contact-card {
    flex-direction: column;
    align-items: stretch;
  }

  .drawer-contact-card > div:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
  }

  /* Admin Workspace Mobile Refinements */
  .admin-workspace__head {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .admin-workspace__head > div:last-child,
  .admin-workspace__head #addProductBtn {
    width: 100%;
  }

  .kpi-card {
    padding: 11px 12px;
    border-radius: 15px;
  }

  .kpi-card__val {
    font-size: 1.3rem;
  }

  .inventory-toolbar {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .admin-search-input {
    max-width: 100%;
    width: 100%;
  }

  .inv-row {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .inv-row__controls {
    width: 100%;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px dashed var(--sky-100);
    gap: 6px;
  }

  .inv-price-pill {
    margin-right: auto;
    font-size: 0.84rem;
  }

  .shortcut-cards-grid {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  /* Prevent iOS Safari zoom on input focus */
  .input,
  .select,
  .textarea,
  .search-input {
    font-size: 16px;
  }

  /* Bottom Sheet Modals on Mobile */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .modal-panel,
  .modal-panel--wide {
    max-width: 100%;
    max-height: 90dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: none;
    padding: 16px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }
}

/* Compact Smartphones (<= 520px) */
@media (max-width: 520px) {
  .nav-brand-sub {
    display: none;
  }

  .nav-sun-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .nav-brand-modern {
    gap: 8px;
  }

  .nav-brand-text h1 {
    font-size: 0.98rem;
  }

  .nav-title-row {
    gap: 6px;
  }

  .nav-title-row .pill {
    padding: 2px 7px;
    font-size: 0.65rem;
  }

  .nav-actions {
    gap: 5px;
  }

  .nav-actions .btn--sm {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
}

/* Ultra-Small Phones (<= 360px) */
@media (max-width: 360px) {
  .app-cards-grid {
    grid-template-columns: 1fr;
  }

  .netflix-tiers {
    grid-template-columns: 1fr;
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
}
