/* PC Gallery Mac Compare: same light blue glass look as the Live Chat banner */
.pcg-cmp, .pcg-cmp-promo, .pcg-cmp-strip, .pcg-cmp-tray, .pcg-cmp-pp {
  --cb1: #0b5cab; --cb2: #3b82f6; --ctx: #1d1d1f; --csub: #5b6573; --cline: rgba(11, 92, 171, .14);
  --cbg: linear-gradient(135deg, #f4f8fe 0%, #e6f0fc 55%, #dce9fb 100%);
}
.pcg-cmp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border: 0; border-radius: 999px; background: linear-gradient(135deg, var(--cb1), var(--cb2)); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; box-shadow: 0 10px 24px rgba(11, 92, 171, .25); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.pcg-cmp-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(11, 92, 171, .3); }
.pcg-cmp-btn.sm { padding: 9px 18px; font-size: 14px; }
.pcg-cmp-link { background: none; border: 0; padding: 0; color: var(--cb1) !important; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; }
.pcg-cmp-link:hover { text-decoration: underline; }
.pcg-cmp-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .8); color: var(--cb1); font-size: 12px; font-weight: 700; letter-spacing: .02em; }

/* Compare button on product cards and the product page */
.product-miniature .product-image, .product-miniature .thumbnail-container { position: relative; }
.pcg-cmp-add { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--cline, rgba(11, 92, 171, .14)); border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0b5cab; font-size: 12px; font-weight: 700; cursor: pointer; line-height: 1.2; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.product-miniature .pcg-cmp-add { position: absolute; left: 10px; bottom: 10px; z-index: 3; box-shadow: 0 4px 12px rgba(10, 61, 110, .1); }
.pcg-cmp-add.on { background: #0b5cab; border-color: #0b5cab; color: #fff; }
.pcg-cmp-add svg { flex: none; }

/* product page */
.pcg-cmp-pp { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 14px 0 4px; padding: 12px 16px; border-radius: 18px; background: var(--cbg); }
.pcg-cmp-pp .pcg-cmp-add { font-size: 13px; padding: 8px 14px; }

/* tray */
.pcg-cmp-tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 1040; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid var(--cline); box-shadow: 0 18px 40px rgba(10, 61, 110, .18); color: var(--ctx); font-size: 14px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); white-space: nowrap; }
.pcg-cmp-tray[hidden] { display: none; }
.pcg-cmp-tray svg { color: #0b5cab; }
.pcg-cmp-tray-go { padding: 8px 16px; border-radius: 999px; background: linear-gradient(135deg, var(--cb1), var(--cb2)); color: #fff !important; font-weight: 700; text-decoration: none !important; }
.pcg-cmp-tray-x { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--csub); cursor: pointer; padding: 0 4px; }
/* below 1200px the WhatsApp card and Live Chat button sit at the bottom corners: keep the tray above them */
@media (max-width: 1199px) { .pcg-cmp-tray { bottom: 104px; } }
@media (max-width: 600px) { .pcg-cmp-tray { bottom: 140px; font-size: 13px; gap: 8px; padding-left: 14px; } }

/* home banner */
.pcg-cmp-promo-wrap { max-width: 1320px; margin: 10px auto 34px; padding: 0 15px; }
.pcg-cmp-promo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: 38px 44px; border-radius: 32px; background: var(--cbg); box-shadow: 0 24px 60px rgba(10, 61, 110, .12); color: var(--ctx); }
.pcg-cmp-promo h2 { margin: 14px 0 10px; font-size: 34px; line-height: 1.15; font-weight: 800; color: var(--ctx); }
.pcg-cmp-promo h2 span { display: block; color: var(--cb1); }
.pcg-cmp-promo p { margin: 0 0 22px; color: var(--csub); font-size: 16px; line-height: 1.55; max-width: 520px; }
.pcg-cmp-promo-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.pcg-cmp-promo-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pcg-cmp-promo-demo div { display: flex; flex-direction: column; gap: 6px; padding: 20px 14px; border-radius: 20px; background: rgba(255, 255, 255, .85); text-align: center; box-shadow: 0 8px 22px rgba(10, 61, 110, .08); }
.pcg-cmp-promo-demo b { font-size: 22px; color: var(--ctx); }
.pcg-cmp-promo-demo i { font-style: normal; font-size: 13px; color: var(--csub); }
.pcg-cmp-promo-demo em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--cb1); }
.pcg-cmp-promo-demo .pick { transform: translateY(-10px); outline: 2px solid var(--cb2); }
@media (max-width: 900px) {
  .pcg-cmp-promo { grid-template-columns: 1fr; padding: 26px 20px; border-radius: 24px; gap: 22px; }
  .pcg-cmp-promo h2 { font-size: 26px; }
  .pcg-cmp-promo p { font-size: 15px; }
  .pcg-cmp-promo-demo { gap: 8px; }
  .pcg-cmp-promo-demo div { padding: 14px 6px; }
  .pcg-cmp-promo-demo b { font-size: 17px; }
  .pcg-cmp-promo-demo .pick { transform: none; }
}

/* category strip */
.pcg-cmp-strip { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 18px; border-radius: 18px; background: var(--cbg); color: var(--ctx); font-size: 14px; line-height: 1.4; }
.pcg-cmp-strip > svg { color: #0b5cab; flex: none; }
.pcg-cmp-strip a { margin-left: auto; flex: none; color: var(--cb1); font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) { .pcg-cmp-strip { flex-wrap: wrap; font-size: 13px; } .pcg-cmp-strip a { margin-left: 30px; } }

/* the compare page */
.pcg-cmp { color: var(--ctx); max-width: 1320px; margin: 0 auto; padding: 0 15px 40px; }
.pcg-cmp-hero { padding: 34px 36px; border-radius: 32px; background: var(--cbg); margin: 10px 0 22px; }
.pcg-cmp-hero h1 { margin: 12px 0 8px; font-size: 38px; font-weight: 800; line-height: 1.15; color: var(--ctx); }
.pcg-cmp-hero p { margin: 0; color: var(--csub); font-size: 16px; max-width: 640px; line-height: 1.55; }
.pcg-cmp-wait, .pcg-cmp-hint { color: var(--csub); font-size: 15px; margin: 14px 2px; }
.pcg-cmp-advice { margin: 18px 0; padding: 18px 22px; border-radius: 20px; background: var(--cbg); }
.pcg-cmp-advice b { display: block; margin-bottom: 6px; color: var(--cb1); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.pcg-cmp-advice p, .pcg-cmp-advice li { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ctx); }
.pcg-cmp-advice ul { margin: 0; padding-left: 18px; }
.pcg-cmp-advice li + li { margin-top: 4px; }
.pcg-cmp-img { display: block; text-align: center; }
.pcg-cmp-img img { width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: contain; }
.pcg-cmp-scroll { overflow-x: auto; border-radius: 22px; border: 1px solid var(--cline); background: #fff; -webkit-overflow-scrolling: touch; }
.pcg-cmp-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.pcg-cmp-table th, .pcg-cmp-table td { padding: 12px 14px; border-bottom: 1px solid #eef1f5; text-align: left; vertical-align: top; }
.pcg-cmp-table tbody th { width: 130px; color: var(--csub); font-weight: 700; font-size: 13px; background: #fafcff; }
.pcg-cmp-table thead th { position: relative; vertical-align: bottom; width: 30%; }
.pcg-cmp-table thead th:first-child { width: 130px; }
.pcg-cmp-table thead .pcg-cmp-img img { max-width: 150px; }
.pcg-cmp-name { display: block; margin-top: 6px; color: var(--ctx); font-weight: 700; line-height: 1.35; font-size: 14px; }
.pcg-cmp-x { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f2f4f7; color: var(--csub); font-size: 18px; line-height: 1; cursor: pointer; }
.pcg-cmp-table td.best { color: #15803d; font-weight: 800; }
.pcg-cmp-table td.best::after { content: " ✓"; }
.pcg-cmp-table tr:last-child td, .pcg-cmp-table tr:last-child th { border-bottom: 0; }
.pcg-cmp-pick { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--cline); border-radius: 20px; background: #fff; }
.pcg-cmp-pick label { display: block; margin-bottom: 8px; font-weight: 800; text-align: left; }
.pcg-cmp-pick input { width: 100%; height: 50px; padding: 0 18px; border: 1px solid var(--cline); border-radius: 14px; font-size: 16px; background: #f7faff; }
.pcg-cmp-found { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; margin-top: 10px; }
.pcg-cmp-found button { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid transparent; border-radius: 14px; background: #f7faff; text-align: left; font-size: 14px; color: var(--ctx); cursor: pointer; }
.pcg-cmp-found button:hover { border-color: var(--cb2); }
.pcg-cmp-found img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.pcg-cmp-found small { display: block; color: var(--csub); font-size: 12px; margin-top: 2px; }
@media (max-width: 900px) {
  .pcg-cmp-hero { padding: 24px 20px; border-radius: 24px; }
  .pcg-cmp-hero h1 { font-size: 28px; }
  .pcg-cmp-table tbody th, .pcg-cmp-table thead th:first-child { width: 96px; }
}
.pcg-cmp-ask { margin-top: 20px; padding: 18px 20px; border-radius: 20px; background: var(--cbg); }
.pcg-cmp-ask label { display: block; margin-bottom: 8px; font-weight: 800; color: var(--ctx); text-align: left; }
.pcg-cmp-ask div { display: flex; gap: 10px; align-items: stretch; }
.pcg-cmp-ask textarea { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--cline); border-radius: 14px; font-size: 16px; background: #fff; resize: vertical; }
.pcg-cmp-ask .pcg-cmp-btn { white-space: nowrap; justify-content: center; }
@media (max-width: 600px) { .pcg-cmp-ask div { flex-direction: column; } }
/* phones: the table fits the screen (no sideways scrolling), names cut at 4 lines */
@media (max-width: 600px) {
  .pcg-cmp-table { min-width: 0; table-layout: fixed; font-size: 12.5px; }
  .pcg-cmp-table th, .pcg-cmp-table td { padding: 8px 6px; word-break: break-word; }
  .pcg-cmp-table tbody th, .pcg-cmp-table thead th:first-child { width: 72px; font-size: 12px; }
  .pcg-cmp-table thead th { width: auto; padding-top: 30px; }
  .pcg-cmp-table thead .pcg-cmp-img img { max-width: 86px; }
  .pcg-cmp-name { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .pcg-cmp-x { width: 24px; height: 24px; right: 2px; top: 2px; font-size: 16px; }
  .pcg-cmp-table .pcg-cmp-btn.sm { padding: 7px 10px; font-size: 12px; }
}