/* DFADeals Product Page — BUILD 2026-06-21 */
:root {
  --dfa-red: #ed0016;
  --dfa-black: #111111;
  --dfa-border: #e8e8e8;
  --dfa-muted: #666;
  --dfa-radius: 10px;
}

.dfa-product-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--dfa-black);
  padding-bottom: 90px;
}

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

body.dfa-product-page #content {
  width: 100%;
  max-width: 100%;
  flex: 0 0 100%;
}

/* Breadcrumb */
.dfa-breadcrumb {
  font-size: 13px;
  margin: 20px 0 28px;
  color: #888;
}

.dfa-breadcrumb-mobile {
  display: none;
}

.dfa-breadcrumb-desktop {
  display: block;
}

.dfa-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.dfa-breadcrumb a:hover {
  color: var(--dfa-red);
}

/* Two-column layout */
.dfa-product-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
  margin-bottom: 36px;
}

/* Gallery */
.dfa-gallery-wrap {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.dfa-gallery-thumbs-vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dfa-gallery-thumb-btn {
  border: 1px solid var(--dfa-border);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dfa-gallery-thumb-btn.is-active,
.dfa-gallery-thumb-btn:hover {
  border-color: var(--dfa-red);
  box-shadow: 0 0 0 1px var(--dfa-red);
}

.dfa-gallery-thumb-btn img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  display: block;
}

.dfa-gallery-card {
  border: 1px solid var(--dfa-border);
  border-radius: var(--dfa-radius);
  background: #fff;
  padding: 32px 24px 18px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dfa-gallery-main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
}

.dfa-main-img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.dfa-gallery-zoom-hint {
  margin-top: 14px;
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dfa-gallery-mobile {
  display: none;
}

.dfa-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--dfa-border);
  background: #fff;
  color: var(--dfa-black);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.dfa-gallery-nav.prev { left: 12px; }
.dfa-gallery-nav.next { right: 12px; }

.dfa-gallery-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dfa-gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  padding: 0;
  cursor: pointer;
}

.dfa-gallery-dot.is-active {
  background: var(--dfa-red);
}

/* Product info */
.dfa-product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.dfa-badge-off {
  display: inline-block;
  background: var(--dfa-red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

.dfa-badge-hot {
  background: var(--dfa-red);
}

.dfa-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dfa-brand-name a {
  color: inherit;
  text-decoration: none;
}

.dfa-brand-name a:hover {
  color: var(--dfa-red);
}

.dfa-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 14px;
}

.dfa-rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 14px;
}

.dfa-stars {
  color: #f5b301;
  letter-spacing: 1px;
}

.dfa-rating-score {
  font-weight: 700;
}

.dfa-rating-link,
.dfa-write-review {
  color: var(--dfa-red);
  text-decoration: none;
}

.dfa-rating-sep {
  color: #ccc;
}

.dfa-rating-link:hover,
.dfa-write-review:hover {
  color: #c80012;
  text-decoration: underline;
}

/* Pricing box */
.dfa-pricing-box {
  border: 1px solid var(--dfa-border);
  border-radius: var(--dfa-radius);
  padding: 18px 20px;
  margin-bottom: 18px;
  background: #fff;
}

.dfa-price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 15px;
}

.dfa-price-line .dfa-price-label {
  color: #555;
  font-weight: 600;
}

.dfa-price-line .dfa-price-label strong {
  font-weight: 700;
  color: var(--dfa-black);
}

.dfa-retail-price {
  text-decoration: line-through;
  color: #777;
}

.dfa-dfadeals-price {
  color: var(--dfa-red);
  font-size: 28px;
  font-weight: 800;
}

.dfa-save-line {
  color: var(--dfa-red);
  font-weight: 700;
}

/* Status row */
.dfa-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-bottom: 22px;
  font-size: 14px;
}

.dfa-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dfa-status-item i {
  color: #1a9b2f;
}

.dfa-status-item.dfa-status-ship i,
.dfa-status-item.dfa-status-auth i {
  color: var(--dfa-black);
}

/* Quantity + buttons */
.dfa-purchase-box .form-label {
  font-weight: 700;
  margin-bottom: 8px;
}

.dfa-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--dfa-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}

.dfa-qty-stepper button {
  width: 44px;
  height: 44px;
  border: none;
  background: #f7f7f7;
  font-size: 18px;
  cursor: pointer;
}

.dfa-qty-stepper button:hover {
  background: #eee;
}

.dfa-qty-stepper input {
  width: 56px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--dfa-border);
  border-right: 1px solid var(--dfa-border);
  text-align: center;
  font-weight: 700;
}

.dfa-btn-cart {
  width: 100%;
  height: 54px;
  background: var(--dfa-red) !important;
  border: none !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 8px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.dfa-btn-cart:hover {
  background: #c80012 !important;
}

.dfa-secondary-links {
  display: flex;
  gap: 24px;
  font-size: 14px;
  margin-top: 4px;
}

.dfa-secondary-links button {
  color: var(--dfa-red);
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
}

.dfa-secondary-links button:hover,
.dfa-secondary-links button:focus {
  color: #c80012;
  text-decoration: underline;
}

/* Tabs */
.dfa-product-tabs {
  margin-top: 10px;
}

.dfa-product-tabs .nav-tabs {
  border-bottom: 1px solid #ddd;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.dfa-product-tabs .nav-tabs::-webkit-scrollbar {
  display: none;
}

.dfa-product-tabs .nav-link {
  border: none;
  color: #555;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 16px 22px 16px 0;
  white-space: nowrap;
}

.dfa-product-tabs .nav-link:hover,
.dfa-product-tabs .nav-link:focus {
  color: var(--dfa-red);
}

.dfa-product-tabs .nav-link.active {
  color: var(--dfa-black);
  border-bottom: 3px solid var(--dfa-red);
  background: transparent;
}

.dfa-tab-content {
  padding: 28px 0 10px;
  font-size: 15px;
  line-height: 1.75;
  color: #333;
}

.dfa-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.dfa-spec-table th,
.dfa-spec-table td {
  border: 1px solid var(--dfa-border);
  padding: 12px 16px;
  text-align: left;
  font-size: 14px;
}

.dfa-spec-table th {
  width: 34%;
  background: #fafafa;
  font-weight: 700;
}

/* Related products */
.dfa-related-section {
  margin-top: 42px;
}

.dfa-related-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dfa-related-head h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dfa-related-view {
  color: var(--dfa-red);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.dfa-related-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 240px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.dfa-related-card {
  scroll-snap-align: start;
  border: 1px solid var(--dfa-border);
  border-radius: var(--dfa-radius);
  background: #fff;
  overflow: hidden;
  position: relative;
}

.dfa-related-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--dfa-red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 1;
}

.dfa-related-img {
  display: block;
  padding: 18px;
  background: #fff;
}

.dfa-related-img img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.dfa-related-body {
  padding: 0 14px 16px;
}

.dfa-related-brand {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.dfa-related-name {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}

.dfa-related-name a {
  color: var(--dfa-black);
  text-decoration: none;
}

.dfa-related-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.dfa-related-sale {
  color: var(--dfa-red);
  font-weight: 800;
  font-size: 16px;
}

.dfa-related-retail {
  color: #888;
  text-decoration: line-through;
  font-size: 13px;
}

/* Mobile sticky cart bar */
.dfa-sticky-cart {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid var(--dfa-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}

.dfa-sticky-cart-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.dfa-sticky-thumb {
  width: 48px;
  height: 48px;
  border: 1px solid var(--dfa-border);
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
}

.dfa-sticky-price {
  flex: 1;
  min-width: 0;
}

.dfa-sticky-price small {
  display: block;
  font-size: 11px;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dfa-sticky-price strong {
  color: var(--dfa-red);
  font-size: 17px;
}

.dfa-sticky-btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 18px;
  background: var(--dfa-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

body.dfa-product-page footer,
body.dfa-product-page .dfa-footer {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  body.dfa-product-page .dfa-footer {
    padding-bottom: 72px;
  }
}


/* Responsive */
@media (max-width: 991px) {
  .dfa-product-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .dfa-product-page {
    padding-bottom: 150px;
  }

  .dfa-breadcrumb-desktop {
    display: none;
  }

  .dfa-breadcrumb-mobile {
    display: block;
    margin: 14px 0 18px;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .dfa-breadcrumb-mobile a,
  .dfa-breadcrumb-mobile span {
    display: inline;
  }

  .dfa-gallery-wrap {
    display: none;
  }

  .dfa-gallery-mobile {
    display: block;
  }

  .dfa-gallery-card {
    min-height: 300px;
    padding: 20px 44px 12px;
  }

  .dfa-main-img {
    max-height: 280px;
  }

  .dfa-gallery-nav,
  .dfa-gallery-dots {
    display: flex;
  }

  .dfa-title {
    font-size: 24px;
  }

  .dfa-dfadeals-price {
    font-size: 24px;
  }

  .dfa-sticky-cart {
    display: block;
  }

  body.dfa-product-page .dfa-header-inner {
    grid-template-columns: 44px 1fr auto;
  }

  body.dfa-product-page .dfa-header-nav {
    display: none;
  }

  body.dfa-product-page .dfa-action-account,
  body.dfa-product-page .dfa-action-wishlist {
    display: none;
  }
}

/* ── DFADeals Category Page ─────────────────────────────── */
body.dfa-category-page #column-left,
body.dfa-category-page #column-right {
  display: none !important;
}

body.dfa-category-page #content {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

.dfa-cat-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
  padding: 0 0 48px;
}

.dfa-cat-page *,
.dfa-cat-page *::before,
.dfa-cat-page *::after {
  box-sizing: border-box;
}

.dfa-cat-page-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Breadcrumb */
.dfa-cat-breadcrumb {
  font-size: 13px;
  color: #888;
  margin: 18px 0 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.dfa-cat-breadcrumb a {
  color: #666;
  text-decoration: none;
}

.dfa-cat-breadcrumb a:hover {
  color: #e60012;
}

.dfa-cat-breadcrumb-sep {
  color: #bbb;
}

/* Mobile filter toggle */
.dfa-cat-filter-toggle {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.dfa-cat-filter-toggle i {
  color: #666;
}

/* Layout */
.dfa-cat-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.dfa-cat-sidebar {
  min-width: 0;
}

.dfa-cat-main {
  min-width: 0;
}

/* Filter panel */
.dfa-cat-filter-panel {
  background: #fff;
}

.dfa-cat-filter-title {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 22px;
  color: #111;
}

.dfa-cat-filter-section {
  margin-bottom: 24px;
}

.dfa-cat-filter-label {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #111;
}

.dfa-cat-category-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dfa-cat-category-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.2s, box-shadow 0.2s, color 0.2s;
}

.dfa-cat-category-btn i {
  width: 22px;
  text-align: center;
  color: #888;
  font-size: 16px;
  flex-shrink: 0;
}

.dfa-cat-category-btn:hover {
  border-color: #e60012;
  color: #e60012;
}

.dfa-cat-category-btn:hover i {
  color: #e60012;
}

.dfa-cat-category-btn.is-active {
  border-color: #e60012;
  background: #fff5f5;
  color: #e60012;
}

.dfa-cat-category-btn.is-active i {
  color: #e60012;
}

.dfa-cat-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

.dfa-cat-check input {
  width: 18px;
  height: 18px;
  accent-color: #e60012;
  flex-shrink: 0;
}

.dfa-cat-brand-select {
  width: 100%;
  height: 44px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  background: #fff;
  appearance: auto;
}

.dfa-cat-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  color: #e60012;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 4px;
}

.dfa-cat-reset:hover {
  color: #c4000f;
}

/* Toolbar */
.dfa-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.dfa-cat-toolbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.dfa-cat-view-toggle .btn {
  border: 1px solid #e5e5e5;
  background: #fff;
  color: #666;
  width: 38px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dfa-cat-view-toggle .btn.is-active,
.dfa-cat-view-toggle .btn:hover {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
}

.dfa-cat-results {
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

.dfa-cat-toolbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dfa-cat-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dfa-cat-select-wrap label {
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
}

.dfa-cat-select-wrap select {
  height: 38px;
  min-width: 120px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}

/* Product grid */
.dfa-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.dfa-cat-grid--list {
  grid-template-columns: 1fr;
}

.dfa-cat-grid--list .dfa-cat-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-rows: auto auto;
}

.dfa-cat-grid--list .dfa-cat-card-img {
  grid-row: 1 / 3;
  min-height: 160px;
}

.dfa-cat-grid--list .dfa-cat-card-body {
  text-align: left;
}

.dfa-cat-grid--list .dfa-cat-card-name {
  text-align: left;
}

.dfa-cat-grid--list .dfa-cat-card-actions {
  grid-column: 2;
}

/* Product card */
.dfa-cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.dfa-cat-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.dfa-cat-card-new {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #e60012;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dfa-cat-card-wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: color 0.2s;
}

.dfa-cat-card-wish:hover {
  color: #e60012;
}

.dfa-cat-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 28px 20px 16px;
  text-decoration: none;
  background: #fff;
}

.dfa-cat-card-img img {
  max-height: 160px;
  max-width: 100%;
  object-fit: contain;
}

.dfa-cat-card-body {
  padding: 0 16px 14px;
  text-align: center;
  flex: 1;
}

.dfa-cat-card-name {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

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

.dfa-cat-card-name a:hover {
  color: #e60012;
}

.dfa-cat-card-desc {
  margin: 0 0 10px;
  font-size: 12px;
  color: #888;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dfa-cat-card-prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.dfa-cat-card-price {
  color: #e60012;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.dfa-cat-card-price-old {
  color: #999;
  font-size: 12px;
  text-decoration: line-through;
  font-weight: 600;
}

.dfa-cat-card-tax {
  font-size: 12px;
  color: #888;
  font-weight: 600;
}

.dfa-cat-card-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e5e5e5;
  margin-top: auto;
}

.dfa-cat-card-actions button {
  height: 44px;
  border: none;
  border-right: 1px solid #e5e5e5;
  background: #fff;
  color: #666;
  cursor: pointer;
  font-size: 16px;
  transition: color 0.2s, background 0.2s;
}

.dfa-cat-card-actions button:last-child {
  border-right: none;
}

.dfa-cat-card-actions button:hover {
  color: #e60012;
  background: #fafafa;
}

/* Pagination */
.dfa-cat-pagination {
  display: flex;
  justify-content: center;
  margin: 8px 0 32px;
}

.dfa-cat-pagination .pagination {
  margin: 0;
  gap: 4px;
}

.dfa-cat-pagination .pagination .page-link,
.dfa-cat-pagination .pagination a,
.dfa-cat-pagination .pagination span {
  border-color: #e5e5e5;
  color: #555;
  min-width: 38px;
  text-align: center;
}

.dfa-cat-pagination .pagination .active span,
.dfa-cat-pagination .pagination .active a,
.dfa-cat-pagination .pagination .page-item.active .page-link {
  background: #e60012;
  border-color: #e60012;
  color: #fff;
}

/* Empty state */
.dfa-cat-empty {
  text-align: center;
  padding: 56px 24px;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  margin: 20px 0;
}

.dfa-cat-empty-btn {
  display: inline-block;
  margin-top: 16px;
  background: #e60012;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 8px;
}

/* Related */
.dfa-cat-related {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #eee;
}

.dfa-cat-related h3 {
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 20px;
}

/* Mobile filter drawer */
.dfa-cat-filter-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.dfa-cat-filter-drawer.is-open {
  display: block;
}

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

.dfa-cat-filter-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 88vh;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 20px 28px;
  overflow-y: auto;
}

.dfa-cat-filter-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dfa-cat-filter-sheet-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
}

.dfa-cat-filter-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  cursor: pointer;
  font-size: 16px;
}

.dfa-cat-filter-drawer .dfa-cat-filter-title {
  display: none;
}

/* Hide mobile drawer duplicate on desktop */
@media (min-width: 768px) {
  .dfa-cat-filter-drawer {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .dfa-cat-page-inner {
    padding: 0 14px;
  }

  .dfa-cat-breadcrumb {
    font-size: 12px;
    margin: 12px 0 14px;
  }

  .dfa-cat-filter-toggle {
    display: flex;
  }

  .dfa-cat-layout {
    display: block;
  }

  .dfa-cat-sidebar {
    display: none;
  }

  .dfa-cat-toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px 10px;
    margin-bottom: 16px;
  }

  .dfa-cat-toolbar-left {
    gap: 0;
  }

  .dfa-cat-results {
    grid-column: 2;
    text-align: center;
    font-size: 12px;
  }

  .dfa-cat-toolbar-right {
    grid-column: 3;
    justify-self: end;
  }

  .dfa-cat-select-wrap--show {
    display: none;
  }

  .dfa-cat-select-wrap label {
    display: none;
  }

  .dfa-cat-select-wrap select {
    min-width: 90px;
    height: 36px;
    font-size: 13px;
  }

  .dfa-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dfa-cat-card-img {
    min-height: 140px;
    padding: 16px 12px 10px;
  }

  .dfa-cat-card-img img {
    max-height: 110px;
  }

  .dfa-cat-card-name {
    font-size: 12px;
  }

  .dfa-cat-card-desc {
    font-size: 11px;
    -webkit-line-clamp: 2;
  }

  .dfa-cat-card-price {
    font-size: 16px;
  }

  .dfa-cat-card-actions button {
    height: 38px;
    font-size: 14px;
  }
}
