.dwt-offer-grid, .dwt-supplier-list, .dwt-comparison-scroll {
  --offer-ink: #10263a;
  --offer-emerald: #185c49;
  --offer-copper: #b36c3e;
  --offer-line: #d6e3dc;
  box-sizing: border-box;
}
.dwt-offer-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 27px);
  padding: 24px 12px 32px;
}
.dwt-offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--offer-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 0 #e0e9e4, 0 14px 26px #10263a1a;
}
.dwt-offer > h3 {
  margin: 0;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(120deg, #103d35, #205f4d);
  font: 750 20px/1.3 "Segoe UI", sans-serif;
}
.dwt-offer:nth-child(2) > h3 { background: linear-gradient(120deg, #10293e, #245069); }
.dwt-offer:nth-child(3) > h3 { background: linear-gradient(120deg, #493128, #754422); }
.dwt-offer .dwt-offer-photo {
  width: 100%;
  display: block;
  aspect-ratio: 2.1;
  object-fit: cover;
  height: auto;
}
.dwt-offer-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding: 12px 15px;
  border: 1px solid #e6dccf;
  border-radius: 10px;
  background: #fcf7ee;
  color: var(--offer-ink);
}
.dwt-offer > .dwt-offer-price { margin: 15px 15px 12px; }
.dwt-offer-amount { font: 800 clamp(22px, 2.5vw, 35px)/1.2 "Segoe UI", sans-serif; white-space: nowrap; }
.dwt-offer-tax {
  padding: 4px 8px;
  border: 1px solid #c0d9cd;
  border-radius: 5px;
  background: #ebf6f0;
  color: #184f3c;
  font: 700 13px/1.3 "Segoe UI", sans-serif;
  white-space: nowrap;
}
#main-content .dwt-offer .dwt-offer-features {
  display: grid;
  align-content: start;
  gap: 6px;
  flex: 1;
  padding: 0 15px 14px;
  margin: 0;
  list-style: none;
  text-align: left;
}
#main-content .dwt-offer .dwt-offer-features > li {
  display: block;
  padding: 8px 10px;
  margin: 0;
  border: 1px solid #dfe8e2;
  border-radius: 6px;
  background: #f6faf8;
  color: #293e46;
  font: 550 15px/1.5 "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
.dwt-offer-features > li::before { content: none !important; }
.dwt-offer .dwt-offer-action {
  display: block;
  margin: 0 15px 16px;
  padding: 11px 13px;
  border-radius: 8px;
  background: #185c49;
  color: #fff;
  text-align: center;
  font-weight: 750;
}
.dwt-offer .dwt-offer-action:is(:hover, :focus-visible) { background: #123e34; text-decoration: underline; }
.dwt-comparison-scroll {
  overflow-x: auto;
  max-width: 100%;
  margin: 16px 0 26px;
  border: 1px solid var(--offer-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px #10263a16;
}
.dwt-comparison-scroll .dwt-offer-comparison { min-width: 700px; margin: 0; }
.dwt-offer-comparison :is(th, td) { border: 1px solid var(--offer-line); vertical-align: middle; }
.dwt-offer-comparison thead th { background: #143f35; color: #fff; padding: 12px; }
.dwt-offer-comparison .dwt-offer-price { margin-top: 5px; justify-content: center; }
.dwt-offer-comparison .dwt-offer-amount { font-size: 22px; }
.dwt-supplier-list {
  display: grid;
  gap: 18px;
  padding: 6px 2px 22px;
}
#main-content .dwt-supplier {
  display: grid;
  grid-template-columns: minmax(130px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 19px 25px;
  padding: clamp(14px, 2.2vw, 25px);
  border: 1px solid var(--offer-line);
  border-left: 4px solid var(--offer-emerald);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 21px #10263a1b;
}
#main-content .dwt-supplier .media-logo-container,
#main-content .dwt-supplier .media-content-wrapper {
  display: block;
  float: none;
  width: auto;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
}
#main-content .dwt-supplier .media-logo-container {
  display: grid;
  place-items: center;
  min-height: 100px;
  padding: 12px;
  border: 1px solid #e3e9e4;
  border-radius: 9px;
  background: #fbfdfc;
}
#main-content .dwt-supplier .media-logo-container img {
  display: block;
  width: 100%;
  height: 87px;
  object-fit: contain;
  border: 0;
}
#main-content .dwt-supplier .media-content-wrapper h3 {
  margin: 0 0 11px;
  padding: 0;
  color: #173e36;
  font: 750 clamp(19px, 2.4vw, 24px)/1.35 "Segoe UI", sans-serif;
  text-decoration: underline;
  text-decoration-color: var(--offer-copper);
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  background: none;
  -webkit-text-fill-color: currentColor;
}
#main-content .dwt-supplier .media-content-wrapper p {
  margin: 0 0 6px;
  color: #30424c;
  text-align: left;
  font: 400 16px/1.65 "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
#main-content .dwt-supplier .media-content-wrapper p:last-child { margin-bottom: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .dwt-offer { transition: transform .18s ease, box-shadow .18s ease; }
  .dwt-offer:is(:hover, :focus-within) { transform: translateY(-4px); box-shadow: 0 8px 0 #e0e9e4, 0 18px 30px #10263a22; }
}
@media (max-width: 990px) {
  .dwt-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .dwt-offer-grid, #main-content .dwt-supplier { grid-template-columns: minmax(0, 1fr); }
  #main-content .dwt-supplier .media-logo-container { width: min(100%, 200px); }
}
.dwt-offer > h3 { -webkit-text-fill-color: currentColor; }
#main-content .dwt-supplier-list:before,
#main-content .dwt-supplier-list:after { content: none; }

/* Package comparison and cell feedback */
#main-content :is(.digital-main, .digital-top):has(+ .dwt-offer-grid),
#main-content .digital-main:has(+ .digital-top .dwt-offer-comparison),
#main-content .digital-top:has(.dwt-offer-comparison) {
  box-sizing: border-box;
  float: none;
  display: block;
  clear: both;
  width: 100%;
  max-width: none;
}
#main-content .digital-main:has(+ :is(.dwt-offer-grid, .digital-top)) > :is(h2,h3) {
  float: none;
  display: block;
  width: 100%;
  max-width: none;
  padding: 12px 16px;
  margin-inline: 0;
  background: #eef6f2;
  color: #183c34;
  -webkit-text-fill-color: currentColor;
  text-align: center;
  overflow-wrap: anywhere;
}
#main-content .dwt-comparison-scroll .dwt-offer-comparison {
  display: table;
  width: 100%;
  max-width: none;
  border-collapse: collapse;
}
#main-content .dwt-offer-comparison thead { display: table-header-group; }
#main-content .dwt-offer-comparison tr { display: table-row; }
#main-content .dwt-offer-comparison :is(td, th) {
  display: table-cell;
  float: none;
  white-space: normal;
}
#main-content .dwt-offer-comparison thead th { background: #143f35; color: #fff; }
#main-content .dwt-offer-comparison .dwt-comparison-section td {
  background: #e1eee7;
  color: #143f35;
  text-align: center;
  font-weight: 750;
}
#main-content .dwt-offer-comparison tbody td:is(:hover, :focus-visible),
#main-content .dwt-offer .dwt-offer-features > li:is(:hover, :focus-visible) {
  background: #e8f6ed;
  box-shadow: inset 0 0 0 1px #6b9f83;
}
#main-content .dwt-offer-comparison thead th:is(:hover, :focus-visible) { background: #24614f; }
#main-content .dwt-offer-comparison tr:has(.dwt-item-selected) > td { background-color: #f0f7f3; }
#main-content .dwt-offer-comparison tbody td.dwt-item-selected,
#main-content .dwt-offer .dwt-offer-features > li.dwt-item-selected {
  background: #d0eadc;
  box-shadow: inset 0 0 0 2px #347763;
}
#main-content .dwt-offer-comparison thead th.dwt-item-selected {
  background: #216454;
  box-shadow: inset 0 0 0 2px #dbac8e;
}

/* Shared callback and contact details */
.dwt-contact-panel {
  padding: clamp(22px, 4vw, 50px) 0;
  background: #142d43;
  border-top: 3px solid #b9774e;
  font-family: "Segoe UI", sans-serif;
}
.dwt-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid #557180;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px #08162266;
}
.dwt-query-card {
  background: #fcfaf6;
  padding: clamp(15px, 3vw, 32px);
  min-width: 0;
}
.dwt-contact-panel h2, .dwt-contact-panel h3 {
  margin: 0 0 12px;
  font-family: inherit;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
}
.dwt-query-card h2 { color: #183f35; font-size: clamp(21px, 3vw, 30px); }
.dwt-query-card h2 i { color: #93471f; }
.dwt-query-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dwt-query-wide { grid-column: 1 / -1; }
.dwt-query-fields label { display: block; color: #223a45; font-size: 14px; font-weight: 650; }
.dwt-query-fields :is(input, textarea) {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid #b6c8c8;
  border-radius: 7px;
  padding: 8px 10px;
  background: #fff;
  color: #173043;
  font-size: 16px;
}
.dwt-query-fields textarea { resize: vertical; }
.dwt-query-card .dwt-captcha { margin: 12px 0; }
.dwt-query-submit {
  width: 100%;
  border: 0;
  border-radius: 7px;
  padding: 10px 14px;
  color: #fff;
  background: #185c49;
  font-weight: 750;
  font-size: 16px;
}
.dwt-query-submit:hover { background: #123e34; }
.dwt-query-status:not(:empty) { display: block; margin: 8px 0; color: #902f20; }
.dwt-contact-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #fff;
  padding: clamp(15px, 3vw, 32px);
  border-inline-start: 3px solid #c68a65;
  background: linear-gradient(145deg, #214e50, #152f47 75%);
}
.dwt-contact-details h2 { color: #fff; font-size: clamp(25px, 4vw, 38px); }
.dwt-contact-panel .dwt-contact-details p {
  color: #fff !important;
  text-align: left !important;
  font: 400 16px/1.55 "Segoe UI", sans-serif !important;
  margin: 0;
}
.dwt-contact-methods {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(min-content, 1fr);
  gap: 13px;
  margin-top: 18px;
}
.dwt-contact-method {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #557180;
  border-radius: 10px;
  background: #1d4053;
}
.dwt-contact-method:last-child { grid-column: 1 / -1; }
.dwt-contact-method > i { color: #ffc39d; margin-bottom: 8px; }
.dwt-contact-method h3 { color: #fff; font-size: 19px; }
.dwt-contact-method a { color: #fff; text-decoration: underline; overflow-wrap: anywhere; }
.dwt-contact-panel :focus-visible { outline: 2px solid #bc7c53; outline-offset: 2px; }
@media (max-width: 850px) {
  .dwt-contact-layout { grid-template-columns: minmax(0, 1fr); }
  .dwt-contact-details { border-inline-start: 0; border-top: 3px solid #c68a65; }
}
@media (max-width: 480px) {
  .dwt-query-fields, .dwt-contact-methods { grid-template-columns: minmax(0, 1fr); }
}
