/* Presente Camisaria - Estilos Principais com Material Design */

/* Reset e configurações base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1f2937;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Configurações de margem lateral */
.container {
    max-width: 100%;
    margin-left: 96px;
    margin-right: 96px;
}

div#circle-float i {
    font-size: 18pt;
}
div#circle-float {
    width: 45px;
    height: 45px;
}

@media (max-width: 1024px) {
    .container {
        margin-left: 80px;
        margin-right: 80px;
    }
}

@media (max-width: 768px) {
    .container {
        margin-left: 24px;
        margin-right: 24px;
    }
}

@media (max-width: 480px) {
    .container {
        margin-left: 16px;
        margin-right: 16px;
    }
}

/* Espaçamentos aumentados para seções */
.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (max-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
}

/* Espaçamentos internos aumentados */
.card-padding {
    padding: 2rem;
}

img.logo-img {
    width: 30px;
}

@media (max-width: 768px) {
    .card-padding {
        padding: 1.5rem;
    }
    .bg-white.rounded-2xl.shadow-lg.p-6 {
        display: none;
    }
    .flex.items-center.space-x-4 {
        font-size: 0.8rem;
    }
    .flex-1 {
        font-size: 0.9rem;
    }
    .text-sm {
        font-size: 0.65rem;
        line-height: 1rem;
    }
}

@media (max-width: 480px) {
    .card-padding {
        padding: 1.25rem;
    }
}

/* Espaçamentos entre elementos */
.element-spacing {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .element-spacing {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .element-spacing {
        margin-bottom: 1rem;
    }
}

/* Estilos específicos para input de quantidade */
#quantity {
    appearance: none;
    -moz-appearance: textfield;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#quantity:focus {
    outline: none;
    border-color: #1ba54d;
    box-shadow: 0 0 0 4px rgba(27, 165, 77, 0.1);
}

/* Melhorias visuais para o input */
.quantity-input-container {
    position: relative;
}

.quantity-input-container::after {
    content: "unidades";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 0.875rem;
    pointer-events: none;
    background: white;
    padding: 0 4px;
}

/* Estilos para feedbacks de usuário */
.feedback-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    max-width: 400px;
    word-wrap: break-word;
}

.feedback-toast.show {
    transform: translateX(0);
}

.feedback-toast.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.feedback-toast.error {
    background: linear-gradient(135deg, #dc2626 0%, #000000 100%);
}

.feedback-toast.info {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.feedback-toast.warning {
    background: linear-gradient(135deg, #16a34a 0%, #000000 100%);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Botões com estado de loading */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    opacity: 0.7;
}

/* Melhorias de responsividade para mobile */
@media (max-width: 768px) {
    /* Header mobile */
    .mobile-menu {
        padding: 16px;
    }
    
    /* Hero section mobile */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 24px;
    }
    
    /* Cards de serviços mobile */
    .service-card {
        margin-bottom: 16px;
    }
    
    /* Calculadora mobile */
    .calculator-form {
        padding: 20px !important;
    }
    
    .calculator-step {
        margin-bottom: 24px;
    }
    
    /* Modal mobile */
    .modal-content {
        margin: 8px;
        max-height: calc(100vh - 16px);
        min-height: 0; /* Permite flexbox funcionar corretamente */
    }
    
    /* Galeria mobile */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        padding-bottom: 20px; /* Espaço extra no final para scroll */
    }
    
    /* Melhorias para imagens da galeria no mobile */
    .gallery-grid .group {
        margin-bottom: 8px;
    }
    
    .gallery-grid .group img {
        min-height: 200px;
        object-fit: cover;
    }
    
    /* Modal de imagem mobile */
    #imageModal {
        padding: 8px !important;
    }
    
    #imageModal img {
        max-height: calc(100vh - 16px) !important;
        max-width: calc(100vw - 16px) !important;
    }
    
    /* Formulário de contato mobile */
    .contact-form {
        padding: 20px !important;
    }
    
    .form-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    /* Ajustes para telas muito pequenas */
    .hero-title {
        font-size: 2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    /* Botões mobile */
    .btn-mobile {
        padding: 12px 20px !important;
        font-size: 0.9rem;
    }
    
    /* Cards mobile */
    .card-mobile {
        padding: 16px !important;
    }
    
    /* Modal mobile pequeno */
    .modal-small {
        margin: 8px;
        max-height: calc(100vh - 16px);
    }
}

/* Material Design Elevation */
.elevation-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.elevation-2 {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.elevation-3 {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}

.elevation-4 {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.elevation-5 {
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.30), 0 15px 12px rgba(0, 0, 0, 0.22);
}

/* Configurações do gráfico */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    height: 250px;
    max-height: 300px;
}

@media (min-width: 768px) {
    .chart-container {
        height: 350px;
        max-height: 400px;
    }
}

/* Navegação */
.nav-link {
    transition: color 0.3s;
}

.nav-link:hover {
    color: #1ba54d;
}

/* Cards com hover */
.card-hover {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Botões padronizados com cor sólida */
.btn-primary {
    background-color: #1ba54d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(27, 165, 77, 0.3);
}

.btn-primary:hover {
    background-color: #15803d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(27, 165, 77, 0.4);
}

.btn-secondary {
    background-color: #f0fdf4;
    color: #15803d;
    border: 2px solid #1ba54d;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1ba54d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(27, 165, 77, 0.3);
}

.btn-outline {
    background: transparent;
    color: #15803d;
    border: 2px solid #1ba54d;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #1ba54d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(27, 165, 77, 0.3);
}

/* Formulários */
input[type='radio']:checked + label {
    border-color: #1ba54d;
    box-shadow: 0 0 0 3px rgba(27, 165, 77, 0.2);
    background-color: #f0fdf4;
}

/* Melhorias de acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Indicadores de foco para navegação por teclado */
.keyboard-navigation *:focus {
    outline: 2px solid #1ba54d;
    outline-offset: 2px;
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Melhorias para dispositivos móveis */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .chart-container {
        height: 200px;
    }
}

/* Estados de loading */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Melhorias para impressão */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-white {
        background: white !important;
    }
}

/* Dark mode support (para futuras implementações) */
@media (prefers-color-scheme: dark) {
    /* Preparado para modo escuro futuro */
}

/* Reduzir movimento para usuários que preferem */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Estilos específicos para o novo design */

/* Phosphor Icons */
.ph {
    font-family: 'Phosphor', 'PhosphorIcons', sans-serif;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-size: inherit;
    vertical-align: middle;
}

/* Fallback para ícones SVG */
.ph-fallback {
    display: inline-block;
    vertical-align: middle;
}

.ph-fallback svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Garantir que ícones SVG de fallback tenham tamanho correto */
span[class*="ph-"] svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}

/* Tamanhos específicos para ícones */
.text-xs svg { font-size: 0.75rem; }
.text-sm svg { font-size: 0.875rem; }
.text-lg svg { font-size: 1.125rem; }
.text-xl svg { font-size: 1.25rem; }
.text-2xl svg { font-size: 1.5rem; }
.text-3xl svg { font-size: 1.875rem; }
.text-4xl svg { font-size: 2.25rem; }

/* Notificações */
.notification {
    max-width: 400px;
    word-wrap: break-word;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.notification.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.notification.error {
    background: linear-gradient(135deg, #dc2626 0%, #000000 100%);
}

.notification.info {
    background: linear-gradient(135deg, #22b5c5 0%, #168ba3 100%);
}

.notification.warning {
    background: linear-gradient(135deg, #a36116 0%, #000000 100%);
}

/* Material Design Components */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* Gradientes personalizados padronizados */
.gradient-primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #000000 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #000000 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
}

/* Classes de gradiente padronizadas para uso em HTML */
.gradient-green-light {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
}

.gradient-green-medium {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
}

.gradient-green-dark {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #000000 100%);
}

.gradient-green-to-black {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 30%, #000000 100%);
}

.gradient-green-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 30%, #bbf7d0 100%);
}

/* Animações Material Design */
@keyframes material-ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Cards com Material Design */
.material-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.material-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Botões Material Design padronizados */
.btn-material {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-material.primary {
    background-color: #1ba54d;
    color: #ffffff;
}

.btn-material.primary:hover {
    background-color: #15803d;
    box-shadow: 0 4px 8px rgba(27, 165, 77, 0.3);
}

.btn-material.secondary {
    background-color: #f0fdf4;
    color: #15803d;
    border: 2px solid #86efac;
}

.btn-material.secondary:hover {
    background-color: #86efac;
    box-shadow: 0 4px 8px rgba(134, 239, 172, 0.3);
}

/* Formulários Material Design */
.material-input {
    position: relative;
    margin-bottom: 24px;
}

.material-input input,
.material-input textarea {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.material-input input:focus,
.material-input textarea:focus {
    outline: none;
    border-bottom-color: #1ba54d;
}

.material-input label {
    position: absolute;
    top: 12px;
    left: 0;
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.material-input input:focus + label,
.material-input input:valid + label,
.material-input textarea:focus + label,
.material-input textarea:valid + label {
    top: -20px;
    font-size: 12px;
    color: #1ba54d;
}

/* Floating Action Button padronizado */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1ba54d;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 8px rgba(27, 165, 77, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.fab:hover {
    transform: scale(1.1);
    background-color: #15803d;
    box-shadow: 0 6px 12px rgba(27, 165, 77, 0.4);
}

/* Snackbar */
.snackbar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: #323232;
    color: white;
    padding: 14px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.snackbar.show {
    opacity: 1;
}

/* Progress Bar padronizado */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #1ba54d;
    transition: width 0.3s ease;
}

/* Chips */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #e0e0e0;
    border-radius: 16px;
    font-size: 14px;
    margin: 4px;
}

.chip.primary {
    background-color: #f0fdf4;
    color: #1ba54d;
    border: 1px solid #1ba54d;
}

.chip.secondary {
    background-color: #dcfce7;
    color: #1ba54d;
    border: 1px solid #1ba54d;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.tab.active {
    border-bottom-color: #1ba54d;
    color: #1ba54d;
}

/* Responsividade melhorada para o novo design */
@media (max-width: 768px) {
    .material-card {
        margin: 8px;
    }
    
    .btn-material {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .fab {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}

/* Animações de entrada */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Estilos específicos para cores do projeto padronizados */
.text-primary-green {
    color: #22c55e;
    font-weight: 600;
}

.text-secondary-gray {
    color: #bdc1ca;
    font-weight: 500;
}

.text-accent-green {
    color: #16a34a;
    font-weight: 700;
}

.text-dark-green {
    color: #15803d;
    font-weight: 600;
}

.bg-primary-green {
    background-color: #1ba54d;
}

.bg-secondary-gray {
    background-color: #f9fafb;
}

/* Títulos padronizados */
.title-primary {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #000 0%, #16a34a 50%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-secondary {
    font-size: 2rem;
    font-weight: 700;
    color: #16a34a;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.title-tertiary {
    font-size: 1.5rem;
    font-weight: 600;
    color: #22c55e;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.subtitle-primary {
    font-size: 1.25rem;
    font-weight: 500;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.subtitle-secondary {
    font-size: 1.125rem;
    font-weight: 500;
    color: #16a34a;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

/* Textos padronizados */
.text-body {
    font-size: 1rem;
    font-weight: 400;
    color: #374151;
    line-height: 1.6;
}

.text-body-secondary {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
}

.text-caption {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Melhorias para formulários padronizados */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1ba54d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #1ba54d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 165, 77, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #1ba54d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 165, 77, 0.1);
    transform: translateY(-1px);
}

.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    background-color: #ffffff;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

.form-textarea:focus {
    outline: none;
    border-color: #1ba54d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(27, 165, 77, 0.1);
    transform: translateY(-1px);
}

/* Melhorias para cards de produtos padronizados */
.product-card {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #1ba54d;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.2);
    border-color: #22c55e;
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:focus {
    outline: 2px solid #1ba54d;
    outline-offset: 2px;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 0.5rem;
}

.product-card-description {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 1rem;
}

/* Melhorias para o header padronizado */
.header-sticky {
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(27, 165, 77, 0.3);
}

.header-brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: #15803d;
}

.header-nav-link {
    font-weight: 600;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
}

.header-nav-link:hover {
    color: #1ba54d;
}

.header-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1ba54d;
    transition: width 0.3s ease;
}

.header-nav-link:hover::after {
    width: 100%;
}

/* Melhorias para o footer */
.footer {
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 30%, #000000 100%);
}

/* Responsividade melhorada */
@media (max-width: 640px) {
    .grid-responsive {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .grid-responsive {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1025px) {
    .grid-responsive {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Melhorias para acessibilidade */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1ba54d;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Estados de erro e sucesso */
.error {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1) !important;
}

.success {
    border-color: #16a34a !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1) !important;
}

.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    color: #16a34a;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Gráfico de Fallback */
.chart-fallback {
    width: 100%;
    height: 200px;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
}

.chart-fallback-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chart-fallback-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-fallback-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.chart-bar:last-child {
    border-bottom: none;
}

.bar-label {
    min-width: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.bar-container {
    flex: 1;
    height: 24px;
    background-color: #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 0.6s ease;
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.bar-value {
    min-width: 80px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-align: right;
    background: #f9fafb;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

/* Toast de desconto aplicado */
.discount-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    z-index: 1000;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    border: 2px solid #16a34a;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 16px -4px rgba(22, 163, 74, 0.3);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 400px;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.discount-toast.show {
    transform: translateX(-50%) translateY(0);
}

.discount-toast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #16a34a, #22c55e, #16a34a);
    animation: shimmer 3s infinite;
}

.discount-toast-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discount-toast-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 50%, #000000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discount-toast-icon i {
    color: white;
    font-size: 1.25rem;
}

.discount-toast-text {
    flex: 1;
}

.discount-toast-title {
    font-weight: 700;
    color: #16a34a;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.discount-toast-subtitle {
    font-weight: 500;
    color: #000000;
    font-size: 0.8rem;
}

.discount-toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.discount-toast-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.discount-toast-close i {
    color: #000000;
    font-size: 0.875rem;
}

/* Animação de entrada do toast */
@keyframes slideInTop {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutTop {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
}

.discount-toast.slide-in {
    animation: slideInTop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.discount-toast.slide-out {
    animation: slideOutTop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsividade do toast */
@media (max-width: 768px) {
    .discount-toast {
        top: 70px;
        left: 50%;
        right: auto;
        max-width: calc(100vw - 32px);
        min-width: auto;
        transform: translateX(-50%) translateY(-100%);
    }
    
    .discount-toast.show {
        transform: translateX(-50%) translateY(0);
    }
    
    .discount-toast-content {
        gap: 0.5rem;
    }
    
    .discount-toast-icon {
        width: 32px;
        height: 32px;
    }
    
    .discount-toast-icon i {
        font-size: 1rem;
    }
    
    .discount-toast-title {
        font-size: 0.875rem;
    }
    
    .discount-toast-subtitle {
        font-size: 0.75rem;
    }
}

/* Responsividade do gráfico de fallback */
@media (max-width: 768px) {
    .chart-fallback {
        height: 180px;
        padding: 1rem;
    }
    
    .chart-fallback-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .chart-fallback-bars {
        gap: 0.75rem;
    }
    
    .chart-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }
    
    .bar-label {
        min-width: auto;
        text-align: center;
        font-size: 0.8rem;
    }
    
    .bar-value {
        min-width: auto;
        text-align: center;
        font-size: 0.8rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Estilos específicos para a imagem da blusa */
.w-32.h-48.bg-white.rounded-lg.mx-auto.mb-4.flex.items-center.justify-center.shadow-lg {
    background-image: url(/img/blusa-jj.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 2/3;
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
}

.w-32.h-48.bg-white.rounded-lg.mx-auto.mb-4.flex.items-center.justify-center.shadow-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #e5e7eb;
}

/* Responsividade para a imagem da blusa */
@media (max-width: 768px) {
    .w-32.h-48.bg-white.rounded-lg.mx-auto.mb-4.flex.items-center.justify-center.shadow-lg {
        width: 6rem;
        height: 9rem;
    }
}

@media (max-width: 480px) {
    .w-32.h-48.bg-white.rounded-lg.mx-auto.mb-4.flex.items-center.justify-center.shadow-lg {
        width: 5rem;
        height: 7.5rem;
    }
}
