@import url('https://fonts.googleapis.com/css2?family=Cormorant+SC:wght@400&display=swap');
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: "Cormorant SC", serif;
    min-height: 100vh;
    background-color: #F8F8F8;
    color: #333333;
    padding-top: 140px;
    display: flex;
    flex-direction: column;
}
body.no-scroll {
    overflow: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
a {
    text-decoration: none;
    color: #1A1A1A;
}
a:hover {
    text-decoration: underline;
}
/* Cabeçalho */
.main-header {
    background-color: #000000;
    padding: 10px 0;
    border-bottom: 1px solid #333333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: padding 0.3s ease-in-out, box-shadow 0.3s ease-in-out, height 0.3s ease-in-out;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}
.main-header .container, .main-header .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1400px;
    padding: 0 20px;
    box-sizing: border-box;
}
.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
    transition: margin-bottom 0.3s ease-in-out;
}
.logo-aneis-wrapper {
    flex-basis: auto;
    flex-shrink: 0;
}
.logo-aneis-wrapper a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.logo-aneis {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    transition: height 0.3s ease-in-out;
}
.main-logo-wrapper {
    flex-grow: 1;
    text-align: center;
}
.main-logo-wrapper .logo {
    margin: 0;
    font-size: 0;
    display: inline-block;
}
.main-logo-wrapper .logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    border: none;
    padding: 0;
    box-shadow: none;
    background-color: transparent;
    margin: 0;
    display: block;
    transition: height 0.3s ease-in-out;
}
.header-right-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.top-nav-icons ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-nav-icons a {
    color: #FFFFFF;
    font-size: 1.5em;
    transition: color 0.3s ease;
}
.top-nav-icons a:hover {
    color: #CCCCCC;
}
.top-nav-icons ul li {
    position: relative;
}
.cart-item-count {
    background-color: #887979;
    color: #FFFFFF;
    font-size: 0.7em;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -5px;
    right: -10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}
.cart-item-count:empty, .cart-item-count:has(span[data-count="0"]) {
    display: none;
}
.main-header.scrolled {
    padding: 3px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.main-header.scrolled .header-top-row {
    margin-bottom: 5px;
}
.main-header.scrolled .logo-aneis {
    height: 50px;
}
.main-header.scrolled .main-logo-wrapper .logo img {
    height: 30px;
    width: auto;
}
.main-header.scrolled .top-nav-icons a {
    font-size: 1.2em;
}
.main-nav {
    margin-top: 0;
    width: 100%;
    transition: margin-top 0.3s ease-in-out;
}
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    transition: none;
}
.main-nav li {
    margin: 0 15px;
    transition: margin 0.3s ease-in-out;
}
.main-header.scrolled .main-nav li {
    margin: 0 8px;
}
.main-nav a {
    color: #FFFFFF;
    font-weight: bold;
    padding: 5px 0;
    text-transform: uppercase;
    font-size: 0.9em;
}
.main-nav a:hover {
    color: #CCCCCC;
    text-decoration: none;
}
.nav-toggle-btn {
    display: none; /* Escondido por padrão */
}
/* Conteúdo Principal */
.main-content {
    padding: 40px 0;
    flex: 1;
}
.main-content h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1A1A1A;
    font-size: 2.2em;
}
.hero-section p, .hero-section .subtitulo {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 500px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}
.product-card img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}
.product-card h3 {
    font-size: 1.5em;
    color: #333333;
    margin-bottom: 10px;
}
.product-card .price {
    font-size: 1.3em;
    color: #1A1A1A;
    font-weight: bold;
    margin-bottom: 15px;
}
.add-to-cart-form {
    margin-top: 15px;
}
.add-to-cart {
    width: 100%;
    box-sizing: border-box;
    background-color: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.add-to-cart:hover {
    background-color: #333333;
}
/* Estilos para a Área de Perfil */
.perfil-container {
    display: flex;
    gap: 30px;
}
.perfil-sidebar {
    flex: 0 0 250px;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.perfil-sidebar h2 {
    font-size: 1.5em;
    color: #1A1A1A;
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
}
.perfil-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.perfil-nav .nav-item {
    margin-bottom: 10px;
}
.perfil-nav a {
    display: block;
    padding: 12px 15px;
    color: #555555;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.perfil-nav a:hover,
.perfil-nav .nav-item.active a {
    background-color: #1A1A1A;
    color: #FFFFFF;
    text-decoration: none;
}
.perfil-content {
    flex-grow: 1;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.perfil-content h2 {
    font-size: 2em;
    color: #1A1A1A;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
}
.perfil-form .form-group {
    margin-bottom: 20px;
}
.perfil-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555555;
}
.perfil-form input,
.perfil-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    box-sizing: border-box;
}
.perfil-form .form-submit-button {
    background-color: #1A1A1A;
    color: #FFFFFF;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.perfil-form .form-submit-button:hover {
    background-color: #333333;
}
/* Product Page Container */
.product-page-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.product-image-section {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.product-image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 500px;
}
.product-details-section {
    flex: 1;
    min-width: 300px;
}
.product-details-section h2 {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 10px;
}
.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.product-rating .stars {
    color: #ffc107;
    font-size: 1.2em;
}
.product-rating .review-count {
    margin-left: 10px;
    font-size: 0.9em;
    color: #777777;
}
.price-box {
    margin-bottom: 25px;
}
.current-price {
    font-size: 2.5em;
    font-weight: bold;
    color: #1a1a1a;
    margin-right: 15px;
}
.old-price {
    font-size: 1.5em;
    color: #888888;
    text-decoration: line-through;
    margin-right: 10px;
}
.discount-percentage {
    font-size: 1.2em;
    color: #e60023;
    font-weight: bold;
}
.description-short {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 25px;
}
/* Estilos para a área de Administração */
.admin-table-container {
    width: 100%;
    overflow-x: auto; /* Permite rolar a tabela horizontalmente */
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #FFFFFF;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    min-width: 600px; /* Largura mínima para evitar quebra de layout */
}
.admin-table th, .admin-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
    vertical-align: middle;
}
.admin-table th {
    background-color: #F0F0F0;
    font-weight: bold;
    color: #333333;
    text-transform: uppercase;
    font-size: 0.9em;
}
.admin-table tbody tr:hover {
    background-color: #F9F9F9;
}
.admin-table img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}
.admin-table .actions-column {
    white-space: nowrap;
}
.admin-table .edit-btn, .admin-table .delete-btn {
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    text-decoration: none;
    margin-right: 5px;
    display: inline-block;
}
/* Rodapé e Modais */
footer.main-footer {
    background-color: #000000;
    color: #ffffff;
    padding: 60px 0 0 0;
    font-size: 0.9em;
    margin-top: auto;
}
footer.main-footer .footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}
footer.main-footer .footer-column {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 180px;
}
footer.main-footer .footer-column.brand-info {
    flex-grow: 1.5; 
    flex-basis: 240px;
}
footer.main-footer .footer-column h4 {
    font-size: 1.2em;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
footer.main-footer .footer-logo {
    height: 130px;
    width: auto;
    margin-bottom: 20px;
}
footer.main-footer ul { list-style: none; padding: 0; margin: 0; }
footer.main-footer ul li { margin-bottom: 12px; }
footer.main-footer ul a,
footer.main-footer ul span { color: #cccccc; text-decoration: none; transition: color 0.3s ease; cursor: pointer; }
footer.main-footer ul a:hover,
footer.main-footer ul span:hover { color: #ffffff; }
footer.main-footer p { line-height: 1.6; margin: 0 0 10px 0; color: #888; }
footer.main-footer p a { font-weight: bold; color: #ffffff; }
footer.main-footer .social-icons { margin-top: 10px; display: flex; gap: 15px; }
footer.main-footer .social-icons a { color: #ffffff; font-size: 1.5em; transition: color 0.3s ease; }
footer.main-footer .social-icons a:hover { color: #cccccc; }
footer.main-footer .footer-bottom {
    padding: 20px 0;
    background-color: #eee; 
}
footer.main-footer .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85em;
    color: #333333;
}
footer.main-footer .footer-bottom-content p { margin: 0; }
footer.main-footer .developer-credit a, footer.main-footer .developer-credit span {
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
footer.main-footer .developer-credit a:hover { text-decoration: underline; }
footer.main-footer .developer-credit img { height: 20px; width: auto; }
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    color: #333;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #e0e0e0; padding-bottom: 15px; margin-bottom: 20px; }
.modal-header h3 { margin: 0; font-size: 1.8em; }
.modal-close-btn { background: none; border: none; font-size: 1.8em; cursor: pointer; color: #888; }
.modal-body p, .modal-body ul, .modal-body h4 { line-height: 1.7; color: #555; }
.modal-body h4 { color: #333; }
.modal-body hr { margin: 20px 0; border: 0; border-top: 1px solid #e0e0e0; }

/* ================================================= */
/* ✅ ESTILOS DA PÁGINA DE DETALHES DO PRODUTO     */
/* ================================================= */
.product-page-container {
    display: flex;
    gap: 40px;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    align-items: flex-start;
}
.product-image-section {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.product-image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.product-details-section {
    flex: 1.2;
    min-width: 300px;
}
.shipping-highlight { background-color: #f8f9fa; border: 1px solid #e9ecef; border-radius: 8px; padding: 15px; margin: 25px 0; display: flex; align-items: center; gap: 10px; font-size: 1.1em; color: #333; }
.shipping-highlight span { font-size: 1.5em; }
.shipping-highlight p { margin: 0; }
.shipping-mobile { display: none; }
.add-to-cart-form label { font-weight: bold; margin-bottom: 10px; display: block; }
.product-options-group {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 20px;
}
.size-selector {
    flex-grow: 1;
}
.quantity-selector {
    flex-shrink: 0;
}
.size-selector select, .quantity-selector input { 
    width: 100%; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 6px; 
    font-size: 1em; 
}
.quantity-selector input {
    max-width: 80px;
}
.product-actions { display: flex; gap: 15px; margin-bottom: 20px; }
.favorite-form { margin-top: 15px; }
.btn-primary, .btn-secondary, .btn-favorite {
    flex: 1; border: 2px solid #1A1A1A; padding: 15px; border-radius: 8px; font-size: 1.1em; font-weight: bold; cursor: pointer; transition: all 0.3s ease; text-align: center; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.btn-primary { background-color: #1A1A1A; color: #ffffff; }
.btn-primary:hover { background-color: #333; border-color: #333; }
.btn-secondary { background-color: #ffffff; color: #1A1A1A; }
.btn-secondary:hover { background-color: #f8f9fa; }
.btn-favorite { background-color: #ffffff; color: #e60023; border-color: #e60023; font-size: 1em; padding: 10px; }
.btn-favorite:hover { background-color: #fff0f2; }
.btn-favorite.favorited { background-color: #e60023; color: #ffffff; }
.btn-favorite.favorited:hover { background-color: #cc001a; border-color: #cc001a; }
.btn-primary:disabled, .btn-secondary:disabled, .btn-favorite:disabled { background-color: #e9ecef; border-color: #ced4da; color: #6c757d; cursor: not-allowed; }
.product-extra-details {
    margin-top: 40px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.product-extra-details h3 { font-size: 1.8em; margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.customer-reviews-section { margin-top: 30px; }
.review-item { border-bottom: 1px solid #eee; padding: 20px 0; }
.review-item:last-child { border-bottom: none; }
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; flex-wrap: wrap;}
.stars-review { color: #ffc107; font-size: 1.1em; }
.reviewer-name { font-weight: bold; }
.review-comment { margin: 0 0 10px 0; color: #555; line-height: 1.6; }
.review-date { font-size: 0.85em; color: #888; }

/* ================================================= */
/* ✅ ESTILOS DO PAINEL DE ADMIN                       */
/* ================================================= */
.add-product-section {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}
.add-product-section h3, .product-form h3, .product-form h4 {
    margin-top: 0;
    font-size: 1.8em;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.product-form h4 {
    font-size: 1.3em;
}
.product-form { display: flex; flex-direction: column; gap: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.product-form label { font-weight: bold; margin-bottom: 8px; display: block; color: #555; }
.product-form input[type="text"], .product-form input[type="number"], .product-form input[type="url"], .product-form textarea, .product-form select { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; box-sizing: border-box; font-size: 1em; }
.product-form textarea { resize: vertical; min-height: 100px; }
.product-form .form-submit-button { width: auto; align-self: flex-start; padding: 12px 30px; font-size: 1.1em; background-color: #1A1A1A; color: #fff; border: none; cursor: pointer; transition: background-color 0.3s ease; }
.product-form .form-submit-button:hover { background-color: #333; }
.select-wrapper { position: relative; width: 100%; }
.select-wrapper::after { content: '▼'; font-size: 12px; color: #555; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.product-form select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-color: #ffffff; cursor: pointer; }
.file-upload-wrapper { display: flex; align-items: center; border: 1px solid #ccc; border-radius: 6px; padding: 4px 5px; }
.product-form .file-upload-button { background-color: #343a40; color: #ffffff; padding: 8px 15px; border-radius: 5px; cursor: pointer; }
.file-upload-filename { color: #555; font-style: italic; margin-left: 15px; }
.product-form .form-highlights { background-color: #f8f9fa; border: 1px solid #e9ecef; padding: 20px; border-radius: 6px; margin-top: 10px; }
.product-form .checkbox-group { display: flex; flex-wrap: wrap; gap: 25px; }
.product-form .checkbox-item { display: flex; align-items: center; gap: 8px; }
.product-form .checkbox-item label { margin-bottom: 0; font-weight: normal; }
.product-form .checkbox-item input[type="checkbox"] { width: auto; }
.section-divider { border: 0; height: 1px; background-color: #e0e0e0; margin: 50px 0; }
.products-table, .variations-table { width: 100%; border-collapse: collapse; margin-top: 25px; }
.products-table th, .products-table td, .variations-table th, .variations-table td { padding: 16px 15px; text-align: left; vertical-align: middle; word-wrap: break-word; }
.products-table tr, .variations-table tr { border-bottom: 1px solid #ddd; }
.products-table th, .variations-table th { background-color: #f8f9fa; font-weight: bold; }
.products-table img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
.product-name { font-weight: bold; color: #333; }
.stock-status { display: flex; align-items: center; justify-content: center; gap: 8px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; }
.status-dot.in-stock { background-color: #28a745; }
.status-dot.out-of-stock { background-color: #dc3545; }
.actions-cell { display: flex; justify-content: center; align-items: center; gap: 8px; }
.actions-cell .edit-btn, .actions-cell .delete-btn { color: #fff; padding: 6px 12px; border-radius: 4px; text-decoration: none; font-size: 0.9em; white-space: nowrap; }
.actions-cell .edit-btn { background-color: #007bff; }
.actions-cell .delete-btn { background-color: #dc3545; }
.variations-table input[type="number"] { width: 80px; padding: 8px; }
.variations-table .delete-btn { background-color: #dc3545; color: white; padding: 5px 10px; border: none; border-radius: 4px; cursor: pointer; }
.add-variation-form { display: flex; gap: 15px; align-items: flex-end; margin-top: 20px; background-color: #f8f9fa; padding: 20px; border-radius: 6px; }
.add-variation-form .form-group input { width: 120px; }
.add-variation-form .add-btn { background-color: #28a745; color: white; padding: 12px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }
.feedback-message.success { border: 1px solid #28a745; background-color: #d4edda; color: #155724; padding: 15px; border-radius: 6px; margin-bottom: 20px;}
.feedback-message.error { border: 1px solid #dc3545; background-color: #f8d7da; color: #721c24; padding: 15px; border-radius: 6px; margin-bottom: 20px;}

/* ================================================= */
/* ✅ ESTILOS DO CARROSSEL DE PRODUTOS (SWIPER)     */
/* ================================================= */
.swiper-container {
    width: 100%;
    padding-bottom: 50px;
    overflow: hidden;
    position: relative; 
}
.swiper-slide {
    display: flex;
    justify-content: center;
}
.swiper-button-next::after, 
.swiper-button-prev::after {
    color: #1A1A1A !important;
    font-size: 1.5rem !important;
    font-weight: 800 !important;
}
.swiper-pagination-bullet-active {
    background: #1A1A1A !important;
}
.swiper-button-next {
    right: -3px;
}
.swiper-button-prev {
    left: -3px;
}

/* ✅ ================================== */
/* ✅ CSS RESPONSIVO CENTRALIZADO        */
/* ✅ ================================== */
.menu-overlay {
    display: none;
}
.main-nav-mobile {
    display: none;
}
/* Esconde o acordeão no desktop por padrão */
.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    body {
        padding-top: 80px;
    }
    .main-header .container, .main-header .header-container {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .header-top-row {
        margin-bottom: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .main-header .main-nav {
        display: none;
    }
    .main-content {
    padding: 70px 0;
    flex: 1;
    }
    .logo-aneis {
        height: 50px;
    }
    .main-logo-wrapper .logo img {
        height: 30px;
    }
    .nav-toggle-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        box-sizing: border-box;
        z-index: 1002;
    }
    
    /* ✅ 
    ✅ ALTERAÇÃO AQUI: 
    ✅ Novas regras para ajustar o tamanho dos ícones na barra mobile.
    ✅
    */
    .top-nav-icons ul {
        gap: 12px; /* Espaço entre os ícones */
    }
    .top-nav-icons a {
        font-size: 1.4em; /* Tamanho dos ícones */
    }
    .main-header.scrolled .top-nav-icons a {
        font-size: 1.3em; /* Tamanho ao rolar */
    }
    
    .nav-toggle-btn span {
        width: 30px;
        height: 3px;
        background-color: #ffffff;
        border-radius: 5px;
    }
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .menu-overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }
    .main-nav-mobile {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #1a1a1a;
        padding-top: 60px;
        z-index: 1001;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }
    .main-nav-mobile.active {
        right: 0;
    }
    .main-nav-mobile ul {
        flex-direction: column;
        padding: 0;
        list-style: none;
        margin:0;
    }
    .main-nav-mobile li {
        width: 100%;
        border-bottom: 1px solid #333;
    }
    .main-nav-mobile a {
        padding: 15px 20px;
        display: block;
        color: #ffffff;
    }
    .menu-close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        background: none;
        border: none;
        color: #fff;
        font-size: 2rem;
        cursor: pointer;
    }
    
    /* Regras da página principal movidas para cá */
    .split-hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-image { min-height: 300px; order: -1; }
    .hero-text { text-align: center; padding: 40px 20px;}
    .btn-hero { align-self: center; }
    
    .about-container { 
        grid-template-columns: 1fr; 
        text-align: center; 
        justify-items: center;
    }
    .about-image { order: -1; margin-bottom: 30px; justify-self: center; }
    .about-text h2 { text-align: center; }
}

@media (max-width: 768px) {
    /* --- AJUSTES GERAIS --- */
    .perfil-container {
        display: block; 
    }
    .product-page-container {
        flex-direction: column;
    }
    /* --- AJUSTES DO RODAPÉ COM ACORDEÃO --- */
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: block;
        width: 100%;
    }
    footer.main-footer .footer-top {
        flex-direction: column;
        align-items: stretch;
    }
    footer.main-footer .footer-column.brand-info {
        align-items: center;
        text-align: center;
        margin-bottom: -100px;
    }
    footer.main-footer .social-icons {
        justify-content: center;
    }
    .footer-accordion {
        border-bottom: 1px solid #333;
    }
    .footer-accordion:last-of-type {
        border-bottom: none;
    }
    .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
        cursor: pointer;
    }
    .accordion-header h4 {
        margin: 0;
        font-size: 1.1em;
    }
    .accordion-arrow {
        width: 10px;
        height: 10px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
    }
    .accordion-header.active .accordion-arrow {
        transform: rotate(-135deg);
    }
    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    }
    .accordion-content.active {
        max-height: 300px;
        padding: 10px 0 15px 0;
        transition: max-height 0.4s ease-in;
    }
    footer.main-footer .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}
}

@media (max-width: 600px) {
    /* ===== INÍCIO DOS AJUSTES PARA O HEADER MOBILE ===== */
    .logo-aneis-wrapper {
        display: block;
    }
    .logo-aneis {
        height: 40px;
    }
    .main-logo-wrapper {
        flex-grow: 0;
        margin-left: 10px;
    }
    .header-right-group {
        margin-left: auto;
    }
    /* ===== FIM DOS AJUSTES PARA O HEADER MOBILE ===== */
    
    .main-logo-wrapper .logo img { height: 25px; }
    
    /* ✅ ALTERAÇÃO AQUI: Ajuste fino do tamanho e espaço dos ícones */
    .top-nav-icons ul { gap: 12px; }
    .top-nav-icons a { font-size: 1.3em; }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .main-content h2 {
        font-size: 1.8em;
    }
    .product-card h3 {
        font-size: 1.2em;
    }
    
    /* == Novas Regras Adicionadas / Mescladas == */
    .logo-aneis {
        height: 35px;
    }
    .main-logo-wrapper {
        display: none;
    }
    
}

@media (max-width: 412px) {
    /* == Regras Originais Mantidas == */
    footer.main-footer {
        padding-top: 40px;
    }
    footer.main-footer .footer-logo {
        height: 100px;
    }
    footer.main-footer .footer-bottom-content {
        font-size: 0.8em;
    }
    .accordion-header {
        padding: 12px 0;
    }
    .accordion-header h4 {
        font-size: 1.05em;
    }
    .header-top-row { 
        justify-content: space-between; 
    }
    .product-grid { 
        grid-template-columns: 1fr; 
    }
    .main-content h2,
    .about-text h2 {
        font-size: 1.6em;
    }
    .main-content {
        padding-left: 0;
        padding-right: 0;
    }
    .product-card h3 {
        font-size: 1.1em;
    }
    .products-table, .variations-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    /* == Novas Regras Adicionadas / Mescladas == */
    .logo-aneis {
        height: 35px;
    }
    .main-logo-wrapper {
        display: none;
    }
    
    /* ✅ ALTERAÇÃO AQUI: Ajuste fino do tamanho e espaço dos ícones */
    .top-nav-icons ul {
        gap: 10px; /* Reduz o espaço entre os ícones */
    }
    .top-nav-icons a {
        font-size: 1.2em;
    }
}