/* Browser feedback release: commerce and account presentation only.
 * Keep the native product, cart and WooCommerce authentication contracts. */

/* Product support strip: align the icon and both lines as one unit. */
body.dm-feedback-release .dm-product-template .pd-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

body.dm-feedback-release .dm-product-template .pd-benefit {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 14px;
  row-gap: 4px;
  min-width: 0;
  min-height: 116px;
  margin: 0;
  padding: 24px clamp(18px, 2vw, 32px);
}

body.dm-feedback-release .dm-product-template .pd-benefit > .ph {
  grid-row: 1 / 3;
  align-self: center;
  margin: 0;
  font-size: 30px;
  line-height: 1;
}

body.dm-feedback-release .dm-product-template .pd-benefit > strong,
body.dm-feedback-release .dm-product-template .pd-benefit > span {
  display: block;
  min-width: 0;
  margin: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
}

body.dm-feedback-release .dm-product-template .pd-benefit > strong {
  font-size: 13px;
  font-weight: 600;
}

body.dm-feedback-release .dm-product-template .pd-benefit > span {
  font-size: 12px;
}

/* The existing detail section retains its three Gutenberg groups.
 * Gallery/specifications share row one; inspiration has a full-width row. */
body.dm-feedback-release .dm-product-template .pd-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px clamp(28px, 3.5vw, 56px);
  padding: 56px var(--container-pad, 28px) 64px;
}

body.dm-feedback-release .dm-product-template .pd-detail > .wp-block-group {
  min-width: 0;
  margin: 0;
}

body.dm-feedback-release .dm-product-template .pd-detail > .wp-block-group:nth-child(3) {
  grid-column: 1 / -1;
  padding-top: 32px;
  border-top: 1px solid var(--rule-soft, #ede6e1);
}

body.dm-feedback-release .dm-product-template .pd-detail .pd-h3 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 1.3;
}

body.dm-feedback-release .dm-product-template .pd-detail .pd-sq {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  margin: 0;
}

body.dm-feedback-release .dm-product-template .pd-detail .pd-sq > figure,
body.dm-feedback-release .dm-product-template .pd-detail .pd-insp {
  min-width: 0;
  height: auto;
  margin: 0;
  background: var(--surface, #f8f5f3);
  border-radius: 12px;
  overflow: hidden;
}

body.dm-feedback-release .dm-product-template .pd-detail .pd-sq img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.dm-feedback-release .dm-product-template .pd-detail .dmc-single-detail {
  grid-column: 1 / -1;
  height: auto;
}

body.dm-feedback-release .dm-product-template .pd-detail > .wp-block-group:nth-child(3) > .pd-sq {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.dm-feedback-release .dm-product-template .pd-detail .pd-insp > .wp-block-image {
  margin: 0;
  height: auto;
}

body.dm-feedback-release .dm-product-template .pd-detail .pd-sq-cap {
  margin: 0;
  padding: 12px 14px 14px;
  color: var(--ink-2, #47413d);
  font-size: 12px;
  line-height: 1.5;
}

body.dm-feedback-release .dm-product-template .pd-detail .dm-table-scroll {
  min-width: 0;
  max-width: 100%;
  margin: 0;
}

body.dm-feedback-release .dm-product-template .pd-tbl {
  table-layout: fixed;
  width: 100%;
  min-width: 0;
  margin: 0;
}

body.dm-feedback-release .dm-product-template .pd-tbl :is(th, td) {
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: normal;
}

body.dm-feedback-release .dm-product-template .pd-tbl th {
  width: 35%;
  padding-left: 0;
  color: var(--ink-muted, #635e59);
}

body.dm-feedback-release .dm-product-template .pd-tbl td {
  padding-right: 0;
}

/* Imported product descriptions contain editorial grids. A second grid inside
 * the specifications column must read vertically instead of squeezing copy. */
body.dm-feedback-release .dm-product-template .pd-product-description {
  min-width: 0;
  max-width: 100%;
  margin-top: 28px;
  font-size: 14px;
  line-height: 1.8;
}

body.dm-feedback-release .dm-product-template .pd-product-description :is(.dm-ed, .dm-ed-product-content) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 20px 0 0;
}

body.dm-feedback-release .dm-product-template .pd-product-description .dm-ed-section-lead {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.dm-feedback-release .dm-product-template .pd-product-description :is(.dm-ed-section-copy, .dm-ed-body-image) {
  grid-column: auto;
  grid-row: auto;
  order: initial;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  justify-self: stretch;
  align-self: auto;
}

body.dm-feedback-release .dm-product-template .pd-product-description :is(p, ul, ol) {
  max-width: 65ch;
  margin: 0 0 14px;
}

body.dm-feedback-release .dm-product-template .pd-product-description p:empty {
  display: none;
}

body.dm-feedback-release .dm-product-template .pd-product-description :is(img, svg, iframe) {
  max-width: 100%;
}

body.dm-feedback-release .dm-product-template .pd-product-description img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Related product cards. Scope the SKU rule to the direct SKU element; Woo
 * prices also contain spans, which must stay inline with their currency. */
body.dm-feedback-release .dm-product-template .pd-sheers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
}

body.dm-feedback-release .dm-product-template .pd-sheer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

body.dm-feedback-release .dm-product-template .pd-sheer > a:first-child {
  display: block;
  flex: 0 0 auto;
  overflow: hidden;
}

body.dm-feedback-release .dm-product-template .pd-sheer > a:first-child img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.dm-feedback-release .dm-product-template .pd-sheer > div {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 8px;
  min-width: 0;
  padding: 18px 16px;
}

body.dm-feedback-release .dm-product-template .pd-sheer > div > a:first-child {
  display: block;
  margin: 0;
}

body.dm-feedback-release .dm-product-template .pd-sheer strong {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: break-word;
}

body.dm-feedback-release .dm-product-template .pd-sheer > div > span {
  display: block;
  margin: 0;
  color: var(--ink-muted, #635e59);
  font: 11px/1.5 var(--font-mono, monospace);
}

body.dm-feedback-release .dm-product-template .pd-sheer > div > p {
  margin: 4px 0 10px;
  color: var(--primary, #59300f);
  font: 500 14px/1.5 var(--font-mono, monospace);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.dm-feedback-release .dm-product-template .pd-sheer > div > p :is(span, bdi) {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  white-space: nowrap;
}

body.dm-feedback-release .dm-product-template .pd-sheer > div > .dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 46px;
  margin-top: auto;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.3;
  white-space: normal;
  text-align: center;
}

/* Catalogue actions remain an aligned pair at the tablet breakpoint too. */
body.dm-feedback-release .dmc-product-grid {
  align-items: stretch;
}

body.dm-feedback-release .dmc-card {
  min-width: 0;
  height: 100%;
}

body.dm-feedback-release .dmc-card-body {
  min-width: 0;
  flex: 1 1 auto;
}

body.dm-feedback-release .dmc-card h3 {
  margin: 0 0 8px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

body.dm-feedback-release .dmc-card .dmc-specs > div {
  align-items: baseline;
}

body.dm-feedback-release .dmc-card .dmc-specs dt {
  min-width: 0;
  flex: 0 0 76px;
}

body.dm-feedback-release .dmc-card .dmc-specs dd {
  flex: 1 1 auto;
  min-width: 0;
}

body.dm-feedback-release .dmc-card .dmc-price {
  margin: auto 0 18px;
  padding-top: 8px;
  font-variant-numeric: tabular-nums;
}

body.dm-feedback-release .dmc-card-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin-top: 0;
}

body.dm-feedback-release .dmc-card-actions > .dmc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
  min-height: 48px;
  height: 100%;
  margin: 0;
  padding: 10px 8px;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

body.dm-feedback-release .dmc-card-actions > .dmc-button :is(.ph, svg) {
  flex: 0 0 auto;
  width: 16px;
  font-size: 16px;
  line-height: 1;
}

body.dm-feedback-release .dmc-card-actions > .dmc-button:not(.dmc-secondary) {
  color: #fff;
}

body.dm-feedback-release .dmc-card-actions > .dmc-secondary {
  color: var(--primary, #59300f);
}

body.dm-feedback-release .dmc-card-actions > .dmc-button:hover {
  background: var(--primary-hi, #411a00);
  border-color: var(--primary-hi, #411a00);
  color: #fff;
}

/* Cart/quote empty states and the consolidated terms note. Do not mask
 * document overflow: constrain the cart elements that own their width. */
body.dm-feedback-release :is(.dmc-cart-shell, .dmc-cart-empty, .dmc-cart-columns, .dmc-quote-panel) {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

body.dm-feedback-release .dmc-cart-empty {
  width: 100%;
  margin-inline: 0;
  padding: clamp(36px, 5vw, 64px) 20px;
}

body.dm-feedback-release .dmc-cart-empty h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  text-wrap: balance;
}

body.dm-feedback-release .dmc-cart-empty p {
  max-width: 54ch;
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.75;
}

body.dm-feedback-release .dmc-cart-empty > .dmc-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  max-width: 100%;
  padding: 13px 24px;
  background: var(--primary, #59300f);
  border: 1px solid var(--primary, #59300f);
  color: #fff;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  transition: background .18s, border-color .18s;
}

body.dm-feedback-release .dmc-cart-empty > .dmc-button:hover {
  background: var(--primary-hi, #411a00);
  border-color: var(--primary-hi, #411a00);
  color: #fff;
}

body.dm-feedback-release.woocommerce-cart :is(.wp-block-woocommerce-cart, .wc-block-cart, .wp-block-woocommerce-empty-cart-block, .woocommerce, .woocommerce-cart-form, .cart-empty) {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

body.dm-feedback-release .dmfb-quote-note {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--container, 1480px);
  margin: 20px auto 40px;
  padding: 18px var(--container-pad, 28px);
  border-top: 1px solid var(--rule, #dfd5ce);
  color: var(--ink-muted, #635e59);
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: break-word;
}

body.dm-feedback-release .dmfb-quote-note :is(p, strong, span) {
  margin: 0;
  color: inherit;
  font: inherit;
}

body.dm-feedback-release .dmfb-quote-note strong {
  color: var(--ink-2, #47413d);
  font-weight: 600;
}

body.dm-feedback-release .dmfb-quote-note a {
  color: var(--primary, #59300f);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Account wrappers are added around the native Woo forms/navigation.
 * This layer never replaces field names, nonces, notices or approval state. */
body.dm-feedback-release .dmfb-auth-shell,
body.dm-feedback-release .dmfb-account-shell {
  box-sizing: border-box;
  min-width: 0;
  color: var(--ink, #1b1612);
}

body.dm-feedback-release .dmfb-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .7fr);
  gap: 32px 40px;
  max-width: 1120px;
  margin: clamp(28px, 4vw, 56px) auto 64px;
  padding: clamp(24px, 3.5vw, 48px);
  border: 1px solid var(--rule-soft, #ede6e1);
  border-radius: 22px;
  background: var(--surface, #f8f5f3);
}

body.dm-feedback-release :is(.dmfb-auth-intro, .dmfb-account-intro) {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
}

body.dm-feedback-release :is(.dmfb-auth-intro, .dmfb-account-intro) > :first-child {
  margin: 0 0 12px;
  color: var(--primary, #59300f);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .12em;
}

body.dm-feedback-release :is(.dmfb-auth-intro, .dmfb-account-intro) h2 {
  margin: 0 0 14px;
  color: var(--ink, #1b1612);
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  text-wrap: balance;
}

body.dm-feedback-release :is(.dmfb-auth-intro, .dmfb-account-intro) p:last-child {
  max-width: 66ch;
  margin: 0;
  color: var(--ink-2, #47413d);
  font-size: 14px;
  line-height: 1.8;
}

body.dm-feedback-release .dmfb-auth-main {
  min-width: 0;
  padding: clamp(24px, 2.5vw, 36px);
  border: 1px solid var(--rule, #dfd5ce);
  border-radius: 14px;
  background: #fff;
}

body.dm-feedback-release .dmfb-auth-main > :is(h1, h2) {
  margin: 0 0 24px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 28px;
  line-height: 1.25;
}

body.dm-feedback-release .dmfb-auth-aside {
  min-width: 0;
  align-self: start;
  margin: 0;
  padding: 28px;
  border-radius: 14px;
  background: #eee6dd;
}

body.dm-feedback-release .dmfb-auth-aside :is(h2, h3) {
  margin: 0 0 14px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 27px;
  line-height: 1.25;
}

body.dm-feedback-release .dmfb-auth-aside :is(p, li) {
  margin: 0 0 16px;
  color: var(--ink-2, #47413d);
  font-size: 13px;
  line-height: 1.8;
}

body.dm-feedback-release .dmfb-auth-aside .dm-eyebrow {
  margin: 0 0 14px;
  color: var(--primary, #59300f);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .12em;
}

body.dm-feedback-release .dmfb-auth-aside .dmfb-auth-note {
  margin-bottom: 0;
  font-size: 12px;
}

body.dm-feedback-release .dmfb-auth-aside :is(ul, ol) {
  margin: 0 0 20px;
  padding-left: 18px;
  list-style: disc;
}

body.dm-feedback-release .dmfb-auth-aside a {
  color: var(--primary, #59300f);
  text-decoration: underline;
  text-underline-offset: 4px;
}

body.dm-feedback-release .dmfb-auth-aside :is(.dm-btn, .dmc-button) {
  display: inline-flex;
  min-height: 48px;
  max-width: 100%;
  margin: 4px 0 18px;
  padding: 12px 20px;
  background: var(--primary, #59300f);
  border-color: var(--primary, #59300f);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  white-space: normal;
  text-decoration: none;
}

body.dm-feedback-release .dmfb-auth-main :is(form.login, form.lost_reset_password) {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.dm-feedback-release .dmfb-auth-main .form-row {
  float: none;
  clear: both;
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
}

body.dm-feedback-release :is(.dmfb-auth-main, .dmfb-account-shell) .form-row label {
  display: block;
  margin: 0 0 8px;
  color: var(--ink-2, #47413d);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

body.dm-feedback-release :is(.dmfb-auth-main, .dmfb-account-shell) :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], select, textarea) {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cdbcae;
  border-radius: 8px;
  background: #fff;
  color: var(--ink, #1b1612);
  font: 400 15px/1.5 var(--font-body, sans-serif);
  box-shadow: none;
}

body.dm-feedback-release :is(.dmfb-auth-main, .dmfb-account-shell) textarea {
  min-height: 120px;
  resize: vertical;
}

body.dm-feedback-release .dmfb-auth-main .password-input {
  display: block;
  position: relative;
  width: 100%;
}

body.dm-feedback-release .dmfb-auth-main .password-input input {
  padding-right: 48px;
}

body.dm-feedback-release .dmfb-auth-main .show-password-input {
  position: absolute;
  top: 50%;
  right: 12px;
  margin: 0;
  transform: translateY(-50%);
}

body.dm-feedback-release .dmfb-auth-main .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
}

body.dm-feedback-release .dmfb-auth-main .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

body.dm-feedback-release :is(.dmfb-auth-main, .dmfb-account-shell) input[type="checkbox"] {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: var(--primary, #59300f);
}

body.dm-feedback-release :is(.dmfb-auth-main, .dmfb-account-shell) :is(button.button, input.button, .woocommerce-button, .woocommerce-Button) {
  display: inline-flex;
  float: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  margin: 0;
  padding: 12px 24px;
  border: 1px solid var(--primary, #59300f);
  border-radius: 8px;
  background: var(--primary, #59300f);
  color: #fff;
  font: 500 14px/1.4 var(--font-body, sans-serif);
  text-align: center;
  white-space: normal;
  cursor: pointer;
  transition: background .18s, border-color .18s;
}

body.dm-feedback-release :is(.dmfb-auth-main, .dmfb-account-shell) :is(button.button, input.button, .woocommerce-button, .woocommerce-Button):hover,
body.dm-feedback-release .dmfb-auth-aside :is(.dm-btn, .dmc-button):hover {
  background: var(--primary-hi, #411a00);
  border-color: var(--primary-hi, #411a00);
  color: #fff;
}

body.dm-feedback-release .dmfb-auth-main :is(.lost_password, form.lost_reset_password > p:not(.form-row)) {
  margin: 0 0 20px;
  color: var(--ink-2, #47413d);
  font-size: 13px;
  line-height: 1.8;
}

body.dm-feedback-release .dmfb-auth-main .lost_password a {
  color: var(--primary, #59300f);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* The trade application remains approval based and needs its full form width. */
body.dm-feedback-release .dmfb-auth-shell--register {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1240px;
}

body.dm-feedback-release .dmfb-auth-shell--register .dmfb-auth-main {
  padding: 0;
  border: 0;
  background: transparent;
}

body.dm-feedback-release .dmfb-auth-shell--register .dmfb-auth-aside {
  width: 100%;
}

body.dm-feedback-release .dmfb-auth-main .dmtrade {
  --dmtrade-ink: #1b1612;
  --dmtrade-accent: #59300f;
  --dmtrade-muted: #635e59;
  --dmtrade-sand: #f8f5f3;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-panel {
  margin: 0;
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--rule, #dfd5ce);
  border-top: 3px solid var(--primary, #59300f);
  border-radius: 12px;
  box-shadow: none;
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-panel-head {
  align-items: start;
  border-color: var(--rule-soft, #ede6e1);
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-panel-head h2 {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(27px, 3vw, 36px);
}

body.dm-feedback-release .dmfb-auth-main :is(.dmtrade-stepnum, .dmtrade-review-mark) {
  background: #eee4d9;
  color: var(--primary, #59300f);
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-role {
  border-color: var(--rule, #dfd5ce);
  background: #fff;
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-role:hover,
body.dm-feedback-release .dmfb-auth-main .dmtrade-role:has(input:checked) {
  border-color: var(--primary, #59300f);
  background: #f7f0e9;
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-role:has(input:checked) .dmtrade-role-indicator {
  border-color: var(--primary, #59300f);
  background: var(--primary, #59300f);
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-chip:has(input:checked) span {
  border-color: var(--primary, #59300f);
  background: #eee4d9;
  color: var(--primary, #59300f);
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-submit-btn {
  border-color: var(--primary, #59300f) !important;
  background: var(--primary, #59300f) !important;
  color: #fff !important;
  line-height: 1.4;
  white-space: normal;
}

body.dm-feedback-release .dmfb-auth-main .dmtrade-submit-btn:hover {
  border-color: var(--primary-hi, #411a00) !important;
  background: var(--primary-hi, #411a00) !important;
}

body.dm-feedback-release .dmfb-account-shell {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 32px 36px;
  max-width: 1240px;
  margin: 40px auto 72px;
}

body.dm-feedback-release .dmfb-account-intro {
  padding: 0 0 28px;
  border-bottom: 1px solid var(--rule, #dfd5ce);
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation {
  float: none;
  min-width: 0;
  width: 100%;
  margin: 0;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation li {
  margin: 0;
  border: 0;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink-2, #47413d);
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: background .18s, color .18s;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation a:hover {
  background: var(--surface, #f8f5f3);
  color: var(--primary, #59300f);
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation .is-active a {
  background: var(--primary, #59300f);
  color: #fff;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-content {
  box-sizing: border-box;
  float: none;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--rule, #dfd5ce);
  border-radius: 14px;
  background: #fff;
  overflow-wrap: break-word;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-content > p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.85;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-content a:not(.button) {
  color: var(--primary, #59300f);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-content :is(h2, h3) {
  margin: 0 0 20px;
  font-family: var(--font-display, Georgia, serif);
  font-size: 27px;
  line-height: 1.3;
}

body.dm-feedback-release .dmfb-account-shell :is(fieldset, .woocommerce-address-fields) {
  min-width: 0;
  max-width: 100%;
}

body.dm-feedback-release .dmfb-account-shell fieldset {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--rule, #dfd5ce);
  border-radius: 10px;
}

body.dm-feedback-release .dmfb-account-shell legend {
  padding: 0 8px;
  font-size: 16px;
  font-weight: 600;
}

body.dm-feedback-release .dmfb-account-shell .form-row {
  min-width: 0;
  margin-bottom: 20px;
}

body.dm-feedback-release .dmfb-account-shell table.shop_table {
  width: 100%;
  border: 1px solid var(--rule, #dfd5ce);
  border-collapse: collapse;
  font-size: 13px;
}

body.dm-feedback-release .dmfb-account-shell table.shop_table :is(th, td) {
  padding: 13px 12px;
  border-bottom: 1px solid var(--rule-soft, #ede6e1);
  text-align: left;
  overflow-wrap: anywhere;
}

body.dm-feedback-release .dmfb-account-shell table.shop_table th {
  background: var(--surface, #f8f5f3);
  font-weight: 600;
}

body.dm-feedback-release.woocommerce-account .woocommerce :is(.woocommerce-error, .woocommerce-message, .woocommerce-info) {
  margin: 0 0 24px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
}

body.dm-feedback-release :is(.dmfb-auth-shell, .dmfb-account-shell, .dmc-card-actions, .dmc-cart-empty) :is(a, button, input, select, textarea):focus-visible,
body.dm-feedback-release .dmfb-auth-main :is(.dmtrade-role, .dmtrade-chip):focus-within {
  outline: 2px solid #8f613b;
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  body.dm-feedback-release .dm-product-template .pd-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dm-feedback-release .dm-product-template .pd-benefit {
    min-height: 104px;
  }

  body.dm-feedback-release .dmfb-auth-shell {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr);
  }

  body.dm-feedback-release .dmfb-auth-shell--register {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  body.dm-feedback-release .dm-product-template .pd-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-block: 40px 48px;
  }

  body.dm-feedback-release .dm-product-template .pd-detail > .wp-block-group:nth-child(3) {
    grid-column: auto;
  }

  body.dm-feedback-release .dm-product-template .pd-detail > .wp-block-group:nth-child(3) > .pd-sq {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.dm-feedback-release .dmfb-auth-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  body.dm-feedback-release .dmfb-account-shell {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 600px) {
  body.dm-feedback-release .dm-product-template .pd-benefit {
    grid-template-columns: 26px minmax(0, 1fr);
    min-height: 116px;
    column-gap: 10px;
    padding: 20px 14px;
  }

  body.dm-feedback-release .dm-product-template .pd-benefit > .ph {
    font-size: 25px;
  }

  body.dm-feedback-release .dm-product-template .pd-benefit > strong {
    font-size: 12px;
  }

  body.dm-feedback-release .dm-product-template .pd-benefit > span {
    font-size: 11px;
  }

  body.dm-feedback-release .dm-product-template .pd-detail {
    padding-inline: 20px;
  }

  body.dm-feedback-release .dm-product-template .pd-tbl :is(th, td) {
    padding-block: 11px;
    font-size: 12px;
  }

  body.dm-feedback-release .dm-product-template .pd-tbl th {
    width: 39%;
  }

  body.dm-feedback-release .dm-product-template .pd-detail .pd-sq-cap {
    padding: 10px 12px 12px;
    font-size: 11px;
  }

  body.dm-feedback-release .dm-product-template .pd-sheers {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  body.dm-feedback-release .dm-product-template .pd-sheer > a:first-child img {
    aspect-ratio: 3 / 2;
  }

  body.dm-feedback-release .dm-product-template .pd-sheer > div {
    padding: 20px;
  }

  body.dm-feedback-release .dm-product-template .pd-sheer strong {
    font-size: 16px;
  }

  body.dm-feedback-release .dmc-card-actions > .dmc-button {
    min-height: 48px;
    padding-inline: 10px;
    font-size: 13px;
  }

  body.dm-feedback-release .dmfb-quote-note {
    margin-block: 12px 28px;
    padding: 16px 20px;
    font-size: 11px;
  }

  body.dm-feedback-release .dmfb-auth-shell {
    gap: 24px;
    margin: 24px auto 40px;
    padding: 22px 16px;
    border-radius: 14px;
  }

  body.dm-feedback-release :is(.dmfb-auth-intro, .dmfb-account-intro) h2 {
    font-size: 34px;
  }

  body.dm-feedback-release :is(.dmfb-auth-main, .dmfb-auth-aside) {
    padding: 22px 18px;
  }

  body.dm-feedback-release .dmfb-auth-main :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], select, textarea),
  body.dm-feedback-release .dmfb-account-shell :is(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], select, textarea) {
    font-size: 16px;
  }

  body.dm-feedback-release .dmfb-auth-main .woocommerce-form-login__submit {
    width: 100%;
  }

  body.dm-feedback-release .dmfb-auth-main .dmtrade-panel {
    padding: 22px 16px;
  }

  body.dm-feedback-release .dmfb-auth-main .dmtrade-panel-head {
    display: block;
  }

  body.dm-feedback-release .dmfb-auth-main .dmtrade-panel-head h2 {
    font-size: 29px;
  }

  body.dm-feedback-release .dmfb-auth-main .dmtrade-submit-btn {
    width: 100%;
  }

  body.dm-feedback-release .dmfb-account-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin: 28px auto 44px;
  }

  body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-navigation a {
    height: 100%;
    padding: 12px;
    border-color: var(--rule-soft, #ede6e1);
    font-size: 12px;
  }

  body.dm-feedback-release .dmfb-account-shell .woocommerce-MyAccount-content {
    padding: 22px 18px;
  }

  body.dm-feedback-release .dmfb-account-shell :is(.form-row-first, .form-row-last) {
    float: none;
    width: 100%;
  }

  body.dm-feedback-release .dmfb-account-shell fieldset {
    padding: 16px 12px;
  }
}

@media (max-width: 359px) {
  body.dm-feedback-release .dm-product-template .pd-benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  body.dm-feedback-release .dm-product-template .pd-benefit {
    min-height: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.dm-feedback-release :is(.dmfb-auth-shell, .dmfb-account-shell, .dmc-card-actions, .dmc-cart-empty) :is(a, button, input, select, textarea) {
    transition: none;
  }
}
