/* product-page-v2.css — EasyeSIM productpagina V2
   All selectors scoped under .ep-v2 to isolate from other widget styles. */

/* ──────────── Design tokens ──────────── */
.ep-v2 {
  --orange: #EE5F0F;
  --orange-dark: #C94A06;
  --orange-light: #FFE4D2;
  --orange-50: #FFF5EE;
  --ink: #0E1B2C;
  --ink-2: #2B3A52;
  --ink-3: #6B7A90;
  --ink-4: #98A2B3;
  --success: #10B981;
  --surface: #FFFFFF;
  --surface-2: #FAFBFD;
  --surface-3: #F2F4F7;
  --border: #E4E7EC;
  --border-2: #EAECF0;
  --shadow-xs: 0 1px 2px rgba(14,27,44,0.06);
  --shadow-sm: 0 2px 6px rgba(14,27,44,0.06), 0 1px 2px rgba(14,27,44,0.04);
  --shadow: 0 12px 32px -12px rgba(14,27,44,0.16), 0 4px 12px -4px rgba(14,27,44,0.08);
  --shadow-orange: 0 12px 28px -8px rgba(238,95,15,0.45);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
}

.ep-v2, .ep-v2 *, .ep-v2 *::before, .ep-v2 *::after { box-sizing: border-box; }
.ep-v2 button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
.ep-v2 a { color: inherit; text-decoration: none; }
.ep-v2 .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

@keyframes ep-v2-pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes ep-v2-blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.05); }
}
@keyframes ep-v2-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ──────────── Section base ──────────── */
.ep-v2 .product-section { padding: 80px 0; }
.ep-v2 .product-section.alt { background: var(--surface-2); }
.ep-v2 .section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; background: var(--orange-light); color: var(--orange);
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; border-radius: 999px;
}
.ep-v2 .section-title {
  font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.025em;
  font-weight: 800; margin: 14px 0; color: var(--ink); max-width: 820px;
}
.ep-v2 .section-sub {
  font-size: 17px; color: var(--ink-2); line-height: 1.55; max-width: 680px; margin-bottom: 8px;
}

/* ──────────── Breadcrumb ──────────── */
.ep-v2 .breadcrumb {
  background: var(--surface-2); border-bottom: 1px solid var(--border-2);
  padding: 50px 0 14px; font-size: 13.5px; color: var(--ink-3);
  position: relative; z-index: 1;
}
.ep-v2 .breadcrumb .container { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ep-v2 .breadcrumb a { color: var(--ink-3); transition: color 0.15s; }
.ep-v2 .breadcrumb a:hover { color: var(--orange); }
.ep-v2 .breadcrumb .sep { opacity: 0.5; }
.ep-v2 .breadcrumb b { color: var(--ink); font-weight: 700; }

/* ──────────── Hero — wrapper + photo ──────────── */
.ep-v2 .p-hero {
  background: linear-gradient(180deg, var(--orange-50) 0%, white 100%);
  padding: 48px 0 80px; position: relative; overflow: hidden;
}
.ep-v2 .p-hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(238,95,15,0.18), transparent 65%);
  border-radius: 50%; animation: ep-v2-blob-float 16s ease-in-out infinite;
  pointer-events: none;
}
.ep-v2 .p-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 56px;
  align-items: start; position: relative; z-index: 1;
}
.ep-v2 .p-hero-grid > * { min-width: 0; }
.ep-v2 .p-info { min-width: 0; }
.ep-v2 .p-gallery { position: sticky; top: 92px; }
.ep-v2 .p-photo-main {
  aspect-ratio: 4/5; border-radius: 28px; overflow: hidden; position: relative;
  box-shadow: 0 32px 64px -24px rgba(14,27,44,0.25);
  background: linear-gradient(135deg, #E30A17 0%, #C70812 50%, #FF8243 100%);
}
.ep-v2 .p-photo-main.has-image {
  aspect-ratio: 5/6; background: var(--surface-3);
}
.ep-v2 .p-photo-main.has-image::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(227,10,23,0.2) 0%, rgba(199,8,18,0.2) 50%, rgba(255,130,67,0.2) 100%);
}
.ep-v2 .p-photo-main .photo-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 90%, rgba(0,0,0,0.18), transparent 60%);
}
.ep-v2 .p-photo-illu {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 240px; opacity: 1; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}
.ep-v2 .p-photo-main.has-image .p-photo-illu { font-size: 0; }
.ep-v2 .p-photo-illu img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  opacity: 1; display: block;
}
.ep-v2 .p-photo-illu img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.ep-v2 .p-photo-flag {
  position: absolute; top: 24px; left: 24px;
  width: 64px; height: 64px; border-radius: 999px; overflow: hidden;
  border: 4px solid white; box-shadow: 0 8px 20px rgba(0,0,0,0.25); z-index: 3;
}
.ep-v2 .p-photo-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-v2 .p-photo-meta {
  position: absolute; left: 24px; bottom: 24px; right: 24px; z-index: 3; color: white;
}
.ep-v2 .p-photo-meta .city {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; opacity: 0.85; margin-bottom: 4px;
}
.ep-v2 .p-photo-meta .name {
  font-size: 38px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1; text-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ──────────── Network list ──────────── */
.ep-v2 .network-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.ep-v2 .network-item {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  transition: border-color 0.15s, transform 0.15s;
}
.ep-v2 .network-item:hover { border-color: var(--orange-light); transform: translateX(2px); }
.ep-v2 .network-item .net-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--success); position: relative; flex-shrink: 0;
}
.ep-v2 .network-item .net-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: var(--success); animation: ep-v2-pulse-ring 2.4s ease-out infinite;
}
.ep-v2 .network-item > div:nth-child(2) { flex: 1; min-width: 0; }
.ep-v2 .network-item b {
  display: block; font-size: 15px; font-weight: 800;
  letter-spacing: -0.01em; color: var(--ink); line-height: 1.25;
}
.ep-v2 .network-item span { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.ep-v2 .net-bars { display: flex; align-items: flex-end; gap: 3px; height: 18px; flex-shrink: 0; }
.ep-v2 .net-bars span { width: 4px; background: var(--success); border-radius: 2px; }
.ep-v2 .net-bars span:nth-child(1) { height: 35%; }
.ep-v2 .net-bars span:nth-child(2) { height: 55%; }
.ep-v2 .net-bars span:nth-child(3) { height: 75%; }
.ep-v2 .net-bars span:nth-child(4) { height: 100%; }

/* ──────────── Hero info — tags, title, rating ──────────── */
.ep-v2 .p-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.ep-v2 .p-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.ep-v2 .p-tag.flag-tag { background: white; border: 1px solid var(--border); padding: 4px 12px 4px 4px; gap: 8px; }
.ep-v2 .p-tag.flag-tag .fl { width: 22px; height: 22px; border-radius: 999px; overflow: hidden; display: block; flex-shrink: 0; }
.ep-v2 .p-tag.flag-tag .fl img, .ep-v2 .p-tag.flag-tag .fl svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-v2 .p-tag.hot { background: var(--orange); color: white; }
.ep-v2 .p-tag.dot { background: var(--success); color: white; }
.ep-v2 .p-tag.dot::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: white; }

.ep-v2 .p-title {
  font-size: clamp(34px, 4vw, 50px); line-height: 1.04; letter-spacing: -0.025em;
  font-weight: 800; margin-bottom: 12px;
}
.ep-v2 .p-title .marker { color: var(--orange); position: relative; display: inline-block; }
.ep-v2 .p-title .marker svg {
  position: absolute; left: 0; right: 0; bottom: -4px;
  width: 100%; height: 10px; z-index: -1;
}
.ep-v2 .p-sub { font-size: 17px; color: var(--ink-2); margin-bottom: 24px; line-height: 1.55; }

.ep-v2 .p-rating {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--border-2);
  flex-wrap: wrap;
}
.ep-v2 .p-rating .stars { display: flex; gap: 2px; }
.ep-v2 .p-rating .num { font-size: 18px; font-weight: 800; color: var(--ink); }
.ep-v2 .p-rating .info { font-size: 13px; color: var(--ink-3); }
.ep-v2 .p-rating .info b { color: var(--ink); font-weight: 700; }
.ep-v2 .p-rating .live { margin-left: auto; font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.ep-v2 .p-rating .live .pulse { width: 7px; height: 7px; border-radius: 999px; background: var(--success); position: relative; }
.ep-v2 .p-rating .live .pulse::after {
  content: ''; position: absolute; inset: 0; border-radius: 999px;
  background: var(--success); animation: ep-v2-pulse-ring 2s ease-out infinite;
}

.ep-v2 .plan-toggle {
  display: flex; background: var(--surface-3); border-radius: 14px;
  padding: 4px; margin-bottom: 20px; position: relative;
}
body .ep-v2 .plan-toggle button {
  flex: 1; padding: 12px; font-size: 14px; font-weight: 700;
  border-radius: 10px; color: var(--ink-3) !important; transition: color 0.2s;
  position: relative; z-index: 1; background: transparent !important;
  border: 0; cursor: pointer;
}
body .ep-v2 .plan-toggle button:hover,
body .ep-v2 .plan-toggle button:focus { color: var(--ink) !important; background: transparent !important; }
body .ep-v2 .plan-toggle button.active,
body .ep-v2 .plan-toggle button.active:hover,
body .ep-v2 .plan-toggle button.active:focus { color: #fff !important; background: transparent !important; }
.ep-v2 .plan-toggle::before {
  content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc(50% - 4px); background: var(--ink); border-radius: 10px;
  transition: transform 0.3s var(--ease-out); z-index: 0;
}
.ep-v2 .plan-toggle.unlimited::before {
  transform: translateX(100%); background: linear-gradient(135deg, var(--orange), #FF8243);
}
.ep-v2 .plan-toggle button .new-pill {
  display: inline-block; background: var(--orange); color: white;
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em;
  padding: 2px 5px; border-radius: 4px; margin-left: 6px;
}

/* ──────────── Bundle grid + cards ──────────── */
.ep-v2 .bundle-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px; margin-bottom: 20px; width: 100%; max-width: 100%;
}
.ep-v2 .bundle-card {
  background: white; border: 2px solid var(--border); border-radius: 16px;
  padding: 18px; cursor: pointer; transition: all 0.18s var(--ease-out);
  position: relative; text-align: left;
  min-width: 0; max-width: 100%;
}
.ep-v2 .bundle-grid { overflow: visible; }
.ep-v2 .bundle-card .bundle-days,
.ep-v2 .bundle-card .bundle-price-per {
  word-break: break-word; overflow-wrap: anywhere;
}
.ep-v2 .bundle-card:hover { border-color: var(--orange-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ep-v2 .bundle-card.selected {
  border-color: var(--orange); background: var(--orange-50);
  box-shadow: 0 12px 28px -10px rgba(238,95,15,0.35);
}
.ep-v2 .bundle-card.selected::before {
  content: ''; position: absolute; top: 12px; right: 12px;
  width: 22px; height: 22px; border-radius: 999px; background: var(--orange);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}
.ep-v2 .bundle-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange) 0%, #FF8243 100%); color: white;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 14px -4px rgba(238,95,15,0.45);
  z-index: 2;
}
/* Defence in depth: never show more than one tag per card */
.ep-v2 .bundle-card .bundle-tag ~ .bundle-tag { display: none !important; }
.ep-v2 .bundle-tag.best { background: linear-gradient(135deg, var(--ink) 0%, #2B3A52 100%); box-shadow: 0 6px 14px -4px rgba(14,27,44,0.45); }
.ep-v2 .bundle-card { padding-top: 22px; }
/* Bundle card text — high specificity to win against theme button/link styles */
body .ep-v2 .bundle-card .bundle-data { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 4px; color: var(--ink) !important; word-break: break-word; }
body .ep-v2 .bundle-card .bundle-days { font-size: 13px; color: var(--ink-3) !important; font-weight: 600; margin-bottom: 12px; }
body .ep-v2 .bundle-card .bundle-price { font-size: 22px; font-weight: 800; color: var(--ink) !important; letter-spacing: -0.02em; }
body .ep-v2 .bundle-card .bundle-price-per { font-size: 11px; color: var(--ink-3) !important; font-weight: 600; margin-top: 2px; }
body .ep-v2 .bundle-card.selected .bundle-data,
body .ep-v2 .bundle-card.selected .bundle-price { color: var(--orange) !important; }
body .ep-v2 .bundle-card:hover { color: inherit; }
body .ep-v2 .bundle-card:hover .bundle-data { color: var(--ink) !important; }
body .ep-v2 .bundle-card.selected:hover .bundle-data { color: var(--orange) !important; }
.ep-v2 .bundle-card .save-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--success); color: white;
  font-size: 10px; font-weight: 800; padding: 3px 7px; border-radius: 6px; letter-spacing: 0.04em;
}
.ep-v2 .bundle-card.selected .save-badge { display: none; }

/* ──────────── Includes box ──────────── */
.ep-v2 .includes-box {
  background: white; border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; margin-bottom: 24px;
}
.ep-v2 .includes-box h4 {
  font-size: 13px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 12px;
}
.ep-v2 .includes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.ep-v2 .includes-grid .item {
  font-size: 13.5px; font-weight: 600; display: flex; align-items: center;
  gap: 8px; color: var(--ink-2);
}
.ep-v2 .includes-grid .item .ic {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--orange-light); color: var(--orange);
  display: grid; place-items: center; flex-shrink: 0;
}
.ep-v2 .includes-grid .item .ic svg { width: 14px; height: 14px; }

/* ──────────── Buy CTA + qty + trust + pay ──────────── */
.ep-v2 .buy-row { display: flex; align-items: stretch; gap: 12px; margin-bottom: 16px; }
.ep-v2 .qty-stepper {
  display: flex; align-items: center; background: white;
  border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden;
}
.ep-v2 .qty-stepper button {
  width: 44px; height: 56px; font-size: 20px; font-weight: 700;
  color: var(--ink-2); transition: background 0.15s;
}
.ep-v2 .qty-stepper button:hover { background: var(--surface-3); color: var(--orange); }
.ep-v2 .qty-stepper .val { width: 44px; text-align: center; font-weight: 800; font-size: 16px; }

.ep-v2 .btn-buy {
  flex: 1; background: var(--orange); color: white !important; min-height: 56px; height: 56px;
  padding: 0 20px; border: 0; border-radius: 14px; font-size: 16px; font-weight: 800;
  line-height: 1; letter-spacing: -0.005em;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 12px 24px -8px rgba(238,95,15,0.5);
  transition: all 0.18s var(--ease-out); position: relative; overflow: hidden;
  text-decoration: none !important; white-space: nowrap;
  cursor: pointer;
}
.ep-v2 .btn-buy:hover { background: var(--orange-dark); color: white !important; }
.ep-v2 .btn-buy svg { width: 18px; height: 18px; min-width: 18px; max-width: 18px; max-height: 18px; flex: 0 0 18px; display: inline-block; }
.ep-v2 .btn-buy .label { flex-shrink: 0; }
.ep-v2 .btn-buy .total { white-space: nowrap; flex-shrink: 0; }
.ep-v2 .btn-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -8px rgba(238,95,15,0.6);
  background: var(--orange-dark);
}
.ep-v2 .btn-buy::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}
.ep-v2 .btn-buy:hover::after { left: 100%; }
.ep-v2 .btn-buy .total {
  background: rgba(255,255,255,0.25); padding: 4px 10px;
  border-radius: 999px; font-size: 14px; margin-left: 4px;
}

.ep-v2 .trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.ep-v2 .trust-cell {
  background: white; border: 1px solid var(--border-2); border-radius: 12px;
  padding: 12px 8px; text-align: center; font-size: 11.5px; font-weight: 700;
  color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ep-v2 .trust-cell .ic {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--orange-light); color: var(--orange);
  display: grid; place-items: center;
}
.ep-v2 .trust-cell .ic svg { width: 14px; height: 14px; }

.ep-v2 .pay-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink-3); font-weight: 600;
}
.ep-v2 .pay-row .pay-logo {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; min-width: 48px;
  background: #fff; border: 1px solid var(--border-2);
  border-radius: 6px; padding: 4px 6px; overflow: hidden;
}
.ep-v2 .pay-row .pay-logo svg,
.ep-v2 .pay-row .pay-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ──────────── Live purchases ──────────── */
.ep-v2 .live-purchases {
  margin-top: 28px; background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; position: relative; overflow: hidden;
}
.ep-v2 .live-purchases::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--success);
}
.ep-v2 .live-purchases .av-stack { display: flex; }
.ep-v2 .live-purchases .av-stack > span {
  width: 30px; height: 30px; border-radius: 999px;
  border: 2px solid white; margin-right: -8px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: white;
}
.ep-v2 .live-purchases .body { flex: 1; line-height: 1.4; }
.ep-v2 .live-purchases b { color: var(--ink); }

/* ──────────── Compat checker v2 ──────────── */
.ep-v2 .compat-block-v2 {
  max-width: 760px; margin: 0 auto; background: white;
  border: 1px solid var(--border); border-radius: 28px;
  padding: 40px 44px 44px; box-shadow: var(--shadow-sm);
}
.ep-v2 .compat-label {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--ink-3); margin-bottom: 16px;
}
.ep-v2 .brand-row-v2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ep-v2 .brand-pill-v2 {
  background: white; border: 1.5px solid var(--border); border-radius: 18px;
  padding: 22px 12px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  cursor: pointer; transition: all 0.18s var(--ease-out); color: var(--ink);
}
.ep-v2 .brand-pill-v2:hover {
  border-color: var(--orange-light); transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.ep-v2 .brand-pill-v2.active {
  border-color: var(--orange); background: var(--orange-50); color: var(--orange);
  box-shadow: 0 8px 20px -8px rgba(238,95,15,0.35);
}
.ep-v2 .brand-pill-v2 .logo-ic {
  width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink);
}
.ep-v2 .brand-pill-v2.active .logo-ic { color: var(--orange); }
.ep-v2 .brand-pill-v2 .lbl { font-size: 14px; font-weight: 700; letter-spacing: -0.005em; }

.ep-v2 .compat-result-v2 {
  margin-top: 24px; padding: 18px 22px;
  background: var(--orange-50); border: 1px solid var(--orange-light);
  border-radius: 16px; display: flex; align-items: center; gap: 16px;
  animation: ep-v2-fade-in 0.3s var(--ease-out);
}
.ep-v2 .compat-result-v2[hidden] { display: none; }
.ep-v2 .compat-result-v2 .ic {
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--orange); color: white;
  display: grid; place-items: center; flex-shrink: 0;
}
.ep-v2 .compat-result-v2 b {
  font-size: 15px; font-weight: 800; display: block;
  color: var(--ink); letter-spacing: -0.005em;
}
.ep-v2 .compat-result-v2 span {
  font-size: 13.5px; color: var(--ink-2);
  margin-top: 2px; display: block; line-height: 1.5;
}

/* ──────────── Newsletter card ──────────── */
.ep-v2 .newsletter-card {
  display: grid; grid-template-columns: 1.05fr 1fr;
  background: white; border: 1px solid var(--border);
  border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.ep-v2 .newsletter-left {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2944 100%);
  color: white; padding: 48px 44px; position: relative; overflow: hidden;
}
.ep-v2 .newsletter-left::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(238,95,15,0.35), transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.ep-v2 .newsletter-left > * { position: relative; }
.ep-v2 .newsletter-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(238,95,15,0.18); color: #FFB892;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 12px;
  border-radius: 999px; margin-bottom: 18px;
}
.ep-v2 .newsletter-title {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  color: white; margin-bottom: 12px; line-height: 1.15;
}
.ep-v2 .newsletter-sub {
  font-size: 15px; color: rgba(255,255,255,0.72);
  margin-bottom: 22px; line-height: 1.55;
}
.ep-v2 .newsletter-perks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ep-v2 .newsletter-perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,0.85); font-weight: 600;
}
.ep-v2 .newsletter-perks li svg { color: var(--orange); flex-shrink: 0; }

.ep-v2 .newsletter-right {
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.ep-v2 .newsletter-form { display: flex; flex-direction: column; gap: 10px; }
.ep-v2 .newsletter-label {
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px;
}
.ep-v2 .newsletter-form input {
  height: 52px; padding: 0 18px;
  border: 1.5px solid var(--border); border-radius: 14px;
  background: white; font-size: 15px; font-weight: 600;
  color: var(--ink); outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; font-family: inherit;
}
.ep-v2 .newsletter-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(238,95,15,0.12);
}
.ep-v2 .newsletter-form input:disabled {
  background: var(--surface-2); color: var(--ink-3);
}
.ep-v2 .newsletter-submit { height: 52px; margin-top: 4px; font-size: 15px; }
.ep-v2 .newsletter-fine {
  font-size: 12px; color: var(--ink-3); line-height: 1.55; margin-top: 6px;
}
.ep-v2 .newsletter-fine a {
  color: var(--orange); font-weight: 700;
  text-decoration: underline; text-underline-offset: 2px;
}

/* ──────────── Data calculator (sliders) ──────────── */
.ep-v2 .calc-block {
  max-width: 760px; margin: 0 auto; background: white;
  border: 1px solid var(--border); border-radius: 28px;
  padding: 44px 48px; box-shadow: var(--shadow-sm);
}
.ep-v2 .calc-row { padding: 18px 0; border-bottom: 1px solid var(--border-2); }
.ep-v2 .calc-row:first-child { padding-top: 0; }
.ep-v2 .calc-row-head {
  display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px;
}
.ep-v2 .calc-row-head label { font-size: 15px; font-weight: 700; color: var(--ink); }
.ep-v2 .calc-row-value {
  font-size: 14px; font-weight: 800; color: var(--orange);
  background: var(--orange-50); padding: 4px 12px; border-radius: 999px;
}

.ep-v2 .slider-wrap { display: flex; flex-direction: column; gap: 8px; }
.ep-v2 .slider-track { position: relative; height: 28px; display: flex; align-items: center; }
.ep-v2 .slider-track input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; background: var(--surface-3);
  border-radius: 999px; outline: none; cursor: pointer;
}
.ep-v2 .slider-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 999px;
  background: white; border: 3px solid var(--orange); cursor: pointer;
  box-shadow: 0 4px 12px -2px rgba(238,95,15,0.5);
  transition: transform 0.12s var(--ease-out);
}
.ep-v2 .slider-track input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
.ep-v2 .slider-track input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 999px;
  background: white; border: 3px solid var(--orange); cursor: pointer;
}
.ep-v2 .slider-marks {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.02em;
}
.ep-v2 .slider-marks span.active { color: var(--orange); }

.ep-v2 .calc-toggle-row {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 0 22px; border-bottom: 1px solid var(--border-2);
}
.ep-v2 .calc-toggle-row label { font-size: 15px; font-weight: 700; color: var(--ink); flex: 1; }
.ep-v2 .calc-toggle-row .extra { font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.ep-v2 .calc-toggle {
  width: 46px; height: 26px; border-radius: 999px;
  background: var(--surface-3); border: none; position: relative;
  cursor: pointer; transition: background 0.2s; flex-shrink: 0; padding: 0;
}
.ep-v2 .calc-toggle .dot {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 999px;
  background: white; box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  transition: transform 0.22s var(--ease-out);
}
.ep-v2 .calc-toggle.on { background: var(--orange); }
.ep-v2 .calc-toggle.on .dot { transform: translateX(20px); }

.ep-v2 .calc-result-v2 {
  margin-top: 26px; padding: 28px;
  background: linear-gradient(135deg, var(--ink) 0%, #1a2944 100%);
  border-radius: 20px; color: white; text-align: center;
  position: relative; overflow: hidden;
}
.ep-v2 .calc-result-v2::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(238,95,15,0.35), transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.ep-v2 .calc-result-v2 > * { position: relative; }
.ep-v2 .calc-result-v2 .lbl {
  font-size: 12px; font-weight: 800; color: rgba(255,255,255,0.65);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.ep-v2 .calc-result-v2 .gb {
  font-size: 88px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.95;
  background: linear-gradient(135deg, var(--orange), #FF8243);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ep-v2 .calc-result-v2 .gb .unit {
  font-size: 26px; color: white; -webkit-text-fill-color: white;
  font-weight: 700; margin-left: 4px;
}
.ep-v2 .calc-result-v2 .meta, .ep-v2 .calc-result-v2 .calc-meta {
  font-size: 13px; color: rgba(255,255,255,0.6);
  margin-top: 10px; font-weight: 500;
}
.ep-v2 .calc-result-v2 .btn-buy {
  margin: 18px auto 0; width: auto; padding: 0 24px; height: 48px;
  display: inline-flex; flex: 0 0 auto;
}

/* ──────────── Steps3 ──────────── */
.ep-v2 .steps-3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 40px; position: relative;
}
.ep-v2 .step-card {
  background: white; border: 1px solid var(--border); border-radius: 22px;
  padding: 32px 28px; position: relative; z-index: 1;
  transition: all 0.25s var(--ease-out);
}
.ep-v2 .step-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow); }
.ep-v2 .step-card .num-big {
  font-size: 64px; font-weight: 800;
  background: linear-gradient(135deg, var(--orange), #FF8243);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -0.04em; line-height: 0.9; margin-bottom: 14px;
}
.ep-v2 .step-card h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 8px; }
.ep-v2 .step-card p { font-size: 14px; color: var(--ink-3); line-height: 1.55; }
.ep-v2 .step-card .visual {
  margin-top: 18px; padding: 14px; border-radius: 14px;
  background: var(--surface-2); font-size: 12px; color: var(--ink-2);
  font-weight: 600; display: flex; align-items: center; gap: 10px;
}
.ep-v2 .step-card .visual .ic {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--orange-light); color: var(--orange);
  display: grid; place-items: center;
}
.ep-v2 .step-card .visual .ic svg { width: 16px; height: 16px; }

/* ──────────── Reviews ──────────── */
.ep-v2 .product-reviews-row {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 32px; align-items: start;
}
.ep-v2 .tp-aside {
  background: white; border: 1px solid var(--border); border-radius: 22px;
  padding: 32px; position: sticky; top: 92px;
}
.ep-v2 .tp-aside .score-big {
  font-size: 72px; font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.9; color: var(--ink);
}
.ep-v2 .tp-aside .score-big small { font-size: 32px; color: var(--ink-3); font-weight: 700; }
.ep-v2 .tp-aside .stars-big { display: flex; gap: 3px; margin: 12px 0 8px; }
.ep-v2 .tp-aside .based { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; font-weight: 600; }
.ep-v2 .tp-aside .based b { color: var(--ink); }

.ep-v2 .rating-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
  font-size: 12px; color: var(--ink-3);
}
.ep-v2 .rating-bar .num { width: 18px; font-weight: 700; }
.ep-v2 .rating-bar .bar {
  flex: 1; height: 6px; background: var(--surface-3);
  border-radius: 999px; overflow: hidden;
}
.ep-v2 .rating-bar .bar > span { display: block; height: 100%; background: var(--success); border-radius: 999px; }
.ep-v2 .rating-bar .pct { width: 32px; text-align: right; font-weight: 700; color: var(--ink); }

.ep-v2 .review-cards-stack { display: flex; flex-direction: column; gap: 14px; }
.ep-v2 .product-review-card {
  background: white; border: 1px solid var(--border);
  border-radius: 18px; padding: 24px 28px;
  transition: border-color 0.15s;
}
.ep-v2 .product-review-card:hover { border-color: var(--orange-light); }
.ep-v2 .product-review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.ep-v2 .product-review-head .av {
  width: 44px; height: 44px; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange-light), white);
  border: 2px solid var(--orange-light); color: var(--orange);
  display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
}
.ep-v2 .product-review-head .meta b { font-size: 15px; font-weight: 800; display: block; }
.ep-v2 .product-review-head .meta span { font-size: 12px; color: var(--ink-3); }
.ep-v2 .product-review-head .stars { margin-left: auto; display: flex; gap: 2px; }
.ep-v2 .product-review-card h4 {
  font-size: 16px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px;
}
.ep-v2 .product-review-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ep-v2 .product-review-tags { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.ep-v2 .product-review-tags .pt {
  font-size: 11.5px; font-weight: 700; padding: 4px 10px;
  border-radius: 999px; background: var(--surface-2); color: var(--ink-3);
}
.ep-v2 .btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 12px 18px; border-radius: 12px; }
.ep-v2 .btn.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.ep-v2 .btn.btn-ghost:hover { background: var(--surface-3); }
.ep-v2 .btn.btn-primary { background: var(--orange); color: white; }
.ep-v2 .btn.btn-primary:hover { background: var(--orange-dark); }

/* ──────────── FAQ accordion ──────────── */
.ep-v2 .faq-list {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 800px; margin: 0 auto;
}
.ep-v2 .faq-item {
  background: white; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: all 0.2s;
}
.ep-v2 .faq-item.open { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.ep-v2 .faq-q {
  width: 100%; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-size: 16px; font-weight: 700;
  color: var(--ink); text-align: left; letter-spacing: -0.01em;
}
.ep-v2 .faq-q:hover { background: var(--surface-2); }
.ep-v2 .faq-q .chev {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--surface-3); display: grid; place-items: center;
  color: var(--ink-2); flex-shrink: 0;
  transition: all 0.25s var(--ease-out);
}
.ep-v2 .faq-item.open .faq-q .chev {
  background: var(--orange); color: white; transform: rotate(180deg);
}
.ep-v2 .faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease-out); }
.ep-v2 .faq-item.open .faq-a { max-height: 600px; }
.ep-v2 .faq-a-inner {
  padding: 0 26px 24px; font-size: 15px;
  color: var(--ink-2); line-height: 1.6;
}

/* ──────────── Sticky buy bar ──────────── */
.ep-v2 .sticky-buy {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid var(--border);
  padding: 14px 0; z-index: 60;
  box-shadow: 0 -10px 30px -8px rgba(14,27,44,0.08);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease-out);
}
.ep-v2 .sticky-buy.visible { transform: none; }
.ep-v2 .sticky-buy .container { display: flex; align-items: center; gap: 18px; }
.ep-v2 .sticky-buy .preview { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.ep-v2 .sticky-buy .preview .fl {
  width: 38px; height: 38px; border-radius: 999px;
  overflow: hidden; flex-shrink: 0; border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background: var(--surface-3);
}
.ep-v2 .sticky-buy .preview .fl img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-v2 .sticky-buy .preview .info { min-width: 0; }
.ep-v2 .sticky-buy .preview b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; display: block; }
.ep-v2 .sticky-buy .preview span { font-size: 13px; color: var(--ink-3); }
.ep-v2 .sticky-buy .price { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--orange); }
.ep-v2 .sticky-buy .btn {
  height: 48px; padding: 0 22px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; flex-shrink: 0; line-height: 1; font-weight: 800;
  border-radius: 12px; text-decoration: none !important; color: #fff !important;
}
.ep-v2 .sticky-buy .btn svg { width: 16px; height: 16px; min-width: 16px; flex: 0 0 16px; }

/* ──────────── Responsive ──────────── */
@media (max-width: 960px) {
  .ep-v2 .p-hero { padding: 28px 0 56px; }
  .ep-v2 .p-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .ep-v2 .p-hero-grid .p-info { order: 1; }
  .ep-v2 .p-hero-grid .p-gallery { order: 2; position: static; }
  .ep-v2 .p-photo-main { aspect-ratio: 16/10; max-height: 360px; }
  .ep-v2 .p-photo-meta .name { font-size: 28px; }
  .ep-v2 .p-photo-illu { font-size: 140px; }
  .ep-v2 .network-item { padding: 14px 16px; }
  .ep-v2 .network-item b { font-size: 14px; }
  .ep-v2 .p-title { font-size: 30px; }
  .ep-v2 .p-sub { font-size: 15px; }
  .ep-v2 .p-rating { gap: 8px 12px; }
  .ep-v2 .p-rating .live { margin-left: 0; width: 100%; }
  .ep-v2 .bundle-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ep-v2 .bundle-card { padding: 14px; }
  .ep-v2 .bundle-data { font-size: 22px; }
  .ep-v2 .bundle-price { font-size: 18px; }
  .ep-v2 .product-reviews-row { grid-template-columns: 1fr; }
  .ep-v2 .steps-3 { grid-template-columns: 1fr; }
  .ep-v2 .compat-block-v2, .ep-v2 .calc-block, .ep-v2 .calc-result-v2 { padding: 24px; }
  .ep-v2 .brand-row-v2 { grid-template-columns: 1fr 1fr; }
  .ep-v2 .newsletter-card { grid-template-columns: 1fr; }
  .ep-v2 .newsletter-left, .ep-v2 .newsletter-right { padding: 32px 28px; }
  .ep-v2 .newsletter-title { font-size: 24px; }
  .ep-v2 .calc-result-v2 .gb { font-size: 64px; }
  .ep-v2 .product-section { padding: 48px 0; }
  .ep-v2 .trust-row { grid-template-columns: 1fr 1fr; }
  .ep-v2 .tp-aside { position: static; padding: 24px; }
  .ep-v2 .tp-aside .score-big { font-size: 56px; }
  .ep-v2 .pay-row { gap: 6px; }
  .ep-v2 .pay-row .pay-logo { width: 46px; height: 26px; }
  .ep-v2 .section-title { font-size: 28px; }
  .ep-v2 .buy-row { flex-wrap: wrap; }
  .ep-v2 .qty-stepper { flex: 0 0 auto; }
  .ep-v2 .btn-buy { font-size: 15px; }
  .ep-v2 .live-purchases { padding: 14px 16px; font-size: 12.5px; }
  .ep-v2 .live-purchases .av-stack > span { width: 26px; height: 26px; font-size: 11px; }
  .ep-v2 .sticky-buy { padding: 10px 0; }
  .ep-v2 .sticky-buy .container { gap: 10px; padding: 0 14px; }
  .ep-v2 .sticky-buy .preview .fl { width: 32px; height: 32px; }
  .ep-v2 .sticky-buy .preview span { display: none; }
  .ep-v2 .sticky-buy .preview b { font-size: 12px; line-height: 1.2; }
  .ep-v2 .sticky-buy .price { font-size: 18px; }
  .ep-v2 .sticky-buy .btn { padding: 0 14px; font-size: 13px; height: 42px; }
  .ep-v2 .breadcrumb { font-size: 12px; padding: 40px 0 10px; }
  .ep-v2 .product-review-card { padding: 18px 20px; }
  .ep-v2 .product-review-card h4 { font-size: 15px; }
  .ep-v2 .product-review-card p { font-size: 14px; }
  .ep-v2 .faq-q { padding: 18px 20px; font-size: 14.5px; }
  .ep-v2 .faq-a-inner { padding: 0 20px 20px; font-size: 14px; }
}
@media (max-width: 480px) {
  .ep-v2 .bundle-grid { grid-template-columns: 1fr 1fr; }
  .ep-v2 .p-title { font-size: 26px; }
  .ep-v2 .p-photo-meta .name { font-size: 24px; }
  .ep-v2 .trust-row { grid-template-columns: 1fr 1fr; }
}
