/**
 * CPA Wishlist – Campings Favoris (V2)
 *
 * Styles for heart buttons (cards + single page),
 * header counter badge, toast notifications,
 * wishlist page, comparator, share, suggestions,
 * sync indicator, and alert modals.
 *
 * Palette : celle du theme aimer-camper (ac-portail.css), pas de couleurs en dur - var(--portail-accent)
 * pour l'accent de marque du portail courant (ex. #771012 sur insolite), var(--ac-ink/--ac-graphite/
 * --ac-stone) pour le texte, var(--ac-paper/--ac-line) pour les fonds/bordures neutres. Les boutons
 * d'action (Comparer, Partager, Voir le camping...) portent les classes .btn du theme directement
 * dans le markup PHP/JS - ce fichier ne redefinit que la mise en page propre au plugin (03/08/2026,
 * refonte visuelle : l'ancienne palette bleu/rouge/vert/orange codee en dur ne correspondait a aucune
 * charte de portail et donnait un rendu "trop de couleurs differentes" - retour Theo).
 */

/* Ces deux pages (page.php generique) enveloppent le contenu dans .prose pour les vraies pages
 * editoriales - or ".prose a" (1 classe + 1 element = specificite 0,1,1) passe devant ".btn-dark"
 * ou ".btn-primary" seuls (1 classe = 0,1,0) et rendait le texte des boutons illisible (noir sur
 * fond noir). Override scope par ID (toujours prioritaire sur de simples classes) plutot que de
 * retoucher .prose, qui doit rester tel quel pour les vraies pages de contenu. */
#cpa-wishlist-page a.btn,
#cpa-compare-page a.btn {
    text-decoration: none;
}

#cpa-wishlist-page a.btn.btn-dark,
#cpa-compare-page a.btn.btn-dark {
    color: var(--ac-paper);
}

#cpa-wishlist-page a.btn.btn-primary,
#cpa-compare-page a.btn.btn-primary {
    color: #fff;
}

#cpa-wishlist-page a.btn.btn-secondary,
#cpa-compare-page a.btn.btn-secondary {
    color: var(--ac-black);
}

/* =========================================
   1. Heart button – shared base
   ========================================= */
.cpa-wishlist-heart {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 50;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 0;
    line-height: 1;
}

.cpa-wishlist-heart:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.cpa-wishlist-heart:active {
    transform: scale(0.95);
}

.cpa-wishlist-heart svg {
    width: 20px;
    height: 20px;
    transition: fill 0.25s ease, stroke 0.25s ease;
    fill: none;
    stroke: var(--ac-graphite);
    stroke-width: 2;
}

.cpa-wishlist-heart.active svg {
    fill: var(--portail-accent);
    stroke: var(--portail-accent);
}

.cpa-wishlist-heart.cpa-pulse {
    animation: cpa-heart-pulse 0.4s ease;
}

@keyframes cpa-heart-pulse {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.3); }
    60%  { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* =========================================
   2. Heart on listing cards (thème aimer-camper : templates/carte-filtres.php,
      carte <div class="map-row"><div class="thumb">… - depuis le chantier CTTV/PPC du
      19/08/2026, .map-row n'est plus une ancre (cf JS injectHeartsOnCards()), le sélecteur
      "a.map-row .thumb" ne matchait donc plus rien (position:relative jamais appliquée,
      coeur qui se positionnait par rapport à toute la ligne au lieu de la vignette).
   ========================================= */
.map-row .thumb {
    position: relative;
}

/* Vignette listing minuscule (76x64px, cf home.css) : le coeur de base (36px)
   couvrait quasi toute l'image. Variante compacte dediee, trouve le 03/08/2026. */
.cpa-wishlist-heart-row {
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.cpa-wishlist-heart-row svg {
    width: 11px;
    height: 11px;
    stroke-width: 2.5;
}

/* =========================================
   2b. Heart on bloc-camping cards (Map & Filtres)
   ========================================= */
.bloc-camping .camping-img {
    position: relative;
}

.cpa-wishlist-heart-bloc {
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
}

.cpa-wishlist-heart-bloc svg {
    width: 17px;
    height: 17px;
}

/* =========================================
   2c. Heart on "Coup de coeur" cards (home, a.camp-card) - .camp-media est
   deja position:relative (home.css), .camp-fav en haut a gauche et .camp-price
   en bas a droite (cf home.css) laissent le coin haut-droit libre.
   ========================================= */
.cpa-wishlist-heart-campcard {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
}

.cpa-wishlist-heart-campcard svg {
    width: 17px;
    height: 17px;
}

/* =========================================
   3. Heart on single camping page
   ========================================= */
.cpa-wishlist-heart-single {
    position: relative;
    top: auto;
    right: auto;
    width: 42px;
    height: 42px;
    margin-left: 10px;
    display: inline-flex;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.95);
}

.cpa-wishlist-heart-single svg {
    width: 22px;
    height: 22px;
}

.cpa-wishlist-title-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.cpa-wishlist-title-row h1 {
    margin-bottom: 0;
}

/* =========================================
   4. Header counter badge
   ========================================= */
.cpa-wishlist-header-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: inherit;
    margin-left: 12px;
    transition: opacity 0.2s ease;
}

.cpa-wishlist-header-link:hover {
    opacity: 0.8;
    text-decoration: none;
    color: inherit;
}

.cpa-wishlist-header-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.cpa-wishlist-header-link.has-items svg {
    fill: var(--portail-accent);
    stroke: var(--portail-accent);
}

.cpa-wishlist-header-count {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: var(--portail-accent);
    border-radius: 9px;
    padding: 0 4px;
    box-sizing: border-box;
    display: none;
}

.cpa-wishlist-header-link.has-items .cpa-wishlist-header-count {
    display: block;
}

/* =========================================
   5. Toast notification
   ========================================= */
.cpa-wishlist-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 99999;
    background: var(--ac-black);
    color: var(--ac-paper);
    padding: 12px 24px;
    border-radius: var(--r-md);
    font-family: var(--ac-font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.cpa-wishlist-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.cpa-wishlist-toast a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: 600;
}

.cpa-wishlist-toast svg {
    display: inline;
    vertical-align: middle;
    margin-right: 4px;
}

/* =========================================
   6. Wishlist page – layout
   ========================================= */
.cpa-wishlist-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
    font-family: var(--ac-font-ui);
}

.cpa-wishlist-count-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    background: var(--ac-paper);
    border-radius: var(--r-md);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: var(--ac-ink);
    font-weight: 500;
    flex-wrap: wrap;
}

/* Boutons d'action (Comparer/Partager/Tout supprimer) : classes .btn du theme (ac-portail.css),
   cf markup PHP/JS - seul l'ecart de mise en page (pousser "Tout supprimer" a droite) reste ici. */
.cpa-wishlist-btn-clear {
    margin-left: auto;
}

.cpa-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.cpa-wishlist-card {
    position: relative;
    background: var(--ac-white);
    border: 1px solid var(--ac-line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cpa-wishlist-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.cpa-wishlist-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.cpa-wishlist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cpa-wishlist-card-image .cpa-wishlist-heart {
    top: 10px;
    right: 10px;
}

.cpa-wishlist-card-body {
    padding: 1rem;
}

.cpa-wishlist-card-name {
    font-family: var(--ac-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ac-ink);
    margin: 0 0 0.3rem;
    line-height: 1.3;
}

.cpa-wishlist-card-name a {
    color: inherit;
    text-decoration: none;
}

.cpa-wishlist-card-name a:hover {
    text-decoration: underline;
}

.cpa-wishlist-card-location {
    font-size: 0.82rem;
    color: var(--ac-stone);
    margin: 0 0 0.6rem;
}

.cpa-wishlist-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.cpa-wishlist-card-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ac-ink);
}

.cpa-wishlist-card-price small {
    font-weight: 400;
    color: var(--ac-stone);
    font-size: 0.78rem;
}

/* .cpa-wishlist-card-link : boutons .btn .btn-dark .btn-sm (cf markup JS), rien a surcharger ici. */

/* =========================================
   7. Wishlist page – empty state
   ========================================= */
.cpa-wishlist-empty {
    text-align: center;
    padding: 4rem 1rem;
}

.cpa-wishlist-empty-icon {
    margin-bottom: 1.5rem;
}

.cpa-wishlist-empty-title {
    font-family: var(--ac-font-display);
    color: var(--ac-ink);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.cpa-wishlist-empty-text {
    color: var(--ac-stone);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.cpa-wishlist-heart-inline {
    color: var(--portail-accent);
    font-size: 1.1em;
}

/* .cpa-wishlist-btn-explore : bouton .btn .btn-primary (cf markup PHP), rien a surcharger ici. */

/* =========================================
   8. Loading state
   ========================================= */
.cpa-wishlist-loading {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--ac-stone);
}

.cpa-wishlist-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 4px solid var(--ac-line);
    border-top-color: var(--portail-accent);
    border-radius: 50%;
    animation: cpa-spin 0.6s linear infinite;
    margin-bottom: 1rem;
}

@keyframes cpa-spin {
    to { transform: rotate(360deg); }
}

/* =========================================
   9. V2 – Share & Compare buttons : .btn .btn-secondary/.btn-primary .btn-sm
      (cf markup JS, injectShareButton()), rien a surcharger ici.
   ========================================= */

/* =========================================
   10. V2 – Shared wishlist header
   ========================================= */
.cpa-shared-header {
    text-align: center;
    padding: 1.5rem;
    background: var(--ac-paper);
    border-radius: var(--r-lg);
    margin-bottom: 1.5rem;
}

.cpa-shared-header h2 {
    font-family: var(--ac-font-display);
    color: var(--ac-ink);
    margin: 0 0 0.3rem;
}

.cpa-shared-header p {
    color: var(--ac-stone);
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

/* .cpa-shared-import-btn : bouton .btn .btn-primary (cf markup JS), disabled gere par .btn ci-dessous. */
.cpa-shared-import-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* =========================================
   11. V2 – Suggestions section
   ========================================= */
.cpa-suggestions-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--ac-line);
}

.cpa-suggestions-title {
    font-family: var(--ac-font-display);
    color: var(--ac-ink);
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.cpa-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cpa-suggestion-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cpa-suggestion-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cpa-suggestion-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
}

.cpa-suggestion-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cpa-suggestion-body {
    padding: 0.75rem 1rem;
}

.cpa-suggestion-body h3 {
    font-family: var(--ac-font-display);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    color: var(--ac-ink);
}

.cpa-suggestion-body h3 a {
    color: inherit;
    text-decoration: none;
}

.cpa-suggestion-body h3 a:hover {
    text-decoration: underline;
}

.cpa-suggestion-loc {
    font-size: 0.78rem;
    color: var(--ac-stone);
    margin: 0 0 0.5rem;
}

.cpa-suggestion-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cpa-suggestion-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ac-ink);
}

.cpa-suggestion-add {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ac-line);
    border-radius: 50%;
    background: var(--ac-white);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.cpa-suggestion-add:hover {
    border-color: var(--portail-accent);
    background: var(--ac-paper);
}

.cpa-suggestion-add svg {
    width: 16px;
    height: 16px;
    stroke: var(--portail-accent);
    fill: none;
}

.cpa-suggestion-add:disabled {
    opacity: 0.6;
    cursor: default;
}

/* =========================================
   12. V2 – Compare page
   ========================================= */
.cpa-compare-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
    font-family: var(--ac-font-ui);
}

.cpa-compare-intro {
    text-align: center;
    padding: 1.5rem 0;
}

.cpa-compare-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.cpa-compare-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 0.8rem;
    background: var(--ac-white);
    border: 2px solid var(--ac-line);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cpa-compare-item:hover {
    border-color: var(--portail-accent);
}

.cpa-compare-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--portail-accent);
}

.cpa-compare-item input[type="checkbox"]:checked + .cpa-compare-item-img + .cpa-compare-item-info {
    color: var(--ac-ink);
}

.cpa-compare-item-img {
    width: 48px;
    height: 36px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.cpa-compare-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cpa-compare-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cpa-compare-item-info strong {
    font-size: 0.85rem;
    color: var(--ac-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cpa-compare-item-info small {
    font-size: 0.75rem;
    color: var(--ac-stone);
}

/* .cpa-compare-btn : bouton .btn .btn-primary (cf markup PHP), disabled gere ci-dessous. */
.cpa-compare-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

/* .cpa-compare-back : bouton .btn .btn-secondary .btn-sm (cf markup PHP), juste l'espacement ici. */
.cpa-compare-back {
    margin-bottom: 1rem;
}

.cpa-compare-empty {
    color: var(--ac-stone);
    font-size: 0.9rem;
}

.cpa-compare-empty a {
    color: var(--ac-black);
    text-decoration: underline;
    text-decoration-color: var(--portail-accent);
}

/* Compare table */
.cpa-compare-table-wrapper {
    overflow-x: auto;
}

.cpa-compare-tbl {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.cpa-compare-tbl th {
    text-align: left;
    padding: 0.75rem;
    font-family: var(--ac-font-ui);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ac-ink);
    background: var(--ac-paper);
    border-bottom: 2px solid var(--ac-line);
    white-space: nowrap;
    vertical-align: top;
    width: 120px;
}

.cpa-compare-tbl td {
    padding: 0.75rem;
    font-size: 0.88rem;
    color: var(--ac-graphite);
    border-bottom: 1px solid var(--ac-line);
    vertical-align: top;
    min-width: 160px;
}

.cpa-compare-tbl tr:first-child td {
    padding: 0;
}

.cpa-compare-tbl tr:first-child td img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: var(--r-md);
}

.cpa-compare-tbl td a {
    color: var(--ac-black);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--portail-accent);
}

.cpa-compare-tbl td a.btn {
    text-decoration: none;
}

/* Rangee CTA "Voir le site officiel" (bookUrl) : ni label ni bordure, juste le bouton centre. */
.cpa-compare-tbl tr:last-child th {
    background: transparent;
    border-bottom: none;
}

.cpa-compare-tbl tr:last-child td {
    border-bottom: none;
    text-align: center;
}

.cpa-tag {
    display: inline-block;
    padding: 2px 10px;
    margin: 2px;
    background: var(--ac-paper-dark);
    color: var(--ac-ink);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.cpa-na {
    color: var(--ac-stone);
}

/* =========================================
   13. V2 – Sync indicator
   ========================================= */
.cpa-sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--ac-graphite);
    font-weight: 500;
    padding: 2px 8px;
    background: var(--ac-paper);
    border-radius: 999px;
}

.cpa-sync-badge svg {
    stroke: var(--portail-accent);
    fill: none;
    width: 12px;
    height: 12px;
}

/* =========================================
   14. V2 – Alert button & modal : bouton page fiche = .btn .btn-secondary .btn-sm
      (cf markup JS), l'espacement dans .cpa-wishlist-title-row reste ici.
   ========================================= */
.cpa-alert-btn {
    margin-left: 8px;
}

.cpa-alert-btn-card {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ac-line);
    border-radius: 50%;
    background: var(--ac-white);
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    flex-shrink: 0;
}

.cpa-alert-btn-card:hover {
    border-color: var(--portail-accent);
    background: var(--ac-paper);
}

.cpa-alert-btn-card svg {
    stroke: var(--ac-graphite);
    fill: none;
    width: 14px;
    height: 14px;
}

.cpa-alert-btn-card:hover svg {
    stroke: var(--portail-accent);
}

/* Modal overlay */
.cpa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cpa-modal {
    background: var(--ac-white);
    border-radius: var(--r-lg);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--sh-lg);
    position: relative;
    animation: cpa-modal-in 0.3s ease;
}

@keyframes cpa-modal-in {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cpa-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--ac-paper);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--ac-graphite);
    transition: all 0.2s ease;
}

.cpa-modal-close:hover {
    background: var(--ac-paper-dark);
}

.cpa-modal h3 {
    font-family: var(--ac-font-display);
    color: var(--ac-ink);
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cpa-modal h3 svg {
    stroke: var(--portail-accent);
    fill: none;
}

.cpa-modal p {
    color: var(--ac-stone);
    font-size: 0.88rem;
    margin: 0 0 1rem;
}

#cpa-alert-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#cpa-alert-email {
    padding: 0.65rem 0.9rem;
    border: 2px solid var(--ac-line);
    border-radius: var(--r-md);
    font-family: var(--ac-font-ui);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

#cpa-alert-email:focus {
    border-color: var(--portail-accent);
}

/* .cpa-alert-submit : bouton .btn .btn-primary (cf markup JS), etire en pleine largeur du formulaire. */
.cpa-alert-submit {
    width: 100%;
}

.cpa-alert-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.cpa-alert-note {
    font-size: 0.75rem !important;
    color: var(--ac-stone) !important;
    margin-top: 0.5rem !important;
}

/* =========================================
   15. Responsive
   ========================================= */
@media (max-width: 991px) {
    .cpa-wishlist-grid,
    .cpa-suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cpa-wishlist-grid,
    .cpa-suggestions-grid {
        grid-template-columns: 1fr;
    }

    .cpa-wishlist-card-image {
        height: 160px;
    }

    .cpa-wishlist-heart-single {
        width: 36px;
        height: 36px;
    }

    .cpa-wishlist-header-link {
        margin-left: 8px;
    }

    .cpa-wishlist-toast {
        font-size: 0.82rem;
        padding: 10px 18px;
        max-width: 90vw;
        white-space: normal;
        text-align: center;
    }

    .cpa-wishlist-count-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .cpa-wishlist-btn-clear {
        margin-left: 0;
    }

    .cpa-compare-selector {
        grid-template-columns: 1fr;
    }

    .cpa-compare-tbl {
        font-size: 0.8rem;
    }

    .cpa-compare-tbl th,
    .cpa-compare-tbl td {
        padding: 0.5rem;
        min-width: 120px;
    }

    .cpa-wishlist-title-row {
        flex-wrap: wrap;
    }

    .cpa-alert-btn {
        margin-left: 0;
        margin-top: 8px;
    }
}

/* Google Rating Stars */
.cpa-rating-stars {
    color: #f5a623;
    font-size: 1.1em;
    letter-spacing: 1px;
}
