.store-block {
  padding-block: 36px;
}
.store-block h2 {
  font-size: clamp(24px, 4vw, 48px);
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}
.store-block p {
  white-space: pre-line;
}
.store-notice {
  padding: 10px 20px;
  text-align: center;
  background: #191918;
  color: #fff;
}
.store-notice p {
  display: inline;
}
.store-notice a {
  margin-left: 10px;
}
.category-link {
  padding: 9px 14px;
  border: 1px solid #b9b9b5;
  text-decoration: none;
}
.feature-story {
  display: flex;
  align-items: center;
  gap: 5%;
  flex-wrap: wrap;
}
.feature-story > img {
  width: min(420px, 100%);
}
.store-block details {
  padding: 14px 0;
  border-bottom: 1px solid #bbb;
}
.store-block details summary {
  cursor: pointer;
  font-weight: bold;
}
.store-block .products {
  grid-template-columns: repeat(var(--shop-columns, 3), minmax(0, 1fr));
}
.shop-cover img {
  width: 100%;
  height: 175px;
  object-fit: contain;
  margin-bottom: 12px;
}
.product h3 a {
  text-decoration: none;
}
.price del {
  display: block;
  font-weight: 400;
  font-size: 0.82rem;
  color: #666;
}
.product-tag {
  font-size: 0.76rem;
}
.hero h1 {
  max-width: 8.8em;
  text-wrap: balance;
}
.hero .primary {
  margin-top: 20px;
}
.detail-wrap {
  padding-block: 24px 90px;
}
.pdp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 1.5rem;
}
.pdp-breadcrumb a {
  text-underline-offset: 3px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.pdp-gallery {
  position: sticky;
  top: 24px;
  min-width: 0;
}
.pdp-main-image,
.pdp-image-pending {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 5px;
  overflow: hidden;
}
.pdp-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-image-pending {
  color: var(--muted);
  font-size: 0.9rem;
}
.pdp-thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}
.pdp-thumbnails button {
  width: 74px;
  height: 74px;
  padding: 4px;
  background: #fff;
}
.pdp-thumbnails button[aria-pressed='true'] {
  border: 2px solid var(--red);
}
.pdp-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pdp-photo-note {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  margin-top: 0.8rem;
}
.pdp-content {
  min-width: 0;
}
.pdp-content h1 {
  font-size: clamp(2rem, 3.6vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.065em;
  margin: 0.7rem 0 0.5rem;
  text-wrap: balance;
}
.pdp-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1.4rem;
}
.pdp-price-panel {
  background: #131312;
  color: #fff;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 5px;
}
.pdp-price-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #c1c1bc;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.pdp-discount {
  background: #fff;
  color: var(--ink);
  padding: 0.45rem 0.65rem;
  border-radius: 3px;
  font-size: 0.82rem;
  letter-spacing: 0;
}
.pdp-price-panel del {
  display: block;
  color: #a4a4a0;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.pdp-price {
  display: block;
  font-size: clamp(2.6rem, 4.4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.075em;
}
.pdp-price-panel p {
  color: #e6e6e1;
  font-size: 0.85rem;
  margin-top: 0.8rem;
}
.pdp-installment {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border-top: 1px solid #444440;
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  color: #d6d6d1;
  font-size: 0.88rem;
  line-height: 1.4;
}
.pdp-installment > span:first-child {
  font-size: 1.3rem;
  line-height: 1;
  color: #fff;
}
.pdp-purchase {
  padding-block: 1.5rem;
}
.pdp-availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.1rem;
  font-size: 0.78rem;
}
.pdp-availability strong {
  color: #256a3e;
}
.pdp-availability span {
  color: var(--muted);
}
.pdp-field {
  margin-top: 1.5rem;
}
.pdp-field h2,
.pdp-quantity label {
  display: block;
  font-size: 0.9rem;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.pdp-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.pdp-variant {
  min-width: 94px;
  padding: 0.65rem 0.8rem;
  text-align: left;
  background: #fff;
  border-color: var(--rule);
}
.pdp-variant strong,
.pdp-variant small {
  display: block;
}
.pdp-variant strong {
  font-size: 0.82rem;
}
.pdp-variant small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.68rem;
}
.pdp-variant[aria-pressed='true'] {
  border: 2px solid var(--ink);
  padding: calc(0.65rem - 1px) calc(0.8rem - 1px);
}
.pdp-variant:disabled {
  text-decoration: line-through;
  opacity: 0.46;
}
.pdp-quantity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 0.5rem;
  margin-top: 1.4rem;
}
.pdp-quantity label {
  width: 100%;
  margin: 0;
}
.pdp-quantity > span {
  color: var(--muted);
  font-size: 0.76rem;
}
.pdp-stepper {
  display: flex;
  border: 1px solid var(--rule);
  background: #fff;
  border-radius: 3px;
}
.pdp-stepper button,
.pdp-stepper input {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  padding: 0;
  text-align: center;
  background: transparent;
}
.pdp-stepper input {
  font-weight: 700;
  appearance: textfield;
}
.pdp-stepper input::-webkit-inner-spin-button,
.pdp-stepper input::-webkit-outer-spin-button {
  appearance: none;
}
.pdp-stepper button:first-child {
  border-right: 1px solid var(--rule);
}
.pdp-stepper button:last-child {
  border-left: 1px solid var(--rule);
}
.detail-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.6rem;
}
.detail-actions button {
  min-height: 52px;
  margin: 0;
  font-size: 0.85rem;
}
.pdp-notice:not(:empty) {
  color: #256a3e;
  font-size: 0.83rem;
  margin-top: 0.65rem;
}
.pdp-info {
  border-top: 1px solid var(--rule);
}
.pdp-info details {
  border-bottom: 1px solid var(--rule);
}
.pdp-info summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
}
.pdp-info summary::-webkit-details-marker {
  display: none;
}
.pdp-info summary:after {
  content: '+';
  font-size: 1.3rem;
  line-height: 0.9;
}
.pdp-info details[open] summary:after {
  content: '−';
}
.pdp-info-body {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
  padding: 0 0 1.2rem;
}
.pdp-info-body p {
  white-space: pre-line;
  margin-bottom: 0.65rem;
}
.pdp-info-body label {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-top: 1rem;
}
.pdp-cep-row {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.4rem;
}
.pdp-cep-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--rule);
  padding: 0.65rem;
  background: #fff;
}
.pdp-mobile-bar {
  display: none;
}
.pay-stage {
  padding: 16px 24px;
}
.pay-stage img {
  max-width: 210px;
}
.pay-stage textarea {
  display: block;
  width: 100%;
}
.pay-stage p,
.pay-stage button {
  margin: 8px 0;
}
.coupon-row {
  margin-block: 12px;
}
.coupon-row input {
  padding: 9px;
  max-width: 55%;
}
@media (max-width: 700px) {
  .store-block .products,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    gap: 24px;
  }
  .pdp-gallery {
    position: static;
  }
  .hero h1 {
    max-width: 7em;
  }
}

@media (min-width: 851px) {
  .catalog .products {
    grid-template-columns: repeat(var(--shop-columns, 3), minmax(0, 1fr));
  }
}
#receipt { width: min(97vw, 650px); }
#receipt .pay-stage { padding: 12px 0; }
#receipt .receipt-body { padding-inline: clamp(12px,3vw,24px); }
@media (max-width: 620px) {
  .detail-wrap {
    padding-block: 16px 120px;
  }
  .pdp-breadcrumb {
    margin-bottom: 0.9rem;
  }
  .pdp-main-image,
  .pdp-image-pending {
    margin-inline: calc(-1 * var(--pad));
    border-inline: 0;
    border-radius: 0;
  }
  .pdp-content h1 {
    font-size: clamp(2rem, 8vw, 3.1rem);
  }
  .pdp-price {
    font-size: 3.15rem;
  }
  .detail-actions {
    grid-template-columns: 1fr;
  }
  .pdp-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    position: fixed;
    z-index: 8;
    inset: auto 0 0;
    background: #fff;
    border-top: 1px solid var(--rule);
    box-shadow: 0 -8px 24px #0001;
    padding: 0.7rem max(var(--pad), env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
  }
  .pdp-mobile-bar small,
  .pdp-mobile-bar strong {
    display: block;
  }
  .pdp-mobile-bar small {
    color: var(--muted);
    font-size: 0.7rem;
  }
  .pdp-mobile-bar strong {
    font-size: 1.1rem;
  }
  .pdp-mobile-bar button {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    min-height: 46px;
  }
  body:has(dialog[open]) .pdp-mobile-bar {
    display: none;
  }
}
