/* Scoped to the product presentation and the YITH quote page. */
body.distri-presentation-ready.single-product .woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(270px, 3fr);
  gap: 28px;
  align-items: start;
}
body.distri-presentation-ready.single-product .woocommerce div.product > .woocommerce-product-gallery {
  grid-column: 1;
  grid-row: 1;
  float: none;
  width: 100%;
  margin: 0;
}
body.distri-presentation-ready.single-product .woocommerce div.product > .summary {
  grid-column: 2;
  grid-row: 1;
  float: none;
  width: 100%;
  margin: 0;
  min-width: 0;
}
body.distri-presentation-ready.single-product .woocommerce div.product > .summary .product_title {
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.12;
  margin: 16px 0;
}
body.distri-presentation-ready.single-product .woocommerce div.product > .summary form.variations_form,
body.distri-presentation-ready.single-product .woocommerce div.product > .summary .yith-ywraq-add-to-quote {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body.distri-presentation-ready.single-product .woocommerce div.product > .distri-presentations {
  grid-column: 1 / 3;
  grid-row: 2;
  min-width: 0;
  padding-top: 30px;
  border-top: 1px solid #413337;
}
body.distri-presentation-ready.single-product .woocommerce div.product > .distri-quote-aside {
  grid-column: 3;
  grid-row: 1 / 3;
  min-width: 0;
}
body.distri-presentation-ready.single-product .woocommerce div.product > .woocommerce-tabs,
body.distri-presentation-ready.single-product .woocommerce div.product > .related,
body.distri-presentation-ready.single-product .woocommerce div.product > .upsells {
  grid-column: 1 / -1;
  width: 100%;
  clear: both;
}
.distri-eyebrow { margin: 0 0 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #e73a3e; font-weight: 700; }
.distri-presentations h2 { margin: 0 0 22px; font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; }
.distri-presentation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.distri-presentation { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 22px 18px 18px; background: #202020; border: 1px solid #493435; color: #f6f4f3; }
.distri-presentation h3 { margin: 0 0 5px; color: #fff; font-size: 23px; line-height: 1.2; }
.distri-presentation-subtitle { color: #c4c3c3; font-size: 14px; margin: 0 0 18px; }
.distri-presentation .distri-price { font-size: 25px; font-weight: 750; line-height: 1.25; color: #fff; margin: 0 0 25px; }
.distri-presentation .distri-price span { font-size: 12px; font-weight: 400; white-space: nowrap; }
.distri-card-bottom { margin-top: auto; }
.distri-card-bottom label { font-size: 12px; color: #d6d0d0; }
.distri-card-actions { display: flex; gap: 8px; margin-top: 5px; }
.distri-card-actions input.distri-card-qty { flex: 0 0 58px; width: 58px; min-width: 0; height: 44px; padding: 4px; text-align: center; background: #151515; color: #fff; border: 1px solid #644648; border-radius: 0; }
.distri-card-status { min-height: 22px; margin: 8px 0 0; font-size: 12px; color: #83d59c; }
.distri-card-status.distri-error { color: #ff8e8e; }
.distri-badge { align-self: flex-end; font-size: 10px; line-height: 1; color: #fff; background: #d61d28; padding: 7px 8px; text-transform: uppercase; font-weight: 700; margin: -5px -2px 9px 0; }
.distri-quote-aside-inner { background: #202020; border: 1px solid #543638; padding: 24px; position: sticky; top: 24px; }
.distri-quote-aside h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 26px; }
.distri-quote-count { display: inline-grid; place-items: center; min-width: 28px; min-height: 28px; padding: 2px 6px; background: #d61d28; color: #fff; font-size: 13px; border-radius: 50%; }
.distri-quote-aside p:not(.distri-eyebrow) { color: #c6c4c4; font-size: 14px; line-height: 1.6; }
.distri-review { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #d61d28; color: #fff !important; text-decoration: none !important; font-weight: 700; padding: 15px 18px; margin-top: 22px; }
.distri-review:hover { background: #b51620; }

/* YITH 4.46.1: two real forms, one quote table and one submission form. */
body.distri-pedido-page .entry-title { font-size: clamp(30px, 3.2vw, 44px); margin-bottom: 22px; }
body.distri-pedido-page .ywraq-wrapper.ywraq-with-form:not(.ywraq-empty) .ywraq-form-table-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(350px, .9fr);
  column-gap: 24px;
  align-items: start;
}
body.distri-pedido-page .ywraq-form-table-wrapper > .ywraq-before-form { grid-column: 1 / -1; min-width: 0; }
body.distri-pedido-page .ywraq-form-table-wrapper > .yith-ywraq-mail-form-wrapper { grid-column: 1; grid-row: 2; min-width: 0; }
body.distri-pedido-page .ywraq-form-table-wrapper > #yith-ywraq-form { grid-column: 2; grid-row: 2; min-width: 0; }
body.distri-pedido-page .ywraq-wrapper.ywraq-empty .ywraq-form-table-wrapper { max-width: 760px; }
body.distri-pedido-page .ywraq-wrapper.ywraq-empty .ywraq-before-form { margin-bottom: 22px; }
body.distri-pedido-page .yith-ywraq-mail-form-wrapper,
body.distri-pedido-page #yith-ywraq-form { background: #202020; border: 1px solid #50383a; padding: 24px; color: #f8f6f6; }
body.distri-pedido-page .yith-ywraq-mail-form-wrapper > h3 { font-size: 25px; margin: 0 0 22px; }
body.distri-pedido-page #yith-ywraq-default-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
body.distri-pedido-page .distri-form-section-heading { grid-column: 1/-1; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #563b3e; padding-bottom: 12px; margin-bottom: 18px; }
body.distri-pedido-page .distri-form-section-heading > span { font-size: 12px; color: #b6acac; }
body.distri-pedido-page .distri-form-section-heading h4 { color: #fff; font-size: 20px; margin: 0; }
body.distri-pedido-page #yith-ywraq-default-form .form-row { float: none; width: auto; min-width: 0; margin: 0 0 16px; }
body.distri-pedido-page #email_field, body.distri-pedido-page #message_field,
body.distri-pedido-page #yith-ywraq-default-form .raq-send-request-row { grid-column: 1/-1; }
body.distri-pedido-page #message_field { border-top: 1px solid #563b3e; padding-top: 14px; }
body.distri-pedido-page #message_field::before { content: '02   Detalles comerciales'; display: block; color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 17px; }
body.distri-pedido-page #yith-ywraq-default-form label { display: block; color: #e3dede; font-size: 13px; margin-bottom: 6px; }
body.distri-pedido-page #yith-ywraq-default-form input.input-text,
body.distri-pedido-page #yith-ywraq-default-form textarea { box-sizing: border-box; width: 100%; background: #242424; border: 1px solid #56545a; border-radius: 0; color: #fff; min-height: 44px; padding: 10px; }
body.distri-pedido-page #yith-ywraq-default-form textarea { min-height: 112px; }
body.distri-pedido-page #yith-ywraq-default-form .raq-send-request { width: 100%; min-height: 52px; background: #d61d28; color: #fff; border-radius: 0; text-transform: uppercase; font-weight: 700; }
body.distri-pedido-page #yith-ywraq-form::before { content: 'Resumen de Solicitud'; display: block; color: #fff; font-size: 22px; font-weight: 700; line-height: 1.25; border-bottom: 1px solid #563b3e; padding-bottom: 16px; margin-bottom: 4px; }
body.distri-pedido-page #yith-ywrq-table-list { width: 100%; border: 0; background: transparent; border-collapse: collapse; margin: 0; }
body.distri-pedido-page #yith-ywrq-table-list thead { display: none; }
body.distri-pedido-page #yith-ywrq-table-list tbody { display: block; width: 100%; }
body.distri-pedido-page #yith-ywrq-table-list tr.cart_item { display: grid; grid-template-columns: 22px 54px minmax(0, 1fr) minmax(75px, auto); gap: 5px 8px; padding: 16px 0; border-bottom: 1px solid #523a3c; background: transparent; align-items: start; }
body.distri-pedido-page #yith-ywrq-table-list td { box-sizing: border-box; display: block; min-width: 0; width: auto; max-width: none; padding: 0; border: 0; background: transparent; color: #f7f5f5; font-size: 13px; line-height: 1.4; text-align: left; word-break: normal; overflow-wrap: anywhere; }
body.distri-pedido-page #yith-ywrq-table-list td::before { display: none !important; content: none !important; }
body.distri-pedido-page #yith-ywrq-table-list .product-remove { grid-column: 1; grid-row: 1; }
body.distri-pedido-page #yith-ywrq-table-list .product-thumbnail { grid-column: 2; grid-row: 1 / 3; }
body.distri-pedido-page #yith-ywrq-table-list .product-thumbnail img { width: 52px; height: 52px; object-fit: cover; }
body.distri-pedido-page #yith-ywrq-table-list .product-name { grid-column: 3; grid-row: 1; font-weight: 650; }
body.distri-pedido-page #yith-ywrq-table-list .product-name ul { margin: 6px 0 0 !important; padding: 0; list-style: none; font-weight: 400; }
body.distri-pedido-page #yith-ywrq-table-list .product-name li { margin: 0; }
body.distri-pedido-page #yith-ywrq-table-list .product-name li br { display: none; }
body.distri-pedido-page #yith-ywrq-table-list .product-name .mobile-price { display: none !important; }
body.distri-pedido-page #yith-ywrq-table-list .product-price { grid-column: 4; grid-row: 1; text-align: right; font-weight: 700; white-space: nowrap; overflow-wrap: normal; }
body.distri-pedido-page #yith-ywrq-table-list .product-quantity { grid-column: 3; grid-row: 2; }
body.distri-pedido-page #yith-ywrq-table-list .product-quantity::after { content: none !important; display: none !important; }
body.distri-pedido-page #yith-ywrq-table-list .product-quantity input.qty { width: 52px; height: 34px; background: #282828; border: 1px solid #535055; color: #fff; text-align: center; }
body.distri-pedido-page #yith-ywrq-table-list .product-subtotal { grid-column: 4; grid-row: 2; text-align: right; font-weight: 700; color: #d7d2d2; white-space: nowrap; overflow-wrap: normal; }
body.distri-pedido-page #yith-ywrq-table-list tr:has(> .raq-totals-label) { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 17px 0 4px; background: transparent; border: 0; }
body.distri-pedido-page #yith-ywrq-table-list .raq-totals-row { display: none; }
body.distri-pedido-page #yith-ywrq-table-list .raq-totals-label { grid-column: 1; display: block; color: #fff; font-size: 16px; text-align: left; padding: 0; }
body.distri-pedido-page #yith-ywrq-table-list .raq-totals { grid-column: 2; display: block; color: #ed282d; font-size: 21px; font-weight: 700; text-align: right; padding: 0; overflow-wrap: normal; white-space: nowrap; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 24px; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper .after-table-right { display: contents; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper .button { flex: 1 1 130px; min-height: 44px; margin: 0; padding: 10px; border: 1px solid #684245; border-radius: 0; background: transparent; color: #fff; font-size: 12px; text-transform: uppercase; white-space: normal; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper input[name="update_raq"] { background: #d61d28; border-color: #d61d28; color: #fff; }
body.distri-pedido-page .woocommerce-error, body.distri-pedido-page .woocommerce-message,
body.distri-pedido-page #yith-ywraq-message { display: block; }

@media (max-width: 1120px) {
  body.distri-presentation-ready.single-product .woocommerce div.product { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-presentations { grid-column: 1/-1; }
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-quote-aside { grid-column: 1/-1; grid-row: 3; }
  .distri-quote-aside-inner { position: static; }
  body.distri-pedido-page .ywraq-wrapper.ywraq-with-form:not(.ywraq-empty) .ywraq-form-table-wrapper { grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr); gap: 18px; }
}
@media (max-width: 780px) {
  body.distri-presentation-ready.single-product .woocommerce div.product { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  body.distri-presentation-ready.single-product .woocommerce div.product > .woocommerce-product-gallery,
  body.distri-presentation-ready.single-product .woocommerce div.product > .summary,
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-presentations,
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-quote-aside { grid-column: 1; grid-row: auto; }
  .distri-presentation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.distri-pedido-page .ywraq-wrapper.ywraq-with-form:not(.ywraq-empty) .ywraq-form-table-wrapper { display: flex; flex-direction: column; gap: 18px; }
  body.distri-pedido-page .ywraq-form-table-wrapper > .ywraq-before-form,
  body.distri-pedido-page .ywraq-form-table-wrapper > .yith-ywraq-mail-form-wrapper,
  body.distri-pedido-page .ywraq-form-table-wrapper > #yith-ywraq-form { width: 100%; }
  body.distri-pedido-page .ywraq-form-table-wrapper > #yith-ywraq-form { order: -1; }
}
@media (max-width: 520px) {
  .distri-presentation-grid { grid-template-columns: 1fr; }
  body.distri-pedido-page .yith-ywraq-mail-form-wrapper,
  body.distri-pedido-page #yith-ywraq-form { padding: 16px; }
  body.distri-pedido-page #yith-ywraq-default-form { grid-template-columns: 1fr; }
  body.distri-pedido-page #yith-ywraq-default-form > * { grid-column: 1/-1; }
  body.distri-pedido-page #yith-ywrq-table-list tr.cart_item { grid-template-columns: 18px 46px minmax(0, 1fr); }
  body.distri-pedido-page #yith-ywrq-table-list .product-thumbnail img { width: 46px; height: 46px; }
  body.distri-pedido-page #yith-ywrq-table-list .product-price { grid-column: 3; grid-row: 2; text-align: left; }
  body.distri-pedido-page #yith-ywrq-table-list .product-quantity { grid-column: 3; grid-row: 3; }
  body.distri-pedido-page #yith-ywrq-table-list .product-subtotal { grid-column: 3; grid-row: 4; text-align: left; }
  body.distri-pedido-page #yith-ywrq-table-list tr:has(> .raq-totals-label) { grid-template-columns: minmax(0, 1fr) auto; }
  body.distri-pedido-page #yith-ywrq-table-list .raq-totals { font-size: 18px; }
}

/* Vanguardia: detalles tomados de la maqueta previa del catálogo. */
body.distri-presentation-ready.single-product .woocommerce div.product { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 310px; gap: 28px; }
body.distri-presentation-ready.single-product .woocommerce div.product > .summary > p.price,
body.distri-presentation-ready.single-product .woocommerce div.product > .woocommerce-tabs { display: none; }
.dvx-product-intro { margin: 20px 0 25px; padding-bottom: 20px; border-bottom: 1px solid #4a3030; }
.dvx-product-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.dvx-product-chips:empty { display: none; }
.dvx-product-chip { padding: 6px 9px; border: 1px solid #674343; background: #242424; color: #fff; font-size: 11px; }
.dvx-product-description h3 { font-size: 15px; margin: 0 0 9px; color: #fff; }
.dvx-product-description p { color: #d0d0d0; font-size: 15px; line-height: 1.55; }
body.distri-presentation-ready.single-product .woocommerce div.product > .distri-presentations { padding-top: 40px; margin-top: 28px; }
.distri-presentations h2 { font-size: 30px; font-weight: 700; margin-bottom: 28px; }
.distri-presentation { padding: 22px 18px 18px; background: #1d1d1d; border-color: #5a3737; }
.distri-presentation:hover { border-color: #ce252b; }
.distri-presentation h3 { font-size: 22px; }
.distri-presentation-subtitle, .distri-presentation-total { margin: 0 0 8px; color: #c8c8c8; font-size: 13px; }
.distri-presentation .distri-price { font-size: 25px; margin: 10px 0 4px; }
.distri-presentation-description { min-height: 66px; color: #c8c8c8; font-size: 14px; line-height: 1.5; margin: 12px 0 20px; }
.distri-badge { background: #ce252b; font-size: 9px; }
.distri-card-actions { display: flex; align-items: center; gap: 8px; border: 1px solid #5a3737; padding: 8px; background: #171717; margin: 0 0 10px; }
body.single-product .distri-card-actions button.distri-qty-plus,
body.single-product .distri-card-actions button.distri-qty-minus { flex: 0 0 36px; width: 36px; height: 34px; padding: 0; background: #2a2020; color: #fff; border: 1px solid #765050; border-radius: 2px; font-size: 22px; line-height: 1; cursor: pointer; }
body.single-product .distri-card-actions button.distri-qty-plus:hover,
body.single-product .distri-card-actions button.distri-qty-minus:hover { background: #ce252b; }
body.single-product .distri-card-actions button.distri-qty-plus:disabled,
body.single-product .distri-card-actions button.distri-qty-minus:disabled { opacity: .4; cursor: default; background: #2a2020; }
.distri-card-actions input.distri-card-qty { flex: 0 0 35px; width: 35px; height: 34px; border: 0; padding: 0; background: transparent; font-weight: 700; font-size: 17px; appearance: textfield; }
.distri-card-actions input.distri-card-qty::-webkit-inner-spin-button,
.distri-card-actions input.distri-card-qty::-webkit-outer-spin-button { appearance: none; margin: 0; }
.distri-pack-qty-name { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.distri-card-status { text-align: right; }
.distri-quote-aside-inner { background: #1d1d1d; border-color: #5a3737; padding: 20px; }
.distri-quote-panel-header { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #5a3737; padding-bottom: 16px; }
.distri-quote-panel-header h2 { margin: 0; font-size: 24px; color: #fff; }
.distri-quote-panel-header .distri-quote-count { margin-left: auto; }
.distri-quote-panel-content { padding: 17px 0; }
.distri-quote-empty { text-align: center; color: #c8c8c8; line-height: 1.5; margin: 0; }
.distri-quote-items { display: flex; flex-direction: column; gap: 12px; }
.distri-quote-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid #5a3737; font-size: 13px; }
.distri-quote-item strong { white-space: nowrap; }
.distri-quote-total { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; }
.distri-review { display: block; text-align: center; padding: 13px; margin: 0; background: #ce252b; }

body.distri-pedido-page .entry-header { display: none; }
body.distri-pedido-page main .ast-container { width: min(1180px, calc(100% - 40px)); max-width: 1180px; margin: 0 auto; padding: 44px 0 68px; }
body.distri-pedido-page .ywraq-wrapper::before { content: 'Finalizar Solicitud'; display: block; color: #f5f5f5; font-weight: 800; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin-bottom: 24px; }
body.distri-pedido-page .ywraq-wrapper.ywraq-with-form:not(.ywraq-empty) .ywraq-form-table-wrapper { grid-template-columns: minmax(0,1fr) 420px; gap: 28px; }
body.distri-pedido-page .yith-ywraq-mail-form-wrapper { padding: 26px 28px; background: #1d1d1d; border-color: #553638; }
body.distri-pedido-page .yith-ywraq-mail-form-wrapper > h3 { border-bottom: 1px solid #553638; padding-bottom: 17px; margin-bottom: 22px; font-size: 19px; }
body.distri-pedido-page .yith-ywraq-mail-form-wrapper > h3::before { content: '1'; font-size: 13px; color: #aaa; margin-right: 14px; }
body.distri-pedido-page #yith-ywraq-default-form { gap: 16px; }
body.distri-pedido-page #message_field { margin-top: 16px; padding-top: 18px; }
body.distri-pedido-page #message_field::before { content: '2  Detalles Comerciales'; font-size: 18px; }
body.distri-pedido-page #yith-ywraq-default-form input.input-text,
body.distri-pedido-page #yith-ywraq-default-form textarea { background: #202020; border-color: #52545b; }
body.distri-pedido-page #yith-ywraq-default-form .raq-send-request { background: #d51f26; }
body.distri-pedido-page #yith-ywraq-form { padding: 0 20px 20px; background: #1d1d1d; border-color: #553638; }
body.distri-pedido-page #yith-ywraq-form::before { margin: 0 -20px 0; padding: 20px; border-bottom: 1px solid #553638; font-size: 19px; }
body.distri-pedido-page #yith-ywrq-table-list tr.cart_item { grid-template-columns: 20px 56px minmax(0,1fr) auto; gap: 11px 10px; align-items: center; padding: 18px 14px; margin-top: 14px; border: 1px solid #4a393a; border-radius: 6px; background: #202020; }
body.distri-pedido-page #yith-ywrq-table-list .product-thumbnail img { width: 56px; height: 56px; border-radius: 3px; }
body.distri-pedido-page #yith-ywrq-table-list tr.cart_item > td.product-price { display: none; }
body.distri-pedido-page #yith-ywrq-table-list .product-name { grid-column: 3; grid-row: 1; }
body.distri-pedido-page #yith-ywrq-table-list .product-quantity { display: flex; grid-column: 3 / 5; grid-row: 2; align-items: center; gap: 8px; }
body.distri-pedido-page #yith-ywrq-table-list .product-quantity::before { display: block !important; content: 'Cantidad' !important; font-size: 12px; color: #d8d8d8; }
body.distri-pedido-page #yith-ywrq-table-list .product-quantity .quantity { margin-left: auto; }
body.distri-pedido-page #yith-ywrq-table-list .product-subtotal { grid-column: 4; grid-row: 1; align-self: start; text-align: right; white-space: nowrap; }
body.distri-pedido-page #yith-ywrq-table-list .raq-totals-label { font-size: 19px; }
body.distri-pedido-page #yith-ywrq-table-list .raq-totals { font-size: 24px; color: #e1262e; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper { flex-direction: column; align-items: stretch; gap: 10px; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper .after-table-right { display: flex; flex-direction: column; order: 2; gap: 10px; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper .button,
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper input[name="update_raq"] { flex: 0 0 auto; width: 100%; }
body.distri-pedido-page #yith-ywraq-form .update-list-wrapper input[name="update_raq"] { order: 1; background: #d51f26; border-color: #d51f26; }
.dvx-advisor-card { display: flex; grid-column: 1/-1; align-items: center; gap: 16px; padding: 18px; margin: 4px 0 18px; border: 1px solid #553638; color: #eee; background: #202020; }
.dvx-advisor-avatar { display: grid; place-items: center; flex: 0 0 50px; height: 50px; background: #ce252b; color: white; border-radius: 8px; font-size: 17px; font-weight: 800; }
.dvx-advisor-info { display: flex; flex-direction: column; min-width: 0; color: #cfcfcf; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.dvx-advisor-info strong { color: #fff; font-size: 18px; line-height: 1.3; }
.dvx-advisor-eyebrow { text-transform: uppercase; font-size: 10px; font-weight: 700; }
.dvx-confirmation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 760px; margin: 28px auto 0; }
.dvx-confirmation-actions a, .dvx-confirmation-actions button { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 1px solid #d51f26; border-radius: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.dvx-confirmation-pdf { background: #d51f26; color: #fff !important; }
.dvx-confirmation-whatsapp { background: #188c49; border-color: #188c49 !important; color: #fff; }
.dvx-confirmation-actions button:disabled { opacity: .65; cursor: wait; }
.dvx-confirmation-help, .dvx-confirmation-no-whatsapp { flex-basis: 100%; margin: 0; color: #aaa; font-size: 13px; line-height: 1.5; }
@media (max-width: 520px) { .dvx-confirmation-actions a, .dvx-confirmation-actions button { width: 100%; } }

/* Solicitud enviada: resguardo visual con datos de la solicitud guardada. */
body.page .dvx-confirmation { max-width: 940px; margin: 40px auto 80px; color: #f3f3f3; }
body.page:has(.dvx-confirmation) .entry-header { display: none; }
.dvx-confirmation-hero { text-align: center; max-width: 610px; margin: 0 auto 30px; }
.dvx-confirmation-check { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 18px; border-radius: 50%; background: #2da44e; color: white; font-size: 29px; font-weight: 700; }
.dvx-confirmation-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(26px, 3.5vw, 39px); line-height: 1.15; }
.dvx-confirmation-hero p { margin: 0 auto 15px; color: #c9c9c9; font-size: 15px; line-height: 1.65; }
.dvx-confirmation-ref { display: inline-block; padding: 7px 12px; border: 1px solid #503638; color: #eee; font-size: 13px; }
.dvx-confirmation-actions { justify-content: center; max-width: none; margin: 0 auto 34px; }
.dvx-confirmation-actions a, .dvx-confirmation-actions button, .dvx-confirmation-empty > a { min-width: 170px; min-height: 45px; padding: 11px 18px; font-size: 13px; line-height: 1.3; }
.dvx-confirmation-back, .dvx-confirmation-empty > a { display: inline-flex; justify-content: center; align-items: center; color: #fff !important; border: 1px solid #684749; background: #191919; text-decoration: none !important; }
.dvx-confirmation-pdf { background: #cb1b23; }
.dvx-confirmation-whatsapp { background: #187e45; }
.dvx-confirmation-sheet { background: #1c1c1c; border: 1px solid #493638; padding: clamp(20px, 4vw, 42px); color: #f2f2f2; }
.dvx-confirmation-sheet-head { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-bottom: 23px; border-bottom: 1px solid #553b3d; }
.dvx-confirmation-sheet-head strong { display: block; font-size: 21px; line-height: 1.25; color: #fff; }
.dvx-confirmation-sheet-head small { display: block; margin-top: 5px; font-size: 11px; color: #aaa; letter-spacing: .08em; }
.dvx-confirmation-sheet-ref { text-align: right; }
.dvx-confirmation-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 25px 0 32px; }
.dvx-confirmation-parties > div { min-width: 0; padding-left: 15px; border-left: 2px solid #c82329; overflow-wrap: anywhere; }
.dvx-confirmation-parties h2 { margin: 0 0 12px; color: #bcbcbc; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.dvx-confirmation-parties strong, .dvx-confirmation-parties span { display: block; color: #f4f4f4; font-size: 13px; line-height: 1.55; }
.dvx-confirmation-table-wrap { overflow-x: auto; }
.dvx-confirmation-table { width: 100%; min-width: 620px; border-collapse: collapse; border: 0; color: #eee; font-size: 13px; }
.dvx-confirmation-table th { padding: 12px 10px; background: #292929; color: #ddd; text-align: left; text-transform: uppercase; letter-spacing: .03em; font-size: 10px; }
.dvx-confirmation-table td { padding: 17px 10px; border-bottom: 1px solid #44383a; vertical-align: top; color: #f0f0f0; }
.dvx-confirmation-table td:first-child { width: 33%; }
.dvx-confirmation-table td strong, .dvx-confirmation-table td small { display: block; }
.dvx-confirmation-table td small { margin-top: 4px; color: #aaa; }
.dvx-confirmation-table th:nth-child(n+3), .dvx-confirmation-table td:nth-child(n+3) { text-align: right; white-space: nowrap; }
.dvx-confirmation-total { display: flex; justify-content: flex-end; gap: 38px; align-items: baseline; padding: 22px 9px; font-size: 16px; font-weight: 700; }
.dvx-confirmation-total strong { color: #e1262e; font-size: 25px; white-space: nowrap; }
.dvx-confirmation-notes { padding: 16px; margin-top: 8px; background: #252525; font-size: 13px; }
.dvx-confirmation-notes p { margin: 5px 0 0; }
.dvx-confirmation-disclaimer { padding-top: 20px; margin: 14px 0 0; border-top: 1px solid #46383a; color: #a9a9a9; font-size: 11px; line-height: 1.6; }
.dvx-confirmation > .dvx-confirmation-help { max-width: 610px; margin: 17px auto 0; text-align: center; }
.dvx-confirmation-empty { max-width: 610px !important; text-align: center; }
.dvx-confirmation-empty h1 { color: #fff; }
.dvx-confirmation-empty p { color: #ccc; }
@media (max-width: 700px) {
  body.page .dvx-confirmation { margin: 24px 15px 55px; }
  .dvx-confirmation-actions { flex-direction: column; align-items: stretch; }
  .dvx-confirmation-actions a, .dvx-confirmation-actions button { width: 100%; }
  .dvx-confirmation-sheet-head { flex-direction: column; }
  .dvx-confirmation-sheet-ref { text-align: left; }
  .dvx-confirmation-parties { grid-template-columns: 1fr; gap: 20px; }
  .dvx-confirmation-table { min-width: 0; }
  .dvx-confirmation-table thead { display: none; }
  .dvx-confirmation-table tbody, .dvx-confirmation-table tr, .dvx-confirmation-table td { display: block; width: 100% !important; box-sizing: border-box; }
  .dvx-confirmation-table tr { padding: 12px 0; border-bottom: 1px solid #4a393a; }
  .dvx-confirmation-table td { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; border: 0; text-align: right !important; white-space: normal !important; }
  .dvx-confirmation-table td:first-child { display: block; text-align: left !important; padding-bottom: 10px; }
  .dvx-confirmation-table td:not(:first-child)::before { content: attr(data-label); color: #aaa; text-align: left; }
  .dvx-confirmation-total { justify-content: space-between; gap: 10px; font-size: 14px; }
  .dvx-confirmation-total strong { font-size: 20px; }
}
@media (max-width: 1100px) {
  body.distri-presentation-ready.single-product .woocommerce div.product { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-quote-aside { grid-column: 2; grid-row: 1; }
  body.distri-presentation-ready.single-product .woocommerce div.product > .summary { grid-column: 1; grid-row: 2; }
  body.distri-presentation-ready.single-product .woocommerce div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-presentations { grid-column: 1/-1; grid-row: 3; }
  .distri-presentation-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.distri-pedido-page .ywraq-wrapper.ywraq-with-form:not(.ywraq-empty) .ywraq-form-table-wrapper { grid-template-columns: minmax(0,1fr) minmax(320px,.85fr); gap: 18px; }
}
@media (max-width: 780px) {
  body.distri-presentation-ready.single-product .woocommerce div.product { display: block; }
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-presentations { margin: 32px 0 0; }
  body.distri-presentation-ready.single-product .woocommerce div.product > .distri-quote-aside { margin-top: 24px; }
  .distri-presentation-grid { grid-template-columns: 1fr; }
  body.distri-pedido-page .ywraq-wrapper.ywraq-with-form:not(.ywraq-empty) .ywraq-form-table-wrapper { display: flex; flex-direction: column; }
  body.distri-pedido-page #yith-ywraq-form { order: -1; width: 100%; }
  body.distri-pedido-page .yith-ywraq-mail-form-wrapper { width: 100%; }
}
@media (max-width: 520px) {
  body.distri-pedido-page main .ast-container { width: min(100% - 28px, 620px); padding-top: 28px; }
  body.distri-pedido-page #yith-ywrq-table-list tr.cart_item { grid-template-columns: 18px 42px minmax(0,1fr) auto; column-gap: 7px; padding: 14px 10px; }
  body.distri-pedido-page #yith-ywrq-table-list .product-thumbnail img { width: 42px; height: 42px; }
  body.distri-pedido-page #yith-ywrq-table-list .product-subtotal { grid-column: 4; grid-row: 1; font-size: 11px; }
  body.distri-pedido-page #yith-ywrq-table-list .product-quantity { grid-column: 3/5; grid-row: 2; }
  body.distri-pedido-page #yith-ywrq-table-list .product-name { overflow-wrap: anywhere; }
}

/* Mi Pedido v2.3.3: autorización y estado vacío. */
body.distri-pedido-page .ywraq-wrapper.ywraq-empty .yith-ywraq-mail-form-wrapper {
  display: none !important;
}
body.distri-pedido-page #yith-ywraq-default-form .dvx-request-authorization {
  grid-column: 1 / -1;
  margin: 0 0 8px;
}
body.distri-pedido-page #yith-ywraq-default-form .dvx-request-authorization label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #d8d4d4;
  font-size: 13px;
  line-height: 1.55;
  cursor: pointer;
}
body.distri-pedido-page #yith-ywraq-default-form .dvx-request-authorization input[type="checkbox"] {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #d51f26;
  cursor: pointer;
}
body.distri-pedido-page #yith-ywraq-default-form .dvx-request-authorization input:focus-visible {
  outline: 2px solid #ef6b71;
  outline-offset: 3px;
}
body.distri-pedido-page #yith-ywraq-default-form .dvx-request-authorization label > span {
  min-width: 0;
}
body.distri-pedido-page .ywraq_list_empty_message {
  max-width: 510px;
  margin-inline: auto;
  color: #dedada;
  line-height: 1.6;
}
