/* Trailer Catalogue — Elementor widget defaults.
   Sensible baseline styles so the widgets read correctly before any Elementor
   styling is applied. Everything here is overridable from the Elementor panel. */

/* Gallery */
.ds-tw-gallery { display: flex; flex-direction: column; gap: 10px; }
.ds-tw-gallery__main img { display: block; width: 100%; height: auto; }
.ds-tw-gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ds-tw-gallery__thumb { display: block; line-height: 0; }
.ds-tw-gallery__thumb img { display: block; width: 100%; height: 78px; object-fit: cover; transition: box-shadow .15s ease; }

/* Price */
.ds-tw-price__row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.ds-tw-price__amount { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 42px; font-weight: 700; line-height: 1; color: #2a2e33; }
.ds-tw-price__finance { font-size: 14px; color: #5d656c; }
.ds-tw-price__disclaimer { margin: 6px 0 0; font-size: 13px; color: #5d656c; }

/* Specs */
.ds-tw-specs__heading,
.ds-tw-features__heading,
.ds-tw-options__heading { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; margin: 0 0 12px; }
.ds-tw-specs { border: 1px solid #d9dee2; border-radius: 8px; overflow: hidden; }
.ds-tw-specs__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 16px; font-size: 14.5px; }
.ds-tw-specs__row + .ds-tw-specs__row { border-top: 1px solid #d9dee2; }
.ds-tw-specs__k { color: #5d656c; }
.ds-tw-specs__v { color: #2a2e33; font-weight: 600; text-align: right; }

/* Features */
.ds-tw-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 8px; column-gap: 18px; }
.ds-tw-features__item { position: relative; padding-left: 24px; color: inherit; }
.ds-tw-features__item::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #80b040; font-weight: 700; }

/* Options */
.ds-tw-options { border: 0; }
.ds-tw-options__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 12px 0; }
.ds-tw-options__row + .ds-tw-options__row { border-top: 1px solid #d9dee2; }
.ds-tw-options__main { display: flex; flex-direction: column; gap: 2px; }
.ds-tw-options__name { font-weight: 600; color: #2a2e33; }
.ds-tw-options__desc { font-size: 13.5px; color: #5d656c; }
.ds-tw-options__price { white-space: nowrap; font-weight: 700; color: #6a9831; }

/* Enquire buttons */
.ds-tw-enquire { display: flex; gap: 12px; flex-wrap: wrap; }
.ds-tw-enquire__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; padding: 14px 28px; border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer; }
.ds-tw-enquire__primary { flex: 1 1 auto; background-color: #80b040; border-color: #80b040; color: #fff; }
.ds-tw-enquire__call { background: transparent; border-color: #1d2125; color: #1d2125; }

/* Generic field */
.ds-tw-field { margin: 0; }
.ds-tw-field--description p { margin: 0 0 1em; }
.ds-tw-field--tagline { color: #5d656c; }

/* Editor-only hint (never shown on the live site) */
.ds-tw-hint { padding: 10px 14px; border: 1px dashed #aeb6bc; border-radius: 6px; color: #6b7480; font-size: 13px; background: repeating-linear-gradient(45deg, #f3f5f6 0 14px, #eef1f2 14px 28px); }

/* ===== v1.6.0: gallery swap + viewer, specs groups/tabs/accordion ===== */

/* Gallery thumbnails as buttons */
.ds-tw-gallery__thumb { -webkit-appearance: none; appearance: none; margin: 0; padding: 0 !important; border: 0 !important; background-color: transparent !important; box-shadow: none; min-width: 0; min-height: 0; line-height: 0; width: 100%; display: block; cursor: pointer; }
.ds-tw-gallery__thumb img { transition: box-shadow .15s ease, opacity .15s ease; width: 100%; }
.ds-tw-gallery__thumb:hover img { box-shadow: 0 0 0 2px #7FB438; }
/* Active thumb = the one currently shown as the main image: greyed out */
.ds-tw-gallery__thumb.is-active { cursor: default; }
.ds-tw-gallery__thumb.is-active img { opacity: .45; }
.ds-tw-gallery__main-link { display: block; cursor: zoom-in; }
.ds-tw-gallery[data-viewer="0"] .ds-tw-gallery__main-link { cursor: default; }

/* Specs — grouped */
.ds-tw-specs-group + .ds-tw-specs-group { margin-top: 18px; }
.ds-tw-specs__group-title { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 20px; margin: 0 0 8px; }

/* Specs — accordion (native details) */
.ds-tw-specs-acc__item { border: 1px solid #EAEAEA; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.ds-tw-specs-acc__summary { cursor: pointer; list-style: none; padding: 12px 16px; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: space-between; }
.ds-tw-specs-acc__summary::-webkit-details-marker { display: none; }
.ds-tw-specs-acc__summary::after { content: "+"; font-size: 22px; line-height: 1; color: #72797E; }
.ds-tw-specs-acc__item[open] .ds-tw-specs-acc__summary::after { content: "\2212"; }
.ds-tw-specs-acc__item .ds-tw-specs { border: 0; border-top: 1px solid #EAEAEA; border-radius: 0; }

/* Specs — tabs */
.ds-tw-specs-tabs__nav { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #EAEAEA; margin-bottom: 12px; }
.ds-tw-specs-tabs__tab { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 14px; margin-bottom: -1px; cursor: pointer; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 18px; color: #292E32; }
.ds-tw-specs-tabs__tab.is-active { color: #6A9A2D; border-bottom-color: #7FB438; }
.ds-tw-specs-tabs__panel { display: none; }
.ds-tw-specs-tabs__panel.is-active { display: block; }

/* Fullscreen viewer */
.ds-tw-viewer { position: fixed; inset: 0; z-index: 99999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.9); }
.ds-tw-viewer.is-open { display: flex; }
.ds-tw-viewer__img { max-width: 90vw; max-height: 86vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.ds-tw-viewer__close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }
.ds-tw-viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 0; color: #fff; font-size: 40px; line-height: 1; width: 56px; height: 72px; cursor: pointer; }
.ds-tw-viewer__nav:hover { background: rgba(255,255,255,.22); }
.ds-tw-viewer__prev { left: 12px; }
.ds-tw-viewer__next { right: 12px; }
.ds-tw-viewer__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; letter-spacing: .04em; }
@media (max-width: 600px) { .ds-tw-viewer__nav { width: 44px; height: 60px; font-size: 30px; } }

/* ===== v1.7.0: gallery video, viewer video, selectable options ===== */

/* Video play badge (thumb + video-only main) */
.ds-tw-gallery__thumb--video,
.ds-tw-gallery__main-link--video { position: relative; }
.ds-tw-gallery__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.ds-tw-gallery__play::after { content: "\25B6"; color: #fff; background: rgba(0,0,0,.55); width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; padding-left: 3px; }
.ds-tw-gallery__main-link--video .ds-tw-gallery__play::after { width: 64px; height: 64px; font-size: 24px; }

/* Viewer: video stage */
.ds-tw-viewer__stage { display: flex; align-items: center; justify-content: center; width: 90vw; max-width: 1100px; }
.ds-tw-viewer__video { display: none; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.ds-tw-viewer__video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Selectable options */
.ds-tw-options__row--pick { cursor: pointer; align-items: flex-start; }
.ds-tw-options__check { margin-top: 3px; }
.ds-tw-options__check { flex: 0 0 auto; width: 18px; height: 18px; margin-right: 12px; accent-color: #7FB438; }
.ds-tw-options__enquire { display: inline-flex; align-items: center; justify-content: center; margin-top: 16px; font-weight: 600; padding: 14px 28px; border-radius: 6px; border: 2px solid #7FB438; background: #7FB438; color: #fff; text-decoration: none; }
.ds-tw-options__enquire:hover { filter: brightness(.95); }

/* ===== v1.9.0: Trailer Grid + filter bar ===== */
.ds-tw-grid-wrap { display: flex; flex-direction: column; gap: 18px; }
.ds-tw-filterbar { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.ds-tw-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ds-tw-chip { -webkit-appearance: none; appearance: none; cursor: pointer; font-weight: 600; font-size: 14px; padding: 8px 16px !important; border-radius: 99px !important; border: 1px solid #d9dee2 !important; background-color: #fff !important; color: #2a2e33 !important; line-height: 1; }
.ds-tw-chip.is-active { background-color: #7FB438 !important; border-color: #7FB438 !important; color: #fff !important; }
.ds-tw-filterbar__tools { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.ds-tw-filter-search { padding: 9px 12px; border: 1px solid #d9dee2; border-radius: 6px; font-size: 14px; min-width: 160px; }
.ds-tw-filter-sort { padding: 9px 12px; border: 1px solid #d9dee2; border-radius: 6px; font-size: 14px; background: #fff; }
.ds-tw-filterbar__count { font-size: 13px; color: #72797E; }

.ds-tw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ds-tw-card { display: flex; flex-direction: column; border: 1px solid #EAEAEA; border-radius: 10px; overflow: hidden; text-decoration: none !important; color: inherit !important; background: #fff; transition: box-shadow .15s ease, transform .15s ease; }
.ds-tw-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,.10); transform: translateY(-2px); }
.ds-tw-card__media { display: block; aspect-ratio: 16 / 10; background: #f1f3f4; overflow: hidden; }
.ds-tw-card__img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block; }
.ds-tw-card__noimg { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #e6eaed 0 14px, #dde2e6 14px 28px); }
.ds-tw-card__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; }
.ds-tw-card__title { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 20px; line-height: 1.1; color: #292E32; }
.ds-tw-card__subtitle { font-size: 13.5px; color: #72797E; }
.ds-tw-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; gap: 10px; }
.ds-tw-card__price { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 22px; font-weight: 700; color: #292E32; }
.ds-tw-card__cta { font-size: 13.5px; font-weight: 600; color: #6A9A2D; white-space: nowrap; }
.ds-tw-grid__empty { color: #72797E; padding: 24px 0; }
@media (max-width: 1024px) { .ds-tw-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ds-tw-grid { grid-template-columns: 1fr; } .ds-tw-filterbar__tools { margin-left: 0; width: 100%; } }

/* ===== v1.11.0: selling points ===== */
.ds-tw-points__heading { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; margin: 0 0 12px; }
.ds-tw-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ds-tw-points__item { position: relative; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.ds-tw-points__item::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background-color: #7FB438; }
.ds-tw-points__headline { font-weight: 700; color: #292E32; }
.ds-tw-points__blurb { font-size: 14px; color: #5d656c; }
@media (max-width: 600px) { .ds-tw-points { grid-template-columns: 1fr; } }

/* Trailer grid — Show more (load-more) */
.ds-tw-loadmore-wrap { text-align: center; margin-top: 24px; }
.ds-tw-loadmore {
	display: inline-block;
	cursor: pointer;
	border: none;
	border-radius: 6px;
	background-color: #7FB438;
	color: #fff;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.2;
	padding: 13px 30px;
	transition: opacity .15s ease, background-color .15s ease;
}
.ds-tw-loadmore:hover { opacity: .9; }
.ds-tw-loadmore[hidden] { display: none; }

/* Smaller card title (v1.14) */
.ds-tw-card__title { font-size: 16px; line-height: 1.25; }

/* Left-sidebar filter layout (car-sales style) */
.ds-tw-chips__label { display: none; }
.ds-tw-grid-wrap.is-sidebar { display: flex; flex-direction: row; align-items: flex-start; gap: 28px; }
.ds-tw-grid-wrap.is-sidebar .ds-tw-filterbar { flex: 0 0 230px; width: 230px; flex-direction: column; align-items: stretch; gap: 20px; position: sticky; top: 20px; }
.ds-tw-grid-wrap.is-sidebar .ds-tw-results { flex: 1 1 auto; min-width: 0; }
.ds-tw-grid-wrap.is-sidebar .ds-tw-chips { flex-direction: column; align-items: stretch; gap: 6px; }
.ds-tw-grid-wrap.is-sidebar .ds-tw-chips__label { display: block; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: #292E32; margin-bottom: 4px; }
.ds-tw-grid-wrap.is-sidebar .ds-tw-chip { text-align: left; }
.ds-tw-grid-wrap.is-sidebar .ds-tw-filterbar__tools { flex-direction: column; align-items: stretch; gap: 10px; }
@media (max-width: 880px) {
	.ds-tw-grid-wrap.is-sidebar { flex-direction: column; }
	.ds-tw-grid-wrap.is-sidebar .ds-tw-filterbar { width: auto; flex: none; position: static; }
	.ds-tw-grid-wrap.is-sidebar .ds-tw-chips { flex-direction: row; flex-wrap: wrap; }
	.ds-tw-grid-wrap.is-sidebar .ds-tw-chips__label { width: 100%; }
}

/* Trailer grid — results summary + reset (v1.15.0) */
.ds-tw-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 18px; padding: 11px 16px; background: #F8F8F8; border: 1px solid #EAEAEA; border-radius: 8px; }
.ds-tw-summary__txt { font-weight: 600; color: #292E32; font-size: 15px; line-height: 1.3; }
.ds-tw-summary__reset { -webkit-appearance: none; appearance: none; cursor: pointer; border: 1px solid #d9dee2; background: #fff; color: #292E32 !important; font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: 6px; white-space: nowrap; }
.ds-tw-summary__reset:hover { border-color: #7FB438; color: #6A9A2D !important; }
.ds-tw-summary__reset[hidden] { display: none; }

/* Trailer grid — search at top, size dropdown, sort in summary (v1.16.0) */
.ds-tw-filter-search { -webkit-appearance: none; appearance: none; border: 1px solid #d9dee2; border-radius: 6px; padding: 9px 12px; font-size: 14px; background: #fff; color: #2a2e33; }
.ds-tw-grid-wrap.is-sidebar .ds-tw-filter-search { width: 100%; }

.ds-tw-dd { position: relative; }
.ds-tw-dd__btn { -webkit-appearance: none; appearance: none; cursor: pointer; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid #d9dee2; background: #fff; color: #2a2e33 !important; font-weight: 600; font-size: 14px; padding: 9px 12px; border-radius: 6px; text-align: left; }
.ds-tw-dd.is-active .ds-tw-dd__btn { border-color: #7FB438; color: #6A9A2D !important; }
.ds-tw-dd__caret { font-size: 11px; color: #72797E; }
.ds-tw-dd__panel { position: absolute; z-index: 20; top: calc(100% + 4px); left: 0; right: 0; max-height: 260px; overflow: auto; background: #fff; border: 1px solid #EAEAEA; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px; }
.ds-tw-dd__panel[hidden] { display: none; }
.ds-tw-dd__opt { display: flex; align-items: center; gap: 8px; padding: 7px 8px; font-size: 14px; color: #2a2e33; cursor: pointer; border-radius: 5px; }
.ds-tw-dd__opt:hover { background: #F8F8F8; }
.ds-tw-dd__opt input { accent-color: #7FB438; }

.ds-tw-summary__tools { display: flex; align-items: center; gap: 10px; }
.ds-tw-summary__tools .ds-tw-filter-sort { border: 1px solid #d9dee2; border-radius: 6px; padding: 7px 10px; font-size: 13px; background: #fff; color: #2a2e33; }

/* Size dropdown button — override theme kit button colours (v1.16.1) */
.ds-tw-dd__btn, .ds-tw-dd__btn:hover, .ds-tw-dd__btn:focus, .ds-tw-dd__btn:active { background-color: #fff !important; color: #2a2e33 !important; box-shadow: none !important; }
.ds-tw-dd.is-active .ds-tw-dd__btn { color: #6A9A2D !important; border-color: #7FB438 !important; }

/* ===== Merchandising — badges, promo pricing, sale/best-seller toggles (v1.17.0) ===== */
.ds-tw-card__media { position: relative; }
.ds-tw-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; z-index: 2; pointer-events: none; }
.ds-tw-badge { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .02em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.ds-tw-badge--bestseller { background: #1d6f42; }
.ds-tw-badge--promo { background: #c8102e; }
.ds-tw-badge--new { background: #2271b1; }

.ds-tw-price__was { text-decoration: line-through; color: #9aa0a6; font-weight: 500; margin-right: 6px; }
.ds-tw-price__now--promo, .ds-tw-price__amount--promo { color: #c8102e !important; }
.ds-tw-price__save { display: inline-block; background: #fdecee; color: #c8102e; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 4px; margin-left: 6px; white-space: nowrap; }

.ds-tw-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.ds-tw-flags .ds-tw-chips__label { width: 100%; }
.ds-tw-flag { cursor: pointer; border: 1px solid #d8d8d8; background: #fff !important; color: #2a2e33 !important; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; line-height: 1; }
.ds-tw-flag.is-active { background: #7FB438 !important; border-color: #7FB438 !important; color: #fff !important; }

/* ===== Mobile: collapsible filters (v1.17.7) ===== */
.ds-tw-filtertoggle { display: none; }
@media (max-width: 880px) {
	.ds-tw-filtertoggle { display: block; width: 100%; cursor: pointer; border: 1px solid #d9dee2; background: #fff; color: #292E32; font-weight: 700; font-size: 15px; padding: 12px 16px; border-radius: 8px; text-align: left; }
	.ds-tw-filtertoggle::after { content: "▾"; float: right; color: #72797E; }
	.ds-tw-filtertoggle[aria-expanded="true"]::after { content: "▴"; }
	.ds-tw-grid-wrap .ds-tw-filterbar { display: none; }
	.ds-tw-grid-wrap.is-filters-open .ds-tw-filterbar { display: flex; margin-top: 12px; }
	.ds-tw-summary { padding: 10px 12px; }
	.ds-tw-summary__txt { font-size: 13.5px; }
}

/* Grid section heading (v1.17.8) */
.ds-tw-grid-heading { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; font-size: 26px; line-height: 1.1; color: #292E32; margin: 0 0 16px; }

/* Trailer Categories & Uses chips (v1.17.9) */
.ds-tw-terms { display: flex; flex-direction: column; gap: 8px; }
.ds-tw-terms__group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ds-tw-terms__label { font-size: 13px; font-weight: 700; color: #72797E; text-transform: uppercase; letter-spacing: .03em; margin-right: 2px; }
.ds-tw-terms__chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ds-tw-term { display: inline-block; font-size: 13px; font-weight: 600; color: #2a2e33; background: #F1F3F4; border: 1px solid #e3e7ea; border-radius: 999px; padding: 5px 12px; text-decoration: none !important; line-height: 1.15; transition: background .15s ease, color .15s ease, border-color .15s ease; }
a.ds-tw-term:hover { background: #7FB438; border-color: #7FB438; color: #fff !important; }

/* ===== Admin quick-edit tools (editors only) (v1.18.0) ===== */
.ds-tw-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 12px; margin: 0 0 4px; border: 1px dashed #e0a800; background: #fff8e5; border-radius: 8px; font-size: 13px; }
.ds-tw-admin__label { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #a6791a; font-size: 11px; }
.ds-tw-admin__btn { text-decoration: none !important; color: #2a2e33 !important; background: #fff; border: 1px solid #e3d6a8; border-radius: 6px; padding: 5px 10px; font-weight: 600; line-height: 1.2; }
.ds-tw-admin__btn:hover { border-color: #e0a800; }
.ds-tw-admin__toggle { cursor: pointer; -webkit-appearance: none; appearance: none; border: 1px solid #d9dee2; background: #fff; color: #2a2e33; border-radius: 999px; padding: 5px 12px; font-weight: 600; font-size: 13px; line-height: 1.2; }
.ds-tw-admin__toggle.is-on { background: #1d6f42; border-color: #1d6f42; color: #fff; }
.ds-tw-admin__toggle[data-flag="new"].is-on { background: #2271b1; border-color: #2271b1; }
.ds-tw-admin__toggle[disabled] { opacity: .5; cursor: default; }
.ds-tw-editlink { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: #a6791a !important; text-decoration: none !important; border: 1px dashed #e0a800; border-radius: 5px; padding: 1px 7px; vertical-align: middle; }
.ds-tw-editlink:hover { background: #fff8e5; }

/* ===== Inline editor panels (editors only) (v1.18.1) ===== */
.ds-tw-edit { margin-top: 6px; }
.ds-tw-edit-toggle { cursor: pointer; font-size: 12px; font-weight: 600; color: #a6791a; background: #fff8e5; border: 1px dashed #e0a800; border-radius: 5px; padding: 3px 9px; }
.ds-tw-edit-panel { margin-top: 8px; padding: 12px 14px; border: 1px dashed #e0a800; background: #fffdf5; border-radius: 8px; max-width: 380px; }
.ds-tw-edit-panel[hidden] { display: none; }
.ds-tw-edit-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ds-tw-edit-row label { flex: 0 0 90px; font-size: 12px; font-weight: 600; color: #5d656c; }
.ds-tw-edit-row input[type="text"], .ds-tw-edit-row input[type="number"], .ds-tw-edit-row input[type="date"] { flex: 1; min-width: 0; padding: 6px 8px; border: 1px solid #d9dee2; border-radius: 6px; font-size: 14px; }
.ds-tw-edit-money { display: flex; align-items: center; gap: 4px; flex: 1; }
.ds-tw-edit-money span { color: #72797E; }
.ds-tw-edit-money input { flex: 1; }
.ds-tw-edit-sep { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #a6791a; margin: 12px 0 6px; }
.ds-tw-edit-checks { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ds-tw-edit-checks label { display: flex; align-items: center; gap: 5px; font-size: 13px; color: #2a2e33; font-weight: 500; }
.ds-tw-edit-actions { display: flex; gap: 8px; margin-top: 12px; }
.ds-tw-edit-save { cursor: pointer; background: #7FB438; color: #fff; border: none; border-radius: 6px; padding: 7px 18px; font-weight: 600; font-size: 14px; }
.ds-tw-edit-save[disabled] { opacity: .6; cursor: default; }
.ds-tw-edit-cancel { cursor: pointer; background: #fff; color: #2a2e33; border: 1px solid #d9dee2; border-radius: 6px; padding: 7px 14px; font-weight: 600; font-size: 14px; }
.ds-tw-admin__hint { font-size: 11px; color: #a6791a; }

/* Inline rich-text (description) editor (v1.18.2) */
.ds-tw-edit--rte .ds-tw-edit-panel { max-width: 560px; }
.ds-tw-rte-toolbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.ds-tw-rte-toolbar button { cursor: pointer; background: #fff; border: 1px solid #d9dee2; border-radius: 5px; padding: 4px 9px; font-size: 13px; line-height: 1; color: #2a2e33; }
.ds-tw-rte-toolbar button:hover { border-color: #7FB438; }
.ds-tw-rte { min-height: 120px; max-height: 340px; overflow: auto; padding: 10px 12px; border: 1px solid #d9dee2; border-radius: 6px; background: #fff; font-size: 14px; line-height: 1.55; color: #2a2e33; }
.ds-tw-rte:focus { outline: 2px solid #7FB438; outline-offset: 0; }
.ds-tw-rte p { margin: 0 0 10px; }
.ds-tw-rte ul, .ds-tw-rte ol { margin: 0 0 10px 20px; }

/* Inline options editor (v1.19.0) */
.ds-tw-edit--opts .ds-tw-edit-panel { max-width: 460px; }
.ds-tw-opt-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid #f0ece0; }
.ds-tw-opt-row__main { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #2a2e33; font-weight: 500; flex: 1; }
.ds-tw-opt-row__dp { color: #72797E; font-weight: 400; }
.ds-tw-opt-row__ov { font-size: 12px; color: #72797E; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.ds-tw-opt-row__ov input { width: 70px; padding: 4px 6px; border: 1px solid #d9dee2; border-radius: 5px; font-size: 13px; }
.ds-tw-edit-note, .ds-tw-edit-empty { font-size: 11px; color: #a6791a; margin: 8px 0 0; }

/* Force white text on green enquire buttons (override theme link colour). */
.ds-tw-enquire__primary,.ds-tw-enquire__primary:link,.ds-tw-enquire__primary:visited,.ds-tw-options__enquire{color:#fff !important;}
