@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@600;700&display=swap');

:root {
  --ink-900: #0e1833;
  --ink-700: #243a69;
  --ink-500: #4d628e;
  --ink-300: #9fb0d1;
  --brand-700: #0b3a87;
  --brand-600: #1055b5;
  --brand-500: #1e74dc;
  --gold-400: #ddae4a;
  --gold-300: #f5cf7a;
  --surface-1: #ffffff;
  --surface-2: #f5f8ff;
  --surface-3: #e9f0ff;
  --border: #d7e1f4;
  --wa-600: #1f9d57;
  --wa-700: #167544;
  --call-700: #1b2f5b;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-soft: 0 12px 40px rgba(12, 35, 87, 0.12);
  --shadow-float: 0 22px 46px rgba(13, 45, 113, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-900);
  font-family: 'Plus Jakarta Sans', sans-serif;
  background:
    radial-gradient(circle at 0% 0%, #fff8ea 0%, rgba(255, 248, 234, 0) 30%),
    radial-gradient(circle at 100% 5%, #d8e8ff 0%, rgba(216, 232, 255, 0) 33%),
    linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
}

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

.hidden {
  display: none !important;
}

.shell {
  width: min(1220px, 94%);
  margin: 0 auto;
}

.wm-topstrip {
  background: linear-gradient(90deg, #071635, #102b5e 45%, #0c2149);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #dce8ff;
}

.wm-topstrip p {
  margin: 0;
  padding: 9px 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.wm-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: linear-gradient(125deg, rgba(10, 44, 98, 0.95), rgba(12, 62, 133, 0.92));
  box-shadow: 0 10px 34px rgba(7, 29, 73, 0.28);
}

.wm-header-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.wm-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.95;
}

.wm-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.05rem;
  font-weight: 700;
  color: #ffffff;
}

.wm-logo-sub {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #c8d9fb;
}

.wm-search-wrap {
  position: relative;
}

.wm-search {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  padding: 13px 20px;
  font: inherit;
  font-size: 0.93rem;
  color: #16326c;
  background: #fafdff;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.75);
}

.wm-search::placeholder {
  color: #7c8fb7;
}

.wm-search:focus {
  outline: none;
  border-color: #9cc4ff;
  box-shadow: 0 0 0 4px rgba(114, 166, 255, 0.22);
}

.wm-header-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.wm-header-links a {
  color: #ecf2ff;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0.95;
}

.wm-header-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wm-hero {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.wm-hero-content,
.wm-hero-stats {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface-1);
  box-shadow: var(--shadow-soft);
}

.wm-hero-content {
  position: relative;
  overflow: hidden;
  padding: 34px;
  background:
    radial-gradient(circle at 95% 8%, rgba(245, 207, 122, 0.32), rgba(245, 207, 122, 0) 33%),
    radial-gradient(circle at 8% 95%, rgba(157, 198, 255, 0.33), rgba(157, 198, 255, 0) 39%),
    #ffffff;
}

.wm-hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
}

.wm-hero-content > * {
  position: relative;
  z-index: 1;
}

.wm-kicker {
  margin: 0;
  width: max-content;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #6a4506;
  background: linear-gradient(90deg, #ffe9bc, #fff4de);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: 'Cormorant Garamond', serif;
}

.wm-hero-content h1 {
  margin: 14px 0 10px;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0.2px;
  color: #112c63;
}

.wm-hero-content p {
  margin: 0;
  max-width: 58ch;
  color: #40557f;
  font-size: 0.98rem;
  line-height: 1.6;
}

.wm-hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.wm-hero-stats {
  padding: 14px;
  display: grid;
  gap: 10px;
  background:
    linear-gradient(165deg, #ffffff 0%, #f2f7ff 52%, #eaf2ff 100%);
  overflow: hidden;
}

.hero-carousel {
  border-radius: var(--radius-md);
  overflow: auto;
  border: 1px solid #d4e2fb;
  background: #fff;
  scroll-snap-type: x mandatory;
}

.hero-carousel-track {
  display: flex;
  gap: 12px;
  padding: 8px;
}

.hero-h-card {
  min-width: min(320px, 85vw);
  max-width: 340px;
  border-radius: 14px;
  border: 1px solid #d7e4f8;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 45, 99, 0.12);
  overflow: hidden;
  scroll-snap-align: start;
  display: grid;
  grid-template-rows: auto 1fr;
}

.hero-h-media {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #edf3ff;
}

.hero-h-content {
  padding: 12px;
  display: grid;
  gap: 7px;
}

.hero-h-content h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #123269;
}

.hero-h-content p {
  margin: 0;
  color: #4f6895;
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-carousel-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.hero-carousel-label {
  margin: 0;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4d638f;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.hero-carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid #c8d8f3;
  background: rgba(255, 255, 255, 0.82);
  color: #1a3d7c;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.hero-carousel-btn:hover {
  border-color: #9ebcf0;
  background: #fff;
}

.category-rail {
  margin-top: 18px;
}

.category-pill-wrap {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 0 4px;
  scrollbar-width: thin;
}

.category-pill {
  border: 1px solid #cfddf5;
  border-radius: 999px;
  background: #fff;
  color: #2e4f89;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
}

.category-pill:hover {
  border-color: #9abcf0;
  color: #1f3f78;
}

.category-pill.active {
  background: linear-gradient(130deg, var(--brand-700), var(--brand-500));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(20, 84, 175, 0.28);
}

.catalog-section {
  margin-top: 16px;
  padding-bottom: 130px;
}

.location-section {
  margin-top: -86px;
  padding-bottom: 38px;
}

.location-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
}

.location-content {
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #0d2f68, #113e86);
  color: #fff;
  padding: 20px;
}

.location-content h2 {
  margin: 10px 0 8px;
  font-size: 2rem;
}

.location-content p {
  margin: 0 0 8px;
  color: #d9e8ff;
  line-height: 1.5;
}

.location-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.location-map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #d8e3f6;
  min-height: 270px;
}

.location-map {
  width: 100%;
  height: 100%;
  border: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 15px;
}

.section-head h2 {
  margin: 0;
  color: #0f2d67;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: #47608f;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d6e0f5;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-float);
  border-color: #b8cef0;
}

.product-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #edf3ff;
}

.product-card-body {
  padding: 13px 13px 14px;
  display: grid;
  gap: 8px;
}

.badge {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  color: #6e4a09;
  background: linear-gradient(90deg, #ffedc4, #fff4df);
}

.product-card h3 {
  margin: 0;
  font-size: 1.04rem;
  font-weight: 700;
  color: #122d64;
}

.meta {
  margin: 0;
  color: #536a94;
  font-size: 0.84rem;
  line-height: 1.45;
}

.btn-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-row.compact {
  margin-top: 2px;
}

.btn-row .btn {
  flex: 1;
}

.btn {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.15px;
  cursor: pointer;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(125deg, var(--wa-700), var(--wa-600));
  box-shadow: 0 10px 19px rgba(31, 157, 87, 0.3);
}

.btn-whatsapp:hover {
  background: linear-gradient(125deg, #146a3c, #1c8f51);
}

.btn-call {
  color: #fff;
  background: linear-gradient(130deg, #162f59, #264980);
  box-shadow: 0 10px 20px rgba(18, 44, 90, 0.28);
}

.btn-call:hover {
  background: linear-gradient(130deg, #122547, #1d3b68);
}

.btn-outline,
.btn-light {
  border: 1px solid #c6d6f2;
  color: #1d407d;
  background: #fff;
}

.btn-outline:hover,
.btn-light:hover {
  border-color: #98b8e9;
}

.btn-brand {
  color: #fff;
  background: linear-gradient(130deg, #0d478f, #1b6ad6);
  box-shadow: 0 10px 22px rgba(26, 91, 182, 0.28);
}

.product-detail-wrap {
  padding: 32px 0 132px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 20px;
}

.product-media,
.product-info {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.product-media {
  min-height: 420px;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 24px;
}

.product-info h1 {
  margin: 12px 0;
  color: #11306a;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
}

.product-info ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #425882;
  font-size: 0.94rem;
}

.footer {
  padding: 20px 0 95px;
  color: #5a6f99;
  font-size: 0.88rem;
  text-align: center;
}

.sticky-whatsapp {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  width: min(620px, calc(100% - 24px));
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 8px;
  padding: 8px;
  border-radius: 18px;
  border: 1px solid #cad8f1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 36px rgba(9, 32, 81, 0.24);
}

.sticky-whatsapp .btn {
  width: 100%;
  padding: 12px 15px;
  font-size: 0.93rem;
}

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

.admin-shell {
  padding: 24px 0 40px;
}

.admin-card {
  border: 1px solid #d8e2f7;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.admin-card h1,
.admin-card h2,
.admin-card h3,
.admin-toolbar h2 {
  color: #133572;
}

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

.admin-form label {
  display: grid;
  gap: 6px;
  color: #284b85;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #c5d5f0;
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
}

.admin-form input:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: #97b8eb;
  box-shadow: 0 0 0 4px rgba(128, 175, 248, 0.19);
}

.admin-error,
.admin-note {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-error {
  color: #ca1f4c;
}

.admin-note {
  color: #1b6b43;
}

.admin-panel {
  display: grid;
  gap: 14px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

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

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 14px;
}

.admin-product-list {
  max-height: 620px;
  overflow: auto;
  display: grid;
  gap: 8px;
}

.admin-item {
  border: 1px solid #d7e2f6;
  border-radius: 12px;
  padding: 11px;
  display: grid;
  gap: 7px;
}

.admin-item h4 {
  margin: 0;
  color: #13346f;
}

.admin-item p {
  margin: 0;
  color: #526997;
  font-size: 0.84rem;
}

.fade-in {
  animation: rise 0.42s ease;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .wm-header-row {
    grid-template-columns: 1fr;
  }

  .wm-header-links {
    justify-content: flex-start;
  }

  .wm-hero,
  .product-detail,
  .admin-grid,
  .location-card {
    grid-template-columns: 1fr;
  }

  .location-section {
    margin-top: -82px;
  }
}

@media (max-width: 680px) {
  .wm-hero-content {
    padding: 24px;
  }

  .wm-hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .hero-carousel {
    overflow-x: auto;
  }

  .hero-h-card {
    min-width: 82vw;
  }

  .btn-row {
    flex-direction: column;
  }

  .sticky-whatsapp {
    grid-template-columns: 1fr;
    width: min(620px, calc(100% - 18px));
    bottom: 10px;
    padding: 7px;
  }

  .sticky-whatsapp .btn {
    font-size: 0.9rem;
  }
}
