/* Darex Compare 1.8.2 — five independently styled modules.
 * Surface, font, radius and interaction colors inherit Darex UI Standard tokens.
 * Nothing here touches cards, wishlist, quick view or unrelated .dc-* controls. */
.dc-compare-wrap.dc-layout-v182 {
  --dc-accent:var(--dx-primary,#7653bb);
  --dc-accent-hover:var(--dx-primary-hover,#63449d);
  --dc-ink:var(--dx-text,#293246);
  --dc-muted:var(--dx-muted,#748096);
  --dc-border-ui:var(--dx-secondary-border,var(--dx-border-subtle,#e5e7ef));
  --dc-module-bg:var(--dx-surface,#fff);
  --dc-soft:var(--dx-surface-soft,#f7f8fb);
  --dc-radius-ui:var(--dx-radius-md,16px);
  --dc-label-col:194px;
  --dc-product-col:268px;
  display:flex; flex-direction:column; gap:14px; margin:0 auto; width:100%; max-width:100%;
  /* Space above comparison content is structural, not a theme-specific override. */
  padding:32px 0 0; box-shadow:none; background:transparent; border:0; border-radius:0;
  color:var(--dc-ink); font-family:var(--dx-font-family,var(--darex-font-family,Tahoma,sans-serif));
  line-height:1.7; text-align:right; direction:rtl;
}
.dc-compare-wrap.dc-layout-v182, .dc-compare-wrap.dc-layout-v182 * { box-sizing:border-box; }
.dc-compare-wrap.dc-layout-v182 .dc-module {
  min-width:0; width:100%; border:1px solid var(--dc-border-ui); border-radius:var(--dc-radius-ui);
  background:var(--dc-module-bg); overflow:hidden; box-shadow:0 7px 24px rgba(35,46,68,.035);
}
.dc-layout-v182 .dc-module--header { padding:18px 20px; }
.dc-layout-v182 .dc-compare-header { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.dc-layout-v182 .dc-compare-header__title { display:flex; align-items:center; gap:12px; min-width:0; }
.dc-layout-v182 .dc-compare-header__title>div { display:grid; gap:2px; }
.dc-layout-v182 .dc-compare-header__title h2, .dc-layout-v182 .dc-module__heading h2 {
  font-family:inherit; margin:0; padding:0; font-size:17px; line-height:1.6; font-weight:850; color:var(--dc-ink);
}
.dc-layout-v182 .dc-compare-header__title p, .dc-layout-v182 .dc-module__heading p {
  padding:0; margin:2px 0 0; color:var(--dc-muted); font-size:12px; font-weight:450; line-height:1.6;
}
.dc-layout-v182 .dc-compare-header__icon { width:42px;height:42px;flex:none;display:grid;place-items:center;
  border-radius:12px;border:1px solid var(--dc-border-ui);background:var(--dc-soft);color:var(--dc-accent); }
.dc-layout-v182 .dc-compare-header__icon svg { width:24px;height:24px;display:block; }
.dc-layout-v182 .dc-count-chip { font-weight:800;font-size:11px;border:1px solid var(--dc-border-ui);
  background:var(--dc-soft);color:var(--dc-ink);border-radius:100px;padding:4px 10px;white-space:nowrap; }
.dc-layout-v182 .dc-compare-toggle { display:flex;align-items:center;gap:9px;cursor:pointer;
  font-size:13px;font-weight:750;color:var(--dc-ink); }
.dc-layout-v182 .dc-switch { width:44px;height:24px;position:relative;display:inline-flex; flex:none; }
.dc-layout-v182 .dc-switch input { position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;z-index:1;cursor:pointer; }
.dc-layout-v182 .dc-switch__slider { position:absolute;inset:0;background:#c9cfda;border-radius:99px;pointer-events:none;transition:background .18s; }
.dc-layout-v182 .dc-switch__slider:before { content:"";position:absolute;top:4px;right:4px;width:16px;height:16px;border-radius:50%;
  background:#fff;box-shadow:0 1px 4px #0002;transition:transform .18s; }
.dc-layout-v182 .dc-switch input:checked+.dc-switch__slider { background:var(--dc-accent); }
.dc-layout-v182 .dc-switch input:checked+.dc-switch__slider:before { transform:translateX(-20px); }
.dc-layout-v182 .dc-switch input:focus-visible+.dc-switch__slider { outline:2px solid var(--dc-accent);outline-offset:3px; }
.dc-layout-v182 .dc-switch input:disabled+.dc-switch__slider { opacity:.5;cursor:not-allowed; }
.dc-layout-v182 .dc-compare-hint { margin:12px 0 0;padding:10px 12px;border-radius:10px;
  background:#fff9e9;color:#8d6715;font-size:12px; }
.dc-layout-v182 .dc-module__heading { display:flex;justify-content:space-between;align-items:center;
  padding:13px 18px;border-bottom:1px solid var(--dc-border-ui); gap:12px; background:var(--dc-module-bg); }
.dc-layout-v182 .dc-module-scroll { overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#c0c7d3 #f7f8fb;
  max-width:100%; overscroll-behavior-x:contain; }
.dc-layout-v182 .dc-module-scroll:focus-visible { outline:2px solid var(--dc-accent);outline-offset:-2px; }
.dc-layout-v182 .dc-compare-table { border:0;box-shadow:none;border-collapse:separate;border-spacing:0;table-layout:fixed;
  direction:rtl;width:100%;min-width:calc(var(--dc-label-col) + var(--dc-columns)*var(--dc-product-col));
  margin:0;color:var(--dc-ink);background:var(--dc-module-bg); }
.dc-layout-v182 .dc-compare-table .dc-col-label { width:var(--dc-label-col); }
.dc-layout-v182 .dc-compare-table .dc-col-product { width:calc((100% - var(--dc-label-col))/var(--dc-columns)); }
.dc-layout-v182 .dc-compare-table th, .dc-layout-v182 .dc-compare-table td {
  border:0;border-block-end:1px solid var(--dc-border-ui);border-inline-start:1px solid var(--dc-border-ui);
  box-shadow:none;padding:13px 14px;line-height:1.75;vertical-align:middle;text-align:center;
  color:var(--dc-ink);font-size:13px; overflow-wrap:anywhere; }
.dc-layout-v182 .dc-compare-table tr:last-child>th, .dc-layout-v182 .dc-compare-table tr:last-child>td { border-block-end:0; }
.dc-layout-v182 .dc-compare-table th[scope="row"] { position:sticky;right:0;z-index:2;
  width:var(--dc-label-col);min-width:var(--dc-label-col);text-align:right;white-space:normal;
  background:var(--dc-soft);color:var(--dc-ink);font-size:13px;font-weight:800; }
.dc-layout-v182 .dc-compare-table tr>th:first-child, .dc-layout-v182 .dc-compare-table tr>td:last-child { border-inline-start:0; }
.dc-layout-v182 .dc-row--product-cards th { vertical-align:top; padding:20px 16px; }
.dc-layout-v182 .dc-row--product-cards th strong { display:block;color:var(--dc-ink);font-size:14px;margin:0 0 5px; }
.dc-layout-v182 .dc-row--product-cards th small { color:var(--dc-muted);font-size:11px;font-weight:400; }
.dc-layout-v182 .dc-row--product-cards>td { padding:11px;vertical-align:stretch;background:#fff; }
.dc-layout-v182 .dc-product-hero { display:flex;flex-direction:column;gap:9px;align-items:center;
  height:100%;min-height:0;position:relative;padding:12px;border:1px solid var(--dc-border-ui);
  border-radius:13px;background:var(--dc-module-bg);text-align:center;box-shadow:none;transition:border-color .16s,box-shadow .16s; }
.dc-layout-v182 .dc-product-hero:hover { border-color:var(--dc-accent);box-shadow:0 6px 17px #27344d0a; }
.dc-layout-v182 .dc-compare-image { display:flex;align-items:center;justify-content:center;width:100%;height:172px;
  border:0;border-radius:11px;padding:5px;background:var(--dc-soft);overflow:hidden; }
.dc-layout-v182 .dc-compare-image img { display:block;width:100%;height:100%;max-width:100%;max-height:160px;
  object-fit:contain;border:0;border-radius:0;box-shadow:none;margin:0 auto; }
.dc-layout-v182 .dc-compare-title { display:-webkit-box;max-width:100%;height:auto;min-height:45px;
  overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;
  font-size:13.5px;font-weight:800;line-height:1.72;color:var(--dc-ink);text-decoration:none; }
.dc-layout-v182 .dc-compare-title:hover { color:var(--dc-accent); }
.dc-layout-v182 .dc-variation-chips { display:flex;justify-content:center;gap:5px;flex-wrap:wrap; }
.dc-layout-v182 .dc-variation-chips span { background:var(--dc-soft);border:1px solid var(--dc-border-ui);
  border-radius:7px;padding:2px 7px;font-size:10.5px;color:var(--dc-ink); }
.dc-layout-v182 .dc-variation-chips b { color:var(--dc-accent); }
.dc-layout-v182 .dc-product-brief { margin-top:auto;display:flex;align-items:center;justify-content:center;
  flex-wrap:wrap;gap:6px 12px;width:100%;min-height:30px; }
.dc-layout-v182 .dc-brief-price { color:var(--dc-ink);font-size:13px;font-weight:850; }
.dc-layout-v182 .dc-brief-price ins { color:var(--dc-accent);text-decoration:none; }
.dc-layout-v182 .dc-brief-price del { color:#b74856;font-size:11px;font-weight:450;opacity:.9;margin-inline:5px; }
.dc-layout-v182 .dc-compare-view-btn { align-self:stretch;display:flex;justify-content:center;align-items:center;
  min-height:38px;margin:0!important;border:1px solid var(--dc-accent)!important;
  border-radius:var(--dx-action-radius,10px)!important;background:var(--dc-accent)!important;
  color:#fff!important;font-size:12px;font-weight:750;line-height:1.5;font-family:inherit;text-decoration:none;
  transition:background .16s,border-color .16s; }
.dc-layout-v182 .dc-compare-view-btn:hover { background:var(--dc-accent-hover)!important;border-color:var(--dc-accent-hover)!important;color:#fff!important; }
.dc-layout-v182 .dc-compare-remove { position:absolute;top:9px;left:9px;z-index:3;width:32px;height:32px;
  display:grid;place-items:center;margin:0;padding:0;min-width:32px;min-height:32px;
  background:#fff7f7;color:#b63346;border:1px solid #f3d7dc;border-radius:9px;cursor:pointer; }
.dc-layout-v182 .dc-compare-remove svg { width:16px;height:16px;pointer-events:none; }
.dc-layout-v182 .dc-compare-remove:hover { color:#a0223c;background:#ffeaec;border-color:#eda9b2; }
.dc-layout-v182 .dc-compare-remove:focus-visible,.dc-layout-v182 .dc-tool-btn:focus-visible,.dc-layout-v182 .dc-compare-view-btn:focus-visible {
  outline:2px solid var(--dc-accent);outline-offset:3px; }
.dc-layout-v182 .dc-compare-remove:disabled,.dc-layout-v182 .dc-tool-btn:disabled { opacity:.45;cursor:wait; }
.dc-layout-v182 .dc-details-table .dc-row--detail:nth-child(odd)>td { background:var(--dc-module-bg); }
.dc-layout-v182 .dc-details-table .dc-row--detail:nth-child(even)>td { background:var(--dc-soft); }
.dc-layout-v182 .dc-details-table .dc-row--detail:nth-child(even)>th[scope="row"] { background:#edf1f7; }
.dc-layout-v182 .dc-details-table .dc-row--detail:hover>td { background:#f3f9f6; }
.dc-layout-v182 .dc-details-table .dc-row--detail:hover>th { background:#e9f4ed; }
.dc-layout-v182 .dc-row-label { display:inline;vertical-align:middle; }
.dc-layout-v182 .dc-details-table .dc-cell-value { font-size:13px;font-weight:600;color:var(--dc-ink); }
.dc-layout-v182 .dc-details-table .dc-row-price,.dc-layout-v182 .dc-details-table .dc-row-price ins { color:var(--dc-accent);font-size:14px;font-weight:850; }
.dc-layout-v182 .dc-details-table .dc-row-price del { color:#bc4d56;font-size:11px;font-weight:400;margin-inline:4px; }
.dc-layout-v182 .dc-badge { display:inline-flex;justify-content:center;align-items:center;padding:4px 10px;
  min-height:25px;border-radius:99px;font-size:11px;font-weight:750;white-space:nowrap; }
.dc-layout-v182 .dc-badge--success { color:#16744f;background:#e8f8ee; }
.dc-layout-v182 .dc-badge--danger { color:#a92d43;background:#fff0f1; }
.dc-layout-v182 .dc-badge--warning { color:#946217;background:#fff4df; }
.dc-layout-v182.dc-hide-identical .dc-row-identical { display:none; }
.dc-layout-v182 .dc-row--no-attributes td { text-align:right;font-size:12px;color:var(--dc-muted); }
.dc-layout-v182 .dc-tool-actions { display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:15px 18px; }
.dc-layout-v182 .dc-tool-btn { display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:1px solid var(--dc-border-ui);border-radius:10px;background:var(--dc-soft);color:var(--dc-ink);
  min-height:40px;padding:8px 15px;margin:0;font-size:12px;font-weight:750;line-height:1.5;font-family:inherit;cursor:pointer;
  transition:border-color .16s,background .16s,color .16s; }
.dc-layout-v182 .dc-tool-btn svg { width:18px;height:18px;flex:none; }
.dc-layout-v182 .dc-tool-btn:hover { background:#f0edf9;border-color:var(--dc-accent);color:var(--dc-accent); }
.dc-layout-v182 .dc-tool-btn--clear { color:#a83a4b; }
.dc-layout-v182 .dc-tool-btn--clear:hover { border-color:#df9aa5;background:#fff2f2;color:#a52d43; }
.dc-layout-v182 .dc-tool-note { margin-inline-start:auto;font-size:11px;color:var(--dc-muted); }
.dc-layout-v182 .dc-compare-table-empty { padding:32px; }
@media(max-width:760px) {
 .dc-compare-wrap.dc-layout-v182 { --dc-label-col:122px;--dc-product-col:194px;gap:10px;padding-block-start:18px; }
 .dc-layout-v182 .dc-module--header { padding:13px; }
 .dc-layout-v182 .dc-compare-header__title { gap:8px; }
 .dc-layout-v182 .dc-compare-header__title h2,.dc-layout-v182 .dc-module__heading h2 { font-size:14px; }
 .dc-layout-v182 .dc-compare-header__title p { display:none; }
 .dc-layout-v182 .dc-compare-header__icon { width:34px;height:34px; }
 .dc-layout-v182 .dc-compare-header__icon svg { width:20px;height:20px; }
 .dc-layout-v182 .dc-module__heading { padding:11px 12px; }
 .dc-layout-v182 .dc-module__heading p { font-size:11px; }
 .dc-layout-v182 .dc-compare-table th,.dc-layout-v182 .dc-compare-table td { padding:10px 9px;font-size:11.5px; }
 .dc-layout-v182 .dc-compare-table th[scope="row"] { font-size:11.5px; }
 .dc-layout-v182 .dc-row--product-cards>td { padding:6px; }
 .dc-layout-v182 .dc-product-hero { padding:9px 7px;gap:7px; }
 .dc-layout-v182 .dc-compare-image { height:124px; }
 .dc-layout-v182 .dc-compare-image img { max-height:116px; }
 .dc-layout-v182 .dc-compare-title { font-size:12px;min-height:41px; }
 .dc-layout-v182 .dc-tool-actions { padding:12px; }
 .dc-layout-v182 .dc-tool-note { flex-basis:100%; }
}
@media(prefers-reduced-motion:reduce) { .dc-layout-v182 .dc-product-hero,.dc-layout-v182 .dc-tool-btn,.dc-layout-v182 .dc-switch__slider,.dc-layout-v182 .dc-switch__slider:before { transition:none!important; } }
