/* Public storefront only: keep photo geometry and navigation hit areas intact. */
/* The dark theme's purchase panel and gallery controls are light surfaces. */
.theme-premium-escuro .detail-buy-panel {
  --ink: #211f1c;
  --muted: #574f45;
  --accent-dark: #775619;
  --line: #d3cdc4;
  color: var(--ink);
  background: #fff;
}

.theme-premium-escuro .detail-buy-panel .choice-pill {
  --line: #80786d;
}

.theme-premium-escuro .detail-buy-panel .product-add-button:disabled {
  --surface-strong: #635f59;
  cursor: not-allowed;
}

.theme-premium-escuro .detail-buy-panel :focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

.theme-premium-escuro .product-image-carousel .product-carousel-control {
  color: #211f1c;
  background: #fff;
}

.theme-premium-escuro .product-card .product-buy-row strong {
  color: var(--gold);
}

.theme-premium-escuro .product-card .product-brand-name img {
  padding: 2px;
  border-radius: 3px;
  background: #fff;
}

.theme-premium-escuro .product-card :is(.product-meta .product-category, .product-tags span) {
  background: var(--theme-subtle);
  color: var(--ink);
}

.theme-premium-escuro .showcase-section .product-card :is(.product-meta span, .product-tags span, .product-card-footer .button) {
  font-size: 11px;
}

.cart-head,
.checkout-layout {
  max-width: 960px !important;
}

.cart-head {
  padding: 20px 24px;
}

.cart-head h1 {
  font-size: 36px;
  letter-spacing: 0;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 16px;
}

.checkout-layout .checkout-panel {
  position: static;
  min-width: 0;
  background: var(--theme-panel, #fff);
}

.checkout-panel-head h2 {
  font-size: 24px;
  letter-spacing: 0;
}

.checkout-disclosure {
  background: var(--theme-subtle, var(--soft));
  border: 1px solid var(--line);
  border-radius: 6px;
}

.checkout-disclosure > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  list-style: none;
  color: var(--ink);
  cursor: pointer;
}

.checkout-disclosure > summary::-webkit-details-marker {
  display: none;
}

.checkout-disclosure > summary > :first-child {
  flex: 1;
  min-width: 0;
}

.checkout-disclosure > summary svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.checkout-disclosure[open] > summary {
  border-bottom: 1px solid var(--line);
}

.checkout-disclosure[open] > summary svg {
  transform: rotate(180deg);
}

.checkout-disclosure-heading {
  display: grid;
  gap: 3px;
  overflow-wrap: anywhere;
}

.checkout-disclosure-heading small,
.checkout-disclosure-action {
  color: var(--muted);
  font-size: 13px;
}

.checkout-disclosure[open] .checkout-disclosure-action {
  display: none;
}

.checkout-customer-fields,
.checkout-optional-fields {
  display: grid;
  gap: 14px;
}

.checkout-disclosure > :is(.checkout-customer-fields, .checkout-optional-fields) {
  padding: 14px;
}

.checkout-customer-fields .form-row > label {
  min-width: 0;
}

.checkout-panel .coupon-apply-box .button {
  min-height: 44px;
}

.checkout-panel .coupon-feedback {
  grid-column: 1 / -1;
  margin-top: 0;
}

.checkout-panel .coupon-feedback[hidden] {
  display: none;
}

@media (max-width: 620px) {
  .cart-head { padding: 16px; }
  .cart-head h1 { font-size: 27px; }
  .checkout-customer-fields .form-row { grid-template-columns: minmax(0, 1fr); }
}

/* Pair the checkout and pagination controls with the dark theme's text colors. */
.theme-premium-escuro .checkout-panel {
  color-scheme: dark;
}

.theme-premium-escuro .checkout-panel ::placeholder {
  color: var(--muted);
  opacity: 1;
}

.theme-premium-escuro .checkout-layout :is(
  .cart-steps span, .cart-item-top small, .cart-item-tags span,
  .checkout-benefits, .cashback-box, .shipping-note, .payment-choice-box, .payment-choice, .cart-empty
) {
  background: var(--theme-subtle);
  border-color: var(--line);
}

.theme-premium-escuro :is(.cart-quantity-stepper, .cart-item .icon-button, .storefront-pagination a) {
  background: var(--theme-subtle);
  border-color: #8a7f70;
  color: var(--ink);
}

.theme-premium-escuro .style-service-cards article {
  background: var(--theme-subtle);
  border-color: var(--line);
}

.theme-premium-escuro .cart-item-copy > strong {
  color: var(--gold);
}

.theme-premium-escuro .quantity-step-button:hover {
  background: #3c3225;
  color: var(--gold);
}

.theme-premium-escuro :is(
  .cart-steps span:first-child, .storefront-pagination a.active, .storefront-pagination a:hover,
  .cart-item .icon-button:hover
) {
  background: var(--accent);
  border-color: var(--accent);
  color: #090909;
}

.theme-premium-escuro .checkout-panel .payment-choice:has(input:checked) {
  background: #3c3225;
  border-color: var(--accent);
}

.theme-premium-escuro .checkout-panel .checkout-delivery-promise {
  background: #102923;
  border-color: #76bea8;
}

.theme-premium-escuro .checkout-panel .checkout-delivery-promise > span,
.theme-premium-escuro .checkout-panel .coupon-feedback.is-valid {
  color: #a8dec9;
}

.theme-premium-escuro :is(.checkout-layout, .storefront-pagination) :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.theme-premium-escuro .cart-quantity-stepper :focus-visible {
  outline-offset: -3px;
}

@media (max-width: 620px) {
  .theme-premium-escuro .cart-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }

  .theme-premium-escuro .cart-steps span {
    min-width: 0;
    padding: 4px;
    text-align: center;
  }
}

body:not(.admin-layout-active) .promo-bar,
body:not(.admin-layout-active) .topbar[data-storefront-header],
body:not(.admin-layout-active) .storefront-primary-nav {
  background: var(--surface-strong);
  color: #fff;
}

body:not(.admin-layout-active) .topbar[data-storefront-header] {
  border-bottom-color: #333;
}

body:not(.admin-layout-active) .topbar[data-storefront-header] .utility-nav a,
body:not(.admin-layout-active) .topbar[data-storefront-header] .storefront-menu > summary {
  color: #fff;
}

body:not(.admin-layout-active) .topbar[data-storefront-header] .topbar-product-search {
  background: var(--surface-strong);
  border-color: #666;
}

body:not(.admin-layout-active) .topbar[data-storefront-header] .topbar-product-search input {
  color: #fff;
}

body:not(.admin-layout-active) .topbar[data-storefront-header] .topbar-product-search input::placeholder {
  color: #ccc;
}

body:not(.admin-layout-active) .topbar[data-storefront-header] .topbar-product-search:focus-within {
  border-color: #fff;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

body:not(.admin-layout-active) .hero-store-banner-content h1 {
  font-size: 54.4px;
}

body:not(.admin-layout-active) .hero-product-banner strong {
  font-size: 43.2px;
}

body:not(.admin-layout-active) .hero-product-banner b {
  font-size: 19.2px;
}

body:not(.admin-layout-active) .hero-promo-price b {
  font-size: 20.8px;
}

body:not(.admin-layout-active) .hero-promo-price s {
  font-size: 12px;
}

body:not(.admin-layout-active) .hero-campaign-card strong {
  font-size: 16.8px;
}

body:not(.admin-layout-active) .hero-mini-product strong,
body:not(.admin-layout-active) .editorial-product-row strong {
  font-size: 12.8px;
}

body:not(.admin-layout-active) .hero-store-banner-content > span,
body:not(.admin-layout-active) .hero-product-kicker,
body:not(.admin-layout-active) .hero-product-banner small,
body:not(.admin-layout-active) .hero-campaign-card span,
body:not(.admin-layout-active) .hero-campaign-card small,
body:not(.admin-layout-active) .hero-mini-product span,
body:not(.admin-layout-active) .editorial-product-row span {
  font-size: 8.8px;
}

body:not(.admin-layout-active) .hero-store-banner-actions .button,
body:not(.admin-layout-active) .hero-mini-price,
body:not(.admin-layout-active) .editorial-promo-price,
.showcase-section .product-card .button {
  font-size: 10.4px;
}

.showcase-section .product-grid .product-card:first-child .product-body h3 {
  font-size: 19.2px;
}

.showcase-section .product-body h3 {
  font-size: 14.4px;
}

.showcase-section .product-body strong {
  font-size: 17.6px;
}

.showcase-section .product-meta p,
.showcase-section .product-meta span,
.showcase-section .product-tags span,
.showcase-section .product-carousel-count,
.showcase-section .promo-current-price em,
.showcase-section .product-promotion-badge {
  font-size: 8.8px;
}

.showcase-section .product-meta .product-code {
  font-size: 7.2px;
}

.showcase-section .promo-price-stack > span {
  font-size: 9.6px;
}

#consultoria.style-service-band h2 {
  font-size: 27.2px;
}

#servicos.seller-strip h2 {
  font-size: 43.2px;
}

/* Fixed heading sizes at the existing layout breakpoints. */
@media (min-width: 901px) and (max-width: 1199px) {
  body:not(.admin-layout-active) .hero-store-banner-content h1 {
    font-size: 44.8px;
  }

  body:not(.admin-layout-active) .hero-product-banner strong {
    font-size: 32.8px;
  }

  #servicos.seller-strip h2 {
    font-size: 32.8px;
  }
}

@media (min-width: 621px) and (max-width: 900px) {
  body:not(.admin-layout-active) .hero-store-banner-content h1 {
    font-size: 27.2px;
  }

  body:not(.admin-layout-active) .hero-product-banner strong {
    font-size: 25.6px;
  }

  body:not(.admin-layout-active) .hero-store-banner-actions .button {
    font-size: 8.8px;
  }

  #servicos.seller-strip h2 {
    font-size: 24.8px;
  }
}

@media (max-width: 620px) {
  #servicos.seller-strip h2 {
    font-size: 24px;
  }

  body:not(.admin-layout-active) .hero-store-banner-content h1 {
    font-size: 19.2px;
  }

  body:not(.admin-layout-active) .hero-store-banner-content > span,
  body:not(.admin-layout-active) .hero-store-banner-actions .button,
  .showcase-section .product-card .button {
    font-size: 8px;
  }

  body:not(.admin-layout-active) .hero-product-banner strong {
    font-size: 22.4px;
  }

  body:not(.admin-layout-active) .hero-product-banner b {
    font-size: 16px;
  }

  .showcase-section .product-body h3,
  .showcase-section .product-grid .product-card:first-child .product-body h3 {
    font-size: 11.2px;
  }

  .showcase-section .product-body strong {
    font-size: 13.6px;
  }

  .showcase-section .product-meta p,
  .showcase-section .product-meta span,
  .showcase-section .product-tags span {
    font-size: 7.2px;
  }
}

@media (max-width: 380px) {
  .showcase-section .product-body h3,
  .showcase-section .product-grid .product-card:first-child .product-body h3 {
    font-size: 10.4px;
  }

  .showcase-section .product-body strong {
    font-size: 12px;
  }
}
