:root {
  --bg: #05070b;
  --surface: #10141d;
  --ink: #f5f7fb;
  --muted: #a8b2c2;
  --line: #273041;
  --green: #008ee8;
  --green-dark: #33b7ff;
  --coral: #e71932;
  --yellow: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 142, 232, 0.18), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(231, 25, 50, 0.16), transparent 28%),
    var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(5, 7, 11, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--coral));
  color: #fff;
  font-weight: 900;
  font-size: 28px;
  font-style: italic;
  box-shadow: 0 10px 28px rgba(0, 142, 232, 0.22);
}

.brand-logo {
  width: clamp(170px, 23vw, 240px);
  height: 74px;
  object-fit: contain;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green-dark);
}

.contact-pill,
.button,
.filter {
  border: 0;
  cursor: pointer;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #008ee8, #e71932);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(28px, 6vw, 76px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(0, 142, 232, 0.2), rgba(231, 25, 50, 0.14) 44%, transparent 74%),
    var(--bg);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.06;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy > p:not(.eyebrow) {
  font-size: 18px;
  max-width: 590px;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--green), var(--coral));
  color: #fff;
}

.button.primary:hover {
  background: linear-gradient(135deg, var(--green-dark), #b90f22);
}

.button.secondary {
  background: #171d29;
  border: 1px solid var(--line);
  color: var(--ink);
}

.button.danger {
  background: #8f2f28;
  color: #fff;
}

.button.full {
  width: 100%;
}

.hero-media {
  overflow: hidden;
  height: min(68vh, 640px);
  min-height: 420px;
  box-shadow: var(--shadow);
}

.logo-hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 58px);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 18%, rgba(0, 255, 255, 0.2) 30%, transparent 42%, rgba(255, 0, 136, 0.22) 58%, transparent 72%, rgba(255, 255, 255, 0.15)),
    radial-gradient(circle at 18% 18%, rgba(0, 220, 255, 0.5), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.28), transparent 24%),
    radial-gradient(circle at 74% 78%, rgba(255, 0, 120, 0.45), transparent 36%),
    linear-gradient(135deg, #060912, #171d2d 48%, #0b0e18);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px 8px 44px 8px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%, 0 14%);
  isolation: isolate;
}

.image-hero {
  padding: 0;
  background: #05070b;
  border: 0;
  border-radius: 8px;
  clip-path: none;
}

.image-hero::before,
.image-hero::after {
  display: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-hero img {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.42));
}

.image-hero img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.42));
}

.logo-hero::before,
.logo-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.logo-hero::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%, 0 14%);
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.18), transparent 18%, rgba(0, 142, 232, 0.2) 40%, transparent 54%, rgba(231, 25, 50, 0.18) 74%, transparent);
  mix-blend-mode: screen;
  z-index: 1;
}

.logo-hero::after {
  inset: -40%;
  background:
    repeating-linear-gradient(115deg, transparent 0 28px, rgba(255, 255, 255, 0.08) 29px 31px, transparent 32px 54px),
    linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.28), transparent 58%);
  transform: rotate(-8deg);
  mix-blend-mode: screen;
  opacity: 0.65;
  z-index: 1;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 64px);
}

.section.compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding-top: 0;
}

.feature {
  min-height: 112px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.feature strong,
.feature span {
  display: block;
}

.feature span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  background: #171d29;
  color: var(--muted);
  border: 1px solid var(--line);
}

.filter.active {
  background: linear-gradient(135deg, var(--green), var(--coral));
  color: #fff;
  border-color: transparent;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-card .photo {
  aspect-ratio: 4 / 3;
  background: #ffffff;
}

.product-image-button {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #080b11;
  cursor: zoom-in;
}

.product-image-button span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 6px;
  background: rgba(5, 7, 11, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  padding: 16px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.product-meta h3 {
  margin: 0;
  font-size: 18px;
}

.price {
  color: var(--green-dark);
  font-weight: 900;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(0, 142, 232, 0.12);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.stock {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-weight: 900;
  line-height: 1.3;
}

.stock.sold-out {
  color: var(--coral);
}

.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--coral));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}

.empty-products {
  grid-column: 1 / -1;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  min-height: 420px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 142, 232, 0.42), transparent 32%),
    radial-gradient(circle at 88% 34%, rgba(231, 25, 50, 0.4), transparent 34%),
    linear-gradient(135deg, rgba(0, 142, 232, 0.24), rgba(231, 25, 50, 0.18)),
    var(--ink);
  color: #fff;
}

.order-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.06) 18% 19%, transparent 19% 36%, rgba(255, 255, 255, 0.04) 36% 37%, transparent 37%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.order-band p,
.order-band .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.order-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.order-copy h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 7vw, 82px);
  max-width: 880px;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  justify-self: center;
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(145deg, #222a39, #05070b 64%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.phone-speaker {
  width: 72px;
  height: 7px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.phone-screen {
  display: grid;
  align-content: space-between;
  gap: 12px;
  min-height: 420px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 142, 232, 0.28), transparent 32%),
    radial-gradient(circle at 92% 92%, rgba(231, 25, 50, 0.32), transparent 38%),
    #07111d;
}

.phone-chat-header {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 8px 10px 18px;
}

.phone-chat-header img {
  width: min(100%, 190px);
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
}

.chat-bubble {
  max-width: 86%;
  padding: 12px 14px;
  border-radius: 16px;
  color: #fff;
  line-height: 1.35;
  font-weight: 700;
}

.chat-bubble.incoming {
  justify-self: start;
  background: rgba(255, 255, 255, 0.12);
  border-bottom-left-radius: 5px;
}

.chat-bubble.outgoing {
  justify-self: end;
  background: rgba(0, 142, 232, 0.58);
  border-bottom-right-radius: 5px;
}

.phone-button {
  width: 100%;
  margin-top: 8px;
  min-height: 54px;
  font-size: 18px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-grid article {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--coral));
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.modal-open {
  overflow: hidden;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.78);
}

.gallery-panel {
  width: min(100%, 980px);
  max-height: calc(100vh - 36px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080b11;
  box-shadow: var(--shadow);
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.gallery-header h2 {
  margin: 0;
  font-size: 24px;
}

.gallery-header span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--coral));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background: #030507;
}

.gallery-stage img {
  width: 100%;
  height: min(66vh, 620px);
  object-fit: contain;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 44px;
  height: 58px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  cursor: pointer;
  font-size: 38px;
  font-weight: 900;
}

.gallery-nav.previous {
  left: 12px;
}

.gallery-nav.next {
  right: 12px;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.gallery-thumbs button {
  flex: 0 0 76px;
  height: 64px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #111722;
  cursor: pointer;
}

.gallery-thumbs button.active {
  border-color: var(--green-dark);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-page {
  min-height: 100vh;
}

.admin-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0;
}

.admin-login {
  max-width: 560px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(5, 7, 11, 0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.admin-toolbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  background: #171d29;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.admin-toolbar a:first-child {
  background: var(--green);
}

.admin-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080b11;
  color: var(--ink);
  padding: 12px;
}

input[type="file"] {
  padding: 10px;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-message {
  align-self: center;
  color: var(--green-dark);
  font-weight: 800;
}

.image-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: end;
}

.image-box {
  display: grid;
  gap: 8px;
}

.image-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  min-height: 120px;
  overflow: hidden;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: #080b11;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.preview-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #030507;
}

.preview-thumb img,
.image-preview > img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.preview-thumb button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(143, 47, 40, 0.92);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.image-clear {
  min-height: 38px;
  padding: 0 12px;
}

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

.admin-product {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-product img {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #080b11;
}

.admin-product strong,
.admin-product span {
  display: block;
}

.admin-product span {
  margin-top: 4px;
  color: var(--muted);
}

.admin-product p {
  margin: 6px 0 0;
  line-height: 1.4;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 920px) {
  .hero,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    height: 420px;
  }

  .section.compact,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    order: 3;
  }

  .brand {
    flex: 1 1 100%;
  }

  .brand-logo {
    width: 160px;
    height: 58px;
  }


  h1 {
    font-size: 42px;
  }

  .hero-media {
    min-height: 300px;
    height: 320px;
  }

  .logo-hero {
    padding: 18px;
    border-radius: 20px 8px 30px 8px;
    clip-path: polygon(7% 0, 100% 0, 94% 100%, 0 100%, 0 12%);
  }

  .image-hero {
    padding: 0;
    border-radius: 8px;
    clip-path: none;
  }

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

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-band {
    display: grid;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 44px;
  }

  .order-copy h2 {
    font-size: 42px;
  }

  .phone-mockup {
    width: min(100%, 310px);
  }

  .phone-screen {
    min-height: 360px;
  }

  .gallery-panel {
    padding: 12px;
  }

  .gallery-stage {
    min-height: 320px;
  }

  .gallery-stage img {
    height: min(58vh, 500px);
  }

  .gallery-nav {
    width: 38px;
    height: 50px;
  }

  .image-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-chat-header {
    min-height: 70px;
  }

  .phone-chat-header img {
    width: 165px;
    height: 58px;
  }

  .whatsapp-float {
    left: 18px;
  }

  .form-grid,
  .image-picker,
  .admin-product {
    grid-template-columns: 1fr;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
