/* Keep prose readable without narrowing tables, media or product inserts. */
.single-post .entry-content > :where(p, ul, ol, h2, h3, h4, blockquote, .dy-article-summary),
.dy-en-main .dy-en-content .entry-content > :where(p, ul, ol, h2, h3, h4, blockquote, .dy-article-summary),
body.dy-es .dy-es-article .dy-es-content > :where(p, ul, ol, h2, h3, h4, blockquote),
body.dy-de .dy-article .dy-de-content > :where(p, ul, ol, h2, h3, h4, blockquote),
.single-post .dy-article-faq,
.dy-en-main .dy-article-faq,
body.dy-es .dy-article-faq,
body.dy-de .dy-article-faq {
  width: 100%;
  max-width: 72ch;
  margin-right: auto;
  margin-left: auto;
}

/* The shop is the primary About action; social remains secondary. */
body:not(.dy-es) .dy-about-hero .dy-chip-row a {
  min-height: 44px;
}

body:not(.dy-es) .dy-about-hero .dy-chip-row a:first-child {
  border-color: #7a1712;
  color: #fff8ed;
  background: #7a1712;
}

body:not(.dy-es) .dy-about-hero .dy-chip-row a:first-child:hover,
body:not(.dy-es) .dy-about-hero .dy-chip-row a:first-child:focus-visible {
  background: #5f100c;
}

body:not(.dy-es) .dy-about-hero .dy-chip-row a:not(:first-child) {
  border-color: #7a1712;
  color: #7a1712;
  background: transparent;
}

body.dy-es .dy-about-hero .dy-hero-actions a {
  min-height: 44px;
}

body.dy-es .dy-about-hero .dy-hero-actions a:first-child {
  border-color: #d8b47a;
  color: #1c1612;
  background: #d8b47a;
}

body.dy-es .dy-about-hero .dy-hero-actions a:first-child:hover,
body.dy-es .dy-about-hero .dy-hero-actions a:first-child:focus-visible {
  background: #f3e1bd;
}

body.dy-es .dy-about-hero .dy-hero-actions a:not(:first-child) {
  border-color: #d8b47a;
  color: #f3e1bd;
  background: transparent;
}

body.dy-es .dy-about-hero .dy-hero-actions a:not(:first-child):hover,
body.dy-es .dy-about-hero .dy-hero-actions a:not(:first-child):focus-visible {
  background: rgb(216 180 122 / 16%);
}

.dy-cart-coupon {
  margin: 0 0 16px;
  border: 1px solid rgb(122 23 18 / 22%);
  background: #fffaf0;
}

.dy-cart-coupon > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  color: #5f100c;
  font-weight: 800;
  cursor: pointer;
}

.dy-cart-coupon > summary:focus-visible {
  outline: 3px solid #f0c36d;
  outline-offset: 3px;
}

.dy-cart-coupon[open] > summary {
  border-bottom: 1px solid rgb(122 23 18 / 18%);
}

.dy-cart-coupon .coupon {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
}

.dy-cart-coupon .coupon :is(input, button) {
  min-height: 44px !important;
  font-size: 1rem !important;
}

.dy-cart-shipping-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-left: 3px solid #7a1712;
  color: #382017;
  background: #fffaf0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.woocommerce-cart .cart_totals .dy-cart-shipping-note {
  color: #382017 !important;
}

@media (max-width: 520px) {
  .dy-cart-coupon .coupon {
    grid-template-columns: 1fr;
  }
}
