@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Danilo Prints Brand Colors */
    --primary: #002048;       /* Deep Navy Blue */
    --primary-hover: #00122a;
    --primary-light: #e6eef7;  /* Light Blue backdrop */
    --accent: #f02818;        /* Vermilion / Vibrant Coral */
    --accent-hover: #cf1b0e;
    --accent-light: #fef2f1;  /* Soft red highlights */
    --gold: #dfa100;
    
    /* Neutrals */
    --bg-warm: #e2ebf5;       /* Slightly deeper premium light blue backdrop */
    --bg-surface: #ffffff;
    --border-warm: #eae6df;   /* Soft craft paper borders */
    --text-main: #1e293b;     /* Slate 800 */
    --text-muted: #64748b;    /* Slate 500 */
    --text-light: #94a3b8;    /* Slate 400 */
    --white: #ffffff;
    
    /* UI Design Tokens */
    --shadow-sm: 0 2px 8px rgba(0, 32, 72, 0.02);
    --shadow-md: 0 10px 30px rgba(0, 32, 72, 0.04);
    --shadow-lg: 0 20px 50px rgba(0, 32, 72, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-warm);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .vitrine-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* App Container (Admin Dashboard layout) */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Estilizada (Admin) */
.sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid var(--border-warm);
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.sidebar h1 {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar h1 i {
    color: var(--accent);
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 0.6rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.nav-links a i {
    margin-right: 14px;
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--bg-warm);
    color: var(--primary);
}

.nav-links a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-links a.active i {
    color: var(--primary);
}

/* Conteúdo Principal Admin */
.main-content {
    margin-left: 280px;
    flex: 1;
    padding: 3.5rem;
    max-width: 1400px;
}

header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -0.03em;
}

header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Dashboard Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-warm);
    transition: var(--transition);
}

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

.card h3 {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.card .value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

/* Botões Modernos */
.btn {
    padding: 0.8rem 2rem;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 32, 72, 0.15);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(240, 40, 24, 0.2);
}

.btn-secondary {
    background: var(--white);
    border: 1px solid var(--border-warm);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--bg-warm);
    transform: translateY(-1px);
}

/* Vitrine Header Pública - Glassmorphism */
.vitrine-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1.2rem 8%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-warm);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.vitrine-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.vitrine-logo img {
    height: 65px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.vitrine-logo img:hover {
    transform: scale(1.03);
}

/* Barra de Pesquisa */
.search-bar {
    flex: 1;
    max-width: 550px;
    margin: 0 3rem;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 0.9rem 1.8rem 0.9rem 3.2rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-warm);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-warm);
}

.search-bar input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 32, 72, 0.05);
}

.search-bar i.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
}

/* User Navigation */
.user-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Menu de Categorias */
.category-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-warm);
    padding: 0.9rem 8%;
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.category-nav::-webkit-scrollbar {
    display: none; /* Safari & Chrome */
}

.category-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    transition: var(--transition);
    border: 1px solid transparent;
}

.category-link:hover {
    color: var(--primary);
    background: var(--bg-warm);
}

.category-link.active {
    color: var(--primary);
    background: var(--primary-light);
    border-color: rgba(0, 32, 72, 0.05);
}

/* Banner Hero */
.hero-banner {
    background: radial-gradient(circle at 10% 20%, rgba(0, 32, 72, 0.05) 0%, rgba(240, 40, 24, 0.03) 90%), var(--white);
    padding: 5rem 8%;
    text-align: center;
    border-bottom: 1px solid var(--border-warm);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.hero-banner h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.2rem;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hero-banner p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 500;
}

/* Grid de Produtos */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 3rem 8%;
}

.product-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-warm);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
    z-index: 10;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-warm);
}

.product-item:hover::before {
    opacity: 1;
}

.product-img-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #fdfdfd;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

.product-item:hover img {
    transform: scale(1.06);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.product-name {
    font-size: 1.05rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-tag-custom {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    width: fit-content;
    text-transform: uppercase;
}

.product-tag-ready {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    background: #e6fced;
    color: #1e7e34;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    width: fit-content;
    text-transform: uppercase;
}

/* Detalhes do Produto */
.details-container {
    max-width: 1200px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    padding: 0 2rem;
}

.details-image {
    position: sticky;
    top: 100px;
}

.details-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-warm);
}

.details-info {
    display: flex;
    flex-direction: column;
}

.details-category {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.details-info h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.details-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.8rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

.rating-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2rem;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
}

.rating-badge span {
    color: var(--text-muted);
    margin-left: 8px;
}

/* Seção de Compra / Ações */
.buy-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
}

.buy-section label {
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.buy-section textarea, .buy-section select, .buy-section input[type="number"], .buy-section input[type="file"] {
    width: 100%;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-warm);
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background: var(--bg-warm);
}

.buy-section textarea:focus, .buy-section select:focus, .buy-section input[type="number"]:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 32, 72, 0.05);
}

/* Opções de Xilogravura */
.art-option-label {
    cursor: pointer;
    display: block;
    background: var(--white);
    border: 2px solid var(--border-warm);
    padding: 12px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.art-option-label img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: var(--transition);
}

.art-option-label:hover {
    border-color: var(--text-light);
    transform: translateY(-2px);
}

/* Tabelas Premium */
.table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--primary-light);
    padding: 1.4rem;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-warm);
}

td {
    padding: 1.4rem;
    border-bottom: 1px solid var(--bg-warm);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

tr:hover td {
    background: rgba(0, 32, 72, 0.01);
}

/* Badges de Status */
.badge {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.badge-presencial {
    background: #e6f7ff;
    color: #0050b3;
    border-color: #bae7ff;
}

.badge-online {
    background: #f9f0ff;
    color: #531dab;
    border-color: #d3adf7;
}

.badge-concluido {
    background: #f6ffed;
    color: #389e0d;
    border-color: #b7eb8f;
}

.badge-default, .badge-pendente {
    background: #fffbe6;
    color: #d46b08;
    border-color: #ffe58f;
}

/* Autenticação (Login / Registro) Estilizado */
.auth-body {
    background: radial-gradient(circle at 30% 20%, rgba(240, 40, 24, 0.04) 0%, rgba(0, 32, 72, 0.06) 100%), var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 480px;
    text-align: center;
    transition: var(--transition);
}

.auth-card img.auth-logo {
    height: 65px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.auth-card h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.auth-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.auth-card .form-group {
    text-align: left;
    margin-bottom: 1.5rem;
}

.auth-card .form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.auth-card .form-group input {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border: 2px solid var(--border-warm);
    border-radius: var(--radius-md);
    background: var(--white);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.auth-card .form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 32, 72, 0.05);
}

.btn-auth {
    width: 100%;
    padding: 1.1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 32, 72, 0.1);
    margin-top: 1rem;
}

.btn-auth:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 32, 72, 0.2);
}

.auth-card .alert {
    padding: 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.auth-card .alert.success {
    background: #e6fced;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.auth-card .alert.error {
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(240, 40, 24, 0.15);
}

.footer-link {
    margin-top: 2.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-link a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.footer-link a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Footer do E-commerce */
footer.vitrine-footer {
    background: var(--primary);
    color: var(--white);
    padding: 5rem 8% 3rem;
    margin-top: 6rem;
    border-top: 5px solid var(--accent);
}

footer.vitrine-footer h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

footer.vitrine-footer p, footer.vitrine-footer li {
    font-size: 0.9rem;
    color: #a5b4fc;
    line-height: 1.8;
}

footer.vitrine-footer ul {
    list-style: none;
}

footer.vitrine-footer li {
    margin-bottom: 0.8rem;
}

footer.vitrine-footer a {
    color: #a5b4fc;
    text-decoration: none;
    transition: var(--transition);
}

footer.vitrine-footer a:hover {
    color: var(--white);
    padding-left: 5px;
}

footer.vitrine-footer .social-icons {
    display: flex;
    gap: 1.2rem;
    font-size: 1.6rem;
}

footer.vitrine-footer .social-icons i {
    cursor: pointer;
    transition: var(--transition);
}

footer.vitrine-footer .social-icons i:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* Carrinho de Compras UI */
.cart-container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.cart-summary {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-warm);
    margin-top: 2rem;
}

.empty-cart-box {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-warm);
}

/* Checkout e Forms */
.checkout-grid {
    max-width: 1200px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3.5rem;
    padding: 0 2rem;
}

.form-section {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--border-warm);
    border-radius: var(--radius-md);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--bg-warm);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 32, 72, 0.05);
}

.order-summary-box {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-warm);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

/* ==========================================
   Seção de Ofertas
   ========================================== */
.offers-section {
    padding: 4rem 8% 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid var(--border-warm);
    position: relative;
}

.offers-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.offers-title i {
    color: var(--accent);
    animation: pulse 2s infinite;
}

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

.offer-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(240, 40, 24, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================
   Página de Contato
   ========================================== */
.contact-container {
    max-width: 1200px;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding: 0 2rem;
}

.contact-form-card {
    background: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-warm);
    box-shadow: var(--shadow-md);
}

.contact-info-card {
    background: var(--primary);
    color: var(--white);
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.contact-info-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.contact-info-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.8rem;
    font-size: 1rem;
}

.contact-info-item i {
    font-size: 1.3rem;
    color: var(--accent);
    width: 30px;
    text-align: center;
}

.btn-whatsapp-direct {
    background: #25d366;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    margin-top: 1rem;
}

.btn-whatsapp-direct:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

/* ==========================================
   Responsive Styling (Mobile Devices)
   ========================================== */
@media (max-width: 768px) {
    /* Header layout wraps elements */
    .vitrine-header {
        flex-wrap: wrap;
        padding: 0.8rem 4%;
        gap: 0.8rem;
    }
    
    .vitrine-logo {
        order: 1;
        flex-shrink: 0;
    }
    
    .vitrine-logo img {
        height: 48px; /* Stable size on mobile */
        width: auto;
    }
    
    .user-nav {
        order: 2;
        flex-shrink: 0;
        gap: 0.5rem;
    }
    
    .user-nav .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        min-width: 100%;
        margin: 0.4rem 0 0 0;
    }
    
    .search-bar input {
        padding: 0.7rem 1.2rem 0.7rem 2.8rem;
        font-size: 0.9rem;
    }
    
    .search-bar i.search-icon {
        left: 1rem;
    }
    
    /* Category Navigation */
    .category-nav {
        padding: 0.7rem 4%;
        gap: 0.8rem;
    }
    
    .category-link {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
    
    /* Hero Banner */
    .hero-banner {
        padding: 3rem 4%;
    }
    
    .hero-banner h2 {
        font-size: 2rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
        padding: 1.5rem 4%;
    }
    
    .product-img-container {
        height: 200px;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
    
    .product-name {
        font-size: 0.95rem;
    }
    
    /* Product Details */
    .details-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .details-image {
        position: static;
    }
    
    .details-image img {
        height: 320px;
    }
    
    .details-info h1 {
        font-size: 2rem;
    }
    
    .details-price {
        font-size: 2.2rem;
        margin-bottom: 1.2rem;
    }
    
    .buy-section {
        padding: 1.5rem;
    }
    
    /* Cart Container */
    .cart-container {
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .cart-summary {
        padding: 1.5rem;
    }
    
    /* Table styles for mobile scrolling */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Checkout Grid */
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .order-summary-box {
        position: static;
        padding: 1.5rem;
    }
    
    /* Admin sidebar */
    .sidebar {
        width: 100%;
        position: static;
        height: auto;
        padding: 1.5rem;
    }
    
    .main-content {
        margin-left: 0;
        padding: 1.5rem;
    }
    
    /* Auth Card spacing */
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    /* Mobile Overrides for Contact and Offers */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        margin: 2rem auto;
    }
    
    .contact-form-card, .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .offers-section {
        padding: 2rem 4% 1rem;
    }
    
    .offers-title {
        font-size: 1.6rem;
    }
}
