:root {
  --primary: #f2cfc3; /* Salmão/Pêssego suave da Logo */
  --primary-hover: #e5bdaf;
  --secondary: #111111;
  --accent: #fdf5f2;
  --white: #ffffff;
  --bg-light: #ffffff;
  --text-main: #2b2b2b;
  --text-muted: #888888;
  --radius: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 5px 15px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Inter', sans-serif; font-weight: 600; }

.section-title {
  text-align: center; font-size: 1.2rem; margin-bottom: 2rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; color: #111;
}

a { text-decoration: none; color: inherit; }

/* HEADER */
header { background: white; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; }
.nav-top-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.nav-main { display: flex; justify-content: center; gap: 2rem; padding: 0.8rem; border-top: 1px solid #f9f9f9; }
.logo { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; color: var(--primary); }
.nav-link { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.search-container { flex: 1; max-width: 400px; margin: 0 2rem; }
.search-input { width: 100%; padding: 0.6rem 1.5rem; border-radius: 50px; border: 1px solid #eee; background: #f9f9f9; }
.nav-actions { display: flex; gap: 1.5rem; align-items: center; }
.nav-icon { position: relative; cursor: pointer; }
.cart-count { position: absolute; top: -8px; right: -8px; background: var(--primary); color: #000; font-size: 0.6rem; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; border: 1px solid rgba(0,0,0,0.05); }

/* HERO */
.hero { height: 500px; background: #f7f7f7; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-title { font-size: 4rem; font-weight: 800; color: #111; }
.hero-price-tag { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 1rem 0; }
.btn-primary { background: var(--secondary); color: #fff; padding: 1rem 3rem; font-weight: 700; border-radius: 4px; cursor: pointer; transition: 0.3s; border: none; }
.btn-primary:hover { background: var(--primary); color: #000; }

/* CATEGORIES */
.category-card { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto; overflow: hidden; border: 2px solid transparent; transition: 0.3s; cursor: pointer; }
.category-card:hover { border-color: var(--primary); }
.category-item span { display: inline-block; margin-top: -15px; position: relative; z-index: 2; background: var(--primary); color: #000; padding: 4px 14px; border-radius: 50px; font-size: 0.65rem; font-weight: 800; border: 1px solid rgba(0,0,0,0.05); }

/* PRODUCTS */
.products { padding: 4rem 2%; max-width: 1400px; margin: 0 auto; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.product-card { background: transparent; transition: var(--transition); cursor: pointer; position: relative; }
.product-image-wrapper { position: relative; aspect-ratio: 3/4; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .product-image { transform: scale(1.1); }
.product-badge { position: absolute; top: 15px; left: 15px; background: var(--primary); color: #000; padding: 5px 12px; border-radius: 50px; font-size: 0.65rem; font-weight: 800; z-index: 10; border: 1px solid rgba(0,0,0,0.05); }

.product-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 5;
}
.product-card:hover .product-info-overlay { transform: translateY(0); opacity: 1; }

.product-name-overlay { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.3rem; }
.product-price-overlay { font-size: 1.1rem; font-weight: 600; color: var(--primary); }

.btn-buy-overlay {
    margin-top: 1rem;
    background: #fff;
    color: #000;
    border: none;
    padding: 0.8rem;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: 0.3s;
}
.btn-buy-overlay:hover { background: var(--primary); }

/* FOOTER */
#footer { background: #fff; border-top: 1px solid #f0f0f0; padding: 4rem 2% 2rem; }
.footer-container { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; border-bottom: 1px solid #f5f5f5; padding-bottom: 3rem; }
.footer-section h4 { font-size: 0.8rem; font-weight: 800; margin-bottom: 1.5rem; color: #111; }
.footer-links { list-style: none; }
.footer-links li { font-size: 0.85rem; color: #666; margin-bottom: 0.8rem; cursor: pointer; }
.footer-links li:hover { color: var(--secondary); }
.footer-logo-small { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; color: #111; margin-bottom: 1rem; }
.footer-bottom { text-align: center; padding-top: 2rem; font-size: 0.75rem; color: #999; }

/* BUTTONS */
.btn-outline {
    background: transparent;
    border: 1.5px solid #111;
    color: #111;
    padding: 0.8rem 2rem;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}
.btn-outline:hover {
    background: #111;
    color: #fff;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(242, 207, 195, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 207, 195, 0.6);
    filter: brightness(0.95);
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #eee;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #eee;
    color: #333;
}

/* WHATSAPP */
/* WHATSAPP */
.whatsapp-float { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    background: #25d366; 
    color: #fff; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 0 rgba(37, 211, 102, 0.7); 
    z-index: 2000; 
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes pulse-wa {
    0% { box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 15px rgba(0,0,0,0.2), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Admin Panel */
.admin-container {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 250px;
  background: #fff;
  border-right: 1px solid #eee;
  padding: 2rem 1rem;
  z-index: 1001;
}
.admin-content {
  flex: 1;
  padding: 3rem;
  background: #ffffff;
}
/* Admin Dashboard Cards */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.dash-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    transition: transform 0.3s;
}
.dash-card:hover { transform: translateY(-5px); }

/* Admin Checkbox Chips (Cores e Tamanhos no formulário de produto) */
.admin-checkbox-label {
    display: inline-block;
    cursor: pointer;
}
.admin-checkbox-label input[type="checkbox"] {
    display: none;
}
.admin-checkbox-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #444;
    background: #f9f9f9;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}
.admin-checkbox-chip:hover {
    border-color: var(--primary);
    background: #fdf5f2;
}
.admin-checkbox-label input[type="checkbox"]:checked + .admin-checkbox-chip {
    border-color: #000;
    background: #000;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.admin-checkbox-label input[type="checkbox"]:checked + .admin-checkbox-chip div {
    border-color: rgba(255,255,255,0.5) !important;
}


.dash-card.primary { background: var(--primary); color: #000; border: none; }
.dash-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fdf2ef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}
.dash-card.primary .dash-card-icon { background: rgba(255,255,255,0.3); color: #000; }
.dash-card-info span { display: block; font-size: 0.75rem; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }
.dash-card.primary .dash-card-info span { color: rgba(0,0,0,0.6); }
.dash-card-info h3 { font-size: 1.4rem; margin: 0.2rem 0; font-weight: 800; }
.dash-card-info small { font-size: 0.7rem; color: #999; }

.status-badge { font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.admin-nav-item {
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 12px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: #666;
  font-weight: 500;
}
.admin-nav-item:hover, .admin-nav-item.active {
  background: var(--primary);
  color: #000;
  box-shadow: 0 4px 12px rgba(242, 207, 195, 0.4);
}
.admin-table {
  width: 100%;
  background: white;
  border-radius: var(--radius);
  border-collapse: collapse;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.admin-table th, .admin-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.admin-table th { background: #f9f9f9; font-weight: 600; }

/* Product Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: block;
    overflow-y: auto;
    padding: 2rem;
}
.modal-content {
    background: #fff;
    max-width: 1000px;
    margin: 2rem auto;
    position: relative;
    border-radius: 4px;
    animation: modalSlideUp 0.4s ease;
}
@keyframes modalSlideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}
.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.modal-details {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}
.modal-category {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 1rem;
}
.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.modal-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.modal-options {
    margin-bottom: 2rem;
}
.modal-options label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.size-options {
    display: flex;
    gap: 10px;
}
.size-btn {
    width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    background: none;
    border-radius: 50%;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}
.size-btn:hover, .size-btn.active {
    border-color: #000;
    background: #000;
    color: #fff;
}

}
.color-select-chip { border: 2px solid transparent !important; }
.color-select-chip:hover { transform: scale(1.1); }
.color-select-chip.active {
    border-color: #000 !important;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
/* --- ADMIN PREMIUM DESKTOP REFINEMENTS --- */
.admin-container {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-sidebar {
    width: 260px;
    background: #fff;
    border-right: 1px solid #eee;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    box-shadow: 10px 0 30px rgba(0,0,0,0.02);
}

.admin-content {
    flex: 1;
    padding: 2.5rem;
    width: 100%;
}

.form-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.form-card h3 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input, select, textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1.5px solid #eee;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fafafa;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(242, 207, 195, 0.2);
}

@media (max-width: 992px) {
    .admin-container {
        flex-direction: column;
    }
    
    /* Header Mobile Premium */
    .admin-mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        z-index: 2005;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        width: 280px;
        background: #fff;
        z-index: 2010;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 20px 0 50px rgba(0,0,0,0.15);
        padding: 5rem 1rem 2rem;
        overflow-y: auto;
    }
    
    .admin-sidebar.open {
        left: 0;
    }
    
    .admin-content {
        padding: 1.5rem 1rem;
    }
    
    /* Overlay para fechar o menu ao clicar fora */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.45);
        z-index: 2001;
    }
    .menu-overlay.show { display: block; }

    /* Botão Hamburguer */
    .btn-menu-toggle {
        background: var(--primary);
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #000;
    }

    /* Verticalização do Form */
    form > div, 
    .form-card > div,
    div[style*="display: flex"],
    div[style*="display: grid"] {
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    input, select, textarea { width: 100% !important; }
}

@media (min-width: 993px) {
    .admin-mobile-header { display: none !important; }
}

@media (max-width: 768px) {
    .modal-grid { grid-template-columns: 1fr; }
    .modal-details { padding: 2rem; }
    .modal-overlay { padding: 0.5rem; }
}
