/* loja/css/style.css - Premium visual styling for the e-commerce affiliate store */

/* Curated color variables for the store (Premium Dark Mode) */
:root {
    --store-slate-950: 3 7 18;
    --store-slate-900: 17 24 39;
    --store-slate-800: 31 41 55;
    --store-slate-700: 55 65 81;
    --store-slate-300: 209 213 219;
    --store-slate-100: 243 244 246;
    
    /* Platform Branding Colors */
    --color-amazon: 255 153 0;       /* #FF9900 */
    --color-shopee: 238 77 45;       /* #EE4D2D */
    --color-mercadolivre: 255 241 89; /* #FFF159 */
    
    --store-indigo: 99 102 241;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Glassmorphism Product Card Panel */
.store-card {
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5), 0 0 15px 1px rgba(99, 102, 241, 0.15);
}

/* Platform Tag Badges */
.tag-platform {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.07em;
    padding: 3px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-amazon {
    background: rgba(255, 153, 0, 0.12);
    color: rgb(255, 153, 0);
    border: 1px solid rgba(255, 153, 0, 0.25);
}

.tag-shopee {
    background: rgba(238, 77, 45, 0.12);
    color: rgb(238, 77, 45);
    border: 1px solid rgba(238, 77, 45, 0.25);
}

.tag-mercadolivre {
    background: rgba(255, 241, 89, 0.1);
    color: #e5d21a; /* slightly darker yellow for readability */
    border: 1px solid rgba(255, 241, 89, 0.25);
}

.tag-outros {
    background: rgba(99, 102, 241, 0.12);
    color: rgb(165, 180, 252);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

/* Premium Buy Affiliate Buttons */
.btn-buy {
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-buy-amazon {
    background: #ff9900;
    color: #111;
}
.btn-buy-amazon:hover {
    background: #e68a00;
    box-shadow: 0 6px 18px rgba(255, 153, 0, 0.3);
}

.btn-buy-shopee {
    background: #ee4d2d;
    color: #fff;
}
.btn-buy-shopee:hover {
    background: #d73a1e;
    box-shadow: 0 6px 18px rgba(238, 77, 45, 0.3);
}

.btn-buy-mercadolivre {
    background: #ffe600;
    color: #111;
}
.btn-buy-mercadolivre:hover {
    background: #e6ce00;
    box-shadow: 0 6px 18px rgba(255, 230, 0, 0.25);
}

.btn-buy-outros {
    background: #6366f1;
    color: #fff;
}
.btn-buy-outros:hover {
    background: #4f46e5;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

/* WordPress-style Description Formatting */
.product-description {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgb(var(--store-slate-300));
}

.product-description h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.product-description h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.product-description h3 {
    font-size: 1.25rem;
    font-weight: 650;
    color: rgb(var(--store-slate-100));
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.product-description p {
    margin-bottom: 1.25rem;
}

.product-description strong {
    font-weight: 700;
    color: #fff;
}

.product-description ul, .product-description ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.product-description ul { list-style-type: disc; }
.product-description ol { list-style-type: decimal; }
.product-description li { margin-bottom: 0.4rem; }

.product-description blockquote {
    border-left: 4px solid #6366f1;
    background: rgba(99, 102, 241, 0.05);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

/* Social Sharing Buttons */
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.6);
    color: #9ca3af;
    transition: all 0.2s ease-in-out;
}

.share-btn:hover {
    transform: scale(1.08);
}

.share-btn-whatsapp:hover {
    color: #25d366;
    border-color: rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.08);
}

.share-btn-facebook:hover {
    color: #1877f2;
    border-color: rgba(24, 119, 242, 0.4);
    background: rgba(24, 119, 242, 0.08);
}

.share-btn-twitter:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.share-btn-telegram:hover {
    color: #0088cc;
    border-color: rgba(0, 136, 204, 0.4);
    background: rgba(0, 136, 204, 0.08);
}
