:root {
  --bg: #f5fbef;
  --paper: #ffffff;
  --ink: #102014;
  --muted: color-mix(in srgb, #102014 58%, #ffffff);
  --line: color-mix(in srgb, #17852c 22%, #ffffff);
  --accent: #17852c;
  --accent-dark: color-mix(in srgb, #17852c 74%, #000000);
  --green: #17852c;
  --gold: #ffcc00;
  --radius-card: 16px;
  --radius-control: 13px;
  --store-font: "Rubik", "Assistant", sans-serif;
  --header-font: "Rubik", "Assistant", sans-serif;
  --cart-icon: url("assets/ui/generated-cart-mystore-20260719090550.png?v=mystore-20260719090550");
  --shadow: 0 16px 36px rgba(0,0,0,.14);
}
body.store-template { font-family: var(--store-font); background: var(--bg); color: var(--ink); }
body.store-template .product-card, body.store-template .modal-panel, body.store-template .cart-panel { border-radius: var(--radius-card); box-shadow: var(--shadow); }
body.store-template .filter, body.store-template .checkout, body.store-template .cart-icon-button, body.store-template .site-language, body.store-template input, body.store-template textarea, body.store-template select { border-radius: var(--radius-control); }
body.store-template .checkout, body.store-template .filter.active, body.store-template .store-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
body.store-template .language-gate-card img, body.store-template .language-gate-logo { width: 148px; height: 108px; object-fit: contain; }
body.store-template .language-gate-actions button { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 24%, transparent); }
body.store-template .topbar {
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent)) !important;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
  color: var(--paper);
}
body.store-template .brand-row {
  display: grid !important;
  grid-template-columns: minmax(210px, 1fr) auto !important;
  align-items: center !important;
  gap: 18px;
  padding: 18px 22px 10px;
}
body.store-template .brand-row > div:first-child {
  width: 310px;
  max-width: 42vw;
  min-height: 104px !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
body.store-template .logo-button {
  width: 310px !important;
  height: 104px !important;
  max-width: 100% !important;
  max-height: 104px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
body.store-template .brand-logo {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  object-position: center;
  transform: none !important;
  filter: none;
}
body.store-template .brand-title { display: none !important; }
body.store-template .top-actions {
  display: grid !important;
  grid-template-columns: 160px 62px;
  grid-template-rows: 44px 62px;
  align-items: center;
  justify-content: end;
  gap: 14px;
  width: 236px !important;
  height: auto !important;
  transform: none !important;
  direction: ltr;
}
body.store-template .header-phone-link {
  display: flex !important;
  grid-column: 1 / 3;
  grid-row: 1;
  align-items: center;
  justify-content: center;
  width: 236px !important;
  min-width: 0 !important;
  max-width: 236px !important;
  height: 44px !important;
  min-height: 44px;
  padding: 0 10px;
  border: 2px solid color-mix(in srgb, var(--paper) 62%, var(--accent));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  color: var(--accent-dark);
  font-weight: 950;
  font-size: clamp(13px, 1.6vw, 18px);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
body.store-template .header-whatsapp-link { display: none !important; }
body.store-template .site-language,
body.store-template .cart-icon-button,
body.store-template .store-whatsapp-pill {
  display: flex !important;
  align-items: center;
  justify-content: center;
  border: 2px solid color-mix(in srgb, var(--paper) 62%, var(--accent));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
body.store-template .site-language {
  grid-column: 1;
  grid-row: 2;
  width: 160px !important;
  min-width: 160px !important;
  height: 62px !important;
  max-height: 62px !important;
  padding: 0 16px;
  font-size: clamp(13px, 1.8vw, 18px);
  font-weight: 950;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.store-template .cart-icon-button {
  grid-column: 2;
  grid-row: 2;
  width: 62px !important;
  min-width: 62px !important;
  height: 62px !important;
  min-height: 62px !important;
  max-height: 62px !important;
  padding: 0 !important;
  overflow: hidden;
}
body.store-template .store-info-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.15fr) 120px minmax(0, 1.15fr) !important;
  align-items: stretch;
  gap: 14px;
  padding: 0 22px 18px;
}
body.store-template .store-hours-pill,
body.store-template .store-address-pill,
body.store-template .store-whatsapp-pill {
  min-height: 94px;
  border-radius: var(--radius-card);
  border-color: color-mix(in srgb, var(--paper) 62%, var(--accent));
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--accent-dark);
  font-size: 20px;
  font-weight: 950;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
}
body.store-template .store-hours-pill,
body.store-template .store-address-pill { padding: 18px 16px; }
body.store-template .store-whatsapp-pill img { width: 56px; height: 56px; object-fit: contain; }
body.store-template .bottom-links a[data-social-placeholder] { cursor: pointer; }
body.store-template .login-help { margin: -4px 0 10px; color: var(--muted); font-size: 14px; font-weight: 800; }
.simple-notice-modal { position: fixed; inset: 0; z-index: 2000; display: none; place-items: center; padding: 20px; background: rgba(16,16,16,.48); backdrop-filter: blur(8px); }
.simple-notice-modal.open { display: grid; }
.simple-notice-card { position: relative; width: min(360px, 100%); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 26px 24px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); text-align: center; }
.simple-notice-text { margin: 0; font-size: 18px; font-weight: 850; line-height: 1.35; }
.simple-notice-close { position: absolute; top: 8px; right: 10px; border: 0; background: transparent; color: var(--muted); font-size: 25px; line-height: 1; }
@media (max-width: 720px) {
  body.store-template .brand-row {
    grid-template-columns: minmax(128px, 1fr) auto !important;
    gap: 8px !important;
    padding: 10px 10px 7px !important;
  }
  body.store-template .brand-row > div:first-child {
    width: 206px;
    max-width: calc(100vw - 204px);
    min-height: 74px !important;
  }
  body.store-template .logo-button {
    width: 206px !important;
    height: 74px !important;
    max-height: 74px !important;
  }
  body.store-template .top-actions {
    grid-template-columns: 102px 46px;
    grid-template-rows: 34px 46px;
    width: 153px !important;
    gap: 7px !important;
  }
  body.store-template .header-phone-link {
    width: 153px !important;
    max-width: 153px !important;
    height: 34px !important;
    min-height: 34px;
    padding: 0 6px;
    font-size: 10px;
  }
  body.store-template .site-language {
    width: 102px !important;
    min-width: 102px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    padding: 0 7px;
    font-size: 11px;
  }
  body.store-template .cart-icon-button {
    width: 46px !important;
    min-width: 46px !important;
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
  }
  body.store-template .store-info-row {
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) !important;
    gap: 7px;
    padding: 0 10px 10px;
  }
  body.store-template .store-hours-pill,
  body.store-template .store-address-pill,
  body.store-template .store-whatsapp-pill {
    min-height: 72px;
    border-radius: var(--radius-control);
    font-size: 10.5px;
    line-height: 1.12;
  }
  body.store-template .store-hours-pill,
  body.store-template .store-address-pill { padding: 10px 7px; }
  body.store-template .store-whatsapp-pill img { width: 34px; height: 34px; }
}

/* Fixed SuperPet header component. Only logo, colors and contact texts vary. */
body.store-template .topbar {
  position: relative;
  z-index: 18;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: var(--accent) !important;
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-family: var(--header-font);
  backdrop-filter: blur(12px);
}
body.store-template .brand-row {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 10px 28px 8px 20px !important;
}
body.store-template .brand-row > div:first-child {
  display: flex !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 162px !important;
  align-items: center !important;
  gap: 0 !important;
}
body.store-template .logo-button {
  display: inline-flex !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  flex: 0 0 auto;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.store-template .brand-logo {
  display: block !important;
  width: min(25vw, 395px) !important;
  max-width: min(25vw, 395px) !important;
  height: auto !important;
  max-height: 145px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 14px !important;
  transform: none !important;
  filter: drop-shadow(0 5px 12px rgba(0,0,0,.12)) !important;
}
body.store-template .brand-title {
  display: block !important;
  align-self: center;
  min-width: 0;
  color: #fff;
  font-size: clamp(42px, 4.8vw, 74px);
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
body.store-template .top-actions {
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  flex: 0 0 auto;
  align-items: center !important;
  justify-self: end !important;
  gap: 7px !important;
  transform: none !important;
}
body.store-template .header-whatsapp-link { display: none !important; }
body.store-template .site-language {
  position: static;
  width: 128px !important;
  min-width: 92px !important;
  max-width: 128px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  padding: 0 7px !important;
  background: var(--paper) !important;
  color: var(--ink) !important;
  box-shadow: 0 4px 14px rgba(42,28,18,.06) !important;
  font-family: var(--header-font);
  font-size: 14px !important;
  font-weight: 850 !important;
}
body.store-template .cart-icon-button {
  position: relative !important;
  display: inline-flex !important;
  width: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  height: 46px !important;
  min-height: 46px !important;
  max-height: 46px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: var(--paper) !important;
  color: var(--accent-dark) !important;
  box-shadow: 0 4px 14px rgba(42,28,18,.08) !important;
}
body.store-template .cart-glyph {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  background: var(--cart-icon) center / contain no-repeat;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.16));
  font-size: 0;
  line-height: 1;
}
body.store-template .header-phone-link {
  display: none !important;
}
body.store-template .store-info-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(104px, .34fr) minmax(0, 1fr) !important;
  gap: 7px !important;
  padding: 0 10px 9px !important;
}
body.store-template .store-hours-pill,
body.store-template .store-whatsapp-pill,
body.store-template .store-address-pill {
  display: flex !important;
  min-width: 0;
  min-height: 48px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(255,255,255,.34) !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  background: rgba(255,255,255,.94) !important;
  color: var(--accent-dark) !important;
  font-family: var(--header-font);
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
}
body.store-template .store-hours-pill {
  flex-direction: column;
  gap: 2px;
}
body.store-template .store-whatsapp-pill {
  flex-direction: column;
  gap: 2px;
  color: #1f7a45 !important;
}
body.store-template .store-whatsapp-pill img {
  width: 24px !important;
  height: 24px !important;
}
body.store-template .store-address-pill {
  margin: 0;
  white-space: normal;
}
@media (max-width: 520px) {
  body.store-template .brand-row {
    width: 100vw;
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr) 132px !important;
    grid-template-rows: auto;
    align-items: center !important;
    gap: 0 6px !important;
    padding: 0 10px 0 16px !important;
  }
  body.store-template .brand-row > div:first-child {
    grid-row: 1;
    grid-column: 1;
    width: auto !important;
    max-width: none !important;
    min-height: 98px !important;
    align-items: center !important;
  }
  body.store-template .brand-title { display: none !important; }
  body.store-template .brand-logo {
    width: min(56vw, 224px) !important;
    max-width: min(56vw, 224px) !important;
    max-height: 86px !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: translate(-8px, -6px) !important;
  }
  body.store-template .top-actions {
    grid-column: 2;
    grid-row: 1;
    position: static;
    display: inline-flex !important;
    width: 132px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: end !important;
    justify-self: end !important;
    margin-left: 0;
    gap: 7px !important;
    overflow: visible;
    transform: translateY(10px) !important;
  }
  body.store-template .header-phone-link {
    position: absolute;
    z-index: 2;
    top: 17px;
    right: 15px;
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 132px !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    justify-content: center;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff;
    font-family: var(--header-font);
    font-size: clamp(11px, 3.5vw, 15px);
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-shadow: 0 2px 8px rgba(25,7,52,.38);
    box-shadow: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: auto;
  }
  body.store-template .site-language {
    position: static;
    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 37px !important;
    min-height: 37px !important;
    max-height: 37px !important;
    padding: 0 5px !important;
    font-size: 11.5px !important;
  }
  body.store-template .cart-icon-button {
    position: relative !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
  }
  body.store-template .cart-glyph {
    width: 32px;
    height: 32px;
  }
  body.store-template .store-info-row {
    grid-template-columns: minmax(0, 1fr) 58px minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    gap: 5px !important;
    padding: 0 8px 7px !important;
  }
  body.store-template .store-hours-pill,
  body.store-template .store-address-pill {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 5px;
    min-height: 54px !important;
    padding: 5px !important;
    font-size: 9.8px !important;
  }
  body.store-template .store-whatsapp-pill {
    min-height: 54px !important;
    padding: 5px 3px !important;
    font-size: 0 !important;
  }
  body.store-template .store-whatsapp-pill img {
    width: 29px !important;
    height: 29px !important;
  }
}
