/* Darex Compare 1.8.3 — premium, lively module layer, scoped exclusively to compare page. */
.dc-compare-wrap.dc-layout-v182.dc-layout-v183 {
  --dc-v183-purple:#7551b6;
  --dc-v183-green:#129c77;
  --dc-v183-rose:#c65a79;
  --dc-v183-gold:#bc822d;
  --dc-v183-faint: #faf9ff;
  --dc-accent:var(--dx-primary, #7551b6);
  --dc-accent-hover:var(--dx-primary-hover, #61449b);
  --dc-radius-ui:var(--dx-radius-lg, 17px);
  --dc-label-col:168px;
  --dc-product-col:275px;
  gap:16px;
  isolation:isolate;
}
.dc-layout-v182.dc-layout-v183 .dc-module {
  border-color:#e5dff1;
  box-shadow:0 9px 28px rgba(67,53,93,.065), 0 2px 8px rgba(75,69,93,.035);
  background:#fff;
}
.dc-layout-v182.dc-layout-v183 .dc-module--header {
  background:linear-gradient(116deg,#f1edff 0%,#fcf9ff 55%,#effaf6 100%);
  border:1px solid #e0d8f4;
  box-shadow:0 12px 32px rgba(97,74,146,.08);
  padding:19px 21px;
}
.dc-layout-v182.dc-layout-v183 .dc-compare-header__icon {
  background:linear-gradient(145deg,var(--dc-accent),#9470d0);
  color:white;border:none;border-radius:13px;
  box-shadow:0 5px 14px rgba(118,83,187,.23);
}
.dc-layout-v182.dc-layout-v183 .dc-count-chip {
  color:var(--dc-accent);
  background:#fff;
  border:1px solid #ddcff5;
  box-shadow:0 2px 5px rgba(48,32,72,.04);
}
.dc-layout-v182.dc-layout-v183 .dc-compare-toggle {
  background:rgba(255,255,255,.72);
  border:1px solid #e6ddf4;
  border-radius:999px;
  padding:7px 10px 7px 12px;
}
.dc-layout-v182.dc-layout-v183 .dc-compare-hint {
  border:1px solid #f3e2b8;
}
.dc-layout-v182.dc-layout-v183 .dc-module__heading {
  padding:15px 19px;
  background:linear-gradient(103deg,#f7f2ff,#fdfbff 66%,#fff);
  border-bottom:1px solid #e8e1f1;
  border-inline-start:4px solid var(--dc-accent);
}
.dc-layout-v182.dc-layout-v183 .dc-module--products .dc-module__heading {
  background:linear-gradient(105deg,#f4efff,#fcf9ff 63%,#f8f4ff);
}
.dc-layout-v182.dc-layout-v183 .dc-module--basics .dc-module__heading {
  border-inline-start-color:var(--dc-v183-green);
  background:linear-gradient(105deg,#eefaf5,#fbfffd 69%,#fff);
}
.dc-layout-v182.dc-layout-v183 .dc-module--attributes .dc-module__heading {
  border-inline-start-color:var(--dc-v183-gold);
  background:linear-gradient(105deg,#fff7e9,#fffcf6 70%,#fff);
}
.dc-layout-v182.dc-layout-v183 .dc-module--tools .dc-module__heading {
  border-inline-start-color:var(--dc-v183-rose);
  background:linear-gradient(105deg,#fff1f6,#fffbfc 68%,#fff);
}
.dc-layout-v182.dc-layout-v183 .dc-row--product-cards>td {
  background:linear-gradient(180deg,#fcfbff,#fff 85%);
  padding:12px;
}
.dc-layout-v182.dc-layout-v183 .dc-product-hero {
  border:1px solid #e3dbea;
  background:linear-gradient(170deg,#fff,#fffdff 57%,#f8f5fc);
  border-radius:15px;
  padding:13px;
  gap:10px;
  overflow:hidden;
  box-shadow:0 5px 16px rgba(54,35,91,.055);
  transition:transform .2s, box-shadow .2s, border-color .2s;
}
.dc-layout-v182.dc-layout-v183 .dc-product-hero:before {
  content:"";
  position:absolute;inset:0 0 auto;
  height:3px;
  background:linear-gradient(90deg,var(--dc-accent),#a78add,var(--dc-v183-green));
  pointer-events:none;
}
.dc-layout-v182.dc-layout-v183 .dc-product-hero:hover {
  transform:translateY(-2px);
  border-color:#c4b2e3;
  box-shadow:0 10px 24px rgba(75,54,117,.13);
}
.dc-layout-v182.dc-layout-v183 .dc-compare-image {
  height:192px;
  padding:10px;
  background:linear-gradient(145deg,#f6f3fc,#fff 68%,#f2fbf7);
  border:1px solid #efeaf7;
  border-radius:12px;
}
.dc-layout-v182.dc-layout-v183 .dc-compare-image img {
  max-height:180px;
  object-fit:contain;
  transition:transform .2s;
}
.dc-layout-v182.dc-layout-v183 .dc-product-hero:hover .dc-compare-image img {transform:scale(1.035);}
.dc-layout-v182.dc-layout-v183 .dc-compare-title {
  font-size:14px; min-height:45px;
}
.dc-layout-v182.dc-layout-v183 .dc-brief-price {
  color:#3c3352;
  font-size:14px;
}
.dc-layout-v182.dc-layout-v183 .dc-product-metrics {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  width:100%;
}
.dc-layout-v182.dc-layout-v183 .dc-product-metric {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  border-radius:999px;
  padding:5px 10px;
  border:1px solid transparent;
  line-height:1.3;
  direction:rtl;
}
.dc-layout-v182.dc-layout-v183 .dc-product-metric svg {
  width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;
}
.dc-layout-v182.dc-layout-v183 .dc-product-metric--rating {
  background:#fff8e9;border-color:#f2e3be;color:#976216;
}
.dc-layout-v182.dc-layout-v183 .dc-product-metric--rating svg {fill:#e8b450;stroke:#c08a22;}
.dc-layout-v182.dc-layout-v183 .dc-product-metric--views {
  background:#eaf9f3;border-color:#c9e9de;color:#08785d;
}
.dc-layout-v182.dc-layout-v183 .dc-product-metric small {font-size:10px;font-weight:650;opacity:.85;}
.dc-layout-v182.dc-layout-v183 .dc-view-hot,.dc-layout-v182.dc-layout-v183 .dc-view-popular {font-size:12px;line-height:1;}
.dc-layout-v182.dc-layout-v183 .dc-compare-view-btn {
  background:linear-gradient(105deg,var(--dc-accent),#a06ed0)!important;
  border:1px solid transparent!important;
  color:#fff!important;
  border-radius:11px!important;
  font-size:13px;font-weight:850;
  min-height:43px;
  box-shadow:0 5px 14px rgba(118,83,187,.22);
  transition:transform .18s,filter .18s,box-shadow .18s;
}
.dc-layout-v182.dc-layout-v183 .dc-compare-view-btn:hover {
  background:linear-gradient(105deg,var(--dc-accent-hover),#8358b2)!important;
  filter:saturate(1.1); color:#fff!important;
  box-shadow:0 8px 19px rgba(118,83,187,.32);
  transform:translateY(-1px);
}
.dc-layout-v182.dc-layout-v183 .dc-compare-remove {
  background:#fff0f4;
  color:#b53b54;
  box-shadow:0 3px 8px rgba(127,47,65,.08);
}
.dc-layout-v182.dc-layout-v183 .dc-compare-remove:hover {background:#ffe3eb;color:#a12741;}
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail:nth-child(even)>td {background:#f9f8fc;}
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail:nth-child(even)>th {background:#f0edf7;}
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail:nth-child(odd)>th {background:#f8f6fc;}
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail:hover>td {background:#f0f9f5;}
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail:hover>th {background:#e9f4ee;}
/* Differences use complete, soft row backgrounds, not dots or border markers.
 * The state class is still retained for the "only differences" toggle. */
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail.dc-row-different > td,
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail.dc-row-different > th[scope="row"] {
  background:#f2f0fb;
  box-shadow:none;
  border-inline-end:0;
}
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail.dc-row-different:nth-child(even) > td,
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail.dc-row-different:nth-child(even) > th[scope="row"] {
  background:#edeaf8;
}
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail.dc-row-different:hover > td,
.dc-layout-v182.dc-layout-v183 .dc-details-table .dc-row--detail.dc-row-different:hover > th[scope="row"] {
  background:#e8f6f0;
}
.dc-layout-v182.dc-layout-v183 .dc-cell-value--views {
  background:#eaf9f3;color:#0b7057!important;
  border:1px solid #d8f0e6;border-radius:99px;
  padding:4px 10px;
  display:inline-flex;align-items:center;gap:5px;
}
.dc-layout-v182.dc-layout-v183 .dc-cell-value--rating {
  background:#fff8e8;color:#a06b21!important;
  border:1px solid #f3e3bd;border-radius:99px;
  padding:4px 10px;
  display:inline-flex;align-items:center;gap:5px;
}
.dc-layout-v182.dc-layout-v183 .dc-tool-actions {
  background:linear-gradient(112deg,#fffbfd,#fbf9ff 55%,#f3faf7);
  padding:19px;
}
.dc-layout-v182.dc-layout-v183 .dc-tool-btn {
  min-height:43px;border-radius:11px;font-size:12.5px;font-weight:850;
  box-shadow:0 4px 12px rgba(37,32,65,.07);
  transition:transform .18s,box-shadow .18s,background .18s;
}
.dc-layout-v182.dc-layout-v183 .dc-tool-btn--share {
  color:#fff;background:linear-gradient(110deg,#109979,#35b9a7);
  border-color:#14947c;
}
.dc-layout-v182.dc-layout-v183 .dc-tool-btn--share:hover {
  color:#fff;background:linear-gradient(110deg,#087b64,#149f91);
  border-color:#0b7964;
  box-shadow:0 7px 15px rgba(9,145,115,.19);
  transform:translateY(-1px);
}
.dc-layout-v182.dc-layout-v183 .dc-tool-btn--clear {
  color:#b4425f;background:#fff0f4;border-color:#f0ced9;
}
.dc-layout-v182.dc-layout-v183 .dc-tool-btn--clear:hover {
  color:#a52d43;background:#ffe4eb;border-color:#edb3c1;
  box-shadow:0 7px 15px rgba(180,66,95,.12);
  transform:translateY(-1px);
}
.dc-layout-v182.dc-layout-v183 .dc-tool-note {font-size:12px;}
@media(max-width:760px) {
  .dc-compare-wrap.dc-layout-v182.dc-layout-v183 {--dc-label-col:121px;--dc-product-col:190px;gap:11px;}
  .dc-layout-v182.dc-layout-v183 .dc-module--header {padding:14px;}
  .dc-layout-v182.dc-layout-v183 .dc-module__heading {padding:12px 13px;}
  .dc-layout-v182.dc-layout-v183 .dc-row--product-cards>td {padding:6px;}
  .dc-layout-v182.dc-layout-v183 .dc-product-hero {padding:9px 7px;gap:7px;}
  .dc-layout-v182.dc-layout-v183 .dc-compare-image {height:138px;padding:5px;}
  .dc-layout-v182.dc-layout-v183 .dc-compare-image img {max-height:130px;}
  .dc-layout-v182.dc-layout-v183 .dc-compare-title {font-size:12px;min-height:41px;}
  .dc-layout-v182.dc-layout-v183 .dc-product-metric {padding:4px 7px;font-size:10.5px;}
  .dc-layout-v182.dc-layout-v183 .dc-compare-view-btn {min-height:39px;font-size:11.5px;}
  .dc-layout-v182.dc-layout-v183 .dc-tool-actions {padding:12px;}
}
@media(prefers-reduced-motion:reduce) {
  .dc-layout-v182.dc-layout-v183 .dc-compare-image img,
  .dc-layout-v182.dc-layout-v183 .dc-compare-view-btn,
  .dc-layout-v182.dc-layout-v183 .dc-tool-btn,
  .dc-layout-v182.dc-layout-v183 .dc-product-hero {transition:none!important;transform:none!important;}
}
