:root {
    --brand-red: #8B4513;
    --brand-dark-red: #5D2906;
    --brand-yellow: #FFC107;
    --brand-black: #000000;
    --brand-gray: #444444;
    --light-gray: #EEEEEE;
    --border-color: #DDDDDD;
    --text-main: #333333;
    --font-primary: 'Open Sans', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: #FFFFFF;
    line-height: 1.6;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Base de tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

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

/* Barra de anúncios superior */
.top-bar {
    background-color: var(--brand-red);
    color: #FFFFFF;
    padding: 6px 0;
    font-size: 0.8rem;
    font-weight: 600;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
}

/* Cabeçalho principal */
.main-header {
    background-color: #FFFFFF;
}

.header-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 0;
}

.logo {
    flex-shrink: 0;
}

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 40px;
    display: flex;
    border: 1px solid #686767;
    border-radius: 2px;
    overflow: hidden;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.search-bar button {
    background: var(--brand-red);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-size: 1.1rem;
    color: #FFFFFF;
    transition: background 0.2s;
}

.search-bar button:hover {
    background: var(--brand-dark-red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.user-action {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.auth-action i {
    font-size: 2.5rem;
    color: var(--brand-red);
}

.auth-action .user-text {
    font-size: 0.85rem;
    line-height: 1.2;
}

.cart-icon {
    position: relative;
    color: var(--brand-red);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 10px;
}

.cart-count {
    position: absolute;
    top: -5px;
    left: 20px;
    background-color: var(--brand-red);
    color: white;
    font-size: 0.70rem;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
}

/* Menu de navegação */
.main-nav {
    background-color: var(--brand-dark-red);
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 15px 20px;
    display: block;
    text-transform: uppercase;
    transition: background-color 0.2s;
}


.main-nav .nav-btn-red a {
    background-color: var(--brand-red);
}

.main-nav .nav-btn-red a:hover {
    background-color: var(--brand-dark-red);
}

.main-nav .nav-btn-red b {
    font-weight: 800;
}

/* Suspensa */
.has-dropdown {
    position: relative;
}

.dropdown {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--brand-dark-red);
    min-width: 220px;
    z-index: 200;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.dropdown.active,
.has-dropdown:hover .dropdown {
    display: flex !important;
}

.dropdown li {
    width: 100%;
}

.dropdown a {
    padding: 12px 20px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem !important;
    text-transform: capitalize !important;
}

.dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.ml-auto {
    margin-left: auto;
}

.right-align {
    margin-left: auto;
}

/* Banner original style if needed */

/* Barra de informações */
.info-bar {
    background-color: #EFEFEF;
    padding: 20px 0;
    border-top: 2px solid #DDDDDD;
    margin-top: 50px;
}

.info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 2.2rem;
    color: var(--brand-red);
}

.info-text {
    font-size: 0.8rem;
    line-height: 1.3;
}

.info-text strong {
    color: var(--brand-red);
    font-size: 0.9rem;
}

.info-text span {
    color: #666;
    font-size: 0.75rem;
}

/* Área de conteúdo */
.store-container {
    padding: 40px 15px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.filter-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: transparent;
}

.filter-header h3 {
    font-size: 1.3rem;
    color: #444;
    margin-bottom: 25px;
}

.filter-group {
    margin-bottom: 25px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 20px;
}

.filter-group-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.filter-group-title i {
    font-size: 0.8rem;
    color: #888;
}

.filter-search {
    position: relative;
    margin-bottom: 15px;
}

.filter-search input {
    width: 100%;
    padding: 10px 10px 10px 32px;
    border: 1px solid #E0E0E0;
    background: #F9F9F9;
    font-size: 0.85rem;
    color: #555;
    outline: none;
    border-radius: 2px;
}

.filter-search input::placeholder {
    color: #AAA;
}

.filter-search i {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 0.9rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 12px;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: var(--brand-dark-red);
    cursor: pointer;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.size-btn {
    background: #FFF;
    border: 1px solid #CCC;
    color: #333;
    padding: 6px 0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 2px;
}

.size-btn:hover,
.size-btn.active {
    background: #333;
    color: #FFF;
    border-color: #333;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.color-swatch {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.color-swatch:hover,
.color-swatch.active {
    transform: scale(1.15);
    box-shadow: 0 0 0 2px #FFF, 0 0 0 3px var(--brand-dark-red);
}

.price-slider {
    width: 100%;
    accent-color: var(--brand-red);
    cursor: pointer;
}

.main-content {
    flex-grow: 1;
    width: 100%;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.section-title::before,
.section-title::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: #CCC;
    max-width: 40%;
}

.section-title h2 {
    font-size: 1.6rem;
    color: var(--brand-gray);
    text-transform: capitalize;
}

.nav-arr {
    background: var(--brand-red);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    background: #FFFFFF;
    transition: all 0.3s;
    position: relative;
    border: 1px solid transparent;
    padding-bottom: 10px;
}

.product-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    background-color: #FFFFFF;
    overflow: hidden;
    padding: 10px;
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.frete-tag {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--brand-red);
    color: white;
    font-size: 0.70rem;
    font-weight: 700;
    padding: 4px 6px;
    z-index: 10;
}

.discount-tag {
    position: absolute;
    top: 32px;
    left: 5px;
    background: #E53935;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 6px;
    z-index: 10;
}

.fav-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #CCC;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}

.fav-btn:hover {
    color: var(--brand-red);
}

.product-info {
    padding: 10px;
    text-align: center;
}

.product-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--brand-gray);
    margin-bottom: 8px;
    height: 35px;
    overflow: hidden;
}

.product-price {
    color: var(--brand-red);
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.btn-add-cart {
    width: 90%;
    margin: 0 auto;
    padding: 10px;
    background-color: var(--brand-red);
    color: #FFFFFF;
    border: none;
    font-weight: 600;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background-color 0.2s;
    text-transform: uppercase;
    display: block;
}

.btn-add-cart:hover {
    background-color: var(--brand-dark-red);
}

/* Redes Sociais Flutuantes */
.floating-social {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 500;
}

.floating-social a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.4rem;
    transition: width 0.3s;
}

.floating-social a:hover {
    width: 55px;
}

.whatsapp {
    background-color: #25D366;
}

.instagram {
    background-color: #C13584;
}

/* Admin Secret Visibility */
.admin-btn {
    display: none;
}

.admin-btn.visible {
    display: flex;
}

/* Existing Cart & Admin Modals */
.admin-overlay,
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
}

.admin-overlay.active,
.cart-overlay.active {
    display: block;
}

.admin-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 90%;
    max-width: 500px;
    background: #FFF;
    z-index: 1001;
    border-radius: 4px;
    display: none;
}

.admin-modal.active {
    display: block;
    transform: translate(-50%, -50%);
}

.admin-header {
    padding: 1.5rem;
    border-bottom: 1px solid #EEE;
    display: flex;
    justify-content: space-between;
}

.close-admin {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.admin-form {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 15px;
}

.btn-primary {
    background: var(--brand-red);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: #FFFFFF;
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    background-color: var(--brand-red);
    color: white;
    display: flex;
    justify-content: space-between;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.cart-items {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: #FAFAFA;
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    gap: 1rem;
    background: white;
    padding: 10px;
    border: 1px solid #DDD;
}

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--brand-red);
    font-weight: 800;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background: #EEE;
    border: 1px solid #DDD;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-weight: bold;
}

.remove-btn {
    color: #E53935;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-left: auto;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #DDD;
    background: white;
}

.total {
    display: flex;
    justify-content: space-between;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--brand-black);
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background-color: #27ae60;
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* Personalização do rodapé principal */
.main-footer {
    background-color: #FFFFFF;
    color: #FFFFFF;
    font-family: var(--font-primary);
}

.footer-contact-bar {
    background-color: #EFEFEF;
    /* combinar com fundo cinza claro */
    color: var(--brand-dark-red);
    padding: 20px 0;
    border-top: 2px solid #DDDDDD;
}

.footer-contact-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 2px;
}

.contact-info {
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-dark-red);
}

.contact-info i {
    font-size: 1.4rem;
}

.footer-links-bar {
    background-color: var(--brand-dark-red);
    padding: 40px 0 30px 0;
}

.footer-links-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo-placeholder {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-column {
    min-width: 180px;
    flex: 1;
}

.footer-column.mt-title {
    margin-top: 32px;
}

.footer-column h4 {
    color: #FFFFFF;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 800;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #DDDDDD;
    transition: color 0.3s;
    font-size: 0.85rem;
}

.footer-column a:hover {
    color: var(--brand-yellow);
}

.payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 25px;
}

.payment-icons img {
    height: 24px;
    background: #FFFFFF;
    padding: 2px 4px;
    border-radius: 2px;
}

.social-title {
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #FFFFFF;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--brand-yellow);
}

.footer-bottom {
    background-color: #3b1702;
    padding: 15px 0;
    text-align: center;
    font-size: 0.8rem;
    color: #BBBBBB;
}

/* Personalizações do modo de autenticação a partir de imagem */
.auth-modal-custom {
    max-width: 900px !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.auth-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 10px 40px;
    position: relative;
}

.auth-header-custom h2 {
    font-size: 1.8rem;
    color: #000;
}

.breadcrumbs-auth {
    font-size: 0.8rem;
    color: #666;
    margin-left: auto;
    margin-right: 40px;
}

.breadcrumbs-auth .current {
    color: #E2A03F;
}

.auth-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #999;
}

.auth-body-custom {
    padding: 20px 40px 50px 40px;
    display: flex;
    justify-content: center;
}

.auth-form-custom {
    width: 100%;
    max-width: 500px;
    padding: 0 !important;
}

.auth-form-custom label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.auth-form-custom input {
    border: 1px solid #CCC !important;
    border-radius: 2px !important;
    padding: 12px 15px !important;
}

.auth-form-custom input::placeholder {
    color: #AAA;
}

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

.password-wrapper input {
    width: 100%;
    padding-right: 40px !important;
}

.toggle-password {
    position: absolute;
    right: 15px;
    color: #666;
    cursor: pointer;
}

.btn-success {
    background-color: #2ECC71 !important;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px;
    border: none;
    width: 100%;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 2px;
}

.btn-success:hover {
    background-color: #27AE60 !important;
}

.btn-google {
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #CCC;
    color: #555;
    text-transform: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.btn-google:hover {
    background: #F9F9F9;
}

.auth-footer-text {
    text-align: center;
    margin-top: 25px;
    font-size: 0.85rem;
    color: #333;
}

.auth-footer-text a {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
}

/* Visualização de detalhes do produto */
.product-details-container {
    display: flex;
    gap: 40px;
    background: #FFF;
    padding: 20px 0;
}

.pd-left {
    flex: 1;
    max-width: 50%;
}

.pd-right {
    flex: 1;
}

.pd-main-img-container {
    width: 100%;
    aspect-ratio: 1/1;
    border: 1px solid #EEE;
    border-radius: 4px;
    overflow: hidden;
    cursor: crosshair;
}

.pd-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;
}

.pd-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.pd-thumb {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #CCC;
    cursor: pointer;
    border-radius: 4px;
    transition: border 0.2s;
}

.pd-thumb.active {
    border: 2px solid var(--brand-red);
}

.pd-title {
    font-size: 1.6rem;
    color: var(--brand-red);
    margin-bottom: 10px;
    line-height: 1.2;
}

.pd-price-section {
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEE;
}

.pd-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-black);
}

.pd-payment-info {
    list-style: none;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

.pd-payment-info li {
    margin-bottom: 5px;
}

.pd-payment-info i {
    width: 20px;
    color: #888;
}

.pd-actions {
    margin: 30px 0;
}

.pd-btn-buy {
    width: 100%;
    background: var(--brand-red);
    color: #FFF;
    border: none;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background 0.3s;
}

.pd-btn-buy:hover {
    background: var(--brand-dark-red);
}

.pd-action-row {
    display: flex;
    gap: 15px;
}

.pd-btn-secondary {
    flex: 1;
    background: #F5F5F5;
    border: 1px solid #DDD;
    padding: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    color: #444;
}

.pd-btn-whatsapp {
    flex: 1;
    background: #25D366;
    color: #FFF;
    text-align: center;
    padding: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
}

.pd-btn-whatsapp i {
    font-size: 1.1rem;
    margin-right: 5px;
}

.pd-shipping {
    background: #FAFAFA;
    border: 1px solid #EEE;
    padding: 20px;
    border-radius: 4px;
}

.shipping-header {
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shipping-calculator {
    display: flex;
}

.shipping-calculator input {
    flex: 1;
    padding: 10px;
    border: 1px solid #CCC;
    border-radius: 4px 0 0 4px;
    outline: none;
}

.shipping-calculator button {
    background: var(--brand-red);
    color: white;
    border: none;
    padding: 0 20px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}

.pd-description {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #EEE;
}

.pd-description h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--brand-gray);
}

.pd-description p {
    color: #555;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .product-details-container {
        flex-direction: column;
    }

    .pd-left {
        max-width: 100%;
    }

    .pd-action-row {
        flex-direction: column;
    }
}

/* UI de administração moderna */
.modern-admin-modal {
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    width: 95%;
    max-width: 650px;
    border: none;
}

.modern-admin-header {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-dark-red) 100%);
    color: white;
    padding: 0;
}

.modern-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
}

.modern-admin-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.modern-btn-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
}

.modern-btn-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.modern-admin-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
}

.modern-tab {
    flex: 1;
    padding: 12px 15px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modern-tab:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.modern-tab.active {
    background: #F9FAFB;
    color: var(--brand-dark-red);
    border-bottom: 3px solid var(--brand-red);
}

.modern-admin-body {
    padding: 1.5rem;
    max-height: 65vh;
    overflow-y: auto;
    background: #F9FAFB;
}

/* Barra de rolagem personalizada */
.modern-admin-body::-webkit-scrollbar {
    width: 8px;
}

.modern-admin-body::-webkit-scrollbar-track {
    background: #F3F4F6;
}

.modern-admin-body::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 4px;
}

.modern-admin-body::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

.modern-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.modern-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.modern-form-row .modern-form-group {
    margin-bottom: 0;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.modern-form-group label {
    font-size: 0.8rem;
    font-weight: 800;
    color: #4B5563;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    background: #FFFFFF;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.modern-input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.15);
}

.modern-file-input {
    width: 100%;
    padding: 12px;
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    background: #F3F4F6;
    cursor: pointer;
    font-size: 0.9rem;
    color: #6B7280;
    transition: all 0.2s;
}

.modern-file-input:hover {
    border-color: var(--brand-red);
    background: #FEF3C7;
}

.modern-btn-primary {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-dark-red) 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modern-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(139, 69, 19, 0.3);
}

.modern-btn-primary:active {
    transform: translateY(0);
}

/* Item de lista moderno para administrador */
.modern-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modern-list-item {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}

.modern-list-item:hover {
    box-shadow: 0 4px 12px -1px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: #D1D5DB;
}

.modern-list-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.modern-list-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #F3F4F6;
    padding: 2px;
}

.modern-list-details {
    display: flex;
    flex-direction: column;
}

.modern-list-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 2px;
}

.modern-list-price {
    font-size: 0.85rem;
    color: var(--brand-red);
    font-weight: 700;
}

.modern-list-actions {
    display: flex;
    gap: 8px;
}

.modern-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    font-size: 1rem;
}

.modern-btn-edit {
    background: #FEF3C7;
    color: #D97706;
}

.modern-btn-edit:hover {
    background: #FDE68A;
    transform: scale(1.05);
}

.modern-btn-delete {
    background: #FEE2E2;
    color: #DC2626;
}

.modern-btn-delete:hover {
    background: #FECACA;
    transform: scale(1.05);
}

/* Tabela de Tamanhos - Design Moderno */
.pd-sizes-container {
    margin: 25px 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}
.pd-sizes-label {
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
    font-size: 1.05rem;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pd-size-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.pd-size-btn { 
    border: 2px solid #E5E7EB;
    background: #FFFFFF; 
    color: #374151; 
    padding: 10px 20px; 
    border-radius: 8px; /* Cantos levemente arredondados, visual moderno */
    cursor: pointer; 
    transition: all 0.2s ease; 
    position: relative; 
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 55px;
    text-align: center;
}
.pd-size-btn:hover:not(.out-of-stock) { 
    border-color: var(--brand-red); 
    color: var(--brand-red); 
    transform: translateY(-2px); /* Efeito flutuante 3D */
    box-shadow: 0 4px 8px rgba(0,0,0,0.08); /* Sombra elegante */
}
.pd-size-btn.selected { 
    border-width: 2px;
    border-color: var(--brand-red); 
    background: #FFF0F0; /* Fundo hiper suave avermelhado */
    color: var(--brand-red); 
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--brand-red); /* Borda virtual externa para ficar mais forte em volta */
}
.pd-size-btn.out-of-stock { 
    border-color: #F3F4F6; 
    background-color: #F9FAFB;
    color: #D1D5DB; 
    cursor: not-allowed; 
    text-decoration: line-through; 
}
.pd-size-btn.out-of-stock::after { 
    content: "✖"; 
    position: absolute; 
    bottom: -6px; 
    right: -6px; 
    color: #EF4444; 
    font-size: 16px; 
    background: white;
    border-radius: 50%;
    padding: 2px;
    line-height: 1;
}

/* Tamanhos Admin */
.admin-size-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.admin-size-label { display: flex; align-items: center; gap: 5px; font-size: 0.85rem; border: 1px solid #ccc; padding: 5px 10px; border-radius: 4px; cursor: pointer; transition: all 0.2s; }
.admin-size-label:hover { background-color: #f0f0f0; }
.admin-size-label.blocked { background-color: #ffeaea; border-color: #ffcccc; color: #d00; }