/* ==========================================================================
   DISTRISAMPA - Ferramentas CID (Design System CSS)
   Cores: Azul Marinho (#1A255D), Ciano (#00A3E0), Laranja (#F97316)
   ========================================================================== */

:root {
    --primary-navy: #1a255d;
    --primary-navy-dark: #0f172a;
    --primary-navy-light: #2a3a7c;
    --cyan-accent: #00a3e0;
    --cyan-accent-hover: #0284c7;
    --cyan-glow: rgba(0, 163, 224, 0.25);
    --orange-accent: #f97316;
    --orange-accent-hover: #ea580c;
    --orange-glow: rgba(249, 115, 22, 0.25);
    --bg-light: #f8fafc;
    --bg-surface: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Barra Superior de Anúncios */
.top-announcement-bar {
    background: linear-gradient(90deg, var(--primary-navy-dark), var(--primary-navy), #005691);
    color: #ffffff;
    padding: 8px 16px;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-announcement-bar span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 12px;
}

.top-announcement-bar strong {
    color: var(--cyan-accent);
}

/* Cabeçalho Principal (Sticky) */
.store-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.store-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-logo-img {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

/* Caixa de Busca */
.search-bar-container {
    flex: 1;
    max-width: 520px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon-svg {
    position: absolute;
    left: 14px;
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--cyan-accent);
    box-shadow: 0 0 0 4px var(--cyan-glow);
}

/* Ações do Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-contact-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 163, 224, 0.08);
    color: var(--primary-navy);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 163, 224, 0.2);
    transition: var(--transition-fast);
}

.header-contact-badge:hover {
    background: var(--cyan-accent);
    color: #ffffff;
}

/* Hero Section Institucional */
.hero-section {
    background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 60%, #004d80 100%);
    color: #ffffff;
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}

.hero-tagline {
    display: inline-block;
    background: rgba(249, 115, 22, 0.2);
    color: #ff9d42;
    border: 1px solid rgba(249, 115, 22, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--cyan-accent);
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 28px;
    max-width: 540px;
}

.whatsapp-highlight-banner {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid var(--orange-accent);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 28px;
}

.whatsapp-highlight-banner:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.whatsapp-highlight-icon {
    font-size: 2rem;
}

.whatsapp-highlight-text strong {
    display: block;
    font-size: 1.05rem;
    color: #ffffff;
}

.whatsapp-highlight-text span {
    font-size: 0.88rem;
    color: #94a3b8;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-badge-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #e2e8f0;
}

/* Grid de Produtos em Destaque Fixo */
.hero-featured-wrapper {
    width: 100%;
}

.hero-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.hero-featured-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
    width: 100%;
    position: relative;
    border: 2px solid rgba(0, 163, 224, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.hero-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 40px -10px rgba(0, 163, 224, 0.25);
    border-color: var(--cyan-accent);
}

.hero-featured-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--orange-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.3);
    z-index: 2;
}

/* Ajuste Automático Perfeito para Imagens de Destaque */
.hero-featured-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 8px;
    border: 1px solid #f1f5f9;
    margin-bottom: 14px;
    transition: var(--transition-smooth);
}

.hero-featured-card:hover .hero-featured-img {
    transform: scale(1.03);
}

.hero-featured-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-navy);
    line-height: 1.3;
}

.hero-featured-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--orange-accent);
    margin-top: auto;
}

/* Seção de Conteúdo da Loja */
.store-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Categorias Pílulas */
.category-filter-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 16px;
    margin-bottom: 32px;
}

.category-btn {
    background: #ffffff;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-navy);
    color: #ffffff;
    border-color: var(--primary-navy);
    box-shadow: var(--shadow-sm);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-navy);
}

/* Grid de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 163, 224, 0.4);
}

.product-badge-discount {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--orange-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 2;
}

.badge-has-video {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* Ajuste Automático Perfeito para Imagens dos Cards de Produtos */
.product-img-wrapper {
    width: 100%;
    height: 220px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: var(--transition-smooth);
}

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

.product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--cyan-accent);
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.35;
    height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
    margin-top: auto;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-navy);
}

.product-old-price {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

/* Botões de Ação dos Marketplaces & WhatsApp */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-align: center;
    transition: var(--transition-fast);
}

.btn-ml {
    background: #fff159;
    color: #2d3277;
}

.btn-ml:hover {
    background: #ffe600;
}

.btn-shopee {
    background: #ee4d2d;
    color: #ffffff;
}

.btn-shopee:hover {
    background: #d73211;
}

.btn-whatsapp-card, .btn-whatsapp-modal {
    background: #25d366;
    color: #ffffff;
}

.btn-whatsapp-card:hover, .btn-whatsapp-modal:hover {
    background: #1eb956;
}

/* Modal Detalhes do Produto */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 840px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.btn-close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.1);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.btn-close-modal:hover {
    background: rgba(15, 23, 42, 0.2);
}

.modal-card-body {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

/* Ajuste Automático no Modal */
.modal-media-panel {
    background: #0f172a;
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-media-panel img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.modal-media-panel video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 480px;
}

.video-mute-btn {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 5;
}

.modal-info-panel {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.modal-category-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--cyan-accent);
    margin-bottom: 8px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 12px;
    line-height: 1.3;
}

.modal-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 16px;
}

.modal-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

/* Botão Flutuante do WhatsApp */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    font-size: 1.8rem;
    transition: var(--transition-smooth);
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Rodapé */
.store-footer {
    background: var(--primary-navy-dark);
    color: #94a3b8;
    padding: 60px 24px 20px 24px;
    margin-top: 80px;
    border-top: 4px solid var(--cyan-accent);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Outfit', sans-serif;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

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

.footer-col a:hover {
    color: var(--cyan-accent);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   PAINEL ADMINISTRATIVO MODERNO (DASHBOARD REDESIGN)
   ========================================================================== */

.admin-header-modern {
    background: linear-gradient(90deg, #0f172a 0%, #1a255d 100%);
    color: #ffffff;
    padding: 16px 32px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-container {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-brand-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-logo-box {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.admin-logo-img {
    max-height: 38px;
    width: auto;
}

.admin-app-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;

}

.admin-app-title span {
    color: var(--cyan-accent);
}

.admin-app-subtitle {
    font-size: 0.78rem;
    color: #94a3b8;
}

.admin-user-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-user-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

.btn-admin-nav-view {
    background: linear-gradient(135deg, var(--cyan-accent), #0072ff);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition-fast);
    box-shadow: 0 4px 12px rgba(0, 163, 224, 0.3);
}

.btn-admin-nav-view:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 163, 224, 0.4);
}

.btn-admin-logout {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.3);
    transition: var(--transition-fast);
}

.btn-admin-logout:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Container do Painel */
.admin-container-modern {
    max-width: 1360px;
    margin: 32px auto 60px auto;
    padding: 0 24px;
}

/* Alertas do Admin */
.admin-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.admin-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.admin-alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Métricas do Dashboard */
.admin-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.metric-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.metric-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.metric-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.metric-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Abas Modernas */
.admin-tabs-modern {
    display: flex;
    gap: 10px;
    background: #ffffff;
    padding: 8px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    width: fit-content;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.admin-tab-item {
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.admin-tab-item:hover {
    color: var(--primary-navy);
}

.admin-tab-item.active {
    background: var(--primary-navy);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(26, 37, 93, 0.25);
}

/* Seção Card Principal */
.admin-card-section {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.admin-card-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    background: #f8fafc;
}

.admin-card-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-card-icon {
    font-size: 1.8rem;
}

.admin-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.admin-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Formulário do Admin */
.admin-form-body {
    padding: 32px;
}

.admin-form-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-navy);
    margin-bottom: 18px;

}

.admin-form-section-title span {
    background: var(--cyan-accent);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.form-row-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 18px;
}

.admin-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.admin-field-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.admin-field-label .required {
    color: #ef4444;
}

.admin-field-label .sublabel {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.admin-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    background: #ffffff;
    transition: var(--transition-fast);
}

.admin-input:focus {
    outline: none;
    border-color: var(--cyan-accent);
    box-shadow: 0 0 0 4px var(--cyan-glow);
}

.admin-select {
    cursor: pointer;
}

.admin-textarea {
    resize: vertical;
    min-height: 90px;
}

.admin-file-input {
    padding: 9px 14px;
    cursor: pointer;
    background: #f8fafc;
}

.field-help {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.admin-media-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 18px;
}

.admin-marketplaces-box {
    background: #fffdf0;
    border: 1px solid #fef08a;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 18px;
}

/* Toggles e Switches */
.admin-toggles-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.toggle-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-card:hover {
    border-color: var(--cyan-accent);
    background: #ffffff;
}

.toggle-card-star {
    background: #fffbeb;
    border-color: #fde68a;
}

.toggle-checkbox {
    display: none;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: #cbd5e1;
    border-radius: 50px;
    position: relative;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: var(--transition-fast);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-checkbox:checked + .toggle-switch {
    background: var(--cyan-accent);
}

.toggle-checkbox:checked + .toggle-switch-gold {
    background: var(--orange-accent);
}

.toggle-checkbox:checked + .toggle-switch::after {
    left: 22px;
}

.toggle-title {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.toggle-desc {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Barra de Envio */
.admin-submit-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.btn-admin-save {
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-navy-light));
    color: #ffffff;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.98rem;
    transition: var(--transition-fast);
    box-shadow: 0 4px 14px rgba(26, 37, 93, 0.3);
}

.btn-admin-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 37, 93, 0.4);
    background: linear-gradient(135deg, var(--primary-navy-light), #005691);
}

.btn-admin-cancel {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Tabela Moderna do Admin */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table-modern {
    width: 100%;
    border-collapse: collapse;
}

.admin-table-modern th, .admin-table-modern td {
    padding: 16px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.92rem;
}

.admin-table-modern th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table-modern tbody tr {
    transition: var(--transition-fast);
}

.admin-table-modern tbody tr:hover {
    background: #f8fafc;
}

.table-img-box {
    position: relative;
    width: 56px;
    height: 56px;
}

.table-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    padding: 3px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.table-video-tag {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: var(--primary-navy-dark);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 50px;
}

.table-product-title {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.98rem;
}

.badge-featured-gold {
    display: inline-block;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
    margin-top: 4px;
    border: 1px solid #fde68a;
}

.table-cat-badge {
    background: #f1f5f9;
    color: var(--primary-navy);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-ml {
    background: #fef08a;
    color: #854d0e;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-shopee {
    background: #ffedd5;
    color: #c2410c;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.status-pill {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

.status-inactive {
    background: #fee2e2;
    color: #991b1b;
}

.table-actions-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.btn-action-duplicate {
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-accent);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    transition: var(--transition-fast);
}

.btn-action-duplicate:hover {
    background: var(--orange-accent);
    color: #ffffff;
}

.btn-action-edit {
    background: rgba(0, 163, 224, 0.1);
    color: var(--cyan-accent);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    transition: var(--transition-fast);
}

.btn-action-edit:hover {
    background: var(--cyan-accent);
    color: #ffffff;
}

.btn-action-delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.82rem;
    transition: var(--transition-fast);
}

.btn-action-delete:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Responsividade Admin */
@media (max-width: 900px) {
    .form-row-grid-2 {
        grid-template-columns: 1fr;
    }
    .admin-header-container {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .admin-form-body {
        padding: 20px;
    }
}
