@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #102331;
  --muted: #566673;
  --line: #dbe8ee;
  --surface: #ffffff;
  --blue: #087db8;
  --blue-deep: #07527a;
  --green: #13a374;
  --gold: #8a6d2f;
  --shadow: 0 24px 70px rgba(16, 35, 49, 0.12);
  --shadow-sm: 0 18px 44px rgba(16, 35, 49, 0.07);
  --shadow-md: 0 22px 54px rgba(16, 35, 49, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --green-text: #0a6045;
  --ground-deep: #0a3d61;
  --ground-mid: #0d5077;
  --blue-bright: #6cd2f7;
  --foam: #eef8ff;
  --foam-dim: rgba(238, 248, 255, 0.66);
  --gold-bright: #d8b34a;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-standard);
  --transition-base: 220ms var(--ease-standard);
  --glass-blur: blur(16px) saturate(160%);
  --glass-shine: inset 0 1px 0 rgba(255, 255, 255, 0.12);

  --text-2xs: 12px;
  --text-xs: 13px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 17px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 22px;
  --text-3xl: 24px;
  --text-4xl: 28px;
  --text-5xl: 34px;

  --fs-display-1: clamp(40px, 6vw, 76px);
  --fs-display-2: clamp(38px, 5vw, 64px);
  --fs-display-3: clamp(36px, 5vw, 62px);
  --fs-display-4: clamp(34px, 5vw, 58px);
  --fs-display-5: clamp(32px, 5vw, 56px);
  --fs-display-6: clamp(30px, 4vw, 50px);
  --fs-display-7: clamp(28px, 4vw, 44px);

  --fw-bold: 700;
  --fw-heavy: 800;
  --fw-black: 900;

  --space-2xs: 16px;
  --space-xs: 20px;
  --space-sm: 28px;
  --space-md: 38px;
  --space-lg: 56px;
  --space-xl: 74px;
  --space-section-x: clamp(20px, 5vw, 76px);
}

* {
  box-sizing: border-box;
}

/* the [hidden] attribute must always win over any element's own display:
   grid/flex override — without this, any class that sets its own display
   silently defeats .hidden = true in JS (recurring bug source in this file) */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

a,
button,
input,
textarea,
select {
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a,
  button,
  input,
  textarea,
  select {
    transition: none;
  }
}


body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbfd 54%, #ffffff 100%);
  font-family: var(--font-body);
  font-size: var(--text-base);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px var(--space-section-x);
  border-bottom: 1px solid rgba(219, 232, 238, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header--dark {
  background: linear-gradient(150deg, #0b6da3, var(--blue-deep));
  border-bottom-color: rgba(255, 255, 255, 0.14);
  color: var(--foam);
}

.site-header--dark .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
  opacity: 0.95;
}

.site-header--dark .main-nav {
  color: rgba(238, 248, 255, 0.85);
}

.site-header--dark .main-nav a:hover {
  color: var(--foam);
}

.site-header--dark .brand small {
  color: var(--foam-dim);
}

.site-header--dark.shrink {
  border-bottom-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 30px rgba(5, 35, 56, 0.35);
}

.top-blur-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 28%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 28%, transparent 94%);
  transition: opacity var(--transition-base);
}

body.scrolled .top-blur-mask {
  opacity: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 230px;
}

.brand-logo {
  display: block;
  width: clamp(112px, 9vw, 144px);
  height: auto;
  object-fit: contain;
}

.brand > span {
  display: flex;
  align-items: center;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.site-header--dark .brand > span {
  border-left-color: rgba(238, 248, 255, 0.22);
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
}

.main-nav a:hover {
  color: var(--blue);
}

.header-action,
.primary-button,
.secondary-button,
.product-card button,
.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius-sm);
  padding: 0 20px;
  cursor: pointer;
  font-weight: var(--fw-heavy);
}

.header-action,
.primary-button,
.product-card button,
.product-link {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #07845d);
  box-shadow: 0 16px 34px rgba(19, 163, 116, 0.22);
}

.header-action:hover,
.primary-button:hover,
.product-card button:hover {
  box-shadow: 0 20px 42px rgba(19, 163, 116, 0.3);
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.header-action:active,
.primary-button:active,
.product-card button:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(19, 163, 116, 0.2);
  filter: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-action.white {
  color: var(--blue-deep);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(5, 35, 56, 0.2);
}

.header-action.white:hover {
  background: #f2fafd;
  box-shadow: 0 18px 36px rgba(5, 35, 56, 0.24);
}

.secondary-button {
  border: 1px solid rgba(8, 125, 184, 0.22);
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.82);
}

.secondary-button:hover {
  border-color: rgba(8, 125, 184, 0.42);
  background: #eef7fb;
  transform: translateY(-1px);
}

.secondary-button:active {
  transform: translateY(0);
}

.home-hero .primary-button {
  box-shadow:
    0 18px 40px rgba(22, 185, 129, 0.32),
    0 0 44px rgba(19, 163, 116, 0.28);
}

.home-hero .primary-button:hover {
  box-shadow:
    0 22px 48px rgba(22, 185, 129, 0.42),
    0 0 58px rgba(19, 163, 116, 0.36);
}

.home-hero .secondary-button {
  border-color: rgba(238, 248, 255, 0.3);
  color: var(--foam);
  background: rgba(238, 248, 255, 0.05);
}

.home-hero .secondary-button:hover {
  border-color: rgba(238, 248, 255, 0.5);
  background: rgba(238, 248, 255, 0.12);
}

.home-hero {
  position: relative;
  min-height: 640px;
  padding: var(--space-xl) var(--space-section-x) 90px;
  overflow: hidden;
  color: var(--foam);
  background:
    radial-gradient(circle at 84% 20%, rgba(15, 143, 209, 0.34), transparent 44%),
    radial-gradient(circle at 6% 100%, rgba(19, 163, 116, 0.14), transparent 42%),
    linear-gradient(165deg, var(--ground-deep) 0%, var(--ground-mid) 55%, var(--blue-deep) 135%);
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  filter: blur(54px) saturate(130%);
  transform: scale(1.12);
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.visual-field {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.glow {
  position: absolute;
  right: -6%;
  top: 50%;
  width: 640px;
  max-width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(15, 143, 209, 0.38), transparent 66%);
  filter: blur(4px);
  opacity: 0;
  animation:
    heroFadeIn 1.4s var(--ease-standard) both 0.2s,
    glowDrift 18s ease-in-out infinite 1.6s;
}

@keyframes heroFadeIn {
  to { opacity: 1; }
}

@keyframes glowDrift {
  0%, 100% { transform: translateY(-50%) translateX(0) scale(1); }
  50% { transform: translateY(-54%) translateX(-3%) scale(1.06); }
}

.drop {
  position: absolute;
  left: 3%;
  top: 50%;
  width: min(28vw, 440px);
  transform: translateY(-52%);
  z-index: 2;
  filter: drop-shadow(0 40px 70px rgba(3, 9, 14, 0.6));
  animation: dropFall 1.15s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  animation-delay: 0.45s;
}

.drop svg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.24;
  animation: dropFloat 7s ease-in-out infinite 2s;
}

@keyframes dropFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes dropFall {
  0% { transform: translateY(-220%) scale(0.82); opacity: 0; }
  55% { transform: translateY(-46%) scale(1.04); opacity: 1; }
  75% { transform: translateY(-58%) scale(0.98); }
  100% { transform: translateY(-52%) scale(1); opacity: 1; }
}

.ripple {
  position: absolute;
  right: 12%;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translateY(-50%) scale(0.6);
  border: 1px solid rgba(108, 210, 247, 0.4);
  opacity: 0;
  animation: heroRipple 5.5s var(--ease-standard) infinite backwards;
  animation-delay: 1.55s;
}

.ripple.r2 { animation-delay: 2.95s; border-color: rgba(238, 248, 255, 0.24); }
.ripple.r3 { animation-delay: 4.35s; border-color: rgba(19, 163, 116, 0.28); }

@keyframes heroRipple {
  0% { transform: translateY(-50%) scale(0.6); opacity: 0.55; border-radius: 46% 54% 50% 50% / 50% 48% 52% 50%; }
  50% { border-radius: 54% 46% 48% 52% / 48% 54% 46% 52%; }
  100% { transform: translateY(-50%) scale(2.3); opacity: 0; border-radius: 50%; }
}

.home-hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding: 20px 0;
}

.home-hero-copy h1 {
  position: relative;
  max-width: 780px;
  margin: 0;
  font-size: var(--fs-display-1);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--foam);
  animation: heroEnterUp 0.9s var(--ease-out-expo) both;
  animation-delay: 0.15s;
}

@keyframes heroEnterUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.liquid {
  position: relative;
  display: inline-block;
  isolation: isolate;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
  background: linear-gradient(115deg, var(--blue-deep) 0%, var(--blue) 28%, var(--blue-bright) 45%, var(--blue) 62%, var(--blue-deep) 100%);
  background-size: 260% 260%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: liquidShimmer 7s ease-in-out infinite;
}

@keyframes liquidShimmer {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

.home-hero-copy p:not(.eyebrow) {
  max-width: 580px;
  color: var(--foam-dim);
  font-size: var(--text-lg);
  line-height: 1.64;
  animation: heroEnterUp 0.9s var(--ease-out-expo) both;
  animation-delay: 0.32s;
}

.home-actions {
  animation: heroEnterUp 0.9s var(--ease-out-expo) both;
  animation-delay: 0.48s;
}

.hero-badge {
  position: absolute;
  right: clamp(20px, 5vw, 76px);
  bottom: 14%;
  z-index: 5;
  padding: 15px 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  color: var(--foam);
  background: rgba(238, 248, 255, 0.015);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 14px 36px rgba(3, 20, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  opacity: 0;
  animation: heroEnterUp 0.8s var(--ease-out-expo) both;
  animation-delay: 1.5s;
}

.hero-badge strong {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: rgba(238, 248, 255, 0.88);
}

.divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  width: 100%;
  height: 80px;
  line-height: 0;
  pointer-events: none;
}

.divider svg { display: block; width: 100%; height: 100%; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .glow, .ripple, .drop, .drop svg, .hero-badge, .home-hero-copy h1, .home-hero-copy p, .home-actions {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .drop { transform: translateY(-52%) !important; }
  .ripple { opacity: 0.14 !important; }
  .liquid { animation: none; background-position: 40% 50%; }
  .reveal { opacity: 1; transform: none; transition: none; }
}


.section-heading.center {
  text-align: center;
}

.section-heading.center h2 {
  margin: 0 auto;
}

.family-section {
  background:
    linear-gradient(180deg, #f6fbfd, #ffffff);
}

.category-entry-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: var(--space-2xs);
  margin-top: 56px;
}

.category-entry-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: end;
  min-height: 340px;
  padding: 20px;
  border: 1px solid rgba(8, 125, 184, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(16, 35, 49, 0.08), rgba(16, 35, 49, 0.72)),
    linear-gradient(145deg, #087db8, #51b899);
  box-shadow: 0 22px 54px rgba(16, 35, 49, 0.1);
}

.category-entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(16, 35, 49, 0.18);
}

.category-entry-card::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 132px;
  height: 132px;
  border: 24px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
}

.category-entry-card.damacana {
  background:
    linear-gradient(180deg, rgba(16, 35, 49, 0.02), rgba(16, 35, 49, 0.12) 44%, rgba(16, 35, 49, 0.84)),
    url("assets/DamacanalarÜrünler.png") center / cover;
}

.category-entry-card.damacana::before {
  display: none;
}

.category-entry-card.water {
  background:
    linear-gradient(180deg, rgba(16, 35, 49, 0.02), rgba(16, 35, 49, 0.1) 44%, rgba(16, 35, 49, 0.84)),
    url("assets/Kaltunhero.png") 65% center / cover;
}

.category-entry-card.water::before {
  display: none;
}

.category-entry-card.soda {
  background:
    linear-gradient(180deg, rgba(16, 35, 49, 0.02), rgba(16, 35, 49, 0.16) 46%, rgba(16, 35, 49, 0.82)),
    url("assets/soda-category-bg-v2.jpg") center / cover;
}

.category-entry-card.soda::before {
  display: none;
}

.category-entry-card.glass {
  background:
    linear-gradient(180deg, rgba(16, 35, 49, 0.02), rgba(16, 35, 49, 0.1) 44%, rgba(16, 35, 49, 0.84)),
    url("assets/BardakSu4.5.png") center / cover;
}

.category-entry-card.glass::before {
  display: none;
}

.category-entry-card.mineral {
  background:
    linear-gradient(180deg, rgba(16, 35, 49, 0.04), rgba(16, 35, 49, 0.1) 46%, rgba(16, 35, 49, 0.84)),
    url("assets/mineral-category-bg.jpg") center / cover;
}

.category-entry-card.mineral::before {
  display: none;
}

.category-entry-card.drinks {
  background:
    linear-gradient(180deg, rgba(16, 35, 49, 0.02), rgba(16, 35, 49, 0.08) 48%, rgba(16, 35, 49, 0.82)),
    url("assets/gazoz-category-bg.png") center / cover;
}

.category-entry-card.drinks::before {
  display: none;
}

.category-entry-card span,
.category-entry-card strong,
.category-entry-visual {
  position: relative;
}

.category-entry-visual {
  display: grid;
  place-items: center;
  min-height: 190px;
  margin: -4px -4px 18px;
}

.category-entry-visual img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 22px 24px rgba(16, 35, 49, 0.24));
}

.category-entry-visual.background-only {
  pointer-events: none;
}

.category-entry-visual > span {
  display: grid;
  place-items: center;
  width: min(100%, 132px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: var(--text-3xl);
  font-weight: var(--fw-black);
}

.category-entry-card span {
  font-size: clamp(18px, 1.35vw, 22px);
  font-weight: var(--fw-black);
  line-height: 1.08;
}

.category-entry-card strong {
  display: block;
  max-width: 210px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--text-sm);
  line-height: 1.45;
}

.product-sections {
  display: grid;
  gap: 44px;
  margin-top: var(--space-lg);
}

.product-category-section {
  scroll-margin-top: 110px;
  display: grid;
  gap: 22px;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
}

.product-category-section .section-heading span {
  display: block;
  max-width: 660px;
  margin-top: 10px;
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.55;
}


.career-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 28px;
  align-items: end;
  padding: var(--space-xl) var(--space-section-x) var(--space-md);
  background:
    linear-gradient(135deg, #ffffff, #f1f8fb 62%, #eef9f3);
}

.career-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: var(--fs-display-2);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.career-hero p:not(.eyebrow) {
  max-width: 700px;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.68;
}

.form-hint {
  color: var(--muted);
  line-height: 1.55;
}

.career-form-section {
  padding: var(--space-md) var(--space-section-x) var(--space-xl);
}

.career-form {
  display: grid;
  gap: 17px;
  max-width: 760px;
  padding: 28px;
  border: 1px solid rgba(8, 125, 184, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.career-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-heavy);
}

.career-form input,
.career-form textarea,
.career-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfdfe;
  outline: none;
}

.career-form input:focus,
.career-form textarea:focus,
.career-form select:focus {
  border-color: rgba(8, 125, 184, 0.48);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.1);
}


.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}


.online-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.44fr);
  gap: 24px;
  align-items: end;
  padding: 64px var(--space-section-x) var(--space-sm);
  background:
    linear-gradient(135deg, #ffffff, #f1f8fb 64%, #eef9f3);
}

.products-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: var(--space-xl) var(--space-section-x) var(--space-md);
  background:
    linear-gradient(135deg, #ffffff, #f1f8fb 62%, #eef9f3);
}

.products-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: var(--fs-display-2);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.products-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.68;
}

.online-header h1 {
  max-width: 880px;
  margin: 0;
  font-size: var(--fs-display-4);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.online-note {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.online-note span {
  color: var(--muted);
  line-height: 1.5;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.section-heading h2,
.delivery-section h2 {
  margin: 0;
  line-height: 1.04;
}


.product-body p,
.empty-cart,
.delivery-section p {
  color: var(--muted);
}

.section,
.order-area,
.delivery-section {
  padding: var(--space-xl) var(--space-section-x);
}

.section-heading {
  margin-bottom: 30px;
}

.price-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: var(--text-xs);
}

.section-heading h2,
.delivery-section h2 {
  max-width: 760px;
  font-size: var(--fs-display-6);
  letter-spacing: -0.01em;
}

.section-heading.compact h2 {
  font-size: var(--text-4xl);
}

.product-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -8px 0 28px;
}

.product-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 240px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-search:focus-within {
  border-color: rgba(8, 125, 184, 0.4);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.1);
}

.product-search svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
}

.product-search input {
  min-width: 0;
  border: 0;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  outline: none;
}

.product-search input::placeholder {
  color: var(--muted);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 720px) {
  .product-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-search {
    min-width: 0;
  }
}

.category-tabs button {
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: linear-gradient(150deg, #0b6da3, var(--blue-deep));
  box-shadow:
    0 10px 24px rgba(8, 125, 184, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.category-tabs button:hover {
  filter: brightness(1.08);
}

.category-tabs button.active {
  border-color: rgba(8, 125, 184, 0.3);
  color: var(--blue-deep);
  background: linear-gradient(180deg, #ffffff, #eef7fb);
  box-shadow:
    0 10px 26px rgba(8, 125, 184, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xs);
}

.product-card {
  display: grid;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}


.product-photo {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 245px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.3) 42%, transparent 68%),
    linear-gradient(145deg, #edf8fc, #ffffff 46%, #eef8f2);
}

.product-photo > span {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 1;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: rgba(16, 35, 49, 0.62);
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
}

.product-photo img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 26px 20px 14px;
  filter: drop-shadow(0 22px 24px rgba(16, 35, 49, 0.18));
}

.product-fallback {
  display: grid;
  place-items: center;
  gap: 8px;
  width: min(74%, 230px);
  min-height: 148px;
  padding: 24px;
  border: 1px solid rgba(8, 125, 184, 0.16);
  border-radius: var(--radius-sm);
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  box-shadow: 0 22px 46px rgba(16, 35, 49, 0.08);
}

.product-fallback strong {
  font-size: var(--text-4xl);
  letter-spacing: 0;
}

.product-fallback span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.product-body h3,
.product-body p,
.product-body small {
  margin: 0;
}

.product-body small {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.product-body h3 {
  font-size: var(--text-xl);
}

.product-body p {
  margin-top: 8px;
  line-height: 1.45;
}

.product-body strong {
  color: var(--blue-deep);
  font-size: var(--text-2xl);
}

.price-disclaimer {
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: var(--text-2xs);
  font-weight: 100;
}

.product-link {
  display: inline-flex;
  justify-content: center;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: var(--blue-deep);
  font-weight: var(--fw-black);
}

.product-link:hover {
  background: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(8, 125, 184, 0.28);
}

.product-link:active {
  transform: translateY(0);
}

.real-product-card .product-body {
  align-items: flex-start;
}

.real-product-card .product-body > div {
  min-width: 0;
}

.delivery-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
  gap: 34px;
  align-items: start;
  background: #ffffff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: linear-gradient(135deg, #25d366, #1da851);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.24);
  font-weight: var(--fw-heavy);
}

.whatsapp-button svg {
  width: 19px;
  height: 19px;
}

.whatsapp-button:hover {
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.32);
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.whatsapp-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
  filter: none;
}

.delivery-section p {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: var(--text-md);
  line-height: 1.65;
}

.delivery-rules {
  display: grid;
  gap: 14px;
}

.delivery-rules div {
  position: relative;
  display: grid;
  gap: 7px;
  padding: 26px 24px;
  border: 1px solid rgba(8, 125, 184, 0.14);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
}

.delivery-rules div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green), transparent 65%);
  opacity: 0.7;
}

.delivery-rules strong {
  font-size: var(--text-xl);
}

.order-area,
.admin-preview {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: start;
}

.cart-panel,
.order-form,
.admin-preview {
  padding: 28px;
  border: 1px solid rgba(8, 125, 184, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cart-items {
  display: grid;
  gap: 12px;
  min-height: 112px;
}

.cart-row,
.cart-total,
.delivery-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row span {
  color: var(--muted);
}

.cart-row button {
  border: 0;
  border-radius: var(--radius-pill);
  padding: 7px 10px;
  color: #8c3b3b;
  background: #fff0f0;
  cursor: pointer;
  font-size: var(--text-2xs);
  font-weight: var(--fw-heavy);
}

.cart-row button:hover {
  background: #ffe1e1;
}

.cart-total,
.delivery-result {
  border-bottom: 0;
}

.cart-total strong {
  color: var(--blue-deep);
  font-size: var(--text-3xl);
}

.delivery-result strong {
  color: var(--green-text);
  text-align: right;
}

.order-form {
  display: grid;
  gap: 17px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-heavy);
}

.order-form input,
.order-form textarea,
.order-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfdfe;
  outline: none;
}

.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
  border-color: rgba(8, 125, 184, 0.48);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.1);
}

.remember-panel {
  display: grid;
  gap: 10px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #f7fbfd;
}

.remember-choice {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--ink) !important;
  font-weight: var(--fw-heavy) !important;
  line-height: 1.45;
}

.remember-choice input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--green);
}

.text-button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--blue-deep);
  background: transparent;
  cursor: pointer;
  font-weight: var(--fw-black);
}

.text-button:hover {
  color: var(--blue);
}

.payment-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(8, 125, 184, 0.22);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 251, 0.94)),
    radial-gradient(circle at 95% 12%, rgba(8, 125, 184, 0.12), transparent 22%);
}

.payment-panel[hidden],
.product-card[hidden] {
  display: none;
}

.payment-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.payment-panel-head h3 {
  margin: 0;
  font-size: var(--text-2xl);
}

.payment-panel-head span {
  border-radius: var(--radius-pill);
  padding: 7px 10px;
  color: var(--blue-deep);
  background: #e9f6fb;
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  white-space: nowrap;
}

.payment-security {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: var(--radius-sm);
  color: #0a6045;
  background: #eaf9f2;
  line-height: 1.5;
}

.payment-security span {
  color: #3f7562;
}

.full {
  width: 100%;
}

.order-message {
  display: none;
  gap: 5px;
  padding: 15px;
  border-radius: var(--radius-sm);
  line-height: 1.45;
}

.order-message strong,
.order-message span {
  display: block;
}

.order-message.success {
  display: grid;
  color: #0a6045;
  background: #eaf9f2;
}

.order-message.error {
  display: block;
  color: #8c3b3b;
  background: #fff0f0;
}

.admin-preview {
  display: block;
  margin: 0 var(--space-section-x) var(--space-xl);
}

.orders-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfdfe;
}

.order-card div {
  display: grid;
  gap: 5px;
}

.order-card span {
  color: var(--muted);
  font-size: var(--text-xs);
}

.order-card small {
  justify-self: end;
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  color: var(--blue-deep);
  background: #e9f6fb;
  font-weight: var(--fw-black);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px var(--space-section-x);
  color: var(--foam);
  background: linear-gradient(160deg, var(--ground-deep), var(--ground-mid));
}

.site-footer div {
  display: grid;
  gap: 6px;
}

.footer-logo {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  opacity: 0.95;
}

.site-footer span,
.footer-address {
  color: var(--foam-dim);
}

.footer-address {
  margin-top: 4px;
  font-size: var(--text-sm);
}

.footer-address:hover {
  color: var(--foam);
}

.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: center;
  padding: 12px 24px 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  background: rgba(238, 248, 255, 0.04);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}

.footer-call:hover {
  background: rgba(238, 248, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 12px 30px rgba(19, 163, 116, 0.22);
}

.footer-call-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: linear-gradient(145deg, var(--green), #07845d);
  box-shadow: 0 8px 20px rgba(19, 163, 116, 0.35);
}

.footer-call-icon svg {
  width: 18px;
  height: 18px;
}

.footer-call-text {
  display: grid;
  gap: 2px;
}

.footer-call-text small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--foam-dim);
}

.footer-call-text strong {
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--foam);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 960px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-action {
    width: 100%;
  }

  .admin-header-actions,
  .header-actions {
    width: 100%;
    display: grid;
    gap: 10px;
  }

  .category-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .online-header,
  .products-hero,
  .career-hero,
  .delivery-section,
  .order-area {
    grid-template-columns: 1fr;
  }

  .drop {
    width: min(24vw, 280px);
    left: 1%;
  }

  .glow {
    max-width: 48%;
  }

  .ripple {
    right: 6%;
    width: 220px;
    height: 220px;
  }

  

  

  .product-grid {
    grid-template-columns: 1fr;
  }

  
}


@media (max-width: 560px) {
  .category-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-entry-card {
    min-height: 280px;
    padding: 16px;
  }

  .category-entry-visual {
    min-height: 145px;
    margin-bottom: 14px;
  }

  .category-entry-visual img {
    height: 145px;
  }

  .category-entry-card span {
    font-size: 19px;
  }

  

  

  

  .home-actions {
    display: grid;
  }

  .home-hero {
    min-height: 0;
    padding-top: 44px;
    padding-bottom: 260px;
  }

  .home-hero-copy {
    max-width: 100%;
  }

  .glow {
    width: 80%;
    right: -20%;
    top: auto;
    bottom: 40px;
    transform: none;
  }

  .drop {
    width: min(46vw, 220px);
    left: auto;
    right: 0;
    top: auto;
    bottom: 90px;
    transform: translateX(50%);
    animation: heroFadeIn 1s var(--ease-standard) both;
    animation-delay: 0.4s;
  }

  .ripple {
    right: 12%;
    top: auto;
    bottom: 130px;
    width: 200px;
    height: 200px;
    transform: none;
  }

  .ripple.r1 { animation-name: heroRippleMobile; }
  .ripple.r2 { animation-name: heroRippleMobile; }
  .ripple.r3 { animation-name: heroRippleMobile; }

  @keyframes heroRippleMobile {
    0% { transform: scale(0.6); opacity: 0.55; border-radius: 46% 54% 50% 50% / 50% 48% 52% 50%; }
    50% { border-radius: 54% 46% 48% 52% / 48% 54% 46% 52%; }
    100% { transform: scale(2.1); opacity: 0; border-radius: 50%; }
  }

  .hero-badge {
    right: 5vw;
    bottom: 11%;
    max-width: min(88vw, 320px);
    padding: 13px 20px;
    text-align: center;
  }

  .hero-badge strong {
    font-size: 17px;
    white-space: normal;
  }

  .home-hero-copy h1 {
    font-size: clamp(32px, 9vw, 48px);
  }

  

  

  

  

  .section,
  .order-area,
  .delivery-section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
  }

  .cart-panel,
  .order-form,
  .admin-preview {
    padding: 20px;
  }

  .order-card {
    grid-template-columns: 1fr;
  }

  .order-card small {
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
  }
}


.admin-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(242, 248, 251, 0.9), rgba(255, 255, 255, 0.96)),
    radial-gradient(circle at 15% 12%, rgba(8, 125, 184, 0.14), transparent 28%);
}

/* short admin pages: keep the footer pinned to the bottom of the viewport */
.admin-body main {
  flex: 1;
}

.admin-footer {
  justify-content: center;
  align-items: center;
}

/* payment collection action on order cards */
.payment-action {
  justify-self: start;
  margin-top: 4px;
  padding: 9px 18px;
  border: 0;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #07845d);
  cursor: pointer;
  font: inherit;
  font-size: var(--text-xs);
  font-weight: var(--fw-heavy);
}

.payment-action:hover {
  filter: brightness(1.06);
}

.payment-action.undo {
  color: var(--muted);
  background: #f1f5f7;
  border: 1px solid var(--line);
}

.payment-action.undo:hover {
  filter: none;
  background: #e8eef1;
}

.payment-paid {
  color: var(--green-text) !important;
  font-weight: var(--fw-heavy);
}

/* header refresh stamp */
.last-updated {
  align-self: center;
  margin-right: 4px;
  color: rgba(238, 248, 255, 0.66);
  font-size: var(--text-2xs);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* application filters on the applications page */
.applications-filters {
  grid-template-columns: minmax(180px, 1fr) 190px;
  margin-top: 20px;
}

/* quick order page */
.quick-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}

.quick-order-grid .cart-panel {
  display: grid;
  gap: 16px;
}

.quick-order-grid .cart-panel h3 {
  margin: 0;
}

.quick-add-row {
  display: flex;
  gap: 10px;
}

.quick-add-row select,
.quick-add-row input {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--ink);
  background: #f8fcfd;
  font: inherit;
  font-weight: var(--fw-heavy);
}

.quick-add-row select {
  flex: 1;
  min-width: 0;
}

.quick-add-row input {
  width: 76px;
}

.quick-items {
  min-height: 64px;
}

@media (max-width: 860px) {
  .quick-order-grid {
    grid-template-columns: 1fr;
  }

  .applications-filters {
    grid-template-columns: 1fr;
  }

  .last-updated {
    display: none;
  }
}

/* catalog management: add-product form + per-product row controls */
.product-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin-top: 20px;
}

.product-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: var(--fw-heavy);
}

.product-form input,
.product-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfdfe;
  font: inherit;
  outline: none;
}

.product-form input:focus,
.product-form select:focus {
  border-color: rgba(8, 125, 184, 0.48);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.1);
}

.product-form .full,
.product-form .order-message {
  grid-column: 1 / -1;
}

.product-row-grid,
.product-edit-grid {
  gap: 4px;
}

.product-row-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-edit-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.product-edit-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fcfd;
  font: inherit;
  font-weight: var(--fw-heavy);
}

.product-edit-grid input:focus {
  border-color: rgba(8, 125, 184, 0.48);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.1);
  outline: none;
}

.product-card-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.product-card-content {
  display: grid;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.product-image-square {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #f8fcfd;
  color: var(--muted);
  font-size: var(--text-2xs);
  font-weight: var(--fw-heavy);
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.product-image-square:hover {
  border-color: rgba(8, 125, 184, 0.4);
  background: #eef7fb;
}

.product-image-square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.product-image-square.uploading {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 640px) {
  .product-card-body {
    flex-direction: column;
    align-items: stretch;
  }

  .product-image-square {
    width: 100%;
    height: 120px;
  }
}

/* product image cropper — zoom and reposition before upload */
.cropper-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(9, 20, 30, 0.6);
  backdrop-filter: blur(4px);
}

.cropper-panel {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(3, 9, 14, 0.35);
}

.cropper-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #0d1b26;
  cursor: grab;
  touch-action: none;
}

.cropper-stage.dragging {
  cursor: grabbing;
}

.cropper-stage img {
  position: absolute;
  max-width: none;
  user-select: none;
  pointer-events: none;
}

.cropper-zoom-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: var(--muted);
  font-size: var(--text-lg);
  font-weight: var(--fw-heavy);
}

.cropper-zoom-row input[type="range"] {
  flex: 1;
  accent-color: var(--blue);
}

.cropper-actions {
  display: flex;
  gap: 12px;
  width: 100%;
}

.cropper-actions button {
  flex: 1;
}

.product-row-grid input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: var(--ink);
  background: #f8fcfd;
  font: inherit;
  font-weight: var(--fw-heavy);
}

.product-row-grid input:focus {
  border-color: rgba(8, 125, 184, 0.48);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.1);
  outline: none;
}

.stock-empty {
  color: #8c3b3b;
  font-size: var(--text-2xs);
  font-weight: var(--fw-heavy);
}

.position-toggle.danger {
  color: #8c3b3b;
  border-color: rgba(140, 59, 59, 0.24);
  background: #fff5f5;
}

.position-toggle.danger:hover {
  background: #ffe9e9;
}

@media (max-width: 640px) {
  .product-form {
    grid-template-columns: 1fr;
  }

  .product-row-grid,
  .product-edit-grid {
    grid-template-columns: 1fr;
  }
}

.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 20%, rgba(15, 143, 209, 0.3), transparent 44%),
    radial-gradient(circle at 8% 96%, rgba(19, 163, 116, 0.14), transparent 40%),
    linear-gradient(160deg, var(--ground-deep) 0%, var(--ground-mid) 58%, var(--blue-deep) 140%);
}

.admin-login-shell {
  width: min(100%, 520px);
}

.admin-login-card {
  display: grid;
  gap: 28px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(238, 248, 255, 0.2);
  border-radius: var(--radius-lg);
  color: var(--foam);
  background: rgba(8, 45, 72, 0.68);
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 30px 70px rgba(3, 9, 14, 0.5), var(--glass-shine);
}

.admin-login-card .brand-logo {
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.admin-login-card .brand small {
  color: var(--foam-dim);
}

.admin-login-card .brand > span {
  border-left-color: rgba(238, 248, 255, 0.22);
}

.admin-login-card .eyebrow {
  color: var(--gold-bright);
}

.admin-login-card h1 {
  color: var(--foam);
}

.admin-login-card > div > p:not(.eyebrow) {
  color: var(--foam-dim);
}

.admin-login-card h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1.04;
}

.admin-login-card p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: var(--foam-dim);
  font-size: var(--text-sm);
  font-weight: var(--fw-black);
}

.admin-login-form input {
  width: 100%;
  border: 1px solid rgba(238, 248, 255, 0.24);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: var(--foam);
  background: rgba(238, 248, 255, 0.06);
  font: inherit;
}

.admin-login-form input:focus {
  border-color: rgba(108, 210, 247, 0.6);
  box-shadow: 0 0 0 4px rgba(15, 143, 209, 0.18);
  outline: none;
}

.admin-login-form input::placeholder {
  color: rgba(238, 248, 255, 0.4);
}

.admin-header-actions {
  display: flex;
  gap: 10px;
}

.header-action.secondary {
  color: var(--blue-deep);
  background: #eef7fb;
}

.header-action.secondary:hover {
  background: #e2f1f8;
  box-shadow: none;
  filter: none;
}

.admin-shell {
  padding: var(--space-lg) var(--space-section-x) var(--space-xl);
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  margin-bottom: 26px;
}

.admin-hero.page-hero {
  margin-bottom: 0;
  padding: var(--space-lg) var(--space-section-x) 110px;
}

.admin-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: var(--fs-display-2);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.admin-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: var(--text-lg);
  line-height: 1.65;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stats div {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.admin-stats span {
  color: var(--muted);
  font-size: var(--text-xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.admin-stats strong {
  color: var(--blue-deep);
  font-size: var(--text-5xl);
}

.admin-orders,
.admin-module,
.admin-settings {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.admin-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(420px, 1fr);
  gap: 22px;
  align-items: end;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 170px 170px;
  gap: 10px;
}

.admin-filters input,
.admin-filters select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--ink);
  background: #f8fcfd;
  font: inherit;
  font-weight: var(--fw-heavy);
}

.admin-orders-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.admin-order-card {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.admin-order-top,
.admin-order-grid {
  display: grid;
  gap: 16px;
}

.admin-order-top {
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
}

.admin-order-top div,
.admin-order-grid div {
  display: grid;
  gap: 6px;
}

.admin-order-top strong {
  font-size: var(--text-2xl);
}

.admin-order-top span,
.admin-order-grid span,
.admin-order-grid li {
  color: var(--muted);
}

.admin-order-top select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--ink);
  background: #f8fcfd;
  font-weight: var(--fw-heavy);
}

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

.admin-order-grid small {
  color: var(--gold);
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.admin-order-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

.admin-order-grid li strong {
  color: var(--blue-deep);
}

.admin-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.admin-module,
.admin-settings {
  display: grid;
  gap: 18px;
}

.admin-mini-list {
  display: grid;
  gap: 12px;
}

.admin-mini-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.admin-mini-row div {
  display: grid;
  gap: 5px;
}

.admin-mini-row span,
.admin-mini-row small {
  color: var(--muted);
  line-height: 1.45;
}

.catalog-summary,
.settings-grid {
  display: grid;
  gap: 12px;
}

.catalog-summary {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.catalog-summary div,
.settings-grid div {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
}

.catalog-summary span,
.settings-grid small {
  color: var(--gold);
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.catalog-summary strong,
.settings-grid strong {
  color: var(--blue-deep);
  font-size: var(--text-2xl);
}

.settings-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.settings-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.admin-settings {
  margin-top: 24px;
}

@media (max-width: 860px) {
  .admin-stats,
  .admin-section-head,
  .admin-filters,
  .admin-panel-grid,
  .catalog-summary,
  .settings-grid,
  .admin-order-top,
  .admin-order-grid {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Deep Water design system — shared page hero (public subpages)
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 120px;
  color: var(--foam);
  background:
    radial-gradient(circle at 84% 18%, rgba(15, 143, 209, 0.3), transparent 44%),
    radial-gradient(circle at 8% 100%, rgba(19, 163, 116, 0.12), transparent 40%),
    linear-gradient(160deg, var(--ground-deep) 0%, var(--ground-mid) 58%, var(--blue-deep) 140%);
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero > .hero-mesh {
  position: absolute;
  z-index: 0;
}

.page-hero > .hero-grain {
  position: absolute;
  z-index: 1;
}

.page-hero > .divider {
  position: absolute;
  z-index: 3;
}

.page-hero h1 {
  color: var(--foam);
}

.page-hero .eyebrow {
  color: var(--gold-bright);
}

.page-hero p:not(.eyebrow) {
  color: var(--foam-dim);
}

.page-hero .online-note {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(238, 248, 255, 0.035);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 14px 36px rgba(3, 20, 33, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.page-hero .online-note strong {
  color: var(--foam);
}

.page-hero .online-note span {
  color: var(--foam-dim);
}

/* ============================================================
   Home — flow (how it works) & assurance sections
   ============================================================ */

.flow-section {
  position: relative;
  padding: var(--space-xl) var(--space-section-x) 130px;
  background: #ffffff;
}

.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xs);
  max-width: 1120px;
  margin: 0 auto;
}

.flow-grid::before {
  content: "";
  position: absolute;
  top: 51px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(8, 125, 184, 0.35) 0 6px,
    transparent 6px 14px
  );
}

.flow-card {
  --mx: 50%;
  --my: 40%;
  --spot: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(
      230px circle at var(--mx) var(--my),
      rgba(15, 143, 209, calc(0.22 * var(--spot))),
      rgba(108, 210, 247, calc(0.1 * var(--spot))) 45%,
      transparent 72%
    ),
    linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow:
    var(--shadow-sm),
    0 0 calc(34px * var(--spot)) rgba(15, 143, 209, calc(0.4 * var(--spot)));
}

.flow-card:hover::before {
  opacity: 1;
}

.flow-step {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: linear-gradient(145deg, var(--blue), var(--blue-deep));
  box-shadow:
    0 12px 26px rgba(8, 125, 184, 0.28),
    0 0 0 6px rgba(8, 125, 184, 0.08);
  font-weight: var(--fw-black);
}

.flow-step svg {
  width: 21px;
  height: 21px;
}

.flow-card::after {
  content: attr(data-step);
  position: absolute;
  top: -20px;
  right: 14px;
  font-family: var(--font-body);
  font-size: 118px;
  font-weight: var(--fw-black);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, rgba(8, 125, 184, 0.16), rgba(8, 125, 184, 0.015) 82%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  pointer-events: none;
}

.flow-card h3 {
  margin: 0;
  font-size: var(--text-xl);
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.assurance-band {
  padding: var(--space-xl) var(--space-section-x);
  color: var(--foam);
  background:
    radial-gradient(circle at 12% 90%, rgba(19, 163, 116, 0.14), transparent 42%),
    linear-gradient(160deg, var(--ground-mid) 0%, var(--blue-deep) 150%);
}

.assurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-xs);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.assurance-grid > div::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin: 0 auto 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  box-shadow: 0 0 12px rgba(108, 210, 247, 0.5);
}

.assurance-grid strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Helvetica Neue", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: var(--text-4xl);
  font-weight: 200;
  letter-spacing: 0.02em;
  color: var(--foam);
}

.assurance-grid span {
  color: var(--foam-dim);
  font-size: var(--text-md);
}

@media (max-width: 900px) {
  .flow-grid,
  .assurance-grid {
    grid-template-columns: 1fr;
  }

  .flow-grid::before {
    display: none;
  }

  .page-hero {
    padding-bottom: 100px;
  }
}


/* ============================================================
   Tech layer — monospace micro-type, blueprint grid, HUD accents
   ============================================================ */

.eyebrow,
.brand small,
.admin-stats span,
.settings-grid small,
.catalog-summary span,
.admin-order-grid small,
.product-body small,
.product-fallback span {
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

.page-hero .eyebrow {
  color: var(--blue-bright);
}

.page-hero .eyebrow::before {
  content: "// ";
  opacity: 0.55;
}

.home-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(108, 210, 247, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 210, 247, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 72% 30%, #000 20%, transparent 74%);
  mask-image: radial-gradient(ellipse at 72% 30%, #000 20%, transparent 74%);
}

.site-header--dark {
  border-bottom-color: rgba(108, 210, 247, 0.35);
}

.flow-card {
  position: relative;
  overflow: hidden;
}

.flow-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), transparent 65%);
  opacity: 0.7;
}

.flow-step {
  font-family: var(--font-mono);
  box-shadow: 0 12px 26px rgba(8, 125, 184, 0.28), 0 0 18px rgba(108, 210, 247, 0.35);
}

.assurance-grid strong {
  text-shadow: 0 0 30px rgba(108, 210, 247, 0.25);
}

.page-hero .online-note strong {
  font-family: inherit;
}

.page-hero .online-note {
  border-left-color: var(--blue-bright);
}


/* ============================================================
   Flow section — route-draw choreography on first reveal
   ============================================================ */

@supports selector(:has(*)) {
  .flow-grid::before {
    clip-path: inset(0 100% 0 0);
  }

  .flow-grid:has(.flow-card.in-view)::before {
    animation: routeDraw 1.5s var(--ease-out-expo) 0.2s forwards;
  }
}

@keyframes routeDraw {
  to { clip-path: inset(0 0 0 0); }
}

.flow-card.in-view .flow-step {
  animation:
    stepPop 0.55s var(--ease-out-expo) both,
    stepBreath 5s ease-in-out infinite;
}

.flow-card:nth-child(1).in-view .flow-step { animation-delay: 0.35s, 1.3s; }
.flow-card:nth-child(2).in-view .flow-step { animation-delay: 0.8s, 1.9s; }
.flow-card:nth-child(3).in-view .flow-step { animation-delay: 1.25s, 2.5s; }

@keyframes stepPop {
  0% { transform: scale(0.55); }
  55% { transform: scale(1.14); }
  100% { transform: scale(1); }
}

@keyframes stepBreath {
  0%, 100% {
    box-shadow:
      0 12px 26px rgba(8, 125, 184, 0.28),
      0 0 0 6px rgba(8, 125, 184, 0.08);
  }
  50% {
    box-shadow:
      0 12px 26px rgba(8, 125, 184, 0.34),
      0 0 0 9px rgba(8, 125, 184, 0.05),
      0 0 22px rgba(108, 210, 247, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-grid::before {
    clip-path: none;
    animation: none;
  }

  .flow-card.in-view .flow-step {
    animation: none;
  }
}

/* ============================================================
   Hero photo panel — framed real-product shot, rises then floats
   ============================================================ */

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  opacity: 0;
  animation: photoRise 1.6s var(--ease-out-expo) both 0.3s;
}

.hero-photo-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 115%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-photo-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-slide {
    transition: none;
  }
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.88) 26%,
    rgba(255, 255, 255, 0.42) 46%,
    rgba(255, 255, 255, 0) 64%
  );
  pointer-events: none;
}

@media (min-width: 901px) {
  .home-hero-copy h1 {
    color: var(--ink);
  }

  .home-hero-copy p:not(.eyebrow) {
    color: var(--muted);
  }

  .home-hero .secondary-button {
    border-color: rgba(8, 125, 184, 0.28);
    color: var(--blue-deep);
    background: rgba(255, 255, 255, 0.75);
  }

  .home-hero .secondary-button:hover {
    background: #ffffff;
    border-color: rgba(8, 125, 184, 0.45);
  }
}

@keyframes photoRise {
  0% { transform: translateX(5%) scale(1.03); opacity: 0; }
  100% { transform: translateX(0) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* mobile: same photo carousel, but a top-to-bottom dark scrim instead of the
   desktop's left-side white fade, since text stacks on top of the full photo
   here rather than sitting beside it */
@media (max-width: 900px) {
  .hero-photo::after {
    background: linear-gradient(
      180deg,
      rgba(4, 20, 33, 0.24) 0%,
      rgba(4, 20, 33, 0.58) 46%,
      rgba(4, 20, 33, 0.88) 100%
    );
  }
}

/* home hero is fully covered by the photo — stop painting hidden layers */
.home-hero .hero-mesh,
.home-hero .hero-grain,
.home-hero .glow,
.home-hero .ripple {
  display: none;
}

/* ============================================================
   Header nav & CTA micro-motion
   ============================================================ */

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: var(--radius-pill);
  background: currentColor;
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out-expo);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

a.header-action,
.home-actions .primary-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

a.header-action::after,
.home-actions .primary-button::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -60%;
  width: 34%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-18deg);
  animation: ctaSheen 5s ease-in-out infinite;
  pointer-events: none;
}

.home-actions .primary-button::after {
  animation-delay: 2.4s;
}

@keyframes ctaSheen {
  0%, 68% { left: -60%; }
  88%, 100% { left: 140%; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav a::after {
    transition: none;
  }

  a.header-action::after,
  .home-actions .primary-button::after {
    animation: none;
    left: -60%;
  }
}

/* ============================================================
   Products page — panel-language cards, pending price, fallback
   ============================================================ */

.product-card {
  --mx: 50%;
  --my: 40%;
  --spot: 0;
  border: 1px solid rgba(8, 125, 184, 0.14);
  background:
    radial-gradient(
      230px circle at var(--mx) var(--my),
      rgba(15, 143, 209, calc(0.16 * var(--spot))),
      rgba(108, 210, 247, calc(0.07 * var(--spot))) 45%,
      transparent 72%
    ),
    linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow:
    var(--shadow-sm),
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 calc(30px * var(--spot)) rgba(15, 143, 209, calc(0.3 * var(--spot)));
}

.product-body .price-pending {
  width: fit-content;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px dashed rgba(8, 125, 184, 0.3);
  color: var(--muted);
  background: #f4fafc;
  font-size: var(--text-2xs);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.03em;
}

.product-fallback {
  border: 1px dashed rgba(8, 125, 184, 0.28);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 30% 20%, rgba(108, 210, 247, 0.16), transparent 55%),
    linear-gradient(160deg, #eef8fd, #e9f6f1);
}

.out-of-stock-badge {
  background: rgba(140, 59, 59, 0.82) !important;
}

.is-out-of-stock .product-photo img,
.is-out-of-stock .product-fallback {
  opacity: 0.45;
  filter: grayscale(0.4);
}

.out-of-stock-button {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.55;
  background: var(--muted) !important;
  box-shadow: none !important;
}

/* ============================================================
   Cross-page view transitions (native, progressive enhancement)
   ============================================================ */

@view-transition {
  navigation: auto;
}

.site-header {
  view-transition-name: site-header;
}

::view-transition-old(site-header),
::view-transition-new(site-header) {
  animation: none;
}

::view-transition-old(root) {
  animation: pageFadeOut 1s ease-in-out both;
}

::view-transition-new(root) {
  animation: pageFadeIn 1.6s ease-in-out both;
}

@keyframes pageFadeOut {
  to { opacity: 0; }
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(site-header),
  ::view-transition-new(site-header) {
    animation: none;
  }
}

.main-nav a.active {
  color: var(--foam);
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.page-hero .secondary-button {
  border-color: rgba(238, 248, 255, 0.45);
  color: var(--foam);
  background: rgba(4, 26, 42, 0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(3, 20, 33, 0.35);
}

.page-hero .secondary-button:hover {
  border-color: rgba(238, 248, 255, 0.7);
  background: rgba(4, 26, 42, 0.78);
}

.showcase-heading {
  margin-bottom: 44px;
}

.showcase-heading h2 {
  max-width: none;
  font-family: var(--font-body);
  font-size: var(--fs-display-5);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.showcase-heading .liquid {
  font-weight: var(--fw-heavy);
}

.family-section {
  padding-top: 12px;
}

/* ============================================================
   Page hero standardization — all sub-pages share the products
   hero metrics (size, spacing, headline scale, colors)
   ============================================================ */

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: var(--space-xl) var(--space-section-x) 120px;
}

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: var(--fs-display-2);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.page-hero .online-note {
  max-width: 340px;
}

@media (max-width: 960px) {
  .page-hero {
    grid-template-columns: 1fr;
  }
}

/* dark Apple-glass info cards inside page heroes */
.page-hero .online-note {
  max-width: 340px;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(4, 22, 36, 0.66);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow:
    0 18px 40px rgba(3, 20, 33, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.page-hero .online-note strong {
  color: var(--foam);
  font-size: var(--text-md);
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* ============================================================
   Checkout drawer + floating order button
   ============================================================ */

.checkout-fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: linear-gradient(135deg, var(--green), #07845d);
  box-shadow:
    0 18px 44px rgba(19, 163, 116, 0.4),
    0 0 40px rgba(19, 163, 116, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer;
  animation: fabPop 0.5s var(--ease-out-expo) both;
}

.checkout-fab:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.checkout-fab svg {
  width: 22px;
  height: 22px;
}

.checkout-fab-text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.checkout-fab-text small {
  font-size: 11px;
  font-weight: var(--fw-bold);
  opacity: 0.85;
  font-variant-numeric: tabular-nums;
}

.checkout-fab-text strong {
  font-size: var(--text-sm);
  font-weight: var(--fw-heavy);
  letter-spacing: 0.01em;
}

@keyframes fabPop {
  0% { transform: translateY(16px) scale(0.9); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.checkout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 22, 36, 0.55);
  backdrop-filter: blur(6px);
}

.checkout-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  width: min(480px, 100%);
  padding: 26px 28px 40px;
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow: -30px 0 80px rgba(3, 20, 33, 0.35);
  transform: translateX(105%);
  transition: transform 0.5s var(--ease-out-expo);
}

.checkout-drawer.open {
  transform: translateX(0);
}

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.checkout-head h2 {
  margin: 0;
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
}

.checkout-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: #f6fafc;
  cursor: pointer;
}

.checkout-close:hover {
  color: var(--ink);
  background: #eef5f9;
}

.checkout-close svg {
  width: 16px;
  height: 16px;
}

.checkout-drawer .cart-panel,
.checkout-drawer .order-form {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.checkout-drawer .cart-panel {
  margin-bottom: 26px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

body.drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .checkout-fab {
    animation: none;
  }

  .checkout-drawer {
    transition: none;
  }
}

@media (max-width: 560px) {
  .checkout-fab {
    right: 16px;
    bottom: 16px;
    padding: 12px 20px 12px 16px;
  }

  .checkout-drawer {
    padding: 20px 18px 32px;
  }
}

/* uniform cart rows with quantity stepper */
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 76px;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 8px 0;
}

.cart-row-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-row-info strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--ink);
}

.cart-row-info span {
  font-size: var(--text-2xs);
  color: var(--muted);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #f6fafc;
}

.qty-stepper button {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--blue-deep);
  background: transparent;
  font-size: var(--text-base);
  font-weight: var(--fw-heavy);
  line-height: 1;
  cursor: pointer;
}

.qty-stepper button:hover {
  color: #ffffff;
  background: linear-gradient(150deg, #0b6da3, var(--blue-deep));
}

.qty-stepper span {
  min-width: 22px;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-heavy);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cart-row-price {
  text-align: right;
  font-size: var(--text-sm);
  font-weight: var(--fw-heavy);
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

/* product card stepper — replaces the add button while the item is in the cart */
.card-stepper {
  justify-content: space-between;
  min-height: 46px;
  padding: 5px;
  background: #f6fafc;
}

.product-card .card-stepper button {
  min-height: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: var(--radius-pill);
  color: var(--blue-deep);
  background: transparent;
  box-shadow: none;
  font-size: var(--text-base);
}

.product-card .card-stepper button:hover {
  transform: none;
  filter: none;
  box-shadow: none;
  color: #ffffff;
  background: linear-gradient(150deg, #0b6da3, var(--blue-deep));
}

.product-card .card-stepper button:active {
  box-shadow: none;
}

.card-stepper span {
  font-size: var(--text-base);
}

/* card action row: quantity selector + add button side by side */
.card-actions {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.card-actions > button {
  flex: 1;
  min-width: 0;
}

/* career page: role cards + form two-column layout */
.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.career-layout[hidden] {
  display: none;
}

.career-layout .career-form {
  max-width: none;
  margin: 0;
  width: 100%;
}

.career-roles {
  display: grid;
  gap: 14px;
  align-content: start;
}

.role-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.role-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 125, 184, 0.35);
  box-shadow: 0 16px 34px rgba(9, 42, 63, 0.1);
}

.role-card.selected {
  border-color: rgba(8, 125, 184, 0.55);
  background: linear-gradient(160deg, #f0f9fd, #ffffff 58%);
  box-shadow: 0 18px 38px rgba(8, 125, 184, 0.14);
}

.role-list {
  display: grid;
  gap: 14px;
}

.role-card::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(8, 125, 184, 0.22);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.role-card.selected::before {
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 125, 184, 0.16), 0 0 14px rgba(15, 143, 209, 0.45);
}

.role-card strong {
  font-size: var(--text-base);
  color: var(--ink);
}

@media (max-width: 900px) {
  .career-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* admin: position management */
.position-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.position-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  color: var(--ink);
  background: #f8fcfd;
  font: inherit;
  font-weight: var(--fw-heavy);
}

.position-form .header-action {
  white-space: nowrap;
}

.positions-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.position-state {
  font-size: var(--text-xs);
  font-weight: var(--fw-heavy);
}

.position-state.open {
  color: var(--green-text);
}

.position-toggle {
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--blue-deep);
  background: #f8fcfd;
  cursor: pointer;
  font: inherit;
  font-weight: var(--fw-heavy);
}

.position-toggle:hover {
  border-color: rgba(8, 125, 184, 0.35);
  background: #eef7fb;
}

@media (max-width: 860px) {
  .positions-list {
    grid-template-columns: 1fr;
  }

  .position-form {
    flex-direction: column;
  }
}

/* admin hub — landing cards on the Merkez page */
.admin-hub {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.hub-card {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease-out-expo),
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 125, 184, 0.35);
  box-shadow: 0 18px 38px rgba(9, 42, 63, 0.12);
}

.hub-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border: 1px solid rgba(8, 125, 184, 0.18);
  border-radius: var(--radius-pill);
  color: var(--blue-deep);
  background: linear-gradient(160deg, #e8f6fc, #f7fcfe);
}

.hub-icon svg {
  width: 22px;
  height: 22px;
}

.hub-card strong {
  font-size: var(--text-xl);
  color: var(--ink);
}

.hub-card > span:not(.hub-icon) {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.5;
}

/* admin full-width list pages */
.customers-page-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.catalog-summary {
  margin-top: 20px;
}

@media (max-width: 860px) {
  .admin-hub,
  .customers-page-list {
    grid-template-columns: 1fr;
  }
}

/* cari ödeme (PayTR) */
.cari-payment-section {
  padding: var(--space-md) var(--space-section-x) var(--space-xl);
}

.cari-payment-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

.cari-payment-frame-wrap {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid rgba(8, 125, 184, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff, #fbfdfe);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.cari-payment-frame-wrap iframe {
  width: 100%;
  min-height: 480px;
  border: none;
}

.cari-payment-frame-wrap[hidden],
.cari-payment-result[hidden] {
  display: none;
}

.cari-frame-placeholder {
  display: grid;
  min-height: 480px;
  align-content: center;
  justify-items: center;
  padding: 0 20px;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
}

.cari-payment-result {
  display: grid;
  grid-column: 1 / -1;
  gap: 12px;
  justify-items: start;
  padding: 28px;
  border-radius: var(--radius-lg);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .cari-payment-layout {
    grid-template-columns: 1fr;
  }
}

.cari-payment-result strong {
  font-size: var(--text-xl);
}

.cari-payment-result.success {
  color: #0a6045;
  background: #eaf9f2;
}

.cari-payment-result.error {
  color: #8c3b3b;
  background: #fff0f0;
}

.cari-status-badge {
  display: inline-block;
  width: fit-content;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: var(--text-2xs);
  font-weight: var(--fw-black);
  letter-spacing: 0.02em;
}

.cari-status-pending {
  color: #8a6a1f;
  background: #fdf5e3;
}

.cari-status-paid {
  color: var(--green-text);
  background: #eaf9f2;
}

.cari-status-failed {
  color: #8c3b3b;
  background: #fff0f0;
}

.cari-filters {
  grid-template-columns: minmax(180px, 1fr) 190px;
  margin-top: 20px;
}

/* persistent "where's my order" widget — bottom-left floating card on
   desktop, full-width bar pinned to the bottom on mobile (see media query) */
.order-track-widget {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  animation: heroFadeIn 0.5s var(--ease-standard) both;
}

.order-track-dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(19, 163, 116, 0.16);
}

.order-track-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.order-track-text strong {
  color: var(--ink);
  font-size: var(--text-sm);
}

.order-track-text small {
  color: var(--muted);
  font-size: var(--text-2xs);
}

@media (max-width: 640px) {
  .order-track-widget {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}

/* ============================================================
   Soft arrivals — calm page settle, smooth anchors, gentle
   entrance for async-rendered content
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  main,
  .site-footer {
    animation: pageSettle 0.9s ease-out both;
  }

  .role-list .role-card {
    animation: softRise 0.6s var(--ease-out-expo) both;
  }

  .role-list .role-card:nth-child(2) { animation-delay: 0.07s; }
  .role-list .role-card:nth-child(3) { animation-delay: 0.14s; }
  .role-list .role-card:nth-child(4) { animation-delay: 0.21s; }
  .role-list .role-card:nth-child(5) { animation-delay: 0.28s; }
  .role-list .role-card:nth-child(n + 6) { animation-delay: 0.35s; }
}

html {
  scroll-padding-top: 96px;
}

@keyframes pageSettle {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
