:root {
  --twffer-brand-950: #740d20;
  --twffer-brand-900: #8c1027;
  --twffer-brand-800: #a10f2c;
  --twffer-brand-700: #b31334;
  --twffer-ink-950: #171719;
  --twffer-ink-800: #333337;
  --twffer-ink-600: #69696f;
  --twffer-ink-500: #808086;
  --twffer-line: #dedee2;
  --twffer-line-soft: #ececef;
  --twffer-surface-soft: #f8f8f9;
  --twffer-warning: #c96800;
}

body {
  min-width: 320px;
  background: #fff;
  color: var(--twffer-ink-950);
}

#site-header.twffer-site-header,
.twffer-main,
#site-footer.twffer-site-footer {
  font-family: "Roboto", Arial, sans-serif;
}

.rtl #site-header.twffer-site-header,
.rtl .twffer-main,
.rtl #site-footer.twffer-site-footer {
  font-family: "HelveticaNeueLTW", Arial, sans-serif;
}

#site-header.twffer-site-header *,
.twffer-main *,
#site-footer.twffer-site-footer * {
  box-sizing: border-box;
}

.twffer-header-inner:before,
.twffer-header-inner:after,
.twffer-category-nav-inner:before,
.twffer-category-nav-inner:after,
.twffer-footer-inner:before,
.twffer-footer-inner:after {
  display: none !important;
  content: none !important;
}

#site-header.twffer-site-header {
  position: relative;
  z-index: 20;
}

.twffer-header-main {
  background: var(--twffer-brand-900);
  color: #fff;
}

.twffer-header-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: 196px minmax(360px, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.twffer-brand {
  width: 178px;
  height: 68px;
  display: inline-flex;
  align-items: center;
}

.twffer-brand img {
  width: 168px;
  height: 60px;
  display: block;
  object-fit: contain;
}

.twffer-header-search {
  min-width: 0;
  height: 54px;
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) 1px auto;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0 18px;
  border-radius: 6px;
  background: #fff;
  color: var(--twffer-ink-800);
}

.twffer-header-search > .fa-search {
  color: var(--twffer-brand-800);
  font-size: 20px;
}

.twffer-header-search input {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--twffer-ink-950);
  font-size: 14px;
}

.twffer-header-search input::placeholder {
  color: #77777d;
  opacity: 1;
}

.twffer-search-divider {
  width: 1px;
  height: 32px;
  background: var(--twffer-line);
}

.twffer-location {
  min-width: 88px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--twffer-brand-800);
  font-weight: 600;
}

.twffer-header-actions {
  display: flex !important;
  align-items: center;
  gap: 12px;
}

.twffer-header-actions > a,
.twffer-profile > a {
  white-space: nowrap;
  text-decoration: none;
}

.twffer-language {
  padding: 14px 8px;
  color: #fff;
  font-weight: 600;
}

.twffer-language:hover,
.twffer-language:focus {
  color: #fff;
}

.twffer-action {
  min-height: 50px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #fff;
  border-radius: 5px;
  font-weight: 600;
}

.twffer-action-primary {
  background: #fff;
  color: var(--twffer-brand-900);
}

.twffer-action-outline {
  background: transparent;
  color: #fff;
}

.twffer-action-primary:hover,
.twffer-action-primary:focus {
  color: var(--twffer-brand-900);
  background: #f8eef1;
}

.twffer-action-outline:hover,
.twffer-action-outline:focus {
  color: #fff;
  background: rgba(255,255,255,.1);
}

.twffer-profile .dropdown-menu {
  inset-inline-end: 0;
  inset-inline-start: auto;
}

.twffer-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 5px;
  background: transparent;
  color: #fff;
  font-size: 19px;
}

.twffer-category-nav {
  border-bottom: 1px solid var(--twffer-line);
  background: #fff;
}

.twffer-category-nav-inner {
  min-height: 70px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

.twffer-category-nav-inner::-webkit-scrollbar {
  display: none;
}

.twffer-category-link {
  position: relative;
  min-width: 118px;
  flex: 1 0 118px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-inline-end: 1px solid var(--twffer-line-soft);
  color: var(--twffer-ink-600);
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
}

.twffer-category-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.twffer-category-link > .fa {
  color: currentColor;
  font-size: 20px;
}

.twffer-category-link:after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  background: transparent;
}

.twffer-category-link:hover,
.twffer-category-link:focus,
.twffer-category-link.is-active {
  color: var(--twffer-brand-800);
  text-decoration: none;
}

.twffer-category-link.is-active:after {
  background: var(--twffer-brand-800);
}

.twffer-main {
  padding: 32px 0 72px;
}

.twffer-section-heading,
.twffer-subsection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.twffer-section-heading {
  min-height: 38px;
  margin-bottom: 5px;
}

.twffer-section-heading h1,
.twffer-subsection-heading h2 {
  margin: 0;
  color: var(--twffer-brand-800);
  letter-spacing: -.02em;
}

.twffer-section-heading h1 {
  font-size: 26px;
}

.twffer-section-heading p {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--twffer-brand-800);
  font-size: 14px;
  font-weight: 500;
}

.twffer-discovery-filters {
  min-height: 64px;
  margin: 0 0 18px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--twffer-line);
  border-radius: 6px;
  background: #fff;
}

.twffer-filter-control {
  min-width: 205px;
  height: 40px;
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  color: var(--twffer-ink-600);
  font-weight: 400;
}

.twffer-filter-control select,
.twffer-sort-control select {
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--twffer-ink-600);
  font-size: 13px;
}

.twffer-sort-control {
  height: 42px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--twffer-ink-500);
  font-size: 12px;
  font-weight: 400;
}

.twffer-sort-control select {
  min-width: 132px;
  height: 40px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--twffer-line);
  border-radius: 4px;
  background: #fff;
}

.rtl .twffer-sort-control select {
  padding: 0 13px 0 34px;
}

.twffer-sort-control .fa-angle-down {
  margin-inline-start: -34px;
  margin-inline-end: 13px;
  pointer-events: none;
}

.twffer-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 24px;
}

.twffer-offer-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--twffer-line);
  border-radius: 5px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.twffer-offer-card:hover {
  border-color: #bfc0c5;
  box-shadow: 0 12px 30px rgba(30,21,24,.08);
  transform: translateY(-2px);
}

.twffer-offer-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.twffer-offer-card-link:hover,
.twffer-offer-card-link:focus {
  color: inherit;
  text-decoration: none;
}

.twffer-offer-media {
  height: 350px;
  overflow: hidden;
  border-bottom: 1px solid var(--twffer-line);
  background: var(--twffer-surface-soft);
}

.twffer-offer-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.twffer-offer-body {
  min-height: 132px;
  padding: 14px;
}

.twffer-offer-merchant {
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--twffer-ink-800);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.twffer-offer-card h3 {
  min-height: 42px;
  margin: 0 0 10px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--twffer-ink-950);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.twffer-offer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--twffer-ink-600);
  font-size: 12px;
}

.twffer-offer-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.twffer-offer-meta .fa {
  color: var(--twffer-brand-700);
}

.twffer-offer-meta .is-urgent {
  color: var(--twffer-warning);
  font-weight: 600;
}

.twffer-offer-meta .is-urgent .fa {
  color: var(--twffer-warning);
}

.twffer-grid-ad {
  grid-column: 1 / -1;
  min-height: 1px;
  overflow: hidden;
  text-align: center;
}

.twffer-pagination {
  margin-top: 28px;
  text-align: center;
}

.twffer-expiring-section {
  margin-top: 36px;
}

.twffer-subsection-heading {
  min-height: 42px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--twffer-line);
}

.twffer-subsection-heading h2 {
  padding-bottom: 10px;
  font-size: 20px;
}

.twffer-subsection-heading a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--twffer-ink-600);
  font-size: 12px;
}

.twffer-offer-grid-compact .twffer-offer-media {
  height: 230px;
}

#site-footer.twffer-site-footer {
  min-height: 132px;
  padding: 28px 0;
  background: var(--twffer-brand-950);
  color: #fff;
}

.twffer-footer-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 34px;
}

.twffer-footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.twffer-footer-brand img {
  width: 112px;
  height: 42px;
  object-fit: contain;
}

.twffer-footer-brand p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 12px;
}

.twffer-footer-links,
.twffer-footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.twffer-footer-links a,
.twffer-footer-social a {
  color: #fff;
  font-size: 12px;
}

.twffer-footer-social a {
  font-size: 16px;
}

.twffer-site-header a:focus-visible,
.twffer-main a:focus-visible,
.twffer-main select:focus-visible,
.twffer-site-footer a:focus-visible,
.twffer-menu-toggle:focus-visible {
  outline: 3px solid rgba(255,255,255,.4);
  outline-offset: 3px;
}

.twffer-main a:focus-visible,
.twffer-main select:focus-visible {
  outline-color: rgba(179,19,52,.28);
}

.twffer-products-page,
.twffer-product-detail-page,
.twffer-catalog-admin {
  background: #fff;
}

.twffer-product-heading {
  min-height: 96px;
  margin-bottom: 18px;
  padding-bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--twffer-line-soft);
}

.twffer-product-heading h1 {
  margin: 0 0 6px;
  color: var(--twffer-ink-950);
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.twffer-product-heading p {
  margin: 0;
  color: var(--twffer-ink-600);
  font-size: 13px;
}

.twffer-product-heading .twffer-product-eyebrow {
  margin-bottom: 6px;
  color: var(--twffer-brand-800);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.twffer-product-heading > strong {
  padding-bottom: 3px;
  color: var(--twffer-brand-800);
  font-size: 13px;
  white-space: nowrap;
}

.twffer-trending-products {
  min-height: 58px;
  margin-bottom: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--twffer-line-soft);
  background: var(--twffer-surface-soft);
}

.twffer-trending-products > strong {
  color: var(--twffer-brand-800);
  font-size: 12px;
  white-space: nowrap;
}

.twffer-trending-products > strong .fa {
  margin-inline-end: 6px;
}

.twffer-trending-products > div {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.twffer-trending-products > div::-webkit-scrollbar {
  display: none;
}

.twffer-trending-products a {
  min-height: 32px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--twffer-line-soft);
  border-radius: 999px;
  background: #fff;
  color: var(--twffer-ink-600);
  font-size: 12px;
  white-space: nowrap;
}

.twffer-trending-products a:hover,
.twffer-trending-products a.is-active {
  border-color: var(--twffer-brand-800);
  color: var(--twffer-brand-800);
}

.twffer-product-filters {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--twffer-line-soft);
  border-radius: 0;
  background: #fff;
}

.twffer-product-search button,
.twffer-product-filter-actions button,
.twffer-admin-filters button,
.twffer-extraction-row button,
.twffer-admin-product-actions button,
.twffer-admin-review-actions button {
  border: 0;
  border-radius: 5px;
  background: var(--twffer-brand-900);
  color: #fff;
  font-weight: 700;
}

.twffer-product-filter-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr .7fr .7fr 1.1fr auto;
  align-items: end;
  gap: 12px;
  margin-top: 0;
}

.twffer-product-filter-grid label,
.twffer-admin-field-grid label {
  margin: 0;
}

.twffer-product-filter-grid label > span,
.twffer-admin-field-grid label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--twffer-ink-600);
  font-size: 12px;
  font-weight: 700;
}

.twffer-product-filter-grid select,
.twffer-product-filter-grid input,
.twffer-admin-filters input,
.twffer-admin-filters select,
.twffer-admin-field-grid input,
.twffer-admin-field-grid select {
  width: 100%;
  height: 42px;
  padding: 0 11px;
  border: 1px solid #d3d3d7;
  border-radius: 5px;
  background: #fff;
  color: var(--twffer-ink-950);
}

.twffer-product-filter-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.twffer-product-filter-actions button,
.twffer-admin-filters button {
  min-height: 42px;
  padding: 0 15px;
}

.twffer-product-filter-actions a {
  color: var(--twffer-brand-800);
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.twffer-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.twffer-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--twffer-line-soft);
  border-radius: 5px;
  background: #fff;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.twffer-product-card:hover {
  border-color: #bfc0c5;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(30, 21, 24, .08);
}

.twffer-product-media,
.twffer-product-detail-media,
.twffer-admin-product-preview {
  position: relative;
  display: block;
  overflow: hidden;
  background: #f2f2f4;
}

.twffer-product-media {
  aspect-ratio: 1;
  border-bottom: 1px solid var(--twffer-line-soft);
}

.twffer-product-media img,
.twffer-product-detail-media img,
.twffer-admin-product-preview img {
  position: absolute;
  max-width: none;
  height: auto;
}

.twffer-product-discount {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 1;
  padding: 6px 9px;
  border-radius: 4px;
  background: var(--twffer-brand-900);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.twffer-product-body {
  min-height: 178px;
  padding: 15px 15px 16px;
}

.twffer-product-retailer {
  margin: 0 0 9px;
  overflow: hidden;
  color: var(--twffer-ink-600);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.twffer-product-body h2 {
  min-height: 42px;
  margin: 0 0 9px;
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.twffer-product-body h2 a {
  color: var(--twffer-ink-950);
}

.twffer-product-brand {
  margin: -4px 0 9px;
  color: var(--twffer-ink-600);
  font-size: 11px;
}

.twffer-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.twffer-product-price-row strong,
.twffer-product-detail-price strong {
  color: var(--twffer-brand-900);
  font-size: 21px;
}

.twffer-product-price-row strong small,
.twffer-product-detail-price strong small {
  font-size: 12px;
}

.twffer-product-price-row del,
.twffer-product-detail-price del {
  color: var(--twffer-ink-500);
  font-size: 12px;
}

.twffer-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--twffer-line-soft);
  color: var(--twffer-ink-600);
  font-size: 10px;
}

.twffer-empty-products {
  padding: 56px 20px;
  border: 1px dashed #cfcfd4;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.twffer-empty-products .fa {
  margin-bottom: 14px;
  color: var(--twffer-brand-800);
  font-size: 32px;
}

.twffer-empty-products h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.twffer-pagination {
  margin-top: 28px;
  text-align: center;
}

.twffer-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--twffer-brand-800);
  font-weight: 700;
}

.twffer-product-detail {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(420px, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--twffer-line-soft);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 12, 15, .07);
}

.twffer-product-detail-media {
  aspect-ratio: 1;
  border-inline-end: 1px solid var(--twffer-line-soft);
}

.twffer-product-detail-content {
  padding: 42px;
}

.twffer-product-detail-content h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.25;
}

.twffer-product-detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 11px 16px;
  margin: 24px 0;
}

.twffer-product-detail-price > span {
  padding: 5px 8px;
  border-radius: 4px;
  background: #f8e8ec;
  color: var(--twffer-brand-900);
  font-size: 12px;
  font-weight: 800;
}

.twffer-product-facts {
  margin: 0;
  border-top: 1px solid var(--twffer-line-soft);
}

.twffer-product-facts > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--twffer-line-soft);
}

.twffer-product-facts dt {
  color: var(--twffer-ink-600);
}

.twffer-product-facts dd {
  margin: 0;
  color: var(--twffer-ink-950);
  font-weight: 700;
}

.twffer-ai-disclaimer {
  display: flex;
  gap: 9px;
  margin: 22px 0;
  padding: 13px;
  border-radius: 5px;
  background: #f4f4f6;
  color: var(--twffer-ink-600);
  font-size: 12px;
  line-height: 1.6;
}

.twffer-source-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--twffer-brand-900);
  color: #fff !important;
  font-weight: 700;
}

.twffer-related-products {
  margin-top: 42px;
}

.twffer-subsection-heading h2 {
  margin: 0 0 18px;
  font-size: 23px;
}

.twffer-admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px auto;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--twffer-line-soft);
  border-radius: 8px;
  background: #fff;
}

.twffer-extraction-status {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid #ead8b9;
  border-radius: 8px;
  background: #fffaf0;
}

.twffer-extraction-status h2 {
  margin: 0 0 13px;
  font-size: 18px;
}

.twffer-extraction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-top: 1px solid #efe2ca;
}

.twffer-extraction-row span,
.twffer-extraction-row small {
  display: block;
  margin-top: 4px;
}

.twffer-extraction-row small {
  color: #a14638;
}

.twffer-extraction-row button,
.twffer-admin-product-actions button,
.twffer-admin-review-actions button {
  min-height: 38px;
  padding: 0 15px;
}

.twffer-admin-product-list {
  display: grid;
  gap: 18px;
}

.twffer-admin-product-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 110px;
  gap: 20px;
  padding: 18px;
  border: 1px solid var(--twffer-line-soft);
  border-radius: 8px;
  background: #fff;
}

.twffer-admin-product-preview {
  aspect-ratio: 1;
  border-radius: 5px;
}

.twffer-admin-product-heading {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 14px;
}

.twffer-product-status {
  padding: 4px 8px;
  border-radius: 4px;
  background: #eee;
  font-size: 11px;
  font-weight: 800;
}

.twffer-product-status.is-approved {
  background: #e6f6ec;
  color: #20713c;
}

.twffer-product-status.is-rejected {
  background: #fae9e9;
  color: #a52b2b;
}

.twffer-product-status.is-pending {
  background: #fff2d9;
  color: #8c5c00;
}

.twffer-admin-field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.twffer-admin-product-actions,
.twffer-admin-review-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.twffer-admin-review-actions {
  align-items: stretch;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
}

.twffer-admin-review-actions form,
.twffer-admin-review-actions button {
  width: 100%;
}

.twffer-admin-review-actions .is-approve {
  background: #267a43;
}

.twffer-admin-review-actions .is-reject {
  background: #aa3131;
}

@media (max-width: 1199px) {
  .twffer-header-inner {
    grid-template-columns: 150px minmax(300px,1fr) auto;
    gap: 18px;
  }

  .twffer-brand,
  .twffer-brand img {
    width: 140px;
  }

  .twffer-header-actions {
    gap: 7px;
  }

  .twffer-action {
    padding: 0 12px;
  }

  .twffer-language {
    display: none;
  }

  .twffer-offer-media {
    height: 300px;
  }

  .twffer-product-filter-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .twffer-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .twffer-admin-product-card {
    grid-template-columns: 210px minmax(0, 1fr);
  }

  .twffer-admin-review-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
}

@media (max-width: 991px) {
  .twffer-header-inner {
    min-height: 82px;
    grid-template-columns: 145px minmax(260px,1fr) 44px;
  }

  .twffer-menu-toggle {
    display: block;
  }

  .twffer-header-actions {
    position: absolute;
    top: 76px;
    inset-inline-end: 24px;
    width: 240px;
    display: none !important;
    padding: 12px;
    align-items: stretch;
    flex-direction: column;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(22,8,12,.22);
  }

  .twffer-header-actions.in {
    display: flex !important;
  }

  .twffer-header-actions .twffer-language {
    display: block;
    color: var(--twffer-brand-900);
    text-align: center;
  }

  .twffer-header-actions .twffer-action {
    width: 100%;
  }

  .twffer-header-actions .twffer-action-outline {
    border-color: var(--twffer-brand-900);
    color: var(--twffer-brand-900);
  }

  .twffer-offer-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .twffer-offer-media {
    height: 430px;
  }

  .twffer-offer-grid-compact .twffer-offer-media {
    height: 320px;
  }

  .twffer-footer-inner {
    grid-template-columns: 1fr auto;
  }

  .twffer-footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .twffer-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .twffer-product-detail {
    grid-template-columns: 1fr;
  }

  .twffer-product-detail-media {
    border-inline-end: 0;
    border-bottom: 1px solid var(--twffer-line-soft);
  }

  .twffer-admin-product-card {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .twffer-admin-field-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }
}

@media (max-width: 680px) {
  .twffer-header-inner {
    min-height: 146px;
    grid-template-columns: 1fr 44px;
    grid-template-rows: 68px 62px;
    gap: 0 12px;
  }

  .twffer-brand {
    grid-column: 1;
    grid-row: 1;
    height: 60px;
  }

  .twffer-brand img {
    width: 126px;
    height: 50px;
  }

  .twffer-menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .twffer-header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 48px;
    gap: 10px;
    padding: 0 13px;
  }

  .twffer-search-divider,
  .twffer-location {
    display: none;
  }

  .twffer-header-actions {
    top: 62px;
    inset-inline-end: 16px;
  }

  .twffer-category-nav-inner {
    min-height: 62px;
    padding: 0;
  }

  .twffer-category-link {
    min-width: 108px;
    flex: 0 0 108px;
    flex-direction: column;
    gap: 4px;
    padding: 8px 10px 6px;
  }

  .twffer-category-link img {
    width: 21px;
    height: 21px;
  }

  .twffer-main {
    padding: 24px 0 56px;
  }

  .twffer-section-heading {
    align-items: flex-start;
  }

  .twffer-section-heading h1 {
    font-size: 23px;
  }

  .twffer-section-heading p {
    font-size: 11px;
  }

  .twffer-discovery-filters {
    margin-bottom: 16px;
    padding: 10px 12px;
  }

  .twffer-filter-control {
    min-width: 0;
  }

  .twffer-sort-control > span {
    display: none;
  }

  .twffer-offer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .twffer-offer-media,
  .twffer-offer-grid-compact .twffer-offer-media {
    height: min(116vw, 500px);
  }

  .twffer-offer-body {
    min-height: 140px;
    padding: 16px;
  }

  .twffer-product-filters {
    padding: 12px;
  }

  .twffer-product-grid,
  .twffer-admin-filters,
  .twffer-admin-product-card,
  .twffer-admin-field-grid {
    grid-template-columns: 1fr;
  }

  .twffer-product-heading {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .twffer-product-heading h1 {
    font-size: 24px;
  }

  .twffer-trending-products {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .twffer-trending-products > div {
    width: 100%;
  }

  .twffer-product-filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .twffer-product-filter-grid label:nth-child(1),
  .twffer-product-filter-grid label:nth-child(2),
  .twffer-product-filter-grid label:nth-child(5),
  .twffer-product-filter-actions {
    grid-column: 1 / -1;
  }

  .twffer-product-filter-actions button,
  .twffer-product-filter-actions a {
    flex: 1;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .twffer-product-detail-content {
    padding: 24px 18px;
  }

  .twffer-product-detail-content h1 {
    font-size: 25px;
  }

  .twffer-product-facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .twffer-admin-review-actions {
    grid-column: auto;
  }

  .twffer-footer-inner {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .twffer-footer-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .twffer-offer-card {
    transition: none;
  }
}
