/* --- BASE & WRAPPER --- */
.sb-finder-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px; font-family: 'HURMEGEOMETRIC', sans-serif; }
.sb-finder-card { text-align: center; margin-bottom: 20px; }

/* --- PHRASE DYNAMIQUE & SELECTS --- */
.sb-finder-phrase { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 8px; row-gap: 15px; margin-bottom: 40px; width: 100%; }
.sb-break { flex-basis: 100%; height: 0; }
.sb-fixed-text { font-size: 26px; color: #1a1a1a; font-weight: 600; }

.sb-adaptive-select { 
    appearance: none; 
    -webkit-appearance: none; 
    border: none; 
    background: transparent; 
    font-size: 26px; 
    font-family: inherit; 
    color: #999;
    font-weight: 600;
    cursor: pointer; 
    outline: none; 
    padding: 0 15px 0 0; 
    margin: 0 5px 0 0; 
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23999%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 50%; 
    background-size: 10px; 
}

/* Style les options du menu déroulant */
.sb-adaptive-select option {
    font-size: 16px !important;  /* Taille normale */
    font-weight: 400 !important; /* Poids normal (pas gras) */
    color: #333 !important;      /* Couleur plus lisible */
}

/* --- BOUTON PRINCIPAL (ANIMÉ) --- */
.sb-btn-main { 
    position: relative; 
    background: #000 !important; 
    color: #fff !important; 
    border: 1px solid #000; 
    padding: 18px 50px; 
    font-size: 11px; 
    letter-spacing: 2px; 
    font-weight: bold; 
    cursor: pointer; 
    text-transform: uppercase; 
    font-family: inherit; 
    overflow: hidden; 
    min-width: 280px; 
    transition: all 0.3s ease; 
}
.sb-btn-main::before { content: ""; position: absolute; top: 0; left: 0; height: 100%; width: 0%; background-color: #fff; z-index: 1; transition: width 0.5s ease; }
.sb-btn-main span { position: relative; z-index: 2; }
.sb-btn-main:not(.loading):not(.finished):hover { background-color: #fff !important; color: #000 !important; }
.sb-btn-main:not(.loading):not(.finished):hover span { color: #000 !important; }
.sb-btn-main.loading, .sb-btn-main.finished { background-color: #000 !important; color: #fff !important; }
.sb-btn-main.loading::before { width: 90%; transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); }
.sb-btn-main.finished::before { width: 100%; transition: width 0.3s ease-in; }
.sb-btn-main.loading span, .sb-btn-main.finished span { mix-blend-mode: difference; }

/* --- RÉSULTATS SPLIT LAYOUT --- */
.sb-results-split { margin-top: 80px; border-top: 1px solid #f0f0f0; transition: opacity 0.5s ease; }
.sb-split-content { display: flex; align-items: stretch; background: #fff; position: relative; }

/* CÔTÉ PRINCIPAL (BLANC) */
.sb-main-side { flex: 7; padding: 0 40px 60px 40px; min-width: 0; }
.sb-sticky-wrapper { position: -webkit-sticky; position: sticky; top: 140px; align-self: flex-start; }
.sb-results-header { padding: 20px 0 20px 0; text-align: center; } 
.sb-results-title { font-size: 18px; letter-spacing: 1px; text-transform: uppercase; color: #1a1a1a; margin: 0 auto 30px auto; line-height: 1.4; max-width: 600px; font-weight: bold; }

#sb-main-item-display { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px 30px; width: 100%; }

/* CÔTÉ RITUEL (NOIR) */
.sb-routine-side { flex: 3; width: 380px; min-width: 300px; background: #1a1a1a; padding: 30px 30px 60px 30px; color: #fff; }
.sb-routine-label { font-size: 13px; letter-spacing: 3px; color: #fff; border-bottom: 1px solid #333; padding-bottom: 15px; margin-bottom: 40px; text-align: center; font-weight: bold; }
.sb-routine-list .sb-item { width: 100%; margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid #333; }

/* --- ITEMS & PRODUITS --- */
.sb-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    height: 100%; 
    transition: all 0.3s ease; 
}
.sb-item-link { text-decoration: none; color: inherit; display: block; width: 100%; }

.sb-item h4 { 
    min-height: 65px; 
    margin-bottom: 10px; 
    display: flex; 
    align-items: flex-start; 
    justify-content: center; 
    width: 100%; 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    line-height: 1.3; 
    font-weight: bold; 
}

.sb-item .price { 
    display: block; 
    text-align: center; 
    width: 100%; 
    margin-bottom: 10px; 
    min-height: 24px; 
}
.sb-item .price * { font-weight: 600 !important; font-size: 14px; }

.sb-image-wrapper { width: 100%; display: flex; align-items: center; justify-content: center; background: #fdfdfd; margin-bottom: 15px; }
.sb-main-side .sb-image-wrapper { height: 300px; }
.sb-routine-side .sb-image-wrapper { background: #f5f5f5; height: 160px; margin-bottom: 10px; }
.sb-image-wrapper img { max-height: 85%; max-width: 85%; object-fit: contain; }

/* --- VARIATIONS & BOUTONS PANIER --- */
.sb-variation-selector { 
    display: flex; 
    justify-content: center; 
    gap: 6px; 
    margin-bottom: 20px; 
    flex-wrap: wrap; 
    min-height: 35px; 
    width: 100%; 
}

.sb-var-btn { border: 1px solid #ccc; background: transparent; color: inherit; padding: 5px 10px; font-size: 11px; font-weight: 600; cursor: pointer; transition: 0.2s; font-family: inherit; }
.sb-var-btn.active { background: #000 !important; color: #fff !important; border-color: #000 !important; }

.sb-routine-side .sb-var-btn { border-color: #444; color: #fff; }
.sb-routine-side .sb-var-btn:hover:not(.active) { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.sb-routine-side .sb-var-btn.active { background: #fff !important; color: #000 !important; border-color: #fff !important; }

.sb-btn-cart { 
    margin-top: auto; 
    background: #000; 
    color: #fff; 
    padding: 12px; 
    font-size: 10px; 
    font-weight: bold; 
    letter-spacing: 1px; 
    cursor: pointer; 
    border: 1px solid #000; 
    width: 100%; 
    max-width: 250px; 
    transition: 0.2s; 
    display: block;
}

.sb-main-side .sb-btn-cart:hover { background: #fff !important; color: #000 !important; }

.sb-routine-side .sb-btn-cart { 
    background: #fff; 
    color: #000; 
    border: 1px solid #fff !important; 
}
.sb-routine-side .sb-btn-cart:hover { 
    background: #1a1a1a !important; 
    color: #fff !important; 
    border: 1px solid #fff !important; 
}

/* --- FOCUS MODE NOIR RAPIDE --- */
.sb-item.sb-highlight-choice .sb-btn-cart {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
    animation: sb-pulse-black 1.2s infinite; 
}

#sb-main-item-display .sb-item:nth-child(2) .sb-btn-cart { animation-delay: 0.1s; }
#sb-main-item-display .sb-item:nth-child(3) .sb-btn-cart { animation-delay: 0.2s; }
#sb-main-item-display .sb-item:nth-child(4) .sb-btn-cart { animation-delay: 0.3s; }
#sb-main-item-display .sb-item:nth-child(5) .sb-btn-cart { animation-delay: 0.4s; }
#sb-main-item-display .sb-item:nth-child(6) .sb-btn-cart { animation-delay: 0.5s; }

@keyframes sb-pulse-black {
    0% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 992px) {
  .sb-split-content { flex-direction: column; }
  .sb-main-side { padding: 0 20px 40px 20px; width: 100%; }
  .sb-sticky-wrapper { position: relative !important; top: 0 !important; }
  .sb-routine-side { width: 100%; padding: 40px 20px; }
  
  .sb-routine-list { 
      display: flex; 
      gap: 20px; 
      overflow-x: auto; 
      padding-bottom: 0px !important; 
      align-items: stretch; 
      -webkit-overflow-scrolling: touch;
  }
  
  .sb-routine-list .sb-item { 
      flex: 0 0 240px; 
      min-width: 240px; 
      border-bottom: none; 
      border-right: 1px solid #333; 
      padding: 0 20px 0 0; 
      display: flex !important;
      flex-direction: column !important;
  }

  .sb-routine-list .sb-item .price + button.sb-btn-cart { margin-top: 75px; }
  .sb-routine-list .sb-item .sb-variation-selector + button.sb-btn-cart { margin-top: auto; }

  .sb-finder-phrase { row-gap: 8px; }
  .sb-break { display: none; }
  #sb-pack-container-top { display: none !important; }
}

/* ========================================= */
/* MODAL MOBILE (ANCIENNE VERSION - PLEIN ÉCRAN NOIR) */
/* ========================================= */
#sb-mobile-product-modal,
#sb-mobile-duplicates-modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.95); 
    z-index: 10000; 
    overflow-y: auto; 
    padding: 20px; 
    -webkit-overflow-scrolling: touch; 
}

#sb-mobile-product-modal .sb-modal-close,
#sb-mobile-duplicates-modal .sb-modal-close { 
    position: fixed !important;
    top: 5px !important;
    right: 15px !important;
    z-index: 10005 !important;
    color: #ffffff !important;
    background: none !important;
    border: none !important;
    font-size: 45px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

#sb-mobile-product-modal .sb-modal-header,
#sb-mobile-duplicates-modal .sb-modal-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: -20px !important; 
    z-index: 10002 !important;
    background: #000 !important;
    margin: -20px -20px 20px -20px !important; 
    padding: 40px 20px 10px 20px !important;
    text-align: center;
    color: #fff;
    border-bottom: none !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

#sb-mobile-product-modal .sb-modal-header h3,
#sb-mobile-duplicates-modal .sb-modal-header h3 { 
    color: #fff !important; 
    font-size: 18px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: bold; 
    margin: 0;
}

#sb-mobile-product-modal .sb-modal-header p,
#sb-mobile-duplicates-modal .sb-modal-header p { 
    color: #ccc !important; 
    font-size: 13px; 
    margin: 5px 0 0 0;
}

#sb-mobile-product-modal .sb-modal-products,
#sb-mobile-duplicates-modal .sb-modal-products { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    max-width: 500px; 
    margin: 0 auto 50px auto; 
}

#sb-mobile-product-modal .sb-modal-product-card,
#sb-mobile-duplicates-modal .sb-modal-product-card { 
    background: #fff; 
    border-radius: 8px; 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    margin-bottom: 25px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

#sb-mobile-product-modal .sb-modal-product-card .sb-var-btn:hover:not(.active),
#sb-mobile-product-modal .sb-modal-product-card .sb-var-btn.active,
#sb-mobile-duplicates-modal .sb-modal-product-card .sb-var-btn:hover:not(.active),
#sb-mobile-duplicates-modal .sb-modal-product-card .sb-var-btn.active {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

#sb-mobile-product-modal .sb-image-wrapper,
#sb-mobile-duplicates-modal .sb-image-wrapper { 
    height: 180px; 
    background: #f9f9f9; 
    margin-bottom: 15px; 
    border-radius: 4px; 
    width: 100%;
}

#sb-mobile-product-modal h4,
#sb-mobile-duplicates-modal h4 { 
    color: #000; 
    font-size: 14px; 
    text-transform: uppercase; 
    font-weight: bold; 
    margin-bottom: 10px; 
    min-height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
}

#sb-mobile-product-modal .price,
#sb-mobile-duplicates-modal .price { 
    color: #000; 
    font-size: 16px; 
    font-weight: 600; 
    margin-bottom: 15px; 
}

#sb-mobile-product-modal .sb-btn-choose,
#sb-mobile-product-modal .sb-btn-choose-duplicate,
#sb-mobile-duplicates-modal .sb-btn-choose,
#sb-mobile-duplicates-modal .sb-btn-choose-duplicate { 
    background: #000; 
    color: #fff; 
    border: 1px solid #000; 
    padding: 15px 30px; 
    font-size: 11px; 
    font-weight: bold; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    cursor: pointer; 
    width: 100%; 
    transition: 0.2s; 
    margin-top: 10px; 
    font-family: inherit;
}

#sb-mobile-product-modal .sb-btn-choose:hover,
#sb-mobile-product-modal .sb-btn-choose-duplicate:hover,
#sb-mobile-duplicates-modal .sb-btn-choose:hover,
#sb-mobile-duplicates-modal .sb-btn-choose-duplicate:hover { 
    background: #fff !important; 
    color: #000 !important; 
}

/* ========================================= */
/* MODAL DESKTOP (NOUVELLE VERSION - AVEC GRILLE) */
/* ========================================= */
#sb-selection-modal,
#sb-desktop-duplicates-modal { 
    display: none; 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    z-index: 10000; 
}

#sb-selection-modal .sb-modal-overlay,
#sb-desktop-duplicates-modal .sb-modal-overlay { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.9); 
}

#sb-selection-modal .sb-modal-content,
#sb-desktop-duplicates-modal .sb-modal-content { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff; 
    width: 90%; 
    max-width: 900px; 
    max-height: 90vh; 
    overflow-y: auto; 
    padding: 40px; 
    z-index: 10001; 
    border-radius: 4px;
}

#sb-selection-modal .sb-modal-content .sb-modal-close,
#sb-desktop-duplicates-modal .sb-modal-content .sb-modal-close { 
    position: absolute; 
    top: 15px; 
    right: 20px; 
    background: transparent !important; 
    color: #000 !important; 
    font-size: 35px !important; 
    cursor: pointer; 
    border: none !important;
    line-height: 1;
}

#sb-selection-modal .sb-modal-content .sb-modal-header,
#sb-desktop-duplicates-modal .sb-modal-content .sb-modal-header { 
    text-align: center; 
    margin-bottom: 30px; 
    position: relative;
    background: transparent;
    padding: 0;
}

#sb-selection-modal .sb-modal-content .sb-modal-header h3,
#sb-desktop-duplicates-modal .sb-modal-content .sb-modal-header h3 { 
    color: #000 !important; 
    font-size: 18px; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: bold; 
    margin: 0 0 10px 0;
}

#sb-selection-modal .sb-modal-content .sb-modal-header p,
#sb-desktop-duplicates-modal .sb-modal-content .sb-modal-header p { 
    color: #666 !important; 
    font-size: 13px; 
    margin: 0;
}

#sb-selection-modal .sb-modal-grid,
#sb-desktop-duplicates-modal .sb-modal-grid { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
}

@media (min-width: 768px) {
    #sb-selection-modal .sb-modal-grid,
    #sb-desktop-duplicates-modal .sb-modal-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

#sb-selection-modal .sb-modal-content .sb-modal-product-card,
#sb-desktop-duplicates-modal .sb-modal-content .sb-modal-product-card { 
    border: 1px solid #eee; 
    border-radius: 8px; 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    background: #fff;
}

#sb-selection-modal .sb-modal-content .sb-modal-product-card .sb-var-btn:hover:not(.active),
#sb-selection-modal .sb-modal-content .sb-modal-product-card .sb-var-btn.active,
#sb-desktop-duplicates-modal .sb-modal-content .sb-modal-product-card .sb-var-btn:hover:not(.active),
#sb-desktop-duplicates-modal .sb-modal-content .sb-modal-product-card .sb-var-btn.active {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

#sb-selection-modal .sb-modal-content .sb-image-wrapper,
#sb-desktop-duplicates-modal .sb-modal-content .sb-image-wrapper { 
    height: 180px; 
    background: #f9f9f9; 
    margin-bottom: 15px; 
    border-radius: 4px; 
    width: 100%; 
}

#sb-selection-modal .sb-modal-content h4,
#sb-desktop-duplicates-modal .sb-modal-content h4 { 
    color: #000; 
    font-size: 14px; 
    text-transform: uppercase; 
    font-weight: bold; 
    margin-bottom: 10px; 
    min-height: 40px; 
    display: flex; 
    align-items: flex-start; 
    justify-content: center;
}

#sb-selection-modal .sb-modal-content .price,
#sb-desktop-duplicates-modal .sb-modal-content .price { 
    color: #000; 
    font-size: 16px; 
    font-weight: 600; 
    margin-bottom: 15px; 
}

#sb-selection-modal .sb-modal-content .sb-btn-choose,
#sb-selection-modal .sb-modal-content .sb-btn-choose-duplicate,
#sb-desktop-duplicates-modal .sb-modal-content .sb-btn-choose,
#sb-desktop-duplicates-modal .sb-modal-content .sb-btn-choose-duplicate { 
    background: #000; 
    color: #fff; 
    border: 1px solid #000; 
    padding: 15px 30px; 
    font-size: 11px; 
    font-weight: bold; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    cursor: pointer; 
    width: 100%; 
    transition: 0.2s; 
    margin-top: auto; 
    font-family: inherit;
}

#sb-selection-modal .sb-modal-content .sb-btn-choose:hover,
#sb-selection-modal .sb-modal-content .sb-btn-choose-duplicate:hover,
#sb-desktop-duplicates-modal .sb-modal-content .sb-btn-choose:hover,
#sb-desktop-duplicates-modal .sb-modal-content .sb-btn-choose-duplicate:hover { 
    background: #fff !important; 
    color: #000 !important; 
}

/* --- HOVERS GÉNÉRAUX --- */
.sb-routine-side .sb-item-link:hover h4,
.sb-main-side .sb-item-link:hover h4 { 
    color: #777 !important; 
    transition: color 0.2s ease; 
}

.sb-main-side .sb-var-btn:hover:not(.active) { 
    background: #000 !important; 
    color: #fff !important; 
    border-color: #000 !important; 
}

/* Style du nom de la race dans la phrase */
.sb-breed-name {
    font-weight: 600; 
    color: #999; 
    text-transform: uppercase;
    padding: 0 4px;
}

/* ========================================= */
/* SÉLECTEUR DE RACE - STYLE APPLE */
/* ========================================= */

.sb-breed-finder-box {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.sb-breed-finder-label {
    font-family: 'HURMEGEOMETRIC', sans-serif;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    color: #1a1a1a;
}

/* ===== BOUTON PRINCIPAL ===== */
.sb-breed-selector-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.sb-breed-button {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    font-family: 'HURMEGEOMETRIC', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.sb-breed-button:hover {
    background: #fafafa;
    border-color: #d0d0d0;
}

.sb-breed-button:active {
    transform: scale(0.98);
}

.sb-breed-button-text {
    flex: 1;
}

.sb-breed-button-text.placeholder {
    color: #999;
}

.sb-breed-button-chevron {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #999;
    margin-left: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sb-breed-button.active .sb-breed-button-chevron {
    transform: rotate(180deg);
}

/* ===== DROPDOWN DESKTOP ===== */
.sb-breed-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.02),
        0 10px 15px rgba(0, 0, 0, 0.03),
        0 20px 25px rgba(0, 0, 0, 0.04);
    max-height: 400px;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sb-breed-dropdown.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sb-breed-search {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.5);
}

.sb-breed-search input {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    font-family: 'HURMEGEOMETRIC', sans-serif;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.2s;
    outline: none;
}

.sb-breed-search input:focus {
    border-color: rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.sb-breed-list {
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.sb-breed-item {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'HURMEGEOMETRIC', sans-serif;
    color: #1a1a1a !important;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.sb-breed-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.sb-breed-item:active {
    background: rgba(0, 0, 0, 0.06);
}

.sb-breed-no-results {
    padding: 24px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
    font-family: 'HURMEGEOMETRIC', sans-serif;
}

/* ===== SHEET MOBILE ===== */
.sb-breed-sheet-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.sb-breed-sheet-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.sb-breed-sheet {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 85vh;
    overflow: hidden;
}

.sb-breed-sheet.active {
    transform: translateY(0);
}

.sb-breed-sheet-handle {
    display: flex;
    justify-content: center;
    padding: 12px 0 8px 0;
    background: #ffffff;
}

.sb-breed-sheet-handle-bar {
    width: 36px;
    height: 5px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.sb-breed-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.sb-breed-sheet-title {
    font-size: 17px;
    font-weight: 600;
    font-family: 'HURMEGEOMETRIC', sans-serif;
    color: #1a1a1a;
}

.sb-breed-sheet-close {
    background: none;
    border: none;
    font-family: 'HURMEGEOMETRIC', sans-serif;
    font-size: 15px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
}

.sb-breed-sheet-search {
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sb-breed-sheet-search input {
    width: 100%;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    font-family: 'HURMEGEOMETRIC', sans-serif;
    font-size: 16px;
    outline: none;
}

.sb-breed-sheet-list {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: calc(85vh - 180px);
    
}

.sb-breed-sheet-item {
    padding: 16px 20px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'HURMEGEOMETRIC', sans-serif;
    color: #1a1a1a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.15s;
}

.sb-breed-sheet-item:active {
    background: rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .sb-breed-dropdown {
        display: none !important;
    }
    
    .sb-breed-sheet-overlay,
    .sb-breed-sheet {
        display: block;
    }
}

@media (min-width: 769px) {
    .sb-breed-sheet-overlay,
    .sb-breed-sheet {
        display: none !important;
    }
}

/* Scrollbar personnalisée (webkit) */
.sb-breed-list::-webkit-scrollbar,
.sb-breed-sheet-list::-webkit-scrollbar {
    width: 6px;
}

.sb-breed-list::-webkit-scrollbar-track,
.sb-breed-sheet-list::-webkit-scrollbar-track {
    background: transparent;
}

.sb-breed-list::-webkit-scrollbar-thumb,
.sb-breed-sheet-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 3px;
}

.sb-breed-list::-webkit-scrollbar-thumb:hover,
.sb-breed-sheet-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Classe pour l'accessibilité et le SEO (cache le texte proprement) */
.sb-sr-only {
    border: 0 !important;
    clip: rect(1px, 1px, 1px, 1px) !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

/* ========================================= */
/* ANIMATION BOUTONS PANIER (STYLE "VOIR LA SÉLECTION") */
/* ========================================= */

/* --- BOUTONS PANIER INDIVIDUELS & RITUEL COMPLET --- */
.sb-btn-cart,
.sb-add-full-routine-trigger { 
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Pseudo-élément pour l'animation de remplissage */
.sb-btn-cart::before,
.sb-add-full-routine-trigger::before { 
    content: ""; 
    position: absolute; 
    top: 0; 
    left: 0; 
    height: 100%; 
    width: 0%; 
    background-color: #fff; 
    z-index: 1; 
    transition: width 0.5s ease; 
}

/* Texte au-dessus de l'animation */
.sb-btn-cart span,
.sb-add-full-routine-trigger span { 
    position: relative; 
    z-index: 2; 
}

/* Désactiver les hovers pendant loading et finished */
.sb-btn-cart.loading,
.sb-btn-cart.finished,
.sb-add-full-routine-trigger.loading,
.sb-add-full-routine-trigger.finished { 
    background-color: #000 !important; 
    color: #fff !important;
    pointer-events: none;
}

/* Animation de remplissage pendant le loading */
.sb-btn-cart.loading::before,
.sb-add-full-routine-trigger.loading::before { 
    width: 90%; 
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1); 
}

/* Remplissage complet à la fin */
.sb-btn-cart.finished::before,
.sb-add-full-routine-trigger.finished::before { 
    width: 100%; 
    transition: width 0.3s ease-in; 
}

/* Mix blend mode pour le texte pendant l'animation */
.sb-btn-cart.loading span,
.sb-btn-cart.finished span,
.sb-add-full-routine-trigger.loading span,
.sb-add-full-routine-trigger.finished span { 
    mix-blend-mode: difference; 
}

/* État final : fond gris #777 */
.sb-btn-cart.added,
.sb-add-full-routine-trigger.added {
    background-color: #777 !important;
    border-color: #777 !important;
    color: #fff !important;
    pointer-events: none;
}

/* Annuler les hovers spécifiques qui pourraient interférer */
.sb-main-side .sb-btn-cart.loading:hover,
.sb-main-side .sb-btn-cart.finished:hover,
.sb-main-side .sb-btn-cart.added:hover,
.sb-routine-side .sb-btn-cart.loading:hover,
.sb-routine-side .sb-btn-cart.finished:hover,
.sb-routine-side .sb-btn-cart.added:hover,
.sb-add-full-routine-trigger.loading:hover,
.sb-add-full-routine-trigger.finished:hover,
.sb-add-full-routine-trigger.added:hover {
    background-color: inherit !important;
    color: inherit !important;
    border-color: inherit !important;
}