/* ============================================================
   style.css — Proximus offer comparator stylesheet
   ============================================================ */
:root {
    --proximus-purple: #5C2D91;
    --proximus-purple-dark: #3D1C63;
    --proximus-purple-light: #EEEAF7;
    --proximus-mauve: #9B6FC9;
    --proximus-mauve-dark: #7A4FAE;
    --proximus-mauve-deep: #5A3680;
    --proximus-mauve-light: #E7DAF5;
    --scarlet-red: #E4032E;
    --scarlet-dark: #A80021;
    --scarlet-darker: #6B0016;
    --scarlet-light: #FBE0E4;
    --vikings-green: #EDEDED;
    --vikings-green-dark: #2B2B2B;
    --vikings-green-light: #F7F7F7;
    --vikings-black: #161616;
    --vikings-black-dark: #0A0A0A;
    --text-dark: #1A1A1A;
    --text-grey: #5A5A5A;
    --bg-grey: #F6F5FA;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg-grey);
    color: var(--text-dark);
    line-height: 1.55;
  }

  /* ===== TOP BAR ===== */
  .topbar {
    background: var(--topbar-bg, var(--proximus-purple-dark));
    color: var(--topbar-text, #fff);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    flex-wrap: wrap;
    gap: 12px;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .topbar .proximus-logo { color: var(--topbar-text, #fff); }

  .toggle-group {
    display: flex;
    background: rgba(127,127,127,0.16);
    border-radius: 999px;
    padding: 4px;
  }

  .topbar-light .toggle-group { background: rgba(0,0,0,0.08); }
  .topbar-light .lang-btn { border-color: rgba(0,0,0,0.25); }
  .topbar-light .cart-btn { background: rgba(0,0,0,0.08); }
  .topbar-light .cart-btn:hover { background: rgba(0,0,0,0.15); }
  .topbar-light .cart-badge { border-color: var(--topbar-bg, #fff); }

  .toggle-btn {
    border: none;
    background: transparent;
    color: var(--topbar-text, #fff);
    padding: 9px 22px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .toggle-btn.active {
    background: #fff;
    color: var(--active-accent-bg, var(--proximus-purple-dark));
  }

  .toggle-btn[data-view="vikings"].active {
    color: var(--vikings-black);
    background: var(--vikings-green);
    border: 1px solid rgba(0,0,0,0.1);
  }

  .lang-group {
    display: flex;
    gap: 6px;
  }

  .lang-btn {
    border: 1px solid rgba(127,127,127,0.4);
    background: transparent;
    color: var(--topbar-text, #fff);
    padding: 7px 13px;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .lang-btn.active {
    background: var(--active-accent-bg, var(--proximus-mauve));
    border-color: var(--active-accent-bg, var(--proximus-mauve));
    color: var(--active-accent-text, #fff);
  }

  /* ===== HEADER ===== */
  header {
    background: linear-gradient(135deg, var(--proximus-purple) 0%, var(--proximus-purple-dark) 60%, var(--proximus-mauve-dark) 100%);
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
  }

  header::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: var(--proximus-mauve);
    opacity: 0.15;
    border-radius: 50%;
  }

  header.header-business {
    background: linear-gradient(135deg, var(--proximus-mauve-dark) 0%, var(--proximus-mauve-deep) 55%, var(--proximus-purple-dark) 100%);
  }
  header.header-business::after { background: var(--proximus-mauve-deep); }

  header.header-scarlet {
    background: linear-gradient(135deg, var(--scarlet-red) 0%, var(--scarlet-dark) 65%, var(--scarlet-darker) 100%);
  }
  header.header-scarlet::after { background: var(--scarlet-dark); }

  header.header-vikings {
    background: linear-gradient(135deg, var(--vikings-black) 0%, var(--vikings-black-dark) 65%, #000 100%);
  }
  header.header-vikings::after { background: var(--vikings-green); opacity: 0.25; }

  .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 44px 24px 90px;
  }

  .category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }

  .category-badge {
    display: inline-block;
    padding: 9px 24px;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }

  #view-residentiel .category-badge { background: var(--proximus-purple); }
  #view-business .category-badge { background: var(--proximus-mauve-dark); }
  #view-scarlet .category-badge { background: var(--scarlet-red); }
  #view-vikings .category-badge { background: var(--vikings-black); color: var(--vikings-green); }

  .category-header .subtitle {
    color: var(--text-grey);
    font-size: 1.05rem;
  }

  .plans-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px;
  }

  @media (max-width: 1200px) {
    .plans-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 760px) {
    .plans-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 480px) {
    .plans-grid { grid-template-columns: 1fr; }
  }

  /* ===== SLIDER MODE (activated in JS when a grid overflows the visible row) =====
     Card width matches the static grid EXACTLY at every breakpoint (5 / 3 / 2 / 1
     columns), so cards are always the same size whether a tab shows 3 plans or 8. */
  .plans-grid-wrapper {
    position: relative;
  }

  .plans-grid.slider-mode {
    display: flex;
    grid-template-columns: none;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }

  .plans-grid.slider-mode .plan-card {
    flex: 0 0 calc((100% - 4 * 26px) / 5);
    min-width: 0;
  }

  @media (max-width: 1200px) {
    .plans-grid.slider-mode .plan-card { flex-basis: calc((100% - 2 * 26px) / 3); }
  }
  @media (max-width: 760px) {
    .plans-grid.slider-mode .plan-card { flex-basis: calc((100% - 26px) / 2); }
  }
  @media (max-width: 480px) {
    .plans-grid.slider-mode .plan-card { flex-basis: 100%; }
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: #fff;
    border: 2px solid var(--proximus-purple-light);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(60,20,100,0.18);
    font-size: 1.4rem;
    line-height: 1;
    color: var(--proximus-purple-dark);
    transition: background 0.2s ease, opacity 0.2s ease;
  }

  .slider-arrow:hover { background: var(--proximus-purple-light); }
  .slider-arrow-left { left: -16px; }
  .slider-arrow-right { right: -16px; }

  #view-business .slider-arrow { color: var(--proximus-mauve-dark); }
  #view-scarlet .slider-arrow { color: var(--scarlet-red); }
  #view-vikings .slider-arrow { color: var(--vikings-black); }

  .plan-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(60, 20, 100, 0.08);
    padding: 30px 26px 34px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    overflow: hidden;
    box-sizing: border-box;
  }

  .plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(60, 20, 100, 0.15);
  }

  .plan-card.recommended {
    border-color: var(--proximus-mauve);
  }

  .recommended-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--proximus-mauve);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 20;
  }

  .qty-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: var(--proximus-mauve-dark);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    min-width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 3px 8px rgba(60,20,100,0.3);
    border: 3px solid #fff;
    z-index: 2;
  }

  .plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--proximus-purple-dark);
    margin-bottom: 6px;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
  }

  #view-business .plan-name { color: var(--proximus-mauve-dark); }

  .plan-name-with-icon {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0 30px;
  }

  .plan-name-with-icon svg {
    position: absolute;
    left: 0;
    top: 2px;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
  }

  .plan-name-with-icon span {
    text-align: center;
  }

  #view-scarlet .plan-name { color: var(--scarlet-dark); }
  #view-scarlet .price-value { color: var(--scarlet-red); }
  #view-scarlet .plan-card.recommended { border-color: var(--scarlet-red); }
  #view-scarlet .recommended-tag { background: var(--scarlet-red); }
  #view-scarlet .qty-badge { background: var(--scarlet-dark); }
  #view-scarlet .add-cart-btn { background: var(--scarlet-red); }
  #view-scarlet .add-cart-btn.added { background: var(--scarlet-dark) !important; }
  #view-scarlet .features li::before { color: var(--scarlet-red); }
  #view-scarlet .network-tag { background: var(--scarlet-light); color: var(--scarlet-dark); }

  #view-vikings .plan-name { color: var(--vikings-black); }
  #view-vikings .price-value { color: var(--vikings-black); }
  #view-vikings .plan-card.recommended { border-color: var(--vikings-green); }
  #view-vikings .recommended-tag { background: var(--vikings-green); color: var(--vikings-black); }
  #view-vikings .qty-badge { background: var(--vikings-black); }
  #view-vikings .add-cart-btn { background: var(--vikings-black); color: var(--vikings-green); }
  #view-vikings .add-cart-btn.added { background: var(--vikings-green) !important; color: var(--vikings-black) !important; }
  #view-vikings .features li::before { color: var(--vikings-green-dark); }
  #view-vikings .network-tag { background: var(--vikings-green-light); color: var(--vikings-black); }

  .plan-data {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 8px 0 4px;
  }

  .plan-data span {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-grey);
  }

  .plan-price {
    margin: 12px 0 18px;
    padding: 12px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  .price-value {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--proximus-purple-dark);
  }

  #view-business .price-value { color: var(--proximus-mauve-dark); }

  .price-value .period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-grey);
  }

  .price-second-mobile {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--proximus-mauve-dark);
    margin-top: 4px;
  }

  .features {
    list-style: none;
    flex-grow: 1;
    font-size: 1rem;
    color: var(--text-dark);
  }

  .features li {
    padding: 7px 0 7px 26px;
    position: relative;
    border-bottom: 1px dashed #eee;
  }

  .features li:last-child { border-bottom: none; }

  .features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 7px;
    color: var(--proximus-mauve);
    font-weight: 800;
    font-size: 1.1rem;
  }

  #view-business .features li::before { color: var(--proximus-mauve-dark); }

  .network-tag {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--proximus-purple-light);
    color: var(--proximus-purple-dark);
    align-self: flex-start;
  }

  #view-business .network-tag {
    background: var(--proximus-mauve-light);
    color: var(--proximus-mauve-dark);
  }

  .addon-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
  }

  .addon-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-grey);
    white-space: nowrap;
  }

  .addon-select {
    flex: 0 1 148px;
    width: 148px;
    min-width: 0;
    margin-left: auto;
    padding: 6px 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 0.78rem;
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
  }

  .addon-select:focus {
    outline: none;
    border-color: var(--proximus-mauve);
  }

  #view-business .addon-select:focus { border-color: var(--proximus-mauve-dark); }

  .security-variant-select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 0.88rem;
    font-weight: 600;
    background: #fff;
    color: var(--text-dark);
    cursor: pointer;
    margin-top: 4px;
  }

  .security-variant-select:focus {
    outline: none;
    border-color: var(--proximus-mauve);
  }

  #view-business .security-variant-select:focus { border-color: var(--proximus-mauve-dark); }

  .addon-row-checkboxes {
    flex-direction: column;
    align-items: flex-start;
  }

  .option-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    margin-top: 6px;
  }

  .option-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-dark);
    cursor: pointer;
  }

  .option-checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--proximus-mauve);
    cursor: pointer;
    flex-shrink: 0;
  }

  .telephone-options-card {
    justify-content: flex-start;
  }

  .telephone-options-card .plan-name {
    margin-bottom: 14px;
  }

  .option-checkbox-group-standalone {
    margin-top: 0;
    gap: 14px;
  }

  .option-checkbox-group-standalone .option-checkbox {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .hidden { display: none !important; }

  /* ===== CART BUTTON ===== */
  .cart-btn {
    position: relative;
    background: rgba(127,127,127,0.18);
    border: none;
    color: var(--topbar-text, #fff);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .cart-btn:hover {
    background: rgba(127,127,127,0.3);
  }

  .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--active-accent-bg, var(--proximus-mauve));
    color: var(--active-accent-text, #fff);
    font-size: 0.72rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--topbar-bg, var(--proximus-purple-dark));
  }

  /* ===== ADD TO CART BUTTON ===== */
  .add-cart-btn {
    margin-top: 18px;
    border: none;
    background: var(--proximus-purple);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  #view-business .add-cart-btn { background: var(--proximus-mauve-dark); }

  .add-cart-btn:hover { filter: brightness(1.1); }
  .add-cart-btn:active { transform: scale(0.97); }

  .add-cart-btn.added {
    background: var(--proximus-mauve) !important;
  }

  /* ===== CART MODAL ===== */
  .cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 10, 35, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
  }

  .cart-modal {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 560px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  }

  .cart-modal-header {
    background: var(--proximus-purple-dark);
    color: #fff;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .cart-modal-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
  }

  .cart-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
  }

  .cart-close-btn:hover { background: rgba(255,255,255,0.3); }

  .cart-modal-body {
    padding: 10px 24px;
    overflow-y: auto;
    flex-grow: 1;
  }

  .cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
  }

  .cart-item:last-child { border-bottom: none; }

  .cart-item-info { flex-grow: 1; }

  .cart-item-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
  }

  .cart-item-meta {
    font-size: 0.88rem;
    color: var(--text-grey);
    margin-top: 2px;
  }

  .cart-addon-line {
    font-size: 0.82rem;
    color: var(--proximus-mauve-dark);
    margin-top: 4px;
    padding-left: 12px;
    border-left: 2px solid var(--proximus-mauve-light);
  }

  .cart-pack-status {
    font-style: italic;
    color: var(--text-grey);
    border-left-color: #ddd;
  }

  .cart-item-qty {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--proximus-purple-dark);
    background: var(--proximus-purple-light);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
  }

  .cart-item-price {
    font-weight: 800;
    color: var(--text-dark);
    min-width: 78px;
    text-align: right;
    white-space: nowrap;
  }

  .cart-remove-btn {
    background: none;
    border: 1px solid #ddd;
    color: var(--text-grey);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .cart-remove-btn:hover {
    background: #FCE8ED;
    color: #C4143C;
    border-color: #F3B8C6;
  }

  .cart-empty {
    text-align: center;
    padding: 50px 10px;
    color: var(--text-grey);
    font-size: 1rem;
  }

  .cart-modal-footer {
    padding: 18px 24px 24px;
    border-top: 1px solid #eee;
  }

  .cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
  }

  .cart-clear-btn {
    width: 100%;
    background: #f2f2f2;
    border: none;
    color: var(--text-grey);
    font-weight: 700;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: background 0.2s ease;
  }

  .cart-clear-btn:hover { background: #e6e6e6; }

  .disclaimer {
    max-width: 820px;
    margin: 44px auto 0;
    background: #fff;
    border-left: 4px solid var(--proximus-mauve);
    padding: 16px 20px;
    font-size: 0.95rem;
    color: var(--text-grey);
    border-radius: 4px;
  }

  /* ===== PRODUCT SUB-TABS (Internet / TV / Mobiles / Others) ===== */
  .product-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 26px;
    flex-wrap: wrap;
  }

  .tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: var(--proximus-purple);
    border: 2px solid var(--proximus-purple-light);
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }

  .tab-btn:hover {
    border-color: var(--proximus-mauve);
  }

  .tab-btn.active {
    background: var(--proximus-purple);
    color: #fff;
    border-color: var(--proximus-purple);
  }

  .tab-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-grey);
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    font-size: 1rem;
  }

  #view-business .tab-btn.active { background: var(--proximus-mauve-dark); border-color: var(--proximus-mauve-dark); }
  #view-business .tab-btn:hover { border-color: var(--proximus-mauve-dark); }

  #view-scarlet .tab-btn { color: var(--scarlet-dark); border-color: var(--scarlet-light); }
  #view-scarlet .tab-btn.active { background: var(--scarlet-red); border-color: var(--scarlet-red); color: #fff; }
  #view-scarlet .tab-btn:hover { border-color: var(--scarlet-red); }

  #view-vikings .tab-btn { color: var(--vikings-black); border-color: var(--vikings-green-light); }
  #view-vikings .tab-btn.active { background: var(--vikings-black); border-color: var(--vikings-black); color: var(--vikings-green); }
  #view-vikings .tab-btn:hover { border-color: var(--vikings-black); }

  footer {
    text-align: center;
    padding: 30px 20px 20px;
    color: var(--text-grey);
    font-size: 0.85rem;
    line-height: 1.7;
  }

  footer a { color: var(--proximus-purple); text-decoration: none; }

  .footer-credit {
    text-align: right;
    max-width: 1440px;
    margin: 18px auto 0;
    font-size: 0.78rem;
    color: #999;
  }

  .footer-credit a { color: var(--proximus-purple); font-weight: 600; }











/* ============================================================
   FILTERS SIDEBAR (Comparateur) - EN FORME DE CARTE
   ============================================================ */
.layout-wrapper {
    display: flex;
    gap: 26px;
    align-items: flex-start;
    margin-top: 10px;
}

/* SIDEBAR GAUCHE - EN FORME DE CARTE */
.sidebar-col {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 18px; /* Coins bien arrondis */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04); /* Ombre douce qui fait ressortir la carte */
    border: 1px solid #f0f0f0; /* Légère bordure blanche/grise */
    padding: 24px;
    position: sticky;
    top: 24px;
}

.filters-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--proximus-purple-dark);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-reset {
    background: var(--proximus-purple-light);
    color: var(--proximus-purple-dark);
    border: none;
    padding: 6px 12px;
    border-radius: 8px; /* Plus arrondi */
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-reset:hover {
    background: var(--proximus-mauve-light);
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e6e6e6; /* Ligne pointillée douce */
}
.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group label {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #111; /* Noir pur */
    margin-bottom: 12px;
}

/* CHAMP SELECT - BORDURE MAUVE */
.filter-select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px; /* Bords légèrement arrondis */
    border: 1px solid var(--proximus-mauve-dark); /* Bordure violette */
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* Flèche noire, plus épaisse */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.filter-select:focus {
    outline: none;
    border-color: var(--proximus-purple-dark);
}

.price-slicer {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd; /* Gris très clair pour min/max comme sur la photo */
    font-size: 0.95rem;
    text-align: center; /* Centré dans la photo min/max */
    color: #555; /* Texte gris pour "Min" */
}
.filter-input::placeholder {
    color: #999;
}
.filter-input:focus {
    outline: none;
    border-color: var(--proximus-mauve);
}
.price-slicer span {
    color: #111;
    font-weight: 400;
}

/* GRID DROITE */
.grid-col {
    flex: 1;
    min-width: 0;
}

.grid-col .plans-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ============================================================
   AJOUT IMAGE SMARTPHONE SUR LES CARTES
   ============================================================ */
.phone-img-container {
    width: 100%;
    height: 190px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px;
}
.phone-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.plan-card:hover .phone-img {
    transform: scale(1.1);
}

/* ============================================================
   ETAT DE CHARGEMENT
   ============================================================ */
.loader, .no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-grey);
    box-shadow: 0 2px 10px rgba(60, 20, 100, 0.08);
}

@media (max-width: 992px) {
    .layout-wrapper { flex-direction: column; }
    .sidebar-col { flex: none; width: 100%; top: 0; }
}


/* ===== FAVORITES / PINNED ===== */
.pinned-section { margin-bottom: 26px; background: #fff; border: 1px solid var(--proximus-purple-light); border-radius: 18px; padding: 18px; box-shadow: 0 4px 16px rgba(60, 20, 100, 0.05); }
.pinned-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pinned-title { font-size: 1.05rem; font-weight: 800; color: var(--proximus-purple-dark); }
.pinned-count { font-size: 0.85rem; font-weight: 700; color: var(--proximus-mauve-dark); background: var(--proximus-purple-light); padding: 5px 10px; border-radius: 999px; }

@media (max-width: 900px) { .pinned-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pinned-grid { grid-template-columns: 1fr; } }
.plan-card.is-pinned { border-color: var(--proximus-mauve); box-shadow: 0 0 0 2px rgba(155,111,201,0.12), 0 6px 18px rgba(60,20,100,0.08); }
.pin-btn { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: none; border-radius: 999px; background: #fff; color: #b7a8cf; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.08); z-index: 3; transition: transform .15s ease, background .15s ease, color .15s ease; }
.pin-btn:hover { transform: scale(1.06); }
.pin-btn.pinned { color: var(--proximus-mauve-dark); background: var(--proximus-purple-light); }
.clear-pins-btn { border: none; background: var(--proximus-purple-light); color: var(--proximus-purple-dark); font-weight: 700; font-size: 0.82rem; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.clear-pins-btn:hover { background: var(--proximus-mauve-light); }


/* ===== PILL FILTERS (remplace les select) ===== */
.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pill-btn {
    border: 1px solid var(--proximus-mauve-dark);
    background: #fff;
    color: var(--proximus-purple-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.pill-btn:hover { background: var(--proximus-purple-light); }
.pill-btn.active {
    background: var(--proximus-mauve-dark);
    border-color: var(--proximus-mauve-dark);
    color: #fff;
}
.pill-btn:active { transform: scale(0.97); }


/* ===== PHONE DETAILS TOGGLE ===== */
.phone-details {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.25s ease;
    opacity: 1;
}
.phone-details.hidden {
    max-height: 0;
    opacity: 0;
    margin: 0;
}


/* ===== ACCESSORY PACK ===== */
.accessory-pack-li {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.accessory-label {
    font-weight: 700;
    color: var(--text-dark);
}
.accessory-price {
    font-weight: 800;
    color: var(--proximus-purple-dark);
}
.accessory-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--proximus-mauve-dark);
    color: #fff;
    font-size: 0.75rem;
    font-style: italic;
    font-weight: 700;
    cursor: pointer;
    outline: none;
}
.accessory-tooltip {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e2ddf0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(60, 20, 100, 0.18);
    padding: 8px;
    z-index: 50;
}
.accessory-info-icon:hover .accessory-tooltip,
.accessory-info-icon:focus .accessory-tooltip {
    display: block;
}
.accessory-tooltip img {
    display: block;
    max-height: 225px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}



/* ===== TOPBAR / TITLE / LAST UPDATE ===== */
.app-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}
.last-update-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.12);
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 40px;
    padding: 20px 0 30px;
    border-top: 1px solid #e2ddf0;
    background: #fff;
}
.site-footer .container {
    text-align: center;
}
.site-footer p {
    font-size: 0.8rem;
    color: var(--text-grey);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
.site-footer a {
    color: var(--proximus-purple-dark);
    font-weight: 700;
    text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; }

/* ===== PINNED GRID FIX (full width, no gap) ===== */
.pinned-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}
.pinned-grid .plan-card {
    width: 100%;
    min-width: 0;
}
@media (max-width: 900px) {
    .pinned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .pinned-grid { grid-template-columns: 1fr; }
}

/* Force plan-name to always reserve 2 lines, including in pinned section */
.pinned-grid .plan-name,
.plans-grid .plan-name {
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3em;
}


/* ===== NOTES / STARS ===== */
.notes-list {
    margin-top: 4px;
}
.note-stars {
    color: var(--proximus-mauve-dark);
    font-size: 0.95rem;
    letter-spacing: 2px;
    margin-left: 6px;
}
.notes-list li strong {
    color: var(--proximus-purple-dark);
}
