.store-nav-link,
.store-action-link,
.store-button {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font: 700 10px var(--body);
  cursor: pointer;
}

.store-form-error {
  padding: 12px 14px;
  border-left: 3px solid #c44a3b;
  background: #fff0ed;
  color: #6e2923;
  font-size: 10px;
  line-height: 1.6;
}

.store-nav-link {
  min-height: 36px;
  padding: 0 12px;
  background: #f1f5e7;
  color: var(--ink);
}

.store-nav-count {
  min-width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  font-size: 9px;
}

.store-action-link:hover,
.store-button:hover {
  background: #213a42;
}

.store-button-primary {
  background: var(--lime);
  color: #172215;
}

.store-button-primary:hover {
  background: #d8ff70;
  color: #172215;
}

.store-button-secondary {
  border: 1px solid #d7ded5;
  background: #fff;
  color: var(--ink);
}

.store-button-secondary:hover {
  background: #f5f7f1;
  color: var(--ink);
}

.store-page {
  min-height: calc(100vh - 76px);
  background: var(--paper);
}

.store-hero {
  padding: 42px max(6%, calc((100% - 1120px) / 2));
  background: var(--navy);
  color: #fff;
}

.store-hero h1 {
  margin: 14px 0 8px;
  font: 800 clamp(38px, 6vw, 58px)/.92 var(--display);
}

.store-hero h1 em {
  color: var(--lime);
  font-style: normal;
}

.store-hero p {
  max-width: 650px;
  margin: 0;
  color: #bdc8ce;
  font-size: 11px;
  line-height: 1.75;
}

.store-content {
  width: min(100% - 48px, 1000px);
  margin: 0 auto;
  padding: 32px 0 60px;
}

.store-notice {
  padding: 14px 16px;
  margin-bottom: 16px;
  border-left: 3px solid #d7a23a;
  background: #fff5df;
  color: #65562e;
  font-size: 10px;
  line-height: 1.7;
}

.store-panel {
  padding: 22px;
  border: 1px solid #e1e7e0;
  background: #fff;
}

.store-panel h2 {
  margin: 0 0 12px;
  font: 700 27px/.98 var(--display);
}

.store-form {
  display: grid;
  gap: 15px;
}

.configure-component-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.configure-clearance {
  padding: 11px 13px;
  margin: 0;
  border-left: 3px solid var(--lime);
  background: #f2f7e8;
  color: #425235;
  font-size: 10px;
  line-height: 1.6;
}

.configure-features {
  padding: 14px;
  border: 1px solid #d8ded7;
}

.configure-features legend {
  padding: 0 5px;
  color: #38453d;
  font-size: 10px;
  font-weight: 700;
}

#config-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.configure-feature-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f5c52;
  font-size: 10px;
}

.configure-feature-option input {
  accent-color: #789d2d;
}

.store-field {
  display: grid;
  gap: 7px;
  color: #38453d;
  font-size: 10px;
  font-weight: 700;
}

.store-field select,
.store-field input,
.store-field textarea,
.store-quantity {
  min-height: 42px;
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #d8ded7;
  background: #fbfcfa;
  color: var(--ink);
  font: 400 11px var(--body);
}

.store-field textarea {
  min-height: 150px;
  resize: vertical;
}

.store-field :focus,
.store-quantity:focus {
  outline: 2px solid #a4ce3c;
  outline-offset: 1px;
}

.store-item-list {
  display: grid;
  gap: 12px;
}

.store-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 17px;
  border: 1px solid #e1e7e0;
  background: #fff;
}

.store-item h2,
.store-item h3 {
  margin: 0 0 5px;
  font: 600 22px/1 var(--display);
}

.store-item p {
  margin: 0;
  color: #657069;
  font-size: 10px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.store-item-specs {
  margin-top: 6px !important;
}

.store-configuration-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 14px;
  padding: 0;
  margin: 9px 0 0;
  list-style: none;
  color: #657069;
  font-size: 9px;
  line-height: 1.5;
}

.store-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-item-actions .store-quantity {
  width: 74px;
}

.store-link-button {
  border: 0;
  padding: 5px;
  background: transparent;
  color: #4e6725;
  font: 700 9px var(--body);
  cursor: pointer;
  white-space: nowrap;
}

.store-link-button:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.store-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 17px 20px;
  background: #eaf2dd;
  color: #25351d;
  font-size: 11px;
  font-weight: 700;
}

.store-empty {
  padding: 34px 20px;
  border: 1px dashed #cdd6c9;
  background: #fff;
  text-align: center;
}

.store-empty h2 {
  font: 700 27px/.98 var(--display);
}

.store-empty p {
  color: #657069;
  font-size: 11px;
  line-height: 1.7;
}

.store-empty .store-button {
  margin-top: 4px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.store-confirmation {
  padding: 24px;
  border: 1px solid #d4e3bf;
  background: #f1f8e6;
}

.store-confirmation h2 {
  margin: 0 0 9px;
  font: 700 31px/.98 var(--display);
}

.store-confirmation p {
  margin: 0 0 10px;
  color: #56634e;
  font-size: 11px;
  line-height: 1.7;
}

.store-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.store-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 15px;
}

.store-card-actions a,
.store-card-actions button {
  min-height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.store-card-actions button:last-child {
  background: var(--lime);
  color: #172215;
}

.store-card-actions a:hover,
.store-card-actions button:hover {
  filter: brightness(1.08);
}

.store-page-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 700;
}

.store-page-bottom a {
  color: #526f24;
}

.store-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4f5c52;
  font-size: 10px;
  line-height: 1.6;
}

.store-consent input {
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: #789d2d;
}

.store-floating-basket {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  min-height: 48px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #a8d12f;
  background: var(--lime);
  box-shadow: 0 6px 22px #07111f40;
  color: #172215;
  font-size: 10px;
  font-weight: 800;
}

.store-floating-basket:hover {
  background: #d8ff70;
  transform: translateY(-2px);
}

.store-floating-count {
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 9px;
}

.store-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;
}

@media (max-width: 650px) {
  .store-content {
    width: min(100% - 28px, 1000px);
    padding-top: 22px;
  }

  .store-hero {
    padding: 34px 7%;
  }

  .store-panel {
    padding: 17px;
  }

  .configure-component-grid,
  .store-configuration-summary {
    grid-template-columns: 1fr;
  }

  .store-item {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .store-item-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .store-item-actions .store-quantity {
    width: 88px;
  }

  .store-actions .store-button {
    flex: 1 1 145px;
  }

  .store-floating-basket {
    right: 12px;
    bottom: 72px;
    left: 12px;
    justify-content: center;
    min-height: 52px;
  }
}
