.shopify-store-hero {
  align-items: center;
  background:
    radial-gradient(ellipse at 88% 40%, rgba(255, 213, 74, .13), transparent 34%),
    linear-gradient(120deg, #07162b 0%, #0b2342 62%, #0c1a30 100%);
  border: 1px solid rgba(255, 213, 74, .22);
  border-radius: 20px;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
  min-height: 190px;
  overflow: hidden;
  padding: 30px clamp(22px, 5vw, 54px);
}

.shopify-store-hero-copy {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.shopify-store-eyebrow {
  align-items: center;
  color: #ffdc67;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .13em;
  margin-bottom: 12px;
}

.shopify-store-hero h1 {
  color: #f8fafc;
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
  margin: 0 0 10px;
}

.shopify-store-hero p {
  color: #c4d0e0;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  max-width: 690px;
}

.shopify-store-hero > img {
  filter: drop-shadow(0 12px 32px rgba(255, 205, 55, .16));
  height: 112px;
  object-fit: contain;
  opacity: .92;
  width: 112px;
}

.shopify-store-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 0 12px;
}

.shopify-store-search {
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  max-width: 440px;
  min-height: 44px;
  padding: 0 14px;
  width: 100%;
}

.shopify-store-search:focus-within {
  border-color: #d8b84e;
  box-shadow: 0 0 0 3px rgba(216, 184, 78, .14);
}

.shopify-store-search input {
  background: transparent;
  border: 0;
  color: var(--text-primary);
  flex: 1;
  font: inherit;
  min-width: 0;
  outline: 0;
}

.shopify-store-refresh {
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
}

.shopify-store-refresh:hover {
  border-color: #d8b84e;
}

.shopify-store-refresh:disabled,
.shopify-buy-button:disabled {
  cursor: wait;
  opacity: .65;
}

.shopify-store-status {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
  min-height: 20px;
}

.shopify-products-grid .product-card {
  min-width: 0;
}

.shopify-products-grid .product-thumb-wrap {
  background: linear-gradient(145deg, #0a1a30, #132c4b);
}

.shopify-products-grid .product-thumb-wrap img {
  object-fit: cover;
}

.shopify-products-grid .shopify-product-placeholder {
  align-items: center;
  color: rgba(255, 221, 103, .8);
  display: flex;
  font-size: 38px;
  height: 100%;
  justify-content: center;
}

.shopify-product-type {
  color: #e6c658;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin: 4px 0 7px;
  text-transform: uppercase;
}

.shopify-product-description {
  color: var(--text-secondary);
  display: -webkit-box;
  font-size: 12px;
  line-height: 1.55;
  margin: 0 0 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.shopify-product-price {
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 800;
  margin: 8px 0 12px;
}

.shopify-product-option-label {
  color: var(--text-secondary);
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 8px 0 5px;
}

.shopify-product-option,
.shopify-product-quantity {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font: inherit;
  min-height: 38px;
  padding: 6px 9px;
  width: 100%;
}

.shopify-product-purchase-row {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: 78px minmax(0, 1fr);
  margin-top: auto;
  padding-top: 10px;
}

.shopify-product-purchase-row .shopify-product-option-label {
  margin-top: 0;
}

.shopify-buy-button {
  background: linear-gradient(135deg, #f4d35e, #d5a91e);
  border: 0;
  border-radius: 9px;
  color: #101a28;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  min-height: 40px;
  padding: 8px 10px;
  width: 100%;
}

.shopify-buy-button:hover {
  filter: brightness(1.06);
}

.shopify-buy-button:focus-visible,
.shopify-store-refresh:focus-visible,
.shopify-product-option:focus-visible,
.shopify-product-quantity:focus-visible {
  outline: 3px solid rgba(255, 213, 74, .45);
  outline-offset: 2px;
}

.shopify-store-empty {
  background: var(--bg-secondary);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
  color: var(--text-secondary);
  grid-column: 1 / -1;
  line-height: 1.6;
  padding: 48px 24px;
  text-align: center;
}

.shopify-store-empty h2 {
  color: var(--text-primary);
  font-size: 19px;
  margin: 0 0 8px;
}

.shopify-store-empty p {
  margin: 0 auto;
  max-width: 620px;
}

.shopify-store-footer {
  align-items: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  display: flex;
  font-size: 12px;
  gap: 9px;
  margin-top: 26px;
  padding: 15px 0 4px;
}

.shopify-store-footer i {
  color: #dfbf4f;
}

@media (max-width: 600px) {
  .store-view {
    padding: 14px;
  }

  .shopify-store-hero {
    border-radius: 14px;
    min-height: 0;
    padding: 22px 18px;
  }

  .shopify-store-hero > img {
    height: 62px;
    width: 62px;
  }

  .shopify-store-toolbar {
    align-items: stretch;
  }

  .shopify-store-search {
    max-width: none;
  }

  .shopify-store-refresh {
    padding: 0 10px;
  }

  .shopify-products-grid {
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }
}

@media (max-width: 390px) {
  .shopify-store-hero > img {
    display: none;
  }

  .shopify-products-grid {
    grid-template-columns: 1fr;
  }
}
