/*
Theme Name: Theme Espingardaria
Theme URI: https://espingardaria.com.br
Author: Emanoel de Oliveira
Author URI: https://espingardaria.com.br
Description: Tema personalizado para loja de armas e acessórios, com suporte a catálogo de produtos.
Version: 3.0
Requires at least: 5.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theme-espingardaria
Tags: e-commerce, bootstrap, responsive, dark, custom-colors

Este tema foi desenvolvido exclusivamente para Espingardaria, seguindo o design fornecido.
*/

/* Cores principais */
:root {
    --primary-color: #ff6600 !important;
    --secondary-color: #222222;
    --text-color: #333333;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-color: #dee2e6;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}
html{
     font-size: 90%;
}
/* Reset e estilos básicos */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-color);   
    line-height: 1.4;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #e05a00;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    border-radius: 0;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #e05a00;
    border-color: #e05a00;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #000;
    border-color: #000;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 0;
}

/* Header */
.top-bar {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: var(--primary-color);
}

.top-bar-info {
    display: flex;
    align-items: center;
}

.top-bar-info-item {
    margin-right: 1.5rem;
}

.top-bar-info-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.top-bar-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar-social a {
    margin-left: 1rem;
    font-size: 1rem;
}

.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.site-branding {
    padding: 0;
}

.site-logo {
    max-height: 60px;
    width: auto;
}

.site-navigation {
    background-color: var(--secondary-color);
}

.navbar {
    padding: 0;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
    padding: 1rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-item.active .nav-link {
    color: var(--primary-color);
}



.header-search {
    position: relative;
}

.header-search .form-control {
    border-radius: 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding-right: 40px;
}

.header-search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search .btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: none;
    border: none;
    color: #fff;
    padding: 0 15px;
}

.header-cart {
    position: relative;
}

.header-cart-link {
    color: #fff;
    font-size: 1.25rem;
    padding: 0.5rem;
    display: inline-block;
}

.header-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.75rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.has-fixed-header {
    padding-top: 120px;
}

/* Banner / Slider */
.banner-section {
    position: relative;
}

.carousel-item {
    height: 800px;
    background-size: cover;
    background-position: center;
    position: relative;
}

#imageGalleryCarousel .carousel-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgb(0 0 0 / 21%) 0%, rgb(0 0 0 / 30%) 100%) !important;
}
.carousel-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgb(0 0 0 / 60%) 0%, rgb(0 0 0 / 60%) 100%);
}

.carousel-caption {
    text-align: left;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: 0;
    right: 0;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.carousel-caption .subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.carousel-caption .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Categorias */
.categories-section {
    padding: 4rem 0;
    background-color: #fff;
}

.category-item {
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.category-item:hover {
    background-color: #f866008a;
}

.category-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 5px;
    background: #ebebeb;
    padding: 10px;
    transition: transform 0.3s ease; /* Transição apenas para o transform da imagem */
}

.category-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.category-title.active {
    color: #0073aa;
    font-weight: bold;
    background: #f866008a;
    padding: 2px 5px;
    border-radius: 3px;
}

.category-link.active {
    color: #0073aa;
    font-weight: bold;
    background: #f866008a;
    padding: 2px 5px;
    border-radius: 3px;
}
/* Contêiner para a imagem com overflow hidden para manter o tamanho do quadro */

/* Produtos */
.featured-products-section,
.new-products-section {
    padding: 4rem 0;
    background-color: #fff;
}

.product-card {
    margin-bottom: 2rem;
    border: none;
    background-color: transparent;
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    font-size: 1em;
    margin-bottom: 0.5rem;
}

.product-meta {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #777;
}

.product-brand,
.product-caliber {
    display: inline-block;
    margin-right: 1rem;
}

.product-price {
    margin-bottom: 1rem;
    font-weight: 700;
}

.regular-price {
    text-decoration: line-through;
    color: #777;
    margin-right: 0.5rem;
}

.sale-price,
.price {
    color: #1e1e1e;
    font-size: 1.25rem;
}

.product-rating {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.stars {
    color: var(--warning-color);
    margin-right: 0.5rem;
}

.rating-count {
    font-size: 0.875rem;
    color: #777;
}

.product-actions {
    text-align: center;
}

/* Seções promocionais */
.training-section,
.ammo-section {
    padding: 4rem 0;
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}


.training-section:before,
.ammo-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.training-content,
.ammo-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-left: 5px solid var(--primary-color);
}

.training-content h2,
.ammo-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.training-text,
.ammo-text {
    margin-bottom: 2rem;
}

.destaque_1-section, .destaque_2-section{
    padding: 6em;
    color: #fff;
    background-size: cover;
} 



/* Compre em qualquer lugar */

section.shop-anywhere-section {
    background: #222222;
    color: #fff;
}

.shop-anywhere-section {
    padding: 4rem 0;
}

.shop-anywhere-item {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.shop-anywhere-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.5s ease;
}

.shop-anywhere-item:hover img {
    transform: scale(1.05);
}

.shop-anywhere-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    margin: 0;
    padding: 1rem;
    text-align: center;
    font-size: 1.25rem;
}
.shop-anywhere-featured img {
    height: auto; /* Ajuste conforme necessário */
    object-fit: cover;
    width: 100%;
}

.shop-anywhere-item {
    text-align: center;
}

.shop-anywhere-item img {
    height: auto; /* Ajuste conforme necessário */
    object-fit: cover;
    width: 100%;
}

/* Avaliações */
.reviews-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.review-card {
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.review-rating {
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.review-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
}

.review-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.review-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author-name {
    font-weight: 600;
}

/* Blog */
.blog-section {
    padding: 4rem 0;
}

.blog-card {
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

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

.blog-info {
    padding: 1.5rem;
}

.blog-meta {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #777;
}

.blog-date,
.blog-category {
    display: inline-block;
    margin-right: 1rem;
}

.blog-info h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-excerpt {
    margin-bottom: 1.5rem;
}

.blog-actions {
    text-align: right;
}

.blog-actions .btn-link {
    padding: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.blog-actions .btn-link i {
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.blog-actions .btn-link:hover i {
    transform: translateX(5px);
}

/* Sobre Nós */
.about-section {
    padding: 4rem 0;
    background-color: #fff;
}

.about-content {
    margin-bottom: 2rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.about-text {
    margin-bottom: 2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Footer */
.site-footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 4rem 0 0;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 1rem;
}

.footer-contact-info {
    margin-bottom: 1.5rem;
}

.footer-contact-item {
    display: flex;
    margin-bottom: 1rem;
}

.footer-contact-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff;
    transition: all 0.3s ease;
}

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

.footer-social {
    display: flex;
    margin-top: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.footer-newsletter {
    margin-top: 1.5rem;
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 0;
}

.footer-newsletter .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0;
}

.footer-bottom {
    background-color: #1a1a1a;
    padding: 1.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #e05a00;
    color: #fff;
}

/* Página de Produto */
.product-single {
    padding: 4rem 0;
}

.product-gallery {
    margin-bottom: 2rem;
}

.product-gallery-main {
    margin-bottom: 1rem;
}

.product-gallery-main img {
    width: 100%;
    height: auto;  
}

.product-gallery-thumbs {
    display: flex;
    flex-wrap: wrap;
}

.product-gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-gallery-thumbs img:hover {
    border-color: var(--primary-color);
}

.product-title {
    font-size: 2rem;
    margin-bottom: 1rem;
	text-transform: uppercase;
}

.product-meta {
    margin-bottom: 0.5rem;
}

.product-meta-item {
    display: inline-block;
    margin-right: 1.2rem;
    color: #777;
}

.product-meta-item strong {
    color: var(--text-color);
}

.product-price {
    margin-bottom: 1.2rem;
}

.product-price .regular-price {
    font-size: 1.2rem;
}

.product-price .sale-price,
.product-price .price {
    font-size: 1rem;
}

.product-rating {
    margin-bottom: 1.5rem;
}

.product-description {
    margin-bottom: 2rem;
}

.product-quantity {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.quantity-label {
    margin-right: 1rem;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.quantity-button {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: none;
    cursor: pointer;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.product-actions {
    display: flex;
    margin-bottom: 0;
}

.product-actions .btn {
    margin-right: 1rem;
}

.product-share {
    margin-top: 2rem;
}

.product-share-title {
    font-weight: 600;
    margin-right: 1rem;
}

.product-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    color: var(--text-color);
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.product-share-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.product-tabs {
    margin-top: 4rem;
}

.product-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.product-tabs-nav li {
    margin-right: 1rem;
    list-style: none;
}

.product-tabs-nav a {
    display: block;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
}

.product-tabs-nav li.active a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.product-tab {
    display: none;
}

.product-tab.active {
    display: block;
}

.product-specifications {
    margin-bottom: 2rem;
}

.product-specifications-table {
    width: 100%;
}

.product-specifications-table th,
.product-specifications-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.product-specifications-table th {
    width: 30%;
    font-weight: 600;
    background-color: #f8f9fa;
}

.product-reviews {
    margin-bottom: 2rem;
}

.review-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
}

.review-date {
    color: #777;
    font-size: 0.875rem;
}

.review-rating {
    margin-bottom: 1rem;
}

.review-content {
    margin-bottom: 0;
}

.review-form {
    margin-top: 2rem;
}

.review-form-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.rating-select {
    margin-bottom: 1rem;
}

.rating-select i {
    color: #ccc;
    font-size: 1.5rem;
    margin-right: 0.25rem;
    cursor: pointer;
}

.rating-select i.active {
    color: var(--warning-color);
}

/* Página de Arquivo de Produtos */
.archive-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.archive-title {
    margin-bottom: 0;
    font-size: 2rem;
    text-transform: uppercase;
}

.archive-description {
    margin-top: 1rem;
    max-width: 800px;
}

.product-filters {
    margin-bottom: 2rem;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-title {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.filter-toggle {
    display: none;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section-title {
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 0.5rem;
}

.filter-checkbox {
    display: flex;
    align-items: center;
}

.filter-checkbox input {
    margin-right: 0.5rem;
}

.filter-range {
    margin-top: 1rem;
}

.filter-price-inputs {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.filter-price-input {
    width: 100px;
}

.filter-price-separator {
    margin: 0 0.5rem;
}

.filter-actions {
    margin-top: 1.5rem;
}

.product-sorting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sorting-options {
    display: flex;
    align-items: center;
}

.sorting-label {
    margin-right: 0.5rem;
}

.sorting-select {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background-color: #fff;
}

.view-options {
    display: flex;
}

.view-option {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-option:first-child {
    border-right: none;
}

.view-option.active,
.view-option:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.product-grid {
    margin-bottom: 2rem;
}

.product-list-view .product-card {
    display: flex;
    flex-direction: row;
}

.product-list-view .product-image {
    width: 300px;
    flex-shrink: 0;
}

.product-list-view .product-info {
    flex-grow: 1;
}

.pagination {
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.page-item {
    margin: 0 0.25rem;
}

a.page-numbers, span.page-numbers {
    border: solid #000 1px;
    padding: 5px;
}

.page-link {
    border-radius: 0;
    color: var(--text-color);
    border-color: var(--border-color);
    padding: 0.5rem 1rem;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: #6c757d;
}

/* Página de Contato */
.contact-section {
    padding: 4rem 0;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

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

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border-radius: 0;
    padding: 0.75rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contact-map {
    height: 400px;
    margin-top: 4rem;
}

.nav-item a.nav-link {
    word-spacing: 5px;
}
.banner-section .carousel-item .banner-bg {
    object-fit: cover;
    min-height: 800px;
    /*opacity: 0.7; */
}
.banner-section .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.product-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.button-group .btn {
    margin-right: 10px;
}
.btn-secondary {
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
}

/* Estilo geral da navbar */
.navbar {
    background-color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;    
}

/* Branding (logotipo) */
.site-branding {
    margin-right: 30px;
}

.site-title a {
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.site-title a:hover {
    color: #ff6200; /* Cor laranja ao passar o mouse, como no "HONOR" */
}

/* Ícone no logotipo (opcional, adicione um span com classe se desejar) */
.site-title a::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff6200" width="24px" height="24px"><circle cx="12" cy="12" r="6"/></svg>');
    margin-right: 8px;
}

/* Menu de navegação */
.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    color: #000;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 10px 0;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: #ff6200;
}

/* Botão de toggler (mobile) */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Área à direita (pesquisa e carrinho) */
.header-right {
    display: flex;
    align-items: center;
}

.header-search,
.header-cart {
    margin-left: 20px;
}
/*
.search-form {
    display: none;  Esconde o formulário de pesquisa tradicional
}
     */

.header-search .search-icon {
    font-size: 20px;
    color: #000;
    cursor: pointer;
}
button.search-toggle {
    border: none;
    background: transparent;
}

.header-search .search-icon:hover {
    color: #ff6200;
}

.header-cart-link {
    color: #000;
    text-decoration: none;
    position: relative;
}

.header-cart-link .fas {
    font-size: 20px;
}

.header-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff6200;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.header-cart-link:hover {
    color: #ff6200;
}

/* section gallery */
.image-gallery-section {
    padding: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

#imageGalleryCarousel {
    position: relative;
    overflow: hidden;
}

#imageGalleryCarousel .carousel-item {
    display: flex;
}

#imageGalleryCarousel .gallery-item img {
    max-width: 100%;
    width: 100%;
    height: 300px;
    border-radius: 0;
    object-fit: cover;
}
#imageGalleryCarousel .carousel-inner {
    height: 300px;
}

#imageGalleryCarousel .carousel-control-prev,
#imageGalleryCarousel .carousel-control-next {
    width: 5%;
}

#imageGalleryCarousel .carousel-control-prev-icon,
#imageGalleryCarousel .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.product-single .accordion {
    background: transparent !important;
}
.product-single .accordion-item {
    border-bottom: solid 0.1rem !important;
}
.product-single .accordion-item {
    border: none !important;
    background: transparent;
    border-bottom: solid 0.1rem !important;
}
.product-single .accordion-button  {
    font-size: 1.5rem !important;
    text-transform: uppercase;
    background-color: transparent;
    color: #212529;
}
#productAccordion .accordion-body {
    font-size: 0.9rem;
}




.custom-accordion {
    background-color: transparent;
    border: none;
}

.custom-accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin-bottom: 10px;
}

.custom-accordion-header {
    margin: 0;
}

.custom-accordion-button {
    width: 100%;
    text-align: left;
    padding: 15px;
    background-color: #f8f9fa;
    border: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.custom-accordion-button::after {
    content: '\f078'; /* Ícone de chevron-down do Font Awesome */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.custom-accordion-button.collapsed::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-accordion-button:hover {
    background-color: #e9ecef;
}

.custom-accordion-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.custom-accordion-collapse {
    display: none;
}

.custom-accordion-collapse.show {
    display: block;
}

.custom-accordion-body {
    padding: 15px;
    background-color: #fff;
}


/* Estilização dos Filtros */
.product-filters .filter-section {
    margin-bottom: 20px;
}

/* Dropdown */
.filter-dropdown {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

.fixed-header .site-branding img {
    width: 250px;
}

/* Checkboxes */
.filter-checkboxes label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}
.filter-checkboxes input[type="checkbox"] {
    margin-right: 5px;
}
.filter-checkboxes .btn {
    margin-top: 10px;
}

/* Botões Visuais */
.filter-buttons .btn {
    margin: 3px 3px 3px 0;
    font-size: 0.6em;
    padding: 0.4rem;
    border: solid 1px #ccc;
}
.filter-buttons .btn.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    font-size: 0.7rem;
}

/* Lista Padrão */
.filter-list {
    list-style: none;
    padding: 0;
}
.filter-list li {
    margin-bottom: 5px;
    border-bottom: none;
    background: transparent;
}
.filter-list a {
    font-size: 0.8rem;
    color: #333;
    text-decoration: none;
}
.filter-list a.active {
    font-weight: bold;
    color: #212529;
}
.products-header {
    display: flex;
    margin-bottom: 10px;
    column-gap: 25px;
    justify-content: space-between;
}
form.woocommerce-ordering select {
    color: #282828;
    border: solid 1px #eee !important;
}

/* Estilização base do dropdown */
/* Estilização base do dropdown */
.dropdown-menu {
    min-width: 230px;
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top: 0;
    position: absolute;
    transform: none !important;
    z-index: 1050;
    display: none; /* Garante que fique oculto por padrão */   
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Exibe o submenu direto ao passar o mouse no item pai */
.dropdown:hover > .dropdown-menu {
    display: block;
    position: absolute;
}

/* Submenus aninhados */
.dropdown-submenu {
    position: absolute;
    top: 0;
    left: 100%; /* Padrão: abre para a direita */
    min-width: 220px;
    visibility: hidden;
    z-index: 1060;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Exibe o submenu aninhado ao passar o mouse no item pai imediato */
.dropdown .dropdown-menu .dropdown:hover > .dropdown-menu {
    visibility: visible;
    display: block;
}

/* Classe para reposicionar à esquerda */
.dropdown-menu.dropdown-menu-left {
    left: auto !important;
    right: 100% !important;
}


/* Ajuste para mobile ou layouts estreitos */
@media (max-width: 991px) {


    .products-header {
    display: flex;
    margin-bottom: 10px; 
    row-gap: 25px;
    flex-direction: column;
    justify-content: space-around;
    align-items: end;
}
    .dropdown-submenu {
        left: 0;
        top: 100%;
    }
    .dropdown-menu .dropdown-menu {
        left: 0;
        top: 100%;
    }
}


.filter-dropdown option {
    padding-left: 10px;
}
.filter-dropdown option[selected] {
    font-weight: bold;
}

/* Estilização do modal de pesquisa */
div#searchModal {
    width: 100% !important;
    --bs-modal-width: 100%;
    height: 100vh !important;
}
#searchModal .modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
}

#searchModal .modal-content {
    border: none;
    height: 100%;
    border-radius: 15px; /* Bordas arredondadas */
    background: rgba(0, 0, 0, 0.75); /* Fundo semi-transparente */
    backdrop-filter: blur(5px); /* Efeito de desfoque no fundo */
    color: #fff; /* Texto branco para contraste */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5); /* Sombra suave */
}

#searchModal .modal-header {
    border-bottom: none;
    padding: 1.5rem;
}

#searchModal .modal-title {
    font-size: 1.5rem;
    font-weight: 600;
}

#searchModal .btn-close {
    filter: brightness(0) invert(1); /* Ícone de fechar branco */
}

#searchModal .modal-body {
    padding: 2rem;
}

#searchModal .modal-body {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#searchModal .search-form-container {
    width: 100%;
    max-width: 600px;
}

#searchModal .search-form {
    width: 100%;
    display: flex;
}

#searchModal .search-form input[type="search"] {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 25px; /* Campo de busca arredondado */
    background: rgba(255, 255, 255, 0.1); /* Fundo semi-transparente */
    color: #fff;
    outline: none;
}

#searchModal .search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Placeholder mais claro */
}

#searchModal .search-form input[type="search"]:focus {
    background: rgba(255, 255, 255, 0.2); /* Efeito ao focar */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

#searchModal .search-form .search-submit {
    display: none; /* Opcional: esconde o botão de submit se não for necessário */
}
nav.breadcrumb {
    font-size: 0.8rem;
}
nav.breadcrumb a {
    padding-right: 5px;
}
.product-details .product-price span {
    font-size: 2rem;
    padding: 0;
    margin: 0;
}
.navbar-brand img.custom-logo {
        width: 210px;
    }




    /* Estilização para o accordion corrigido */
    li.category-item.category-parent a {
        font-weight: 700;
        margin-left: 8px;
    }
    .filter-categories {
        list-style: none; /* Garante que as bolinhas sejam removidas */
        padding: 0;
        margin: 0;
    }
    .filter-categories .category-item {
        margin: 2px 0;
        list-style-type: none;
        font-size: 0.9rem;
        text-align: left;
        background-color: transparent;
    }
    .filter-categories .category-header {
        display: flex;
        align-items: center;
        padding: 4px 8px;
        background: #f9f9f9;
        cursor: pointer;
    }
    .filter-categories .category-toggle {
        width: 12px;
        height: 12px;
        margin-right: 5px;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat center;
        transition: transform 0.2s;
    }
    .filter-categories .category-toggle.rotated {
        transform: rotate(90deg);
    }
    .filter-categories .category-parent .category-title {
        font-weight: bold;
        color: #222;
        font-size: 0.8em;
        text-align: left;
    }
    .filter-categories .category-title.active {
        font-weight: bold;
        color: #000;
    }
    .filter-categories .category-parent .category-title {
        font-weight: bold;
        color: #222;
        font-size: 0.8rem;
        text-align: left;
    }
    .filter-categories .category-sub .category-link {
        color: #555;
        padding: 4px 0;
        font-size: 0.8rem;
        text-decoration: none;
        display: block;
        text-align: left;
    }
    .filter-categories .category-sub .category-link:hover {
        background: transparent;
    }
    .filter-categories .category-subitems {
        padding-left: 15px;
        background: transparent;
    }
    span.category-title.active {
        background: #f96705;
    }
    p.stk-block-text__text a:hover {
transform: scale(2);
color: #fff;
background: #ff6200;
padding: 5px;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    html{
        font-size: 100%;
    }
    #searchModal .modal-content {
        border-radius: 0;
    }
    #searchModal .modal-body {
        padding: 1rem;
    }
    #searchModal .search-form input[type="search"] {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    header.page-header {
        flex-direction: column;
    }
    .product-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        transition: all 0.5s ease;
    }
}
/* Responsividade */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 10px;
    }

    .header-right {
        margin-top: 10px;
    }
}

/* Responsividade */
@media (max-width: 1199.98px) {
    .carousel-caption h1 {
        font-size: 3rem;
    }

    .carousel-caption .subtitle {
        font-size: 1.25rem;
    }

    .carousel-caption .price {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .top-bar-info,
    .top-bar-social {
        justify-content: center;
    }

    .top-bar-social {
        margin-top: 0.5rem;
    }

    .carousel-item {
        height: 500px;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption .subtitle {
        font-size: 1.125rem;
    }

    .carousel-caption .price {
        font-size: 1.75rem;
    }

    .product-list-view .product-card {
        flex-direction: column;
    }

    .product-list-view .product-image {
        width: 100%;
    }
}

@media (max-width: 767.98px) {

    #imageGalleryCarousel .gallery-item img {
        max-width: 100%;
        width: 100%;
        height: 200px;
        border-radius: 0;
        object-fit: cover;
    }
    .fixed-header .site-branding img {
        width: 160px;
    }
    .navbar-brand img.custom-logo {
        width: 190px;
    }
    .banner-section .carousel-item .banner-bg {
        object-fit: cover;
        height: auto;
        opacity: 0.7;
    }
    section.destaque_1-section {
        margin-bottom: 20px;
    }
    .top-bar {
        display: none;
    }

    .carousel-item {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption .subtitle {
        font-size: 1rem;
    }

    .carousel-caption .price {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

   .filter-toggle {
        color: #fe7d08;
        display: block;
    }

    .product-filters {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        background: #fff;
        padding: 20px;
        z-index: 1000;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
    }

    /* Exibir filtros quando .show for aplicado */
    .product-filters.show {
        transform: translateX(0);
        display: block;
    }

    /* Overlay para fechar ao clicar fora (opcional) */
    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .filter-overlay.show {
        display: block;
    }

    .filter-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        color: var(--text-color);
        cursor: pointer;
    }

    .product-sorting {
        flex-direction: column;
        align-items: flex-start;
    }

    .view-options {
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: auto;
        object-fit: cover;
    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .carousel-caption .subtitle {
        font-size: 0.875rem;
    }

    .carousel-caption .price {
        font-size: 1.25rem;
    }

    .carousel-caption .btn {
        padding: 0.375rem 1rem;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-price .sale-price,
    .product-price .price {
        font-size: 1.5rem;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .product-tabs-nav {
        flex-wrap: wrap;
    }

    .product-tabs-nav li {
        margin-bottom: 0.5rem;
    }
}
