/* DFADeals manufacturer/brand product pages — page-scoped. */
body.dfa-brand-detail-page,
body.dfa-brand-detail-page #container {
  overflow-x: hidden;
  max-width: 100%;
  background: #fff;
}

body.dfa-brand-detail-page #column-left,
body.dfa-brand-detail-page #column-right {
  display: none !important;
}

body.dfa-brand-detail-page #content {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  background: #fff;
  overflow-x: hidden;
}

body.dfa-brand-detail-page #content > h1,
body.dfa-brand-detail-page .breadcrumb,
body.dfa-brand-detail-page #content > .container > h1 {
  display: none !important;
}

body.dfa-brand-detail-page #content > .container,
body.dfa-brand-detail-page .container:has(.dfa-brand-detail) {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.dfa-brand-detail-page.is-filter-open {
  overflow: hidden;
}

.dfa-brand-detail {
  --dfa-red: #e60012;
  --dfa-red-dark: #c4000f;
  --dfa-save: #16803c;
  --dfa-border: #e6e6e6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  max-width: var(--dfa-site-max, 1200px);
  width: 100%;
  margin: 0 auto;
  padding: 4px 14px calc(28px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-x: clip;
}

.dfa-brand-detail *,
.dfa-brand-detail *::before,
.dfa-brand-detail *::after {
  box-sizing: border-box;
}

.dfa-brand-detail .dfa-module-zone {
  display: none !important;
}

.dfa-bd-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dfa-bd-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 2px 0 10px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 600;
  color: #9a9a9a;
}

.dfa-bd-crumb a {
  color: #8a8a8a;
  text-decoration: none;
}

.dfa-bd-crumb a:hover,
.dfa-bd-crumb a:focus-visible {
  color: var(--dfa-red);
  outline: none;
}

.dfa-bd-crumb-sep {
  color: #c4c4c4;
}

.dfa-bd-toolbar {
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: stretch;
  margin: 0 0 12px;
}

.dfa-bd-filter-btn,
.dfa-bd-sort-btn,
.dfa-bd-view-btn {
  appearance: none;
  min-height: 44px;
  margin: 0;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--dfa-border);
  border-radius: 10px;
  color: #111;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: none;
}

.dfa-bd-filter-btn:hover,
.dfa-bd-sort-btn:hover,
.dfa-bd-view-btn:hover,
.dfa-bd-filter-btn:focus-visible,
.dfa-bd-sort-btn:focus-visible,
.dfa-bd-view-btn:focus-visible,
.dfa-bd-filter-btn[aria-expanded="true"],
.dfa-bd-sort-btn[aria-expanded="true"] {
  border-color: #cfcfcf;
  outline: 2px solid rgba(230, 0, 18, 0.22);
  outline-offset: 1px;
}

.dfa-bd-filter-btn i,
.dfa-bd-sort-btn i {
  color: #444;
  font-size: 13px;
}

.dfa-bd-filter-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--dfa-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dfa-bd-sort-wrap {
  position: relative;
  min-width: 0;
}

.dfa-bd-sort-btn {
  width: 100%;
  justify-content: space-between;
}

.dfa-bd-sort-btn span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dfa-bd-sort-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  background: #fff;
  border: 1px solid var(--dfa-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.dfa-bd-sort-menu.is-open {
  display: block;
}

.dfa-bd-sort-menu a {
  display: block;
  padding: 12px 14px;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  min-height: 44px;
}

.dfa-bd-sort-menu a:hover,
.dfa-bd-sort-menu a:focus-visible,
.dfa-bd-sort-menu a.is-active {
  background: #f7f7f7;
  outline: none;
}

.dfa-bd-view-btn {
  width: 44px;
  padding: 0;
  flex: none;
}

.dfa-bd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
}

.dfa-bd-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--dfa-border);
  border-radius: 999px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.dfa-bd-chip:hover,
.dfa-bd-chip:focus-visible {
  border-color: #ccc;
  outline: 2px solid rgba(230, 0, 18, 0.22);
}

.dfa-bd-clear-all {
  color: var(--dfa-red);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.dfa-bd-clear-all:hover,
.dfa-bd-clear-all:focus-visible {
  text-decoration: underline;
  outline: none;
}

.dfa-bd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 0 0 24px;
}

.dfa-bd-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--dfa-border);
  border-radius: 13px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.dfa-bd-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: var(--dfa-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 4px 6px;
  border-radius: 4px;
}

.dfa-bd-card-wish {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #111;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.dfa-bd-card-wish:hover,
.dfa-bd-card-wish:focus-visible {
  color: var(--dfa-red);
  outline: 2px solid rgba(230, 0, 18, 0.25);
  outline-offset: 0;
}

.dfa-bd-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  padding: 18px 16px 8px;
  background: #fff;
  text-decoration: none;
}

.dfa-bd-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.dfa-bd-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 4px 12px 12px;
}

.dfa-bd-card-name {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dfa-bd-card-name a {
  color: #111;
  text-decoration: none;
}

.dfa-bd-card-name a:hover,
.dfa-bd-card-name a:focus-visible {
  color: var(--dfa-red);
  outline: none;
}

.dfa-bd-card-prices {
  margin-top: auto;
  margin-bottom: 10px;
  min-height: 58px;
}

.dfa-bd-card-our {
  display: block;
  color: #111;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.dfa-bd-card-msrp {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #9a9a9a;
  text-decoration: line-through;
}

.dfa-bd-card-save {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--dfa-save);
}

.dfa-bd-card-cart {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: none;
  border-radius: 8px;
  background: var(--dfa-red);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.dfa-bd-card-cart:hover,
.dfa-bd-card-cart:focus-visible {
  background: var(--dfa-red-dark);
  outline: 2px solid rgba(230, 0, 18, 0.28);
  outline-offset: 1px;
}

.dfa-bd-card-cart.is-loading,
.dfa-bd-card-cart:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.dfa-bd-card-cart.is-success {
  background: var(--dfa-save);
  opacity: 1;
}

.dfa-bd-card-cart.is-oos {
  background: #888;
}

.dfa-bd-grid.is-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.dfa-bd-grid.is-list .dfa-bd-card {
  flex-direction: row;
  align-items: stretch;
}

.dfa-bd-grid.is-list .dfa-bd-card-media {
  width: 132px;
  flex: 0 0 132px;
  aspect-ratio: 1 / 1;
  padding: 10px;
}

.dfa-bd-grid.is-list .dfa-bd-card-body {
  padding: 10px 12px 12px;
}

.dfa-bd-grid.is-list .dfa-bd-card-name {
  height: auto;
  max-height: 2.7em;
}

.dfa-bd-grid.is-list .dfa-bd-card-prices {
  min-height: 0;
  margin-bottom: 8px;
}

.dfa-bd-grid.is-list .dfa-bd-card-cart {
  max-width: 220px;
}

.dfa-bd-pagination {
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dfa-bd-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dfa-bd-pagination .pagination > li > a,
.dfa-bd-pagination .pagination > li > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--dfa-border);
  border-radius: 8px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 700;
}

.dfa-bd-pagination .pagination > .active > span,
.dfa-bd-pagination .pagination > .active > a {
  background: #111;
  border-color: #111;
  color: #fff;
}

.dfa-bd-results {
  font-size: 12px;
  color: #777;
}

.dfa-bd-empty {
  text-align: center;
  padding: 48px 16px;
  background: #fff;
  border: 1px solid var(--dfa-border);
  border-radius: 13px;
}

.dfa-bd-empty h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.dfa-bd-empty p {
  margin: 0 0 16px;
  color: #666;
}

.dfa-bd-empty a {
  color: var(--dfa-red);
  font-weight: 800;
  text-decoration: none;
}

.dfa-bd-empty a:hover,
.dfa-bd-empty a:focus-visible {
  text-decoration: underline;
}

.dfa-bd-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
}

.dfa-bd-panel.is-open {
  display: block;
}

.dfa-bd-panel-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.dfa-bd-panel-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(88vh, 640px);
  overflow: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.dfa-bd-panel-handle {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: #ddd;
  margin: 10px auto 0;
}

.dfa-bd-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.dfa-bd-panel-head h2 {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 800;
}

.dfa-bd-panel-close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-size: 18px;
}

.dfa-bd-panel-close:hover,
.dfa-bd-panel-close:focus-visible {
  color: var(--dfa-red);
  outline: 2px solid rgba(230, 0, 18, 0.25);
  border-radius: 8px;
}

.dfa-bd-panel-body {
  padding: 8px 16px 16px;
}

.dfa-bd-acc {
  border-bottom: 1px solid #f0f0f0;
}

.dfa-bd-acc > summary {
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.dfa-bd-acc > summary::-webkit-details-marker {
  display: none;
}

.dfa-bd-acc > summary::after {
  content: "▾";
  color: #777;
  font-weight: 400;
}

.dfa-bd-acc-body {
  padding: 0 0 14px;
}

.dfa-bd-acc select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--dfa-border);
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  font-size: 14px;
}

.dfa-bd-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.dfa-bd-check input {
  width: 18px;
  height: 18px;
}

.dfa-bd-panel-foot {
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f0f0f0;
}

.dfa-bd-apply {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 10px;
  background: var(--dfa-red);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.dfa-bd-apply:hover,
.dfa-bd-apply:focus-visible {
  background: var(--dfa-red-dark);
  outline: 2px solid rgba(230, 0, 18, 0.28);
}

@media (min-width: 768px) {
  .dfa-brand-detail {
    padding: 8px 16px 48px;
  }

  .dfa-bd-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .dfa-bd-panel-sheet {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: min(380px, 100%);
    max-height: none;
    border-radius: 0;
  }

  .dfa-bd-panel-handle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .dfa-bd-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1280px) {
  .dfa-brand-detail {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 991px) {
  .dfa-brand-detail {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}
