* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  background: #f4f5f7;
  color: #15365a;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
}

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

.flash {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  max-width: min(92vw, 680px);
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 243, 232, 0.96);
  border: 1px solid #ffd3ad;
  color: #8a4300;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.mock-page {
  position: relative;
  width: min(100vw, 1440px);
  margin: 0 auto;
}

.mock-bg {
  width: 100%;
  display: block;
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.overlay a,
.overlay form,
.overlay input,
.overlay button {
  pointer-events: auto;
}

.hotspot,
.ghost-action {
  position: absolute;
  display: block;
  z-index: 5;
}

.ghost-input,
.ghost-submit {
  position: absolute;
  z-index: 6;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
}

.ghost-input {
  color: #15365a;
}

.ghost-input.opaque {
  background: #ffffff;
  color: #15365a;
}

.ghost-input.opaque::placeholder {
  color: #8c98a8;
  opacity: 1;
}

.ghost-input::placeholder {
  color: transparent;
}

.ghost-submit,
.ghost-action,
.upload-file-input {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hotspot:focus-visible,
.ghost-action:focus-visible,
.ghost-input:focus-visible,
.ghost-submit:focus-visible,
.upload-file-input:focus-visible {
  outline: 2px solid #ff6200;
  outline-offset: 2px;
}

/* Shared header hotspots */
.hs-logo { left: 4%; top: 4%; width: 7%; height: 5.5%; }
.hs-top-about { left: 68.0%; top: 1.0%; width: 4.8%; height: 2.0%; }
.hs-top-contact { left: 73.5%; top: 1.0%; width: 5.5%; height: 2.0%; }
.hs-top-faq { left: 79.8%; top: 1.0%; width: 2.5%; height: 2.0%; }
.hs-top-login { left: 85.0%; top: 1.0%; width: 4.0%; height: 2.0%; }
.hs-top-register { left: 89.8%; top: 1.0%; width: 5.8%; height: 2.0%; }

.hs-nav-home { left: 19.5%; top: 4.0%; width: 6.5%; height: 2.8%; }
.hs-nav-products { left: 25.5%; top: 4.0%; width: 7.5%; height: 2.8%; }
.hs-nav-pet { left: 32.0%; top: 4.0%; width: 10.5%; height: 2.8%; }
.hs-nav-upload { left: 41.5%; top: 4.0%; width: 8.5%; height: 2.8%; }
.hs-nav-refill { left: 49.5%; top: 4.0%; width: 8.5%; height: 2.8%; }
.hs-nav-how { left: 57.0%; top: 4.0%; width: 8.0%; height: 2.8%; }
.hs-account { left: 90%; top: 4.5%; width: 3.3%; height: 2.5%; }
.hs-cart { left: 94.5%; top: 4.5%; width: 3.9%; height: 2.5%; }

/* Header nav "Search Medication Here" underlined text input (every mock page).
   Uses vw for top/height because mock-page total height differs per page type,
   while header is at the same absolute pixel position in all mocks. */
.header-search-form {
  position: absolute;
  left: 73.5%;
  top: 6.2vw;
  width: 15%;
  height: 1.8vw;
}
.header-search-input {
  left: 0;
  top: 0;
  width: 88%;
  height: 100%;
  padding: 0 3%;
  font-size: clamp(11px, 0.95vw, 15px);
  border-radius: 4px;
}
.header-search-submit {
  left: 88%;
  top: 0;
  width: 12%;
  height: 100%;
}

/* Patches that overlay (recolored) nav text on top of the bg image to mask
   the mock's pre-baked orange tab and highlight the actually-active tab. */
.nav-patch {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}
.nav-patch-products-black { left: 24.68%; top: 4.377%; width: 9.81%; height: 2.306%; }
.nav-patch-pet-orange { left: 34.49%; top: 4.377%; width: 10.97%; height: 2.306%; }

/* Mock-page text overlays to retitle the product-page.png mock for /pet-medication */
.mock-text-mask {
  position: absolute;
  background: #ffffff;
  z-index: 3;
  display: flex;
  align-items: center;
  font-family: 'Plus Jakarta Sans', 'Inter', 'Segoe UI', Arial, sans-serif;
  color: #1c497f;
  pointer-events: none;
}
.mock-mask-crumb {
  left: 4.4%;
  top: 11.5%;
  width: 24%;
  height: 1.9%;
  font-size: 1.05vw;
  font-weight: 500;
  padding-left: 0.2%;
}
.mock-mask-crumb strong { color: #ff6200; font-weight: 700; margin-left: 0.4em; }
.mock-mask-heading {
  left: 5.6%;
  top: 16.4%;
  width: 34%;
  height: 4.0%;
  font-size: 2.6vw;
  font-weight: 800;
  color: #ff6200;
  letter-spacing: -0.01em;
}

/* Homepage hero search card */
.home-search-form {
  position: absolute;
  left: 66%;
  top: 9.8%;
  width: 29.8%;
  height: 6.9%;
}

.home-search-form .ghost-input {
  left: 9%;
  top: 22%;
  width: 87%;
  height: 30%;
  padding: 0 1%;
  font-size: clamp(14px, 1.4vw, 22px);
  font-weight: 500;
}

.home-search-form .ghost-submit {
  left: 61.1%;
  top: 55%;
  width: 27.9%;
  height: 27.5%;
}

.home-product-hotspots {
  position: absolute;
  left: 4.9%;
  top: 46.1%;
  width: 90.1%;
  height: 14.2%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9%;
}

.home-product-hit,
.catalog-product-hit {
  position: relative;
}

.mock-buy-form {
  position: absolute;
  inset: 0;
}

.home-product-hit .ghost-buy {
  left: 10%;
  top: 47%;
  width: 44%;
  height: 14%;
}

.home-product-hit .ghost-view {
  left: 10%;
  top: 79%;
  width: 36%;
  height: 10%;
}

/* Products page */
/* Catalog / Pet Medication search pill */
.catalog-search-form {
  position: absolute;
  left: 29.6%;
  top: 16.4%;
  width: 42.2%;
  height: 3.1%;
}

.catalog-search-form .ghost-input {
  left: 0;
  top: 0;
  width: 79.1%;
  height: 100%;
  padding: 0 7%;
  border-radius: 999px 0 0 999px;
  font-size: clamp(13px, 1.2vw, 20px);
  font-weight: 500;
}

.catalog-search-form .ghost-submit {
  left: 79.1%;
  top: 0;
  width: 20.9%;
  height: 100%;
}

.alphabet-hotspots {
  position: absolute;
  left: 8.8%;
  top: 23.15%;
  width: 61.8%;
  height: 2.2%;
  display: grid;
  grid-template-columns: repeat(26, minmax(0, 1fr));
  gap: 0.35%;
}

.alphabet-hotspot {
  display: block;
  width: 100%;
  height: 100%;
}

.catalog-product-hotspots {
  position: absolute;
  left: 8.4%;
  top: 28.1%;
  width: 69.7%;
  height: 67.3%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 0.9%;
}

.catalog-empty {
  position: absolute;
  left: 8.4%;
  top: 32%;
  width: 69.7%;
  padding: 24px 28px;
  background: #fff;
  border: 1px dashed #ffb27a;
  border-radius: 12px;
  color: #15365a;
  z-index: 5;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-empty strong {
  font-size: clamp(15px, 1.3vw, 18px);
  color: #ff6200;
}

.catalog-product-hit .ghost-buy {
  left: 11%;
  top: 46%;
  width: 45%;
  height: 15%;
}

.catalog-product-hit .ghost-view {
  left: 11%;
  top: 78%;
  width: 37%;
  height: 10%;
}

/* Upload page */
.upload-form {
  position: absolute;
  left: 11.2%;
  top: 39.4%;
  width: 43.7%;
  height: 29.8%;
}

.ghost-field {
  height: 6.9%;
  font-size: clamp(12px, 1vw, 16px);
  padding: 0 16px;
}

.upload-first-name { left: 5.8%; top: 11.3%; width: 39.5%; }
.upload-last-name { left: 47.1%; top: 11.3%; width: 39.5%; }
.upload-email { left: 5.8%; top: 26%; width: 80.8%; }

.upload-file-input {
  position: absolute;
  left: 5.8%;
  top: 43.4%;
  width: 80.8%;
  height: 25.4%;
  opacity: 0;
  z-index: 7;
}

.upload-submit {
  left: 5.8%;
  top: 83.2%;
  width: 51.5%;
  height: 9.3%;
}

/* Shared right sidebar quick links on internal pages */
.side-faq { left: 76%; top: 26.4%; width: 12%; height: 1.8%; }
.side-products { left: 76%; top: 28.4%; width: 12%; height: 1.8%; }
.side-how { left: 76%; top: 30.5%; width: 12%; height: 1.8%; }
.side-contact { left: 76%; top: 32.4%; width: 12%; height: 1.8%; }

/* Refill / how-to-order bottom buttons */
.refill-past-orders,
.how-past-orders {
  left: 8.2%;
  top: 81%;
  width: 18%;
  height: 4.5%;
}

.refill-login,
.how-login {
  left: 57.9%;
  top: 81%;
  width: 8.7%;
  height: 4.5%;
}

.refill-register,
.how-register {
  left: 67.1%;
  top: 81%;
  width: 10.6%;
  height: 4.5%;
}

.how-upload-inline {
  left: 24.2%;
  top: 62.5%;
  width: 9.8%;
  height: 2.2%;
}

@media (max-width: 960px) {
  .flash {
    top: 12px;
    width: calc(100vw - 24px);
  }
}
