/* Light interior pages. The immersive home, masthead and footer retain their dark identity.
   Load after the shared layout and quote styles. */
body.dm-light {
  --paper: #fff;
  --ink: #342914;
  --muted: #655e50;
  --honey: #d7a520;
  --line: #e4dece;
  --light: #f7f3e9;
  --dm-surface: #fff;
  --dm-raised: #faf6ec;
  --dm-button-ink: #201906;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}
body.dm-light main,
body.dm-light.post-type-archive-product main,
body.dm-light.tax-product_cat main {
  background: linear-gradient(180deg, #fff 0%, #fff 30%, #fbf9f3 100%);
}
body.dm-light .story,
body.dm-light .farm { background: transparent; }
body.dm-light .dm-masthead { background: #000; color: #fff; }
body.dm-light .dm-primary > a:hover,
body.dm-light .dm-primary .dm-menu a:hover,
body.dm-light .nav-drop > summary:hover,
body.dm-light .dm-primary [aria-current="page"] { color: #e4b641; }
body.dm-light .selection-count { background: #e4b641; color: var(--dm-button-ink); }
body.dm-light .skip-link { background: var(--honey); color: var(--dm-button-ink); }
body.dm-light :focus-visible { outline: 3px solid #936c12; outline-offset: 5px; }
body.dm-light .dm-masthead :focus-visible { outline-color: #e4b641; }
body.dm-light ::selection { background: #f1d790; color: var(--dm-button-ink); }

/* Warm, high-contrast copy with white cards and a restrained honey accent. */
body.dm-light main :is(h1, h2, h3),
body.dm-light .selection-dialog h2 { color: var(--ink); }
body.dm-light .dm-simple > p,
body.dm-light .dm-feature-grid p,
body.dm-light .entry-content,
body.dm-light .story-copy > p:not(.eyebrow),
body.dm-light .farm > div > p:not(.eyebrow) { color: #514838; }
body.dm-light .dm-simple > .eyebrow,
body.dm-light .story .eyebrow,
body.dm-light .farm .eyebrow { color: #806016; }
body.dm-light :is(.dm-simple, .entry-content) p a:not(.dm-cta):not(.button):not(.wp-element-button):not(.wp-block-button__link) {
  color: #75520b;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #c2a463;
}
body.dm-light :is(.dm-simple, .entry-content) p a:not(.dm-cta):not(.button):not(.wp-element-button):not(.wp-block-button__link):hover { color: #463008; }
body.dm-light .dm-feature-grid article,
body.dm-light .dm-type-option {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid #bc913f;
  box-shadow: 0 5px 22px #49381d06;
}
body.dm-light .dm-page-note { border-color: var(--line); }
body.dm-light .catalog-help { background: #faf2d9; border-left: 2px solid var(--honey); }
body.dm-light .shop-intro h1 em { color: #806016; }

/* Primary actions stay ochre, including the real WooCommerce checkout. */
body.dm-light .dm-cta,
body.dm-light .dm-add,
body.dm-light .button.dark,
body.dm-light .wp-element-button,
body.dm-light .wp-block-button__link,
body.dm-light .woocommerce a.button,
body.dm-light .woocommerce button.button,
body.dm-light .woocommerce input.button,
body.dm-light .woocommerce #respond input#submit,
body.dm-light .dm-honey-shop ul.products li.product .button {
  background: var(--honey);
  color: var(--dm-button-ink);
  border-color: var(--honey);
  text-decoration: none;
}
body.dm-light :is(.dm-cta, .dm-add, .button.dark, .wp-element-button, .wp-block-button__link):hover,
body.dm-light .woocommerce a.button:hover,
body.dm-light .woocommerce button.button:hover,
body.dm-light .woocommerce input.button:hover,
body.dm-light .dm-honey-shop ul.products li.product .button:hover {
  background: #e5b638;
  color: var(--dm-button-ink);
  border-color: #e5b638;
}
body.dm-light .button.outline { background: transparent; color: var(--ink); border-color: #8e8269; }
body.dm-light .button.outline:hover { background: #faf2d9; border-color: #997221; }
body.dm-light .dm-add:disabled,
body.dm-light .woocommerce .button:disabled,
body.dm-light .woocommerce .button.disabled { opacity: .55; }

body.dm-light .dm-honey-card,
body.dm-light .dm-honey-shop ul.products li.product {
  background: #fff;
  color: var(--ink);
  border: 1px solid #eee8dc;
  box-shadow: 0 5px 16px #49381d0c;
}
body.dm-light .dm-variety,
body.dm-light .dm-loop-format,
body.dm-light .dm-price small,
body.dm-light .dm-preview-note,
body.dm-light .dm-format,
body.dm-light .dm-format-filter,
body.dm-light .woocommerce .woocommerce-breadcrumb,
body.dm-light .woocommerce .woocommerce-breadcrumb a { color: var(--muted); }
body.dm-light .dm-honey-shop ul.products li.product a img,
body.dm-light .woocommerce div.product div.images .woocommerce-product-gallery__image { background: #fff; }
body.dm-light .dm-offer { background: #faf3dd; border-left-color: var(--honey); color: #514122; }
body.dm-light .dm-offer strong { color: #594008; }
body.dm-light .dm-offer small { color: #6a5b3b; }

body.dm-light :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], textarea, select),
body.dm-light .woocommerce form .form-row input.input-text,
body.dm-light .woocommerce form .form-row textarea,
body.dm-light .woocommerce .quantity .qty,
body.dm-light .woocommerce .variations select,
body.dm-light .woocommerce .woocommerce-ordering select {
  background: #fff;
  color: var(--ink);
  border: 1px solid #a99c84;
  accent-color: #966a08;
}
body.dm-light input::placeholder,
body.dm-light textarea::placeholder { color: #756b58; opacity: 1; }
body.dm-light input[type="checkbox"],
body.dm-light input[type="radio"] { accent-color: #966a08; }
body.dm-light option { background: #fff; color: var(--ink); }
body.dm-light .woocommerce-error,
body.dm-light .woocommerce-info,
body.dm-light .woocommerce-message { background: #faf3df; color: var(--ink); border-top-color: #b18424; }
body.dm-light .woocommerce-error { background: #fff2ed; border-top-color: #ad4635; }
body.dm-light .woocommerce-error::before { color: #ad4635; }
body.dm-light .woocommerce-info::before,
body.dm-light .woocommerce-message::before { color: #856115; }
body.dm-light .woocommerce table.shop_table,
body.dm-light .woocommerce table.shop_table :is(th, td),
body.dm-light .woocommerce form.login,
body.dm-light .woocommerce form.register,
body.dm-light .woocommerce form.checkout_coupon,
body.dm-light .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.dm-light .woocommerce div.product .woocommerce-tabs ul.tabs li { border-color: var(--line); }
body.dm-light .woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: #faf7ef; }
body.dm-light .woocommerce div.product .woocommerce-tabs ul.tabs li { background: #f4efe3; color: var(--muted); }
body.dm-light .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #fff; color: var(--ink); border-bottom-color: #fff; }
body.dm-light .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: inherit; }
body.dm-light .woocommerce-checkout #payment { background: #faf7ef; border: 1px solid var(--line); }
body.dm-light .woocommerce-checkout #payment ul.payment_methods { border-color: var(--line); }
body.dm-light .woocommerce-checkout #payment div.payment_box { background: #eee5d3; color: var(--ink); }
body.dm-light .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #eee5d3; }
body.dm-light .woocommerce .woocommerce-invalid label,
body.dm-light .woocommerce form .form-row .required { color: #a33525; }
body.dm-light .woocommerce-terms-and-conditions { background: #fff; border-color: var(--line); }
body.dm-light .woocommerce div.product .stock { color: #396023; }
body.dm-light .woocommerce div.product .out-of-stock { color: #a33525; }
body.dm-light .select2-dropdown,
body.dm-light .select2-container--default .select2-selection--single,
body.dm-light .select2-container--default .select2-search--dropdown .select2-search__field { background: #fff; color: var(--ink); border-color: #a99c84; }
body.dm-light .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); }
body.dm-light .select2-container--default .select2-results__option[aria-selected="true"] { background: #faf2d9; }
body.dm-light .select2-container--default .select2-results__option--highlighted[aria-selected] { background: #f1d790; color: var(--dm-button-ink); }
body.dm-light .wc-block-components-text-input input,
body.dm-light .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.dm-light .wc-block-components-textarea,
body.dm-light .wc-block-components-form .wc-block-components-text-input input,
body.dm-light .wc-block-components-address-form select { background: #fff; color: var(--ink); border-color: #a99c84; }
body.dm-light .wc-block-components-text-input label,
body.dm-light .wc-block-components-form .wc-block-components-text-input label,
body.dm-light .wc-block-components-select label { color: var(--muted); }
body.dm-light .wc-block-components-radio-control-accordion-content,
body.dm-light .wc-block-components-radio-control .wc-block-components-radio-control__option { background: #fff; color: var(--ink); }
body.dm-light .wc-block-components-notice-banner { background: #faf3df; color: var(--ink); }
body.dm-light .wc-block-components-checkout-step__description { color: var(--muted); }

body.dm-light .selection-dialog { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 90px #0005; }
body.dm-light .selection-dialog::backdrop { background: #201b12a8; }
body.dm-light .selection-dialog .dialog-close { background: #f7f3e9; color: var(--ink); }
body.dm-light .selection-dialog > p { color: var(--muted); }
body.dm-light .dm-selection-row,
body.dm-light .selection-item { border-color: var(--line); }
body.dm-light .dm-selection-row button { background: #fff; color: var(--ink); border-color: #a99c84; }
body.dm-light .dm-selection-row button:hover { background: #faf2d9; border-color: #997221; }
body.dm-light .toast { background: #342914; color: #fff; box-shadow: 0 6px 25px #0003; }

/* The quotation form also needs field geometry: quote.css has dark-specific controls. */
body.dm-light .dm-quote-banner { background: #faf3df; color: var(--ink); border-color: #e5d7b3; }
body.dm-light .dm-quote-banner h2,
body.dm-light .dm-quote-intro h1,
body.dm-light .dm-quote-aside h2,
body.dm-light .dm-quote-aside strong,
body.dm-light .dm-quote-form legend,
body.dm-light .dm-quote-field,
body.dm-light .dm-quote-review h2,
body.dm-light .dm-quote-summary-row dd { color: var(--ink); }
body.dm-light .dm-quote-banner .eyebrow,
body.dm-light .dm-quote-intro .eyebrow,
body.dm-light .dm-quote-form .dm-step { color: #806016; }
body.dm-light .dm-quote-banner p:not(.eyebrow),
body.dm-light .dm-quote-intro p:not(.eyebrow),
body.dm-light .dm-quote-aside,
body.dm-light .dm-quote-review > p { color: #514838; }
body.dm-light .dm-quote-aside { border-top-color: #bc913f; }
body.dm-light .dm-quote-aside a,
body.dm-light .dm-quote-notice a { color: #75520b; }
body.dm-light .dm-quote-form fieldset { background: #fff; border-color: #d7ceb9; }
body.dm-light .dm-quote-field small,
body.dm-light .dm-quote-form .dm-field-help,
body.dm-light .dm-quote-form > small,
body.dm-light .dm-quote-actions + p,
body.dm-light .dm-quote-summary-row dt { color: #655e50; }
body.dm-light .dm-quote-form :is(input:not([type="radio"]):not([type="checkbox"]), select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid #a99c84;
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.45 var(--font, Lato, Arial, sans-serif);
}
body.dm-light .dm-quote-form textarea { resize: vertical; min-height: 110px; }
body.dm-light .dm-quote-form select { padding-right: 30px; cursor: pointer; }
body.dm-light .dm-quote-form :is(input, select, textarea):focus-visible { outline: 2px solid #936c12; outline-offset: 3px; border-color: #936c12; }
body.dm-light .dm-quote-form :is(input, select, textarea)[aria-invalid="true"] { border-color: #a33525; }
body.dm-light .dm-quote-choices label { background: #fff; color: var(--ink); border-color: #a99c84; }
body.dm-light .dm-quote-choices label:has(input:checked) { background: #faf0d0; border-color: #9d771d; }
body.dm-light .dm-quote-form :is(input[type="radio"], input[type="checkbox"]) { accent-color: #966a08; }
body.dm-light .dm-quote-notice { background: #faf3df; color: #594b30; border-left-color: #b18424; }
body.dm-light .dm-quote-error { background: #fff2ed; color: #872d20; border-color: #bd6a59; }
body.dm-light :is(.dm-quote-banner, .dm-quote-actions, .dm-quote-review-actions) .dm-cta {
  min-height: 48px;
  padding: 15px 25px;
  border: 1px solid var(--honey);
  border-radius: 30px;
  background: var(--honey);
  color: var(--dm-button-ink);
  font: 700 13px/1.35 var(--font, Lato, Arial, sans-serif);
  text-align: center;
  text-decoration: none;
}
body.dm-light :is(.dm-quote-banner, .dm-quote-actions, .dm-quote-review-actions) .dm-cta:hover { background: #e5b638; border-color: #e5b638; color: var(--dm-button-ink); }
body.dm-light .dm-quote-review-actions .dm-cta.secondary,
body.dm-light .dm-quote-review-actions .dm-cta--secondary { background: #fff; color: var(--ink); border-color: #9b8d70; }
body.dm-light .dm-quote-review-actions .dm-cta.secondary:hover,
body.dm-light .dm-quote-review-actions .dm-cta--secondary:hover { background: #faf2d9; border-color: #997221; }
body.dm-light .dm-quote-form label:has(> input[type="checkbox"]) { color: #514838; }
body.dm-light .dm-quote-review { background: #fff; border-color: #c4a460; }
body.dm-light .dm-quote-summary-row { border-color: var(--line); }

/* Faint Apulian api + Star Trek doodle background for light pages. */
body.dm-light {
  background-color: #fff;
  background-image: linear-gradient(rgba(255,255,255,.72), rgba(255,255,255,.72)), url('api-pattern-startrek.png');
  background-repeat: repeat;
  background-size: auto, 980px auto;
  background-attachment: scroll;
}
body.dm-light main,
body.dm-light.post-type-archive-product main,
body.dm-light.tax-product_cat main {
  background: transparent;
}

