:root {
    --lcs-primary: #e63946;
    --lcs-bg: #ffffff;
    --lcs-bg-soft: #f8f9fa;
    --lcs-text: #2b2d42;
    --lcs-border: #d1d5db;
    --lcs-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.lcs-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: var(--lcs-bg);
    border-radius: 20px;
    box-shadow: var(--lcs-shadow);
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--lcs-text);
}

.lcs-header h2 {
    margin: 0 0 30px 0;
    text-align: center;
    font-weight: 800;
    color: var(--lcs-primary);
    font-size: 2rem;
}

.lcs-template-selector {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--lcs-bg-soft);
    border-radius: 15px;
}

.lcs-template-selector p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
}

.lcs-template-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lcs-btn-template {
    background: #fff;
    border: 1.5px solid var(--lcs-primary);
    color: var(--lcs-primary);
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.lcs-btn-template:hover {
    background: var(--lcs-primary);
    color: #fff;
}

.lcs-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: stretch;
}

.lcs-input-group input {
    border: 2px solid var(--lcs-border);
    border-radius: 12px;
    padding: 0 15px;
    font-size: 1rem;
    height: 50px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.lcs-input-group input:focus {
    outline: none;
    border-color: var(--lcs-primary);
}

#lcs-item-input { flex: 3; }
#lcs-qty-input { flex: 1; min-width: 80px; text-align: center; }

#lcs-add-btn {
    background: var(--lcs-primary);
    color: #fff;
    border: none;
    padding: 0 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    height: 50px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lcs-list-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.lcs-btn-danger {
    background: #f1f5f9;
    color: #ef4444;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.lcs-items-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.lcs-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.lcs-item:hover { background: #fafafa; }
.lcs-item.bought { opacity: 0.5; }
.lcs-item.bought .lcs-item-text { text-decoration: line-through; }

.lcs-item-checkbox {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    cursor: pointer;
    accent-color: var(--lcs-primary);
}

.lcs-item-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.lcs-item-icon { font-size: 1.5rem; }
.lcs-item-text { font-size: 1.1rem; font-weight: 500; }
.lcs-item-qty {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

.lcs-remove-btn {
    background: none;
    border: none;
    color: #cbd5e1;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0 10px;
    line-height: 1;
}

.lcs-remove-btn:hover { color: #ef4444; }

.lcs-btn-whatsapp { 
    background: #25D366; 
    color: #fff; 
    width: 100%; 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    transition: transform 0.2s;
}

.lcs-btn-whatsapp:hover { transform: translateY(-2px); }

.lcs-empty-msg {
    text-align: center;
    padding: 50px 0;
    color: #94a3b8;
    font-style: italic;
}

@media (max-width: 480px) {
    .lcs-container { margin: 0; padding: 20px; border-radius: 0; }
    .lcs-input-group { flex-wrap: wrap; }
    #lcs-item-input { flex: 100%; }
    #lcs-qty-input { flex: 1; }
    #lcs-add-btn { flex: 2; }
}

.lcs-aff-quick-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1.5px dashed #e2e8f0;
}

.lcs-aff-quick-links p {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 12px;
}

.lcs-aff-buttons {
    display: flex;
    gap: 10px;
}

.lcs-aff-link {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.2s;
}

.lcs-aff-link.amazon { background: #ff9900; }
.lcs-aff-link.shopee { background: #ee4d2d; }
.lcs-aff-link.ml { background: #fff159; color: #333; }

.lcs-aff-link:hover { opacity: 0.9; color: #fff; }
.lcs-aff-link.ml:hover { color: #333; }

/* Estilos do Carrossel de Ofertas Profissional */
.lcs-offers-carousel {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px dashed #ddd;
}

.lcs-offers-carousel h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.lcs-carousel-container {
    overflow-x: auto;
    padding: 10px 5px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.lcs-carousel-container::-webkit-scrollbar {
    height: 6px;
}

.lcs-carousel-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.lcs-carousel-track {
    display: flex;
    gap: 15px;
}

.lcs-offer-card {
    min-width: 180px;
    max-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.lcs-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    border-color: var(--lcs-primary);
}

.lcs-offer-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lcs-offer-image {
    height: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    position: relative;
}

.lcs-offer-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.lcs-offer-info {
    padding: 12px;
    background: #fff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lcs-offer-store {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    background: var(--lcs-primary);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
    align-self: flex-start;
}

.lcs-offer-title {
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    height: 3.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.lcs-loading {
    text-align: center;
    width: 100%;
    color: #888;
    font-style: italic;
    padding: 20px 0;
}
