/**
 * Shop The Look - CSS Completo
 * Stile elegante ispirato a Hugo Boss
 */

/* ==========================================================================
   RESET MARGIN PER PAGINA LOOK
   ========================================================================== */
.page-shopthelook #main,
.page-shopthelook section#main,
.subpage section#main,
body.shopthelook-look #main,
body.shopthelook-look section#main,
.stl-look-page #main,
#main:has(.stl-look-page) {
    margin-top: 0 !important;
}

/* Nasconde il titolo di pagina su lista look e singolo look */
#module-shopthelook-looks header.page-header,
#module-shopthelook-look header.page-header {
    display: none !important;
}

/* ==========================================================================
   VARIABILI E RESET
   ========================================================================== */
:root {
    --stl-primary: #ffc0cb;
    --stl-secondary: #f0a0b0;
    --stl-accent: #ffc0cb;
    --colore_principale: #ffc0cb;
    --colore_testo: white;
    --stl-text: #333333;
    --stl-text-light: #666666;
    --stl-text-muted: #999999;
    --stl-bg: #ffffff;
    --stl-bg-light: #f8f8f8;
    --stl-bg-dark: #e8e8e8;
    --stl-border: #e5e5e5;
    --stl-border-dark: #cccccc;
    --stl-success: #28a745;
    --stl-warning: #ffc107;
    --stl-danger: #dc3545;
    --stl-font-primary: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --stl-transition: all 0.3s ease;
    --stl-transition-fast: all 0.15s ease;
    --stl-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --stl-shadow-hover: 0 5px 25px rgba(0, 0, 0, 0.15);
    --stl-radius: 4px;
}

.stl-look-page,
.stl-looks-list-page {
    font-family: var(--stl-font-primary);
    color: var(--stl-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.stl-look-page *,
.stl-looks-list-page * {
    box-sizing: border-box;
}

/* ==========================================================================
   LOOK PAGE - HEADER
   ========================================================================== */
.stl-look-header {
    background: transparent;
    padding: 30px 20px 20px;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: none;
}

.stl-look-header-content {
    max-width: 700px;
    margin: 0 auto;
}

.stl-look-title {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 10px;
}

.stl-look-description {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
}

.stl-look-description p {
    margin: 0;
}

/* ==========================================================================
   LOOK PAGE - LAYOUT PRINCIPALE
   ========================================================================== */
.stl-look-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.stl-look-layout {
    display: grid;
    grid-template-columns: minmax(400px, 1fr) minmax(500px, 1fr);
    gap: 60px;
    align-items: start;
}

@media (max-width: 1200px) {
    .stl-look-layout {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .stl-look-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ==========================================================================
   LOOK PAGE - COLONNA IMMAGINE
   ========================================================================== */
.stl-look-image-column {
    position: sticky;
    top: 20px;
}

@media (max-width: 992px) {
    .stl-look-image-column {
        position: relative;
        top: 0;
    }
}

.stl-look-image-wrapper {
    background: var(--stl-bg-light);
    border-radius: var(--stl-radius);
    overflow: hidden;
    position: relative;
}

.stl-look-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.stl-look-image-wrapper:hover .stl-look-main-image {
    transform: scale(1.03);
}

.stl-look-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px;
    color: var(--stl-text-muted);
    background: var(--stl-bg-light);
}

.stl-look-no-image i {
    font-size: 64px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.stl-look-no-image span {
    font-size: 14px;
}

/* ==========================================================================
   LOOK PAGE - MINIATURE PRODOTTI
   ========================================================================== */
.stl-products-thumbs {
    margin-top: 20px;
    padding: 15px;
    background: var(--stl-bg-light);
    border-radius: var(--stl-radius);
}

.stl-thumbs-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--stl-text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.stl-thumbs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stl-thumb-item {
    position: relative;
    width: 95px;
    height: 125px;
    border: 2px solid var(--stl-border);
    border-radius: var(--stl-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--stl-transition);
}

.stl-thumb-item:hover {
    border-color: var(--stl-primary);
    transform: translateY(-2px);
    box-shadow: var(--stl-shadow);
}

.stl-thumb-item.active {
    border-color: var(--stl-primary);
    box-shadow: 0 0 0 2px var(--stl-primary);
}

.stl-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stl-thumb-number {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 22px;
    height: 22px;
    background: var(--stl-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .stl-products-thumbs {
        margin-top: 15px;
        padding: 12px;
    }

    .stl-thumb-item {
        width: 80px;
        height: 105px;
    }

    .stl-thumb-number {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
}

/* Badge sul look */
.stl-look-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--stl-primary);
    color: var(--stl-bg);
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   LOOK PAGE - PREZZO TOTALE
   ========================================================================== */
.stl-look-total {
    display: none !important;
}

.stl-look-total.stl-mobile-only,
.stl-look-total.stl-desktop-only {
    display: none !important;
}

.stl-total-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stl-total-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.stl-total-count {
    font-size: 12px;
    opacity: 0.75;
}

.stl-total-price {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile/Desktop visibility */
.stl-mobile-only {
    display: none !important;
}

.stl-desktop-only {
    display: flex !important;
}

@media (max-width: 992px) {
    .stl-mobile-only {
        display: flex !important;
        margin-top: 20px;
        border-radius: var(--stl-radius);
    }
    
    .stl-desktop-only {
        display: none !important;
    }
}

/* ==========================================================================
   LOOK PAGE - LISTA PRODOTTI
   ========================================================================== */
.stl-products-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ==========================================================================
   LOOK PAGE - CARD PRODOTTO
   ========================================================================== */
.stl-product-card {
    border: 1px solid var(--stl-border);
    background: var(--stl-bg);
    border-radius: var(--stl-radius);
    transition: var(--stl-transition);
    overflow: hidden;
}

.stl-product-card:hover {
    border-color: var(--stl-border-dark);
    box-shadow: var(--stl-shadow);
}

/* Body prodotto: immagine + azioni */
.stl-product-body {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

.stl-product-card.stl-added {
    border-color: var(--stl-success);
    background: linear-gradient(to right, rgba(40, 167, 69, 0.05), transparent);
}

.stl-product-card.stl-error {
    border-color: var(--colore_principale);
    animation: stl-shake 0.5s ease;
}

.stl-product-card.stl-highlight {
    border-color: var(--stl-accent);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.3);
    animation: stl-pulse 0.5s ease;
}

@keyframes stl-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

.stl-product-card-inner {
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: auto 1fr;
    gap: 20px;
    padding: 24px;
}

/* Titolo prodotto in alto su tutta la larghezza */
.stl-product-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding-bottom: 0;
    border-bottom: none;
}

.stl-product-header-info {
    flex: 1;
}

.stl-product-header .stl-product-brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--stl-text-muted);
    margin-bottom: 5px;
    font-weight: 500;
}

.stl-product-header .stl-product-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

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

.stl-product-header .stl-product-name a:hover {
    text-decoration: underline;
}

.stl-product-header .stl-product-price {
    text-align: right;
    white-space: nowrap;
}

.stl-product-header .stl-price {
    font-size: 20px;
    font-weight: 700;
    display: block;
}

.stl-product-header .stl-regular-price {
    font-size: 14px;
    color: var(--stl-text-muted);
    text-decoration: line-through;
    display: block;
    margin-top: 2px;
}

.stl-product-header .stl-discount {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--colore_principale);
    padding: 3px 8px;
    border-radius: 2px;
    display: inline-block;
    margin-top: 5px;
}

/* Corpo card con immagine e azioni */
.stl-product-body {
    display: contents;
}

@media (max-width: 768px) {
    .stl-product-card-inner {
        grid-template-columns: 100px 1fr;
        gap: 15px;
        padding: 16px;
    }
    
    .stl-product-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .stl-product-header .stl-product-price {
        text-align: right;
    }
    
    .stl-product-header .stl-product-name {
        font-size: 14px;
    }
    
    .stl-product-actions {
        grid-column: 1 / -1;
        margin-top: 10px;
        padding-top: 16px;
    }
}

/* ==========================================================================
   CARD - IMMAGINE PRODOTTO
   ========================================================================== */
.stl-product-image {
    position: relative;
    background: var(--stl-bg-light);
    border-radius: var(--stl-radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    flex: 0 0 200px;
    max-width: 200px;
}

.stl-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.stl-product-image:hover img {
    transform: scale(1.05);
}

.stl-product-image a {
    display: block;
    height: 100%;
}

/* Flags/Badge prodotto */
.stl-product-flags {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.stl-flag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 2px;
}

.stl-flag-discount {
    background: var(--colore_principale);
    color: white;
}

.stl-flag-new {
    background: var(--stl-primary);
    color: white;
}

.stl-flag-pack {
    background: var(--stl-accent);
    color: white;
}

.stl-flag-online-only {
    background: #17a2b8;
    color: white;
}

/* ==========================================================================
   CARD - INFO PRODOTTO
   ========================================================================== */
.stl-product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.stl-product-brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--stl-text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.stl-product-name {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 10px;
    line-height: 1.4;
}

.stl-product-name a {
    color: var(--stl-text);
    text-decoration: none;
    transition: var(--stl-transition-fast);
}

.stl-product-name a:hover {
    color: var(--stl-primary);
}

/* Varianti prodotto */
.stl-product-variants {
    font-size: 12px;
    color: var(--stl-text-light);
    margin-bottom: 12px;
}

.stl-variant {
    display: inline-block;
    margin-right: 16px;
}

.stl-variant:last-child {
    margin-right: 0;
}

/* Prezzo prodotto */
.stl-product-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.stl-price {
    font-size: 17px;
    font-weight: 600;
    color: #000;
}

.stl-regular-price {
    font-size: 14px;
    color: var(--stl-text-muted);
    text-decoration: line-through;
}

.stl-discount {
    font-size: 11px;
    font-weight: 700;
    color: var(--colore_principale);
    background: rgba(220, 53, 69, 0.1);
    padding: 3px 8px;
    border-radius: 2px;
}

/* ==========================================================================
   CARD - AZIONI PRODOTTO
   ========================================================================== */
.stl-product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .stl-product-actions {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }
    
    .stl-size-selector {
        flex: 1;
        min-width: 140px;
    }
    
    .stl-qty-selector {
        flex: 0 0 auto;
    }
    
    .stl-buttons {
        width: 100%;
    }
    
    .stl-availability {
        width: 100%;
        justify-content: center;
    }
}

/* Selettore Taglia */
.stl-size-selector,
.stl-qty-selector {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stl-size-selector label,
.stl-qty-selector label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--stl-text-light);
    margin-bottom: 4px;
    font-weight: 500;
    text-align: left;
}

.stl-size-select {
    width: 100%;
    max-width: 160px;
    padding: 8px 12px;
    padding-right: 32px;
    border: 1px solid var(--stl-border);
    border-radius: var(--stl-radius);
    background-color: var(--stl-bg);
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    transition: var(--stl-transition-fast);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.stl-size-select:hover {
    border-color: var(--stl-border-dark);
}

.stl-size-select:focus {
    outline: none;
    border-color: var(--stl-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.stl-size-select.stl-error {
    border-color: var(--colore_principale);
}

/* Selettore Quantità */
.stl-qty-selector {
    min-width: 100px;
}

.stl-qty-controls {
    display: flex;
    border: 1px solid var(--stl-border);
    border-radius: var(--stl-radius);
    overflow: hidden;
}

.stl-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--stl-bg-light);
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    color: var(--stl-text);
    transition: var(--stl-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stl-qty-btn:hover {
    background: var(--stl-bg-dark);
}

.stl-qty-btn:active {
    background: var(--stl-border);
}

.stl-qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--stl-border);
    border-right: 1px solid var(--stl-border);
    font-size: 13px;
    font-family: inherit;
    font-weight: 500;
    color: var(--stl-text);
    -moz-appearance: textfield;
}

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

.stl-qty-input:focus {
    outline: none;
    background: var(--stl-bg-light);
}

/* ==========================================================================
   CARD - PULSANTI
   ========================================================================== */
.stl-buttons {
    display: flex;
    gap: 10px;
}

.stl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: none;
    border-radius: var(--stl-radius);
    font-size: 11px;
    font-weight: 600;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    cursor: pointer;
    transition: var(--stl-transition);
    text-decoration: none;
    white-space: nowrap;
}

.stl-btn i,
.stl-btn .material-icons {
    font-size: 18px;
}

/* Pulsante Carrello */
.stl-btn-cart {
    flex: 1;
    background: var(--stl-primary);
    color: var(--stl-bg);
}

.stl-btn-cart:hover:not(:disabled) {
    background: var(--stl-secondary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stl-btn-cart:active:not(:disabled) {
    transform: translateY(0);
}

.stl-btn-cart:disabled {
    background: var(--stl-bg-dark);
    color: var(--stl-text-muted);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Pulsante Dettagli */
.stl-btn-details {
    background: transparent;
    border: 1px solid var(--stl-border);
    color: var(--stl-text);
}

.stl-btn-details:hover {
    border-color: var(--stl-primary);
    background: var(--stl-bg-light);
    color: var(--stl-primary);
}

/* ==========================================================================
   CARD - DISPONIBILITÀ
   ========================================================================== */
.stl-availability {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stl-availability i,
.stl-availability .material-icons {
    font-size: 16px;
}

.stl-available {
    color: var(--stl-success);
}

.stl-limited {
    color: #e67e22;
}

.stl-unavailable {
    color: var(--colore_principale);
}

/* ==========================================================================
   AGGIUNGI TUTTO AL CARRELLO
   ========================================================================== */
.stl-add-all-wrapper {
    margin-top: 40px;
    padding-top: 35px;
    border-top: 1px solid var(--stl-border);
    text-align: center;
}

.stl-btn-add-all {
    width: 100%;
    max-width: 450px;
    padding: 18px 35px;
    background: var(--stl-primary);
    color: var(--stl-bg);
    font-size: 13px;
    border-radius: var(--stl-radius);
}

.stl-btn-add-all:hover:not(:disabled) {
    background: var(--stl-secondary);
    transform: translateY(-2px);
    box-shadow: var(--stl-shadow-hover);
}

.stl-btn-add-all.stl-ready {
    background: var(--stl-success);
}

.stl-btn-add-all.stl-ready:hover {
    background: #218838;
}

.stl-btn-price {
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.stl-add-all-note {
    font-size: 12px;
    color: var(--stl-text-muted);
    margin: 12px 0 0;
}

/* ==========================================================================
   SEZIONE CONDIVISIONE
   ========================================================================== */
.stl-share-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 50px 20px;
    margin-top: 60px;
    border-top: 1px solid var(--stl-border);
}

.stl-share-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--stl-text-light);
    font-weight: 500;
}

.stl-share-buttons {
    display: flex;
    gap: 12px;
}

.stl-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--stl-bg-light);
    color: var(--stl-text);
    text-decoration: none;
    transition: var(--stl-transition);
    font-size: 16px;
}

.stl-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--stl-shadow);
}

.stl-share-btn.stl-share-facebook:hover {
    background: #1877f2;
    color: white;
}

.stl-share-btn.stl-share-pinterest:hover {
    background: #e60023;
    color: white;
}

.stl-share-btn.stl-share-twitter:hover {
    background: #1da1f2;
    color: white;
}

.stl-share-btn.stl-share-email:hover {
    background: var(--stl-primary);
    color: white;
}

@media (max-width: 576px) {
    .stl-share-section {
        flex-direction: column;
        gap: 18px;
        padding: 35px 20px;
    }
}

/* ==========================================================================
   PAGINA LISTA LOOK
   ========================================================================== */
.stl-looks-list-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.stl-page-intro {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 20px;
}

.stl-page-intro p {
    font-size: 16px;
    color: var(--stl-text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Griglia Look */
.stl-looks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
}

@media (max-width: 768px) {
    .stl-looks-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

/* Card Look */
.stl-look-card {
    background: var(--stl-bg);
    border-radius: var(--stl-radius);
    overflow: hidden;
    transition: var(--stl-transition);
}

.stl-look-card:hover {
    box-shadow: var(--stl-shadow-hover);
    transform: translateY(-5px);
}

.stl-look-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.stl-look-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--stl-bg-light);
}

.stl-look-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.stl-look-card:hover .stl-look-card-image img {
    transform: scale(1.08);
}

.stl-look-card-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--stl-text-muted);
}

.stl-look-card-no-image i {
    font-size: 72px;
    opacity: 0.4;
}

/* Overlay */
.stl-look-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    opacity: 0;
    transition: var(--stl-transition);
}

.stl-look-card:hover .stl-look-card-overlay {
    opacity: 1;
}

.stl-look-card-cta {
    display: inline-block;
    padding: 14px 28px;
    background: var(--stl-bg);
    color: var(--stl-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transform: translateY(20px);
    transition: var(--stl-transition);
    border-radius: var(--stl-radius);
}

.stl-look-card:hover .stl-look-card-cta {
    transform: translateY(0);
}

.stl-look-card-cta:hover {
    background: var(--stl-primary);
    color: var(--stl-bg);
}

/* Info Card */
.stl-look-card-info {
    padding: 22px 20px;
    text-align: center;
    background: var(--stl-bg);
}

.stl-look-card-name {
    font-size: 15px;
    font-weight: 500;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--stl-primary);
}

.stl-look-card-count {
    font-size: 12px;
    color: var(--stl-text-muted);
}

/* Nessun Look */
.stl-no-looks {
    text-align: center;
    padding: 100px 20px;
    color: var(--stl-text-muted);
}

.stl-no-looks i {
    font-size: 80px;
    margin-bottom: 25px;
    opacity: 0.3;
}

.stl-no-looks p {
    font-size: 16px;
    margin: 0;
}

/* ==========================================================================
   ANIMAZIONI
   ========================================================================== */
@keyframes stl-fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes stl-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes stl-spin {
    to { transform: rotate(360deg); }
}

.stl-product-card {
    animation: stl-fadeIn 0.5s ease forwards;
    opacity: 0;
}

.stl-product-card:nth-child(1) { animation-delay: 0.05s; }
.stl-product-card:nth-child(2) { animation-delay: 0.1s; }
.stl-product-card:nth-child(3) { animation-delay: 0.15s; }
.stl-product-card:nth-child(4) { animation-delay: 0.2s; }
.stl-product-card:nth-child(5) { animation-delay: 0.25s; }
.stl-product-card:nth-child(6) { animation-delay: 0.3s; }
.stl-product-card:nth-child(7) { animation-delay: 0.35s; }
.stl-product-card:nth-child(8) { animation-delay: 0.4s; }

.stl-look-card {
    animation: stl-fadeIn 0.6s ease forwards;
    opacity: 0;
}

.stl-look-card:nth-child(1) { animation-delay: 0.1s; }
.stl-look-card:nth-child(2) { animation-delay: 0.2s; }
.stl-look-card:nth-child(3) { animation-delay: 0.3s; }
.stl-look-card:nth-child(4) { animation-delay: 0.4s; }

/* ==========================================================================
   SPINNER E LOADING
   ========================================================================== */
.stl-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: stl-spin 0.7s linear infinite;
    vertical-align: middle;
}

.stl-btn-cart .stl-spinner {
    margin-right: 8px;
}

.stl-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.stl-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: inherit;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.stl-toast {
    position: fixed;
    bottom: 25px;
    right: 25px;
    min-width: 320px;
    max-width: 420px;
    padding: 16px 22px;
    background: var(--stl-primary);
    color: var(--stl-bg);
    border-radius: var(--stl-radius);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 99999;
    animation: stl-toast-in 0.35s ease;
}

.stl-toast-success {
    background: var(--stl-success);
}

.stl-toast-error {
    background: var(--colore_principale);
}

.stl-toast-warning {
    background: var(--stl-warning);
    color: var(--stl-text);
}

.stl-toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.stl-toast-content i,
.stl-toast-content .material-icons {
    font-size: 22px;
}

.stl-toast-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 22px;
    cursor: pointer;
    padding: 0 0 0 18px;
    opacity: 0.7;
    transition: var(--stl-transition-fast);
    line-height: 1;
}

.stl-toast-close:hover {
    opacity: 1;
}

@keyframes stl-toast-in {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes stl-toast-out {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@media (max-width: 576px) {
    .stl-toast {
        left: 15px;
        right: 15px;
        bottom: 15px;
        min-width: 0;
        max-width: none;
    }
}

/* ==========================================================================
   RESPONSIVE MOBILE
   ========================================================================== */
@media (max-width: 768px) {
    .stl-look-page {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .stl-look-header {
        padding: 30px 15px 15px;
        margin-bottom: 10px;
        margin-top: 0;
        text-align: center;
        background: transparent;
        border-bottom: none;
    }
    
    .stl-look-title {
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 4px;
    }

    .stl-look-description {
        font-size: 20px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .stl-look-container {
        padding: 0 10px 40px;
        max-width: 100%;
        margin: 0 auto;
    }

    /* Layout mobile: immagine in alto, prodotti sotto */
    .stl-look-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* Immagine del look in alto */
    .stl-look-image-column {
        width: 100%;
        position: relative;
        order: 1;
    }

    .stl-look-image-wrapper {
        max-width: 100%;
        margin: 0 auto;
        border-radius: var(--stl-radius);
        overflow: hidden;
    }

    .stl-look-main-image {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Prodotti sotto l'immagine */
    .stl-products-column {
        width: 100%;
        order: 2;
    }
    
    .stl-look-total {
        display: none;
    }
    
    .stl-total-price {
        font-size: 22px;
    }

    .stl-products-list {
        gap: 15px;
    }
    
    /* Card prodotto mobile - NUOVO LAYOUT */
    .stl-product-card {
        border-radius: var(--stl-radius);
    }

    .stl-product-card-inner {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 12px;
    }

    /* Header titolo e prezzo su stessa riga */
    .stl-product-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding-bottom: 0;
        border-bottom: none;
        order: 1;
    }

    .stl-product-header-info {
        text-align: left;
        flex: 1;
    }

    .stl-product-header .stl-product-name {
        font-size: 13px;
        margin-bottom: 0;
    }

    .stl-product-header .stl-product-price {
        text-align: right;
        flex-shrink: 0;
        display: flex;
        align-items: baseline;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .stl-product-header .stl-price {
        font-size: 15px;
    }
    
    .stl-product-header .stl-regular-price {
        font-size: 12px;
    }
    
    .stl-product-header .stl-discount {
        font-size: 10px;
        padding: 2px 5px;
    }

    /* Body: Immagine grande + combo affiancati */
    .stl-product-body {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        order: 2;
    }

    /* IMMAGINE PIU GRANDE - 45% della card */
    .stl-product-image {
        flex: 0 0 45%;
        max-width: 45%;
        min-width: 45%;
        aspect-ratio: 3/4;
    }
    
    /* Azioni/combo allineati all'inizio (TOP) della foto */
    .stl-product-actions {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-self: flex-start;
        padding-top: 0;
        margin-top: 0;
    }

    /* Combo più corti */
    .stl-size-selector,
    .stl-qty-selector {
        width: 100%;
    }

    .stl-size-selector label,
    .stl-qty-selector label {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .stl-size-select {
        width: 100%;
        max-width: 100%;
        padding: 6px 8px;
        font-size: 11px;
        height: 32px;
    }

    .stl-qty-controls {
        justify-content: flex-start;
    }

    .stl-qty-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .stl-qty-input {
        width: 36px;
        height: 28px;
        font-size: 12px;
    }

    .stl-buttons {
        flex-direction: column;
        gap: 6px;
        margin-top: 4px;
    }
    
    .stl-btn {
        padding: 8px 12px;
        font-size: 10px;
        width: 100%;
    }

    .stl-btn-cart,
    .stl-btn-details {
        width: 100%;
    }
    
    .stl-availability {
        justify-content: flex-start;
        font-size: 10px;
        margin-top: 2px;
    }

    .stl-add-all-wrapper {
        padding: 20px 0;
        margin-top: 20px;
    }
    
    .stl-btn-add-all {
        width: 100%;
        padding: 16px 20px;
        font-size: 12px;
    }
    
    .stl-share-section {
        display: none; /* Nascondo condivisione su mobile */
    }

    .stl-looks-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Smartphone piccoli */
@media (max-width: 400px) {
    .stl-product-image {
        width: 80px;
        min-width: 80px;
    }

    .stl-buttons {
        flex-direction: column;
    }

    .stl-btn {
        width: 100%;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    .stl-share-section,
    .stl-add-all-wrapper,
    .stl-product-actions,
    .stl-btn {
        display: none !important;
    }
    
    .stl-look-layout {
        display: block;
    }
    
    .stl-product-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.stl-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.stl-clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ==========================================================================
   NASCONDI MESSAGGI DISPONIBILITÀ
   ========================================================================== */
.stl-product-card .stl-availability,
.stl-product-card .stl-stock-status,
.stl-product-card .product-availability,
.stl-product-card .availability,
.stl-product-card .stock-status,
.stl-product-card [class*="availability"],
.stl-product-card [class*="stock"],
.stl-product-card .out-of-stock,
.stl-product-card .in-stock,
.stl-product-card .last-items,
.stl-size-selector .availability-message,
.stl-size-selector option[disabled]::after {
    display: none !important;
}
/* ==========================================================================
   SHOP THE LOOK - LISTA LOOK ELEGANTE
   Aggiungi in fondo a shopthelook.css
   ========================================================================== */

.stl-looks-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.stl-looks-header {
    text-align: center;
    padding: 20px 20px 15px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 25px;
}

.stl-looks-main-title {
    font-size: 38px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 8px;
    color: #000;
    font-family: inherit;
}

.stl-looks-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    font-family: inherit;
}

@media (max-width: 768px) {
    .stl-looks-header {
        padding: 15px 15px 12px;
        margin-bottom: 18px;
    }
    
    .stl-looks-main-title {
        font-size: 26px;
        font-weight: 700;
        margin: 0 0 4px;
        font-family: var(--stl-font-primary);
    }
    
    .stl-looks-subtitle {
        font-size: 21px;
        font-family: var(--stl-font-primary);
        font-weight: 700;
    }
}

/* ==========================================================================
   GRIGLIA LOOK
   ========================================================================== */
.stl-looks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1100px) {
    .stl-looks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 650px) {
    .stl-looks-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Ogni item diventa colonna flex per spingere il pulsante in fondo */
    .stl-look-item {
        display: flex;
        flex-direction: column;
    }

    .stl-look-info {
        display: flex;
        flex-direction: column;
        flex: 1;
        padding: 12px 4px 4px;
    }

    /* Nascondo il nome, mostro solo la descrizione */
    .stl-look-name {
        display: none;
    }

    .stl-look-desc {
        display: block;
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: #000;
        line-height: 1.4;
        margin: 0 0 auto;
        padding-bottom: 12px;
    }

    /* Pulsante sempre in fondo, stessa altezza su tutte le card */
    .stl-look-button {
        display: block;
        margin-top: auto;
        padding: 10px 14px;
        font-size: 10px;
        letter-spacing: 1px;
    }

    .stl-look-count {
        font-size: 9px;
        padding: 5px 10px;
        bottom: 8px;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        position: relative;
    }

    .stl-look-image-wrapper {
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
}

/* ==========================================================================
   SINGOLO LOOK ITEM
   ========================================================================== */
.stl-look-item {
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* IMMAGINE */
.stl-look-image-link {
    display: block;
    text-decoration: none;
}

.stl-look-image-wrapper {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    aspect-ratio: 3 / 4;
}

.stl-look-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.stl-look-image-link:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.stl-look-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 350px;
    background: #f0f0f0;
    color: #999;
    font-size: 14px;
}

/* BADGE CONTEGGIO */
/* Badge - desktop: sinistra */
.stl-look-count {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: black;
    color: var(--colore_testo);
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

/* ==========================================================================
   INFO LOOK
   ========================================================================== */
.stl-look-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 4px 10px 4px;
}

.stl-look-name {
    display: none;
}

.stl-look-desc {
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    line-height: 1.4;
    margin: 0 0 auto;
    padding-bottom: 4px;
}

/* Desktop: bottone largo quanto la foto */
@media (min-width: 993px) {
    .stl-look-info {
        padding-left: 0;
        padding-right: 0;
    }
}

/* PULSANTE */
.stl-look-button {
    display: block;
    margin-top: auto;
    padding: 14px 35px;
    background: var(--colore_principale);
    color: var(--colore_testo);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--colore_principale);
    transition: all 0.3s ease;
}

.stl-look-button:hover {
    background: #fff;
    color: var(--colore_principale);
}

@media (max-width: 768px) {
    .stl-look-info {
        padding: 4px 4px 4px;
    }
    
    .stl-look-name {
        font-size: 17px;
        letter-spacing: 1.5px;
    }
    
    .stl-look-desc {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .stl-look-button {
        padding: 10px 20px;
        font-size: 11px;
    }
}

/* ==========================================================================
   PAGINA VUOTA
   ========================================================================== */
.stl-looks-empty {
    text-align: center;
    padding: 80px 20px;
}

.stl-looks-empty h2 {
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 15px;
    color: #000;
}

.stl-looks-empty p {
    font-size: 15px;
    color: #666;
    margin: 0;
}