/* Website-specific accessibility and responsive refinements to the supplied design. */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: #123d30;
  color: white;
  padding: 12px;
  z-index: 100;
}
.skip-link:focus {
  top: 8px;
}
:focus-visible {
  outline: 3px solid #087f5b;
  outline-offset: 3px;
}
a.btn:focus-visible {
  outline-offset: 4px;
}
.search-submit {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
}
.headinner .search {
  min-width: 160px;
}
.search-submit .icon {
  width: 20px;
  height: 20px;
}
.field input,
.field textarea,
.field select {
  min-height: 44px;
}
.field textarea {
  resize: vertical;
}
.panel form > .btn,
.panel > form > .btn,
.narrow > .btn,
.auth > .btn {
  margin-top: 20px;
}
.narrow {
  max-width: 800px;
}
.narrow > h3 {
  margin-top: 24px;
}
.narrow > p {
  margin-top: 16px;
}
.auth p {
  margin: 14px 0;
}
.empty p {
  margin: 12px 0 20px;
}
.footer p {
  margin-top: 16px;
}
.footer-credit {
  max-width: 1440px;
  margin: auto;
  padding: 20px 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.error-banner {
  background: #fff1ee;
  color: #852d22;
  padding-top: 12px;
  padding-bottom: 12px;
}
.table-search {
  margin-bottom: 16px;
}
.table-search input {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 44px;
  padding: 8px;
}
.pagination {
  margin-top: 16px;
}
.qty button,
.add {
  min-width: 36px;
  min-height: 36px;
}
.live-product-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.placeholder {
  display: grid;
  place-items: center;
}
.placeholder .icon {
  width: 44px;
  height: 44px;
}
#quote-result pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 14px monospace;
}
button.link {
  min-height: 44px;
}
.shop-banner .row {
  flex-wrap: wrap;
}
.tablewrap {
  max-width: 100%;
  overflow: auto;
}
.opsmain {
  min-width: 0;
}
.list-card {
  gap: 12px;
}
.product h3 {
  overflow-wrap: anywhere;
}
.store-word {
  overflow-wrap: anywhere;
}
.mobile-nav img {
  width: 20px;
  height: 20px;
}
.mobile-nav a[aria-current="page"] {
  font-weight: 700;
  background: var(--mint);
}
[dir="rtl"] .location {
  text-align: right;
}
[dir="rtl"] .sidebar {
  text-align: right;
}
[dir="rtl"] .side-link {
  text-align: right;
}
@media (max-width: 700px) {
  .headinner {
    gap: 8px;
  }
  .brand {
    font-size: 18px;
  }
  .brand small {
    font-size: 7px !important;
    letter-spacing: 0.5px !important;
  }
  .headinner > .btn {
    padding: 8px;
    font-size: 12px;
  }
  .headinner .brand img {
    width: 34px;
    height: 34px;
  }
  .headinner .search {
    min-width: 0;
  }
  .qty button,
  .add {
    min-width: 44px;
    min-height: 44px;
  }
  .qty {
    flex-wrap: nowrap;
  }
  .product .row {
    flex-wrap: wrap;
    gap: 8px;
  }
  .product .qty {
    margin-left: auto;
  }
  .list-card {
    flex-wrap: wrap;
  }
  .ops {
    display: block;
  }
  .opsnav {
    width: auto;
    position: static;
    padding: 16px;
  }
  .opsnav .side-link {
    display: inline-block;
    padding: 8px;
    font-size: 13px;
  }
  .opsnav h3,
  .opsnav small {
    display: none;
  }
  .opsmain {
    padding: 20px 16px;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi {
    padding: 12px;
  }
  .kpi strong {
    font-size: 24px;
  }
  .footer-credit {
    padding: 20px 16px 90px;
  }
  .mobile-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
  .shop-layout .basket {
    position: static;
    display: block;
  }
  .modal {
    max-height: 85dvh;
    overflow: auto;
  }
  .modal-back {
    padding: 12px;
  }
  .subnav {
    overflow-x: auto;
  }
  .table-search {
    flex-wrap: wrap;
  }
  .location {
    display: block !important;
    order: 4;
    width: 100%;
    font-size: 12px;
    padding: 4px 0;
  }
  .location strong {
    display: inline;
    margin-left: 6px;
  }
  .location .icon {
    width: 14px;
  }
  .shop-layout .sidebar {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .shop-layout .sidebar h3 {
    display: none;
  }
  .shop-layout .sidebar .side-link {
    display: inline-block;
    width: auto;
  }
  .timeline {
    padding-left: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.footer .footer-credit {
  width: 100%;
  max-width: 1360px;
  text-align: center;
}
.footer-credit a {
  display: inline;
}
.store-cta {
  display: block;
  margin-top: 12px;
}
/* Immediate shell, account entry points and delivery picker. */
.initial-hero {
  margin: 28px 0;
  padding: 48px;
  min-height: 320px;
  border-radius: 24px;
  background: #eaf6ef url("/websites/grocerypanda-v2/assets/hero.webp") right
    center / auto 100% no-repeat;
}
.initial-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  max-width: 60%;
  line-height: 1.05;
}
.initial-placeholder {
  padding: 36px 0;
  min-height: 55vh;
}
.initial-placeholder span {
  display: block;
  height: 22px;
  width: 45%;
  border-radius: 8px;
  background: #edf3ef;
  margin: 16px 0;
}
.initial-placeholder span:last-child {
  width: 100%;
  height: 260px;
}
.cart-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: #087f5b;
  border: 1px solid #087f5b;
  border-radius: 14px;
  min-height: 46px;
  padding: 8px 13px;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 3px 10px #087f5b18;
}
.cart-control:hover {
  background: #065f46;
  transform: translateY(-1px);
}
.cart-icon {
  width: 27px;
  height: 27px;
}
.cart-count {
  min-width: 23px;
  height: 23px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #087f5b;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}
.signup-link {
  border-color: #087f5b;
  color: #087f5b;
  white-space: nowrap;
}
.partner-nav {
  margin-left: auto;
  white-space: nowrap;
  font-weight: 700;
}
.delivery-dialog {
  width: min(520px, calc(100% - 32px));
  max-height: 85dvh;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  padding: 32px;
  color: #173d32;
  box-shadow: 0 20px 80px #10392d33;
}
.delivery-dialog::backdrop {
  background: #0d302a88;
  backdrop-filter: blur(3px);
}
.dialog-close {
  float: right;
  border: 0;
  background: #edf5ef;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 26px;
  cursor: pointer;
}
.saved-address {
  display: block;
  text-align: left;
  width: 100%;
  padding: 14px;
  background: #f3f8f5;
  border: 1px solid #dce8df;
  border-radius: 12px;
  margin: 8px 0;
  cursor: pointer;
}
.signup-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 20px auto;
  align-items: start;
}
.signup-intro {
  padding: 24px;
}
.signup-intro h2 {
  font-size: 42px;
  line-height: 1.1;
}
.signup-intro img {
  width: 100%;
  border-radius: 24px;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.consent {
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: start;
  margin: 16px 0;
}
.consent input {
  margin-top: 4px;
}
.form-feedback:not(:empty) {
  padding: 12px;
  background: #fff5dd;
  border-radius: 10px;
  margin: 12px 0;
}
.partner-switch {
  display: block;
  margin-top: 20px;
  font-weight: 700;
  color: #087f5b;
}
@media (max-width: 700px) {
  .headinner {
    gap: 8px;
  }
  .headinner .brand {
    margin-right: auto;
  }
  .headinner .btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  .cart-control {
    padding: 6px 8px;
    gap: 4px;
  }
  .cart-label {
    display: none;
  }
  .cart-icon {
    width: 24px;
    height: 24px;
  }
  .signup-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .signup-intro {
    padding: 0;
  }
  .signup-intro h2 {
    font-size: 32px;
  }
  .signup-intro img {
    display: none;
  }
  .form-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .initial-hero {
    padding: 24px;
    min-height: 290px;
    background-position: 70% center;
  }
  .initial-hero h1 {
    max-width: 80%;
  }
  .initial-hero p {
    max-width: 65%;
  }
  .delivery-dialog {
    padding: 24px;
  }
}
.partner-page {
  background: #fff;
}
.partner-hero {
  max-width: 1280px;
  margin: auto;
  padding: 56px 32px 64px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.partner-copy h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin: 20px 0;
}
.partner-copy h1 em {
  font-style: normal;
  color: #087f5b;
}
.partner-copy > p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 500px;
}
.partner-copy > .meta {
  font-size: 13px;
}
.partner-hero-art {
  position: relative;
  margin-top: 28px;
}
.partner-hero-art img {
  width: 100%;
  border-radius: 24px;
}
.partner-hero-art span {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  font-weight: 700;
  box-shadow: 0 8px 30px #174b3220;
}
.partner-form {
  padding: 32px !important;
  box-shadow: 0 16px 64px #164b3212;
  border-radius: 24px !important;
  scroll-margin-top: 150px;
}
.partner-form h2 {
  font-size: 28px;
  line-height: 1.15;
}
.partner-form .field {
  margin-bottom: 14px;
}
.partner-section {
  padding: 64px 32px;
  max-width: 1280px;
  margin: auto;
}
.partner-section > h2 {
  font-size: 36px;
  max-width: 700px;
  line-height: 1.15;
}
.partner-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 36px;
}
.partner-benefits article {
  padding: 28px;
  background: #f3f8f4;
  border-radius: 20px;
}
.partner-benefits .icon {
  width: 40px;
  height: 40px;
}
.partner-benefits p,
.partner-steps p,
.partner-faq p {
  line-height: 1.7;
  color: #5b7067;
}
.partner-steps {
  background: #eaf6ee;
  border-radius: 32px;
}
.partner-steps ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 0;
  list-style: none;
  margin-top: 32px;
}
.partner-steps li > span {
  font-size: 32px;
  font-weight: 800;
  color: #087f5b;
}
.partner-faq {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}
.partner-faq h2 {
  font-size: 38px;
}
.partner-faq details {
  border-bottom: 1px solid #dce8df;
  padding: 18px 0;
}
.partner-faq summary {
  cursor: pointer;
  font-weight: 700;
}
.partner-final {
  text-align: center;
  padding: 50px 24px 70px;
  background: #f4f8f4;
}
.partner-final h2 {
  font-size: 32px;
}
.reference {
  font-size: 23px;
  font-weight: 800;
  padding: 18px;
  border: 1px dashed #087f5b;
  border-radius: 12px;
}
.success-check {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e3f5e9;
  color: #087f5b;
  font-size: 32px;
}
.application-success {
  padding: 20px 0;
}
@media (max-width: 800px) {
  .partner-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }
  .partner-copy h1 {
    font-size: 42px;
    letter-spacing: -1px;
  }
  .partner-hero-art {
    display: none;
  }
  .partner-form {
    padding: 24px !important;
  }
  .partner-section {
    padding: 40px 20px;
  }
  .partner-section > h2 {
    font-size: 29px;
  }
  .partner-benefits,
  .partner-steps ol,
  .partner-faq {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .partner-faq h2 {
    margin: 12px 0;
  }
  .partner-steps {
    border-radius: 0;
  }
  .partner-final h2 {
    font-size: 28px;
  }
}
.partner-header .headinner {
  justify-content: space-between;
}
.partner-header .brand {
  margin-right: auto;
}
@media (max-width: 700px) {
  .headinner .brand {
    font-size: 16px;
    gap: 5px;
    letter-spacing: -0.6px;
  }
  .headinner .brand img {
    width: 28px;
    height: 28px;
  }
  .headinner {
    gap: 6px;
  }
  .headinner > .btn {
    padding: 8px;
    font-size: 12px;
  }
  .cart-control {
    min-height: 40px;
    padding: 6px;
  }
  .cart-count {
    min-width: 19px;
    height: 19px;
    font-size: 11px;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      #eaf6ee 5%,
      #eaf6eee8 45%,
      transparent 90%
    );
    pointer-events: none;
  }
  .hero .copy {
    z-index: 2;
  }
  .partner-header .headinner {
    flex-wrap: nowrap;
  }
  .partner-header .link {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .headinner > .btn:first-of-type {
    padding: 6px;
  }
  .headinner .brand {
    font-size: 14px;
  }
  .headinner .brand img {
    width: 24px;
    height: 24px;
  }
}
