/**
 * SC Catalog - Styles
 *
 * @author    Scriptami
 * @copyright Scriptami
 */

/* ===== BOUTON DEVIS - FICHE PRODUIT ===== */
.sccatalog-quote-action {
    margin: 1rem 0;
    padding: 1rem 0;
}

.sccatalog-btn-quote {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sccatalog-btn-quote .material-icons {
    font-size: 1.25rem;
}

.sccatalog-or {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #666;
}

.sccatalog-reference {
    margin-top: 0.5rem;
    color: #888;
}

/* ===== BOUTON DEVIS - LISTE PRODUITS ===== */
.sccatalog-btn-quote-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
}

.sccatalog-btn-quote-mini .material-icons {
    font-size: 1rem;
}

/* ===== PAGE DEVIS ===== */
.sccatalog-quote-page {
    max-width: 800px;
    margin: 0 auto;
}

.sccatalog-success {
    text-align: center;
    padding: 2rem;
}

.sccatalog-success h4 {
    margin-bottom: 1rem;
    color: #28a745;
}

.sccatalog-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.sccatalog-errors {
    margin-bottom: 1.5rem;
}

.sccatalog-errors ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* ===== FIELDSETS ===== */
.sccatalog-fieldset {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
}

.sccatalog-fieldset legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #333;
}

.sccatalog-fieldset legend .material-icons {
    font-size: 1.25rem;
    color: #666;
}

/* ===== PRODUITS ===== */
.sccatalog-list-intro {
    margin-bottom: 1rem;
    color: #666;
}

.sccatalog-product-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.sccatalog-product-item:last-of-type {
    border-bottom: none;
}

.sccatalog-product-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.sccatalog-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    background: #f5f5f5;
    border-radius: 4px;
    color: #ccc;
}

.sccatalog-no-image .material-icons {
    font-size: 2rem;
}

.sccatalog-product-name {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.sccatalog-product-name a {
    color: inherit;
    text-decoration: none;
}

.sccatalog-product-name a:hover {
    color: #2fb5d2;
}

.sccatalog-product-ref,
.sccatalog-product-attrs {
    margin: 0;
    color: #888;
}

.sccatalog-qty-label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.sccatalog-qty-input {
    max-width: 100px;
}

.sccatalog-cart-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: #888;
}

.sccatalog-cart-note .material-icons {
    font-size: 1rem;
    vertical-align: middle;
}

.sccatalog-no-product {
    text-align: center;
    padding: 2rem;
}

/* ===== FORMULAIRE CONTACT ===== */
.sccatalog-contact-section .form-group {
    margin-bottom: 1rem;
}

.sccatalog-contact-section label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
}

.sccatalog-contact-section label.required::after {
    content: ' *';
    color: #dc3545;
}

.sccatalog-contact-section .form-control {
    width: 100%;
}

/* ===== BOUTON SUBMIT ===== */
.sccatalog-submit-section {
    text-align: center;
    padding: 1.5rem 0;
}

.sccatalog-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sccatalog-btn-submit .material-icons {
    font-size: 1.25rem;
}

.sccatalog-submit-note {
    margin-top: 0.75rem;
    color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .sccatalog-fieldset {
        padding: 1rem;
    }

    .sccatalog-product-item .col-md-3 {
        margin-top: 1rem;
    }

    .sccatalog-qty-input {
        max-width: 100%;
    }

    .sccatalog-actions {
        flex-direction: column;
    }

    .sccatalog-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   HERO SECTION (Bannière + Recherche + Expo)
   Bootstrap 4 grid compatible
   ========================================================================== */

.euroceramic-hero {
    background: #0a1520;
}

/* Colonne gauche : Bannière promo */
.euroceramic-hero__promo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    text-decoration: none;
    background-image: url('/img/cms/hero-promo-bg.png');
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.35);
    background-blend-mode: darken;
    transition: background-color 0.3s ease;
}

.euroceramic-hero__promo-link:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

.euroceramic-hero__promo-content {
    text-align: center;
    padding: 25px 30px;
}

.euroceramic-hero__promo-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.euroceramic-hero__promo-subtitle {
    color: #f5d742;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Colonne droite : Sidebar */
.euroceramic-hero__sidebar {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    min-height: 220px;
}

.euroceramic-hero__sidebar-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    height: 190px;
}

/* Recherche */
.euroceramic-hero__search {
    width: 100%;
}

.euroceramic-hero__search-wrapper {
    display: flex;
    width: 100%;
    height: 46px;
}

.euroceramic-hero__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    padding: 0 12px;
    font-size: 0.875rem;
    outline: none;
    background: #ffffff;
}

.euroceramic-hero__search-input::placeholder {
    color: #6c757d;
}

.euroceramic-hero__search-btn {
    flex-shrink: 0;
    background: #0a1520;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 0 18px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.euroceramic-hero__search-btn:hover {
    background: #ffffff;
    color: #0a1520;
}

/* Bouton Expo */
.euroceramic-hero__expo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    background: #f5d742;
    color: #0a1520;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
}

.euroceramic-hero__expo-btn:hover,
.euroceramic-hero__expo-btn:focus,
.euroceramic-hero__expo-btn:active,
.euroceramic-hero__expo-btn:visited {
    background: #e5c732;
    color: #0a1520;
    text-decoration: none;
}

/* Responsive Hero - Tablet (stacked) */
@media (max-width: 767.98px) {
    .euroceramic-hero__promo-link {
        min-height: 180px;
    }

    .euroceramic-hero__sidebar {
        min-height: auto;
        padding: 15px 20px;
    }

    .euroceramic-hero__sidebar-inner {
        max-width: 400px;
        height: auto;
        gap: 12px;
        justify-content: center;
    }
}

/* Responsive Hero - Mobile */
@media (max-width: 575.98px) {
    .euroceramic-hero__promo-link {
        min-height: 150px;
    }

    .euroceramic-hero__promo-content {
        padding: 20px 15px;
    }

    .euroceramic-hero__promo-title {
        font-size: 1.1rem;
    }

    .euroceramic-hero__promo-subtitle {
        font-size: 0.75rem;
    }

    .euroceramic-hero__sidebar {
        padding: 12px 15px;
    }

    .euroceramic-hero__sidebar-inner {
        max-width: 100%;
        gap: 10px;
        justify-content: center;
    }

    .euroceramic-hero__search-wrapper,
    .euroceramic-hero__expo-btn {
        height: 42px;
    }

    .euroceramic-hero__search-btn {
        padding: 0 12px;
        font-size: 0.75rem;
    }

    .euroceramic-hero__expo-btn {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   HOME CATALOG - Catalogue page d'accueil
   ========================================================================== */

.home-catalog {
    margin-top: 2rem;
}

.home-catalog h1 {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Compteur de produits */
.home-catalog .total-products p {
    margin: 0;
    color: #666;
    font-size: 0.9375rem;
}

/* Barre de sélection */
.home-catalog .products-selection {
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

/* Menu de tri */
.home-catalog .products-sort-order .select-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.home-catalog .products-sort-order .select-title:hover {
    border-color: #aaa;
}

.home-catalog .products-sort-order .dropdown-menu {
    min-width: 200px;
}

.home-catalog .products-sort-order .select-list {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background 0.2s;
}

.home-catalog .products-sort-order .select-list:hover,
.home-catalog .products-sort-order .select-list.current {
    background: #f5f5f5;
}

/* Grille produits */
.home-catalog .products {
    margin: 0 -15px;
}

/* Pagination */
.home-catalog .pagination {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.home-catalog .page-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0.25rem;
}

.home-catalog .page-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.home-catalog .page-list li a:hover {
    border-color: #2fb5d2;
    color: #2fb5d2;
}

.home-catalog .page-list li.current a {
    background: #2fb5d2;
    border-color: #2fb5d2;
    color: #fff;
}

.home-catalog .page-list li a.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.home-catalog .page-list li a.previous,
.home-catalog .page-list li a.next {
    font-size: 0.875rem;
}

.home-catalog .page-list li .spacer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
}

/* Lien retour en haut */
.home-catalog .up {
    margin-top: 1.5rem;
}

/* Message aucun produit */
.home-catalog .alert {
    text-align: center;
    padding: 3rem 2rem;
}

.home-catalog .alert h4 {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .home-catalog .sort-by-row {
        justify-content: center;
    }

    .home-catalog .sort-by {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .home-catalog {
        margin-top: 1rem;
    }

    .home-catalog h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .home-catalog .products-selection {
        padding: 0.75rem 0;
    }

    .home-catalog .pagination {
        flex-direction: column;
        text-align: center;
    }

    .home-catalog .pagination .col-md-4 {
        margin-bottom: 1rem;
    }

    .home-catalog .page-list {
        justify-content: center;
    }
}

/* ==========================================================================
   WISHLIST QUOTE SECTION - Formulaire devis sous la wishlist
   ========================================================================== */

.sccatalog-wishlist-quote-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f5d742;
}

.sccatalog-quote-header {
    text-align: center;
    margin-bottom: 2rem;
}

.sccatalog-quote-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.sccatalog-quote-header h2 .material-icons {
    font-size: 1.75rem;
    color: #f5d742;
}

.sccatalog-quote-intro {
    color: #666;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Styles additionnels pour le formulaire dans la wishlist */
.sccatalog-wishlist-quote-section .sccatalog-fieldset {
    background: #fafafa;
}

.sccatalog-wishlist-quote-section .sccatalog-btn-submit {
    background: #f5d742;
    border-color: #f5d742;
    color: #0a1520;
}

.sccatalog-wishlist-quote-section .sccatalog-btn-submit:hover {
    background: #e5c732;
    border-color: #e5c732;
    color: #0a1520;
}

/* Responsive */
@media (max-width: 767px) {
    .sccatalog-wishlist-quote-section {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .sccatalog-quote-header h2 {
        font-size: 1.25rem;
    }

    .sccatalog-quote-intro {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   SELECTION PAGE - Page Ma sélection
   ========================================================================== */

.sccatalog-selection-page {
    max-width: 900px;
    margin: 0 auto;
}

/* Intro */
.sccatalog-selection-intro {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #f5d742;
}

.sccatalog-selection-intro p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.sccatalog-selection-intro .material-icons {
    color: #f5d742;
    font-size: 1.5rem;
}

/* Table des produits */
.sccatalog-products-table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
}

.sccatalog-products-table thead th {
    padding: 0.75rem;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    text-align: left;
}

.sccatalog-products-table tbody td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.sccatalog-products-table .product-image {
    width: 80px;
}

.sccatalog-products-table .product-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.sccatalog-products-table .product-image .no-image {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 4px;
    color: #ccc;
}

.sccatalog-products-table .product-name .product-link {
    color: #333;
    font-weight: 500;
    text-decoration: none;
}

.sccatalog-products-table .product-name .product-link:hover {
    color: #2fb5d2;
}

.sccatalog-products-table .product-name .product-combination {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #888;
}

.sccatalog-products-table .product-ref {
    color: #888;
    font-size: 0.875rem;
}

.sccatalog-products-table .product-actions {
    width: 50px;
    text-align: center;
}

.sccatalog-remove-product {
    color: #dc3545;
    padding: 0.5rem;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
}

.sccatalog-remove-product:hover {
    color: #a71d2a;
}

/* Section vide */
.sccatalog-selection-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.sccatalog-empty-icon {
    margin-bottom: 1.5rem;
}

.sccatalog-empty-icon .material-icons {
    font-size: 4rem;
    color: #dee2e6;
}

.sccatalog-selection-empty h2 {
    margin-bottom: 0.75rem;
    color: #495057;
}

.sccatalog-selection-empty p {
    margin-bottom: 1.5rem;
    color: #6c757d;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.sccatalog-selection-empty .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Quote section sur la page selection */
.sccatalog-selection-quote-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f5d742;
}

.sccatalog-selection-quote-section .sccatalog-fieldset {
    background: #fafafa;
}

.sccatalog-selection-quote-section .sccatalog-btn-submit {
    background: #f5d742;
    border-color: #f5d742;
    color: #0a1520;
}

.sccatalog-selection-quote-section .sccatalog-btn-submit:hover {
    background: #e5c732;
    border-color: #e5c732;
    color: #0a1520;
}

/* Responsive Selection */
@media (max-width: 767px) {
    .sccatalog-selection-intro {
        padding: 0.75rem 1rem;
    }

    .sccatalog-selection-intro p {
        flex-wrap: wrap;
    }

    .sccatalog-products-table thead {
        display: none;
    }

    .sccatalog-products-table tbody tr {
        display: flex;
        flex-wrap: wrap;
        padding: 1rem 0;
        border-bottom: 1px solid #eee;
    }

    .sccatalog-products-table tbody td {
        border: none;
        padding: 0.25rem;
    }

    .sccatalog-products-table .product-image {
        width: 70px;
    }

    .sccatalog-products-table .product-name {
        flex: 1;
        padding-left: 1rem;
    }

    .sccatalog-products-table .product-ref {
        width: 100%;
        padding-left: calc(70px + 1rem);
        margin-top: 0.25rem;
    }

    .sccatalog-products-table .product-actions {
        position: absolute;
        right: 0;
        top: 1rem;
    }

    .sccatalog-product-row {
        position: relative;
    }

    .sccatalog-selection-empty {
        padding: 2rem 1rem;
    }

    .sccatalog-empty-icon .material-icons {
        font-size: 3rem;
    }
}

/* ==========================================================================
   ADD TO SELECTION BUTTON - Boutons d'ajout à la sélection
   Style identique au bouton "Découvrez cette dalle" original
   ========================================================================== */

/* État 1: Par défaut - Fond jaune */
.euroceramic-miniature-actions .euroceramic-add-selection,
.euroceramic-add-selection {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    background: #f5d742;
    border: none;
    border-radius: 0;
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.75rem;
    font-weight: 600;
    position: relative;
    font-family: inherit;
}

.euroceramic-add-selection__text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Chevron toujours visible */
.euroceramic-miniature-actions .euroceramic-add-selection::after,
.euroceramic-add-selection::after {
    content: '>';
    position: absolute;
    right: 16px;
    font-weight: bold;
}

/* État 2: Hover - Fond jaune plus foncé */
.euroceramic-miniature-actions .euroceramic-add-selection:hover,
.euroceramic-miniature-actions .euroceramic-add-selection:focus,
.euroceramic-add-selection:hover,
.euroceramic-add-selection:focus {
    background: #e5c732;
    color: #333;
    text-decoration: none;
}

/* Loading state */
.euroceramic-add-selection.sccatalog-wishlist-loading {
    opacity: 0.7;
    pointer-events: none;
}

@keyframes sccatalog-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* État 3: Ajouté à la sélection - Rose/Magenta */
.euroceramic-miniature-actions .euroceramic-add-selection.euroceramic-in-selection,
.euroceramic-add-selection.euroceramic-in-selection {
    background: #ff69b4;
    color: #fff;
}

.euroceramic-miniature-actions .euroceramic-add-selection.euroceramic-in-selection:hover,
.euroceramic-add-selection.euroceramic-in-selection:hover {
    background: #ff85c1;
    color: #fff;
}

/* Error state */
.euroceramic-add-selection.sccatalog-wishlist-error {
    background: #dc3545;
    color: #fff;
    animation: sccatalog-shake 0.5s;
}

@keyframes sccatalog-shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

/* Product page specific styles */
.euroceramic-quote-cta__button.euroceramic-add-selection {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    justify-content: center;
}

.euroceramic-quote-cta__button.euroceramic-add-selection::after {
    display: none;
}

/* Toast notifications */
.sccatalog-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    z-index: 9999;
    animation: sccatalog-toast-in 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@keyframes sccatalog-toast-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HONEYPOT ANTI-SPAM (invisible) ===== */
.sccatalog-hp {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* ==========================================================================
   QUOTE PRODUCTS LIST - Liste des produits avec contrôles de quantité
   ========================================================================== */

.sccatalog-products-list {
    padding: 0;
}

.sccatalog-product-line {
    display: grid;
    grid-template-columns: 100px 1fr 160px 110px 50px;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: opacity 0.3s, background 0.2s;
}

.sccatalog-product-line:last-child {
    border-bottom: none;
}

.sccatalog-product-line:hover {
    background: #fafafa;
}

.sccatalog-product-line.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Image */
.sccatalog-product-line .sccatalog-product-image {
    width: 100px;
}

.sccatalog-product-line .sccatalog-product-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Infos produit */
.sccatalog-product-line .sccatalog-product-info {
    min-width: 0;
}

.sccatalog-product-line .sccatalog-product-name {
    display: block;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    margin-bottom: 0.25rem;
}

.sccatalog-product-line .sccatalog-product-name:hover {
    color: #2fb5d2;
}

.sccatalog-product-line .sccatalog-product-attributes {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.sccatalog-product-line .sccatalog-product-attributes .attribute {
    display: inline-block;
    margin-right: 0.5rem;
}

.sccatalog-product-line .sccatalog-product-price {
    font-size: 0.9rem;
}

.sccatalog-product-line .sccatalog-product-price .regular-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.sccatalog-product-line .sccatalog-product-price .discount-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #ff9800;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 2px;
    margin-right: 0.5rem;
}

.sccatalog-product-line .sccatalog-product-price .price {
    font-weight: 600;
    color: #333;
}

/* Contrôles de quantité */
.sccatalog-product-line .sccatalog-product-qty {
    text-align: center;
}

.sccatalog-product-line .sccatalog-product-qty label {
    display: none;
}

.sccatalog-qty-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.sccatalog-qty-unit {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.sccatalog-qty-input {
    width: 70px;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    -moz-appearance: textfield;
}

.sccatalog-product-price .price-unit {
    font-size: 0.8rem;
    color: #666;
}

.sccatalog-qty-input::-webkit-outer-spin-button,
.sccatalog-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Total */
.sccatalog-product-line .sccatalog-product-total {
    text-align: right;
}

.sccatalog-product-line .total-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
}

/* Supprimer */
.sccatalog-product-line .sccatalog-product-remove {
    text-align: center;
}

.sccatalog-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.sccatalog-remove-btn:hover {
    color: #dc3545;
}

.sccatalog-remove-btn .material-icons {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 767px) {
    .sccatalog-product-line {
        display: grid;
        grid-template-columns: 80px 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.5rem;
        position: relative;
    }

    .sccatalog-product-line .sccatalog-product-image {
        grid-row: 1;
        grid-column: 1;
        width: 80px;
    }

    .sccatalog-product-line .sccatalog-product-info {
        grid-row: 1;
        grid-column: 2 / -1;
        padding-right: 30px;
    }

    .sccatalog-product-line .sccatalog-product-qty {
        grid-row: 2;
        grid-column: 1 / 2;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .sccatalog-product-line .sccatalog-product-qty label {
        display: none;
    }

    .sccatalog-product-line .sccatalog-product-total {
        grid-row: 2;
        grid-column: 2 / -1;
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .sccatalog-product-line .sccatalog-product-remove {
        position: absolute;
        top: 0.5rem;
        right: 0;
    }
}
