/* ============================================================
   DISCOUNTLED – WOOCOMMERCE STORE
   Collections grid on /store/ (inc/woo-store.php).
   ============================================================ */

.woo-main {
  background: #fff;
}
.woo-main--landing {
  background: #f2f2f2;
}

.store-hero {
  display: block;
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans-fast), transform var(--trans-fast);
}
.store-hero:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.store-hero img { display: block; width: 100%; height: auto; }
@media (max-width: 768px) {
  .store-hero { margin-bottom: 20px; border-radius: var(--radius-sm); }
}

/* Category bar with dropdown panels (inc/woo-store.php: dled_store_nav) */
.store-nav {
  margin: 0 0 16px;
  background: #fff;
  border: 1px solid #e6e6ee;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Product search box (inc/woo-store.php: dled_store_search) */
.store-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 44px;
  padding: 7px 7px 7px 20px;
  background: #fff;
  border: 1px solid #e6e6ee;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.store-search:focus-within { border-color: var(--led-blue); box-shadow: 0 0 0 3px rgba(20, 0, 137, 0.12); }
.store-search__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.store-search__icon { flex: none; font-size: 1rem; color: var(--text-muted); }
.store-search__input {
  flex: 1;
  min-width: 0;
  padding: 12px 4px;
  border: 0;
  background: transparent;
  font: 500 0.98rem var(--font-body);
  color: var(--text-primary);
  outline: none;
}
.store-search__input::placeholder { color: #9a9aa8; font-weight: 400; }
.store-search__btn {
  flex: none;
  padding: 12px 28px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--led-blue) 0%, var(--led-blue-bright) 100%);
  color: #fff;
  font: 700 0.92rem var(--font-head);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 0, 137, 0.25);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.store-search__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 0, 137, 0.35); }
@media (max-width: 560px) {
  .store-search { padding-left: 14px; margin-bottom: 32px; }
  .store-search__btn { padding: 11px 18px; }
}
.store-hero + .store-collections { margin-top: 24px; }

.store-nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
}
.store-nav__tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap; /* every tab stays visible; wraps to a second row when space runs out */
  gap: 0;
  min-width: 0;
}
.store-nav__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 18px 11px 15px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font: 700 0.93rem var(--font-head);
  color: var(--text-primary);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--trans-fast), border-color var(--trans-fast);
}
.store-nav__tab i { font-size: 0.68rem; transition: transform var(--trans-fast); }
.store-nav__tab:hover { color: var(--led-blue); }
.store-nav__tab[aria-expanded="true"] { color: var(--led-blue); border-bottom-color: var(--led-blue); }
.store-nav__tab[aria-expanded="true"] i { transform: rotate(180deg); }
.store-nav__tab:focus-visible,
.store-nav__cta:focus-visible,
.store-nav__item:focus-visible { outline: 2px solid var(--led-blue); outline-offset: 2px; border-radius: 6px; }

.store-nav__links { display: flex; align-items: center; gap: 20px; flex: none; }
.store-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--led-blue) 0%, var(--led-blue-bright) 100%);
  color: #fff;
  font: 700 0.88rem var(--font-head);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(20, 0, 137, 0.25);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.store-nav__cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 0, 137, 0.35); }

.store-nav__panel { padding: 4px 24px 18px; border-top: 1px solid #e6e6ee; }
.store-nav__panel[hidden] { display: none; }
.store-nav__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 36px;
}
.store-nav__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e6ee;
  color: var(--text-primary);
  transition: color var(--trans-fast), border-color var(--trans-fast);
}
.store-nav__item:hover { color: var(--led-blue); border-bottom-color: var(--led-blue); }
.store-nav__thumb {
  flex: none;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f6f7fb;
  overflow: hidden;
}
.store-nav__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; transition: transform var(--trans-fast); }
.store-nav__item:hover .store-nav__thumb img { transform: scale(1.08); }
.store-nav__thumb i { color: #c9c9d6; }
.store-nav__name { flex: 1; font: 700 0.95rem/1.3 var(--font-head); }
.store-nav__count { flex: none; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }

@media (max-width: 1024px) {
  .store-nav__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  /* Phones and small tablets: one scrollable row of tabs */
  .store-nav__tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .store-nav__tabs::-webkit-scrollbar { display: none; }
  .store-nav__bar { flex-direction: column; align-items: stretch; gap: 0; padding: 0 8px; }
  .store-nav__links { justify-content: space-between; padding: 4px 8px 12px; border-top: 1px solid #f0f0f5; }
  .store-nav__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .store-nav__panel { padding: 4px 16px 14px; }
}
@media (max-width: 480px) {
  .store-nav__grid { grid-template-columns: minmax(0, 1fr); }
  .store-nav__tab { padding: 14px 10px 12px; font-size: 0.9rem; }
}

/* The theme's global reset (* { margin: 0 }) removes a pop-up's automatic centering. */
.dwr,
.dl-compare-modal,
.dsp-lightbox { margin: auto; }

/* Wholesale registration pop-up (inc/woo-wholesale.php) */
.dwr {
  width: min(760px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.dwr::backdrop { background: rgba(10, 10, 30, 0.6); }
.dwr-body { padding: 38px 40px 32px; }
.dwr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f5;
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--trans-fast);
}
.dwr-close:hover { background: #e2e2ec; }
.dwr-title { margin: 0 0 6px; text-align: center; font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; color: #1a1a1a; }
.dwr-sub { margin: 0 0 26px; text-align: center; font-size: 0.95rem; color: var(--text-muted); }

.dwr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.dwr-full { grid-column: 1 / -1; }
.dwr-field label { display: block; margin: 0 0 6px; font-size: 0.84rem; font-weight: 600; color: #2a2a2a; }
.dwr-field--nolabel label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dwr-req { color: #d92d20; }
.dwr-field input,
.dwr-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d9e3;
  border-radius: 10px;
  background: #fff;
  font: 400 0.95rem var(--font-body);
  color: #1a1a1a;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.dwr-field input::placeholder { color: #9a9aa8; }
.dwr-field input:focus,
.dwr-field select:focus { outline: none; border-color: var(--led-blue); box-shadow: 0 0 0 3px rgba(20, 0, 137, 0.12); }
.dwr-field [aria-invalid="true"] { border-color: #d92d20; }
.dwr-phone { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 10px; }
.dwr-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.dwr-status { min-height: 1.4em; margin: 18px 0 0; text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.dwr-status.is-error { color: #d92d20; font-weight: 600; }
.dwr-actions { display: flex; justify-content: center; margin-top: 10px; }
.dwr-submit {
  padding: 13px 46px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--led-blue) 0%, var(--led-blue-bright) 100%);
  color: #fff;
  font: 700 1rem var(--font-head);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 0, 137, 0.25);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
}
.dwr-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 0, 137, 0.35); }
.dwr-submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.dwr-done { padding: 26px 0 10px; text-align: center; }
.dwr-done > i { margin-bottom: 14px; font-size: 3rem; color: #1f9d55; }
.dwr-done .dwr-sub { margin-bottom: 24px; }
.dwr-notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid #abefc6;
  border-radius: 12px;
  background: #ecfdf3;
  font-weight: 600;
  color: #067647;
}

@media (max-width: 640px) {
  .dwr-body { padding: 30px 20px 24px; }
  .dwr-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dwr-phone { grid-template-columns: 126px minmax(0, 1fr); }
}

.store-collections__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.store-collections__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.store-collections__all {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.store-collections__all:hover { color: var(--led-blue); }

.store-collections__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px 24px;
}

.store-collection {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
}

.store-collection__circle {
  width: 100%;
  max-width: 190px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1.5px solid #1a1a1a;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}
.store-collection__circle img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  transition: transform var(--trans-med);
}
.store-collection__circle i {
  font-size: 46px;
  color: #c9c9d6;
}
.store-collection__circle:hover {
  border-color: var(--led-blue);
  box-shadow: var(--shadow-md);
}
.store-collection__circle:hover img { transform: scale(1.06); }

.store-collection__name {
  margin: 16px 0 6px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.store-collection__name a { color: var(--text-primary); }
.store-collection__name a:hover { color: var(--led-blue); }

.store-collection__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}
.store-collection__link i { font-size: 12px; }
.store-collection__link:hover { color: var(--led-blue); }

@media (max-width: 1024px) {
  .store-collections__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .store-collections__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 16px; }
}
@media (max-width: 480px) {
  .store-collections__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-collection__name { font-size: 13px; }
}

/* ============================================================
   PRODUCT LISTING (inc/woo-archive.php)
   ============================================================ */

.dl-archive {
  --dl-line: #e3e3e3;
  --dl-ink: #1a1a1a;
  --dl-soft: #6b6b6b;
  --dl-ok: #1f9d55;
  color: var(--dl-ink);
  font-size: 14px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--led-blue);
  color: #fff;
  font: 600 13px/1.2 var(--font-body);
  cursor: pointer;
  transition: background var(--trans-fast);
}
.dl-btn:hover { background: var(--logo-red); color: #fff; }
.dl-link {
  border: 0;
  background: none;
  padding: 0;
  font: 600 13px var(--font-body);
  color: var(--dl-ink);
  text-decoration: underline;
  cursor: pointer;
}

/* ---- Breadcrumb ---- */
.dl-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--dl-soft);
  margin-bottom: 40px;
}
.dl-breadcrumb a { color: var(--dl-ink); }
.dl-breadcrumb a:hover { color: var(--led-blue); }

/* ---- Toolbar ---- */
.dl-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--dl-line);
  border-bottom: 1px solid var(--dl-line);
  margin-bottom: 20px;
}
.dl-toolbar__left,
.dl-toolbar__right { display: flex; align-items: center; gap: 20px; }
.dl-toolbar__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px 0 0;
  border: 0;
  border-right: 1px solid var(--dl-line);
  background: none;
  font: 600 13px var(--font-body);
  color: var(--dl-ink);
  cursor: pointer;
}
.dl-toolbar__filter:hover { color: var(--led-blue); }

.dl-sort { display: flex; align-items: center; gap: 6px; margin: 0; }
.dl-sort label { font-weight: 600; font-size: 13px; }
.dl-sort select {
  appearance: none;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1a1a' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right center;
  padding: 2px 18px 2px 2px;
  font: 13px var(--font-body);
  color: var(--dl-ink);
  cursor: pointer;
}

.dl-switch { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; cursor: pointer; margin: 0; }
.dl-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dl-switch__track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #cfcfcf;
  transition: background var(--trans-fast);
}
.dl-switch__track::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--trans-fast);
}
.dl-switch__track i { position: absolute; left: 5px; top: 4px; font-size: 9px; color: #fff; opacity: 0; }
.dl-switch input:checked + .dl-switch__track { background: var(--dl-ink); }
.dl-switch input:checked + .dl-switch__track::after { transform: translateX(16px); }
.dl-switch input:checked + .dl-switch__track i { opacity: 1; }
.dl-switch input:focus-visible + .dl-switch__track { outline: 2px solid var(--led-blue); outline-offset: 2px; }

.dl-view { display: flex; align-items: center; gap: 6px; padding-left: 20px; border-left: 1px solid var(--dl-line); font-weight: 600; font-size: 13px; }
.dl-view button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #9a9a9a;
  cursor: pointer;
}
.dl-view button.is-active,
.dl-view button:hover { color: var(--dl-ink); background: #f2f2f2; }

/* ---- Layout ---- */
.dl-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.dl-archive.is-filters-hidden .dl-layout { grid-template-columns: minmax(0, 1fr); }
.dl-archive.is-filters-hidden .dl-filters { display: none; }

/* ---- Filters ---- */
.dl-filters { padding-right: 24px; border-right: 1px solid var(--dl-line); }
.dl-filters__head { display: none; }
.dl-filters__clear { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 600; text-decoration: underline; color: var(--dl-ink); }

.dl-facet { border-bottom: 1px solid var(--dl-line); padding: 14px 0 16px; }
.dl-facet:first-of-type { padding-top: 0; }
.dl-facet summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}
.dl-facet summary::-webkit-details-marker { display: none; }
.dl-facet summary i { font-size: 10px; color: var(--dl-soft); transition: transform var(--trans-fast); }
.dl-facet:not([open]) summary i { transform: rotate(180deg); }
.dl-facet ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }

.dl-opt { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--dl-ink); }
.dl-opt__box {
  flex: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--dl-ink);
  border-radius: 2px;
  display: grid;
  place-items: center;
}
.dl-opt.is-checked .dl-opt__box { background: var(--dl-ink); }
.dl-opt.is-checked .dl-opt__box::after { content: ""; width: 8px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.dl-opt__name { flex: 1; }
.dl-opt__count { color: var(--dl-soft); font-size: 12px; }
a.dl-opt:hover .dl-opt__name { text-decoration: underline; }
.dl-opt.is-disabled { color: #b5b5b5; }
.dl-opt.is-disabled .dl-opt__box { border-color: #cfcfcf; }
.dl-opt.is-disabled .dl-opt__count { color: #c8c8c8; }

/* ---- Product grid ---- */
.dl-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.dl-archive.is-filters-hidden .dl-grid:not(.is-list) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.dl-card { display: flex; flex-direction: column; margin: 0; }
.dl-card__compare {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  margin: 0 0 10px;
  cursor: pointer;
}
.dl-card__compare input { width: 14px; height: 14px; accent-color: var(--dl-ink); margin: 0; }
.dl-archive.is-compare-on .dl-card__compare { display: inline-flex; }

.dl-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}
.dl-card__media img { width: 88%; height: 88%; object-fit: contain; transition: transform var(--trans-med); }
.dl-card:hover .dl-card__media img { transform: scale(1.04); }

.dl-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.dl-card__brand { margin: 0 0 6px; font-size: 11px; color: var(--dl-soft); }
.dl-card__title { margin: 0; font: 600 13px/1.45 var(--font-body); }
.dl-card__title a { color: var(--dl-ink); }
.dl-card__title a:hover { color: var(--led-blue); }
.dl-card__specs { display: none; list-style: none; margin: 12px 0 0; padding: 0; font-size: 12px; color: var(--dl-soft); }
.dl-card__specs span { color: var(--dl-ink); font-weight: 600; }

.dl-card__foot { margin-top: auto; padding-top: 14px; }
.dl-card__stock {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--dl-line);
  font-size: 11px;
  color: var(--dl-ok);
}
.dl-card__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dl-card__stock.is-out { color: #c0392b; }
.dl-card__btn { width: 100%; }

/* List view */
.dl-grid.is-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
.dl-grid.is-list .dl-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--dl-line);
}
.dl-grid.is-list .dl-card__compare { grid-column: 1 / -1; }
.dl-grid.is-list .dl-card__body { padding-top: 0; }
.dl-grid.is-list .dl-card__title { font-size: 15px; }
.dl-grid.is-list .dl-card__specs { display: grid; gap: 4px; }
.dl-grid.is-list .dl-card__btn { width: auto; min-width: 200px; }

/* ---- Pagination / empty ---- */
.dl-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.dl-pagination .page-numbers {
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--dl-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--dl-ink);
}
.dl-pagination .page-numbers.current { background: var(--dl-ink); border-color: var(--dl-ink); color: #fff; }
.dl-pagination a.page-numbers:hover { border-color: var(--dl-ink); }
.dl-empty { padding: 60px 0; text-align: center; color: var(--dl-soft); }
.dl-empty a { color: var(--dl-ink); font-weight: 600; text-decoration: underline; }

/* ---- Compare bar + modal ---- */
.dl-compare-bar {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 90;
  width: min(960px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--dl-line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.dl-compare-bar[hidden] { display: none; }
.dl-compare-bar__items { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; overflow-x: auto; }
.dl-compare-bar__items li {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
  padding: 4px 6px 4px 4px;
  border: 1px solid var(--dl-line);
  border-radius: 8px;
  font-size: 12px;
}
.dl-compare-bar__items img { width: 36px; height: 36px; object-fit: contain; }
.dl-compare-bar__items span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl-compare-bar__items button { border: 0; background: none; color: var(--dl-soft); cursor: pointer; padding: 2px; }
.dl-compare-bar__actions { display: flex; align-items: center; gap: 14px; flex: none; }

.dl-compare-modal {
  width: min(1000px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  padding: 28px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.dl-compare-modal::backdrop { background: rgba(10, 10, 20, 0.55); }
.dl-compare-modal h2 { margin: 0 0 20px; font-size: 20px; }
.dl-compare-modal__close { position: absolute; top: 16px; right: 16px; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--dl-ink); }
.dl-compare-table-wrap { overflow-x: auto; }
.dl-compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dl-compare-table th,
.dl-compare-table td { padding: 12px; border-bottom: 1px solid var(--dl-line); text-align: left; vertical-align: top; min-width: 160px; }
.dl-compare-table th { width: 140px; min-width: 120px; color: var(--dl-soft); font-weight: 600; }
.dl-compare-table img { width: 120px; height: 120px; object-fit: contain; }
.dl-compare-table a { color: var(--dl-ink); font-weight: 600; }
.dl-compare-table a.dl-btn { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-archive.is-filters-hidden .dl-grid:not(.is-list) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .dl-layout,
  .dl-archive.is-filters-hidden .dl-layout { grid-template-columns: minmax(0, 1fr); }
  .dl-filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    width: min(320px, 86vw);
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    border-right: 0;
    box-shadow: var(--shadow-lg);
  }
  .dl-filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 16px; }
  .dl-filters__close { border: 0; background: none; font-size: 20px; cursor: pointer; }
  .dl-archive.is-filters-hidden .dl-filters { display: none; }
  .dl-archive:not(.is-filters-hidden)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(10, 10, 20, 0.45);
  }
  .dl-archive.is-filters-hidden .dl-grid:not(.is-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-grid.is-list .dl-card { grid-template-columns: 120px minmax(0, 1fr); column-gap: 16px; }
  .dl-toolbar__right .dl-view { padding-left: 14px; }
}
@media (max-width: 560px) {
  .dl-toolbar { gap: 12px; }
  .dl-toolbar__left, .dl-toolbar__right { gap: 12px; width: 100%; justify-content: space-between; }
  .dl-view span, .dl-switch > span:first-child { font-size: 12px; }
  .dl-grid, .dl-archive.is-filters-hidden .dl-grid:not(.is-list) { gap: 28px 14px; }
  .dl-card__title { font-size: 12px; }
  .dl-card__btn { padding: 9px 10px; font-size: 12px; }
  .dl-compare-bar { flex-direction: column; align-items: stretch; }
}
body.dl-no-scroll { overflow: hidden; }

/* ============================================================
   SINGLE PRODUCT (inc/woo-single.php)
   Same look as the /lighting/ product pages.
   ============================================================ */

.dsp {
  --dsp-line: #e6e6ee;
  color: var(--text-primary);
}
.dsp li::before { content: none; }

.dsp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

/* ---- Gallery ---- */
.dsp-gallery { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
.dsp-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: #f6f7fb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}
.dsp-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  transition: transform 0.25s ease;
}
.dsp-main.is-zoomed img { transform: scale(1.6); }
.dsp-main__fallback { font-size: 4rem; color: #d8d8e4; }
.dsp-expand {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--led-blue);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.dsp-expand:hover { background: var(--led-blue); color: #fff; }

.dsp-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.dsp-thumb {
  width: 76px;
  height: 76px;
  padding: 6px;
  border: 2px solid var(--dsp-line);
  border-radius: 10px;
  background: #f6f7fb;
  cursor: pointer;
  transition: border-color var(--trans-fast);
}
.dsp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dsp-thumb:hover,
.dsp-thumb.is-active { border-color: var(--led-blue); }

/* ---- Summary ---- */
.dsp-category {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--led-blue);
}
.dsp-title {
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #1a1a1a;
}
.dsp-short { font-size: 1rem; line-height: 1.7; color: var(--text-muted); }
.dsp-short p { margin: 0 0 12px; }
.dsp-short ul { margin: 0 0 12px; padding-left: 20px; }

.dsp-keyspecs {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.dsp-keyspecs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--dsp-line);
  border-radius: 10px;
  background: var(--bg-off-white);
}
.dsp-keyspecs span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.dsp-keyspecs strong { font-size: 0.92rem; color: #1a1a1a; }

.dsp-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.dsp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), background var(--trans-fast);
}
.dsp-btn--quote {
  background: linear-gradient(135deg, var(--led-blue) 0%, var(--led-blue-bright) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 0, 137, 0.25);
}
.dsp-btn--quote:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(20, 0, 137, 0.35); }
.dsp-btn--call { background: #f0f0f0; border-color: #e0e0e0; color: #333; }
.dsp-btn--call:hover { background: #e8e8e8; color: #000; }
.dsp-btn--pdf { background: #fff; border-color: var(--led-blue); color: var(--led-blue); }
.dsp-btn--pdf:hover { background: var(--bg-light); color: var(--led-blue); }
.dsp-btn--sm { padding: 10px 14px; font-size: 0.88rem; width: 100%; }

.dsp-assure {
  list-style: none;
  margin: 26px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--dsp-line);
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.dsp-assure i { width: 20px; color: var(--led-blue); }

/* ---- Tabs ---- */
.dsp-tabs { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--dsp-line); }
.dsp-tabs__nav { display: flex; gap: 0; border-bottom: 2px solid var(--dsp-line); margin-bottom: 32px; }
.dsp-tabs__nav button {
  padding: 14px 28px;
  margin-bottom: -2px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  font: 700 1rem var(--font-body);
  color: #999;
  cursor: pointer;
  transition: color var(--trans-fast), border-color var(--trans-fast);
}
.dsp-tabs__nav button:hover { color: #333; }
.dsp-tabs__nav button.is-active { color: var(--led-blue); border-bottom-color: var(--led-blue); }
.dsp-panel { max-width: 900px; }

.dsp-content { font-size: 1rem; line-height: 1.75; color: var(--text-muted); }
.dsp-content h2,
.dsp-content h3,
.dsp-content h4 { margin: 28px 0 14px; font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; color: #1a1a1a; text-transform: none; }
.dsp-content > :first-child { margin-top: 0; }
.dsp-content p { margin: 0 0 14px; }
.dsp-content strong,
.dsp-content b { color: #1a1a1a; }
.dsp-content ul,
.dsp-content ol { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.dsp-content ul li,
.dsp-content ol li {
  position: relative;
  margin: 0;
  padding-left: 30px;
}
.dsp-content ul li::before,
.dsp-content ol li::before {
  content: "\f00c";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--led-blue);
  font: 900 10px/20px "Font Awesome 6 Free";
  text-align: center;
}
.dsp-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

.dsp-spec-caption { margin: 28px 0 12px; font-size: 1.05rem; font-weight: 800; color: #1a1a1a; }
.dsp-spec-caption:first-child { margin-top: 0; }
.dsp-spec-table {
  width: 100%;
  margin: 0 0 28px;
  border: 1px solid var(--dsp-line);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 0.95rem;
}
.dsp-spec-table th,
.dsp-spec-table td { padding: 12px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--dsp-line); }
.dsp-spec-table tr:last-child th,
.dsp-spec-table tr:last-child td { border-bottom: 0; }
.dsp-spec-table th[scope="row"] { width: 40%; font-weight: 600; color: var(--text-secondary); background: var(--bg-off-white); }
.dsp-spec-table td { color: #1a1a1a; }
.dsp-spec-group th {
  padding: 10px 18px;
  background: var(--led-blue);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- Related ---- */
.dsp-related { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--dsp-line); }
.dsp-related__title { margin: 0 0 32px; text-align: center; font-size: 2rem; font-weight: 800; color: #1a1a1a; }
.dsp-related__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.dsp-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform var(--trans-fast), border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.dsp-card:hover { transform: translateY(-6px); border-color: var(--led-blue); box-shadow: 0 8px 20px rgba(20, 0, 137, 0.15); }
.dsp-card__img { height: 200px; display: flex; align-items: center; justify-content: center; background: #f6f7fb; }
.dsp-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.dsp-card__img i { font-size: 2.4rem; color: #ccc; }
.dsp-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 18px; }
.dsp-card__cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--led-blue); }
.dsp-card__name { flex: 1; margin: 0; font-size: 0.95rem; font-weight: 700; line-height: 1.35; }
.dsp-card__name a { color: #1a1a1a; }
.dsp-card__name a:hover { color: var(--led-blue); }

/* ---- Lightbox ---- */
.dsp-lightbox {
  width: min(900px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 24px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}
.dsp-lightbox::backdrop { background: rgba(5, 5, 15, 0.85); }
.dsp-lightbox img { display: block; width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.dsp-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #f0f0f4;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .dsp-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .dsp-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dsp-gallery { position: static; }
  .dsp-tabs__nav button { padding: 12px 18px; font-size: 0.92rem; }
}
@media (max-width: 480px) {
  .dsp-keyspecs { grid-template-columns: minmax(0, 1fr); }
  .dsp-related__grid { gap: 12px; }
  .dsp-card__img { height: 150px; }
  .dsp-card__body { padding: 12px; }
  .dsp-card__name { font-size: 0.85rem; }
  .dsp-spec-table th,
  .dsp-spec-table td { padding: 10px 12px; }
}
