/* Copied main styles from original site. Edit as needed. */

/* Variáveis de Estilo */

:root {
    --primary-font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --accent-color: #f8f8f8;
    --spacing: 20px;
    --sella-blue: rgba(74, 144, 226, 0.25);
    --sella-shadow: rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: var(--primary-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Trava o scroll do body quando o menu mobile está aberto */
body.nav-open {
    overflow: hidden;
}

/* --- HEADER --- */
.main-header {
    width: 100%;
    padding: 20px 50px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2000;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

/* Estado INICIAL (transparente, texto branco) */

.main-header .nav-links a {
    color: #ffffff;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.6);
}

.main-header .brand-logo a {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.main-header .logo-nav {
    max-width: 150px;
    width: auto;
    height: auto;
    max-height: 60px;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(74, 144, 226, 0.25)) drop-shadow(0 4px 15px rgba(0, 0, 0, 0.15));
}

.main-header .menu-toggle span {
    background: #ffffff;
}

/* Estado SCROLLED (fundo branco, texto preto) */
.main-header.scrolled {
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.main-header.scrolled .nav-links a {
    color: #1a1a1a;
    text-shadow: none;
}

.main-header.scrolled .brand-logo a {
    color: #000000;
    filter: none;
}

.main-header.scrolled .logo-nav {
    filter: brightness(0.1);
}

.main-header.scrolled .menu-toggle span {
    background: #1a1a1a;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.nav-links a {
    font-family: var(--primary-font);
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 15px;
    transition: all 0.3s ease;
}

.brand-logo a {
    font-size: 24px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 5px;
    transition: all 0.4s ease;
}

.logo-nav {
    max-width: 150px;
    width: auto;
    height: auto;
    max-height: 60px;
    display: block;
    letter-spacing: 4px;
    transition: filter 0.4s ease;
    object-fit: contain;
}

/* --- HERO VIDEO --- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    background-color: #000;
}

.hero-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- CARD DE PRODUTO SOBRE O VÍDEO --- */
.hero-product-card {
    position: absolute;
    top: 20%;
    left: 0;
    width: clamp(320px, 25vw, 350px);
    min-height: 200px;
    max-height: 720px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
    padding: clamp(18px, 2.2vw, 28px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
    overflow: hidden;
    z-index: 5;
}

.hero-product-header {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    margin-bottom: 0;
}

.hero-product-title {
    font-size: clamp(1.4rem, 1.55vw, 1.95rem);
    line-height: 1.1;
    margin-bottom: 4px;
}

.hero-product-price {
    font-size: clamp(0.88rem, 0.95vw, 1rem);
    letter-spacing: 0.12em;
}

.hero-product-image-wrapper {
    flex: 0 0 auto;
    max-height: 720px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-product-image {
    width: clamp(200px, 75%, 340px);
    max-height: 320px;
    height: 100%;
    object-fit: contain;
    margin-left: 0;
    filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.35));
}

.hero-product-footer {
    margin-top: 4px;
}

/* Botão Comprar no hero-product */
.hero-product-btn {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 12px 20px;
    border: 1px solid #1a1a1a;
    color: #000;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s ease;
    box-sizing: border-box;
    text-align: center;
}

.hero-product-btn:hover {
    background-color: #000000;
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-product-btn {
        padding: 12px 18px;
        letter-spacing: 0.14em;
    }
}

/* --- CATEGORIES NAV --- */
.categories-nav {
    width: 100%;
    font-size: 3rem;
    text-align: center;
    color: #4d4949;
    margin: 70px 0 0 0;
}

.text-animado {
    letter-spacing: 3px;
    transition: letter-spacing 0.5s ease;
}

.text-animado:hover {
    letter-spacing: 8px;
}

/* --- SPLIT SECTION (home) --- */
.split-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
    max-height: 720px;
    margin: 0;
    background: #ffffff;
}

.split-image-container {
    min-height: 580px;
    max-height: 720px;
    overflow: hidden;
}

.split-image-container .parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-content {
    background: #ffffff;
    color: #666666;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(44px, 6vw, 86px) clamp(34px, 5vw, 86px);
    font-size: clamp(1rem, 1.15vw, 1.5rem);
    line-height: 1.55;
    font-weight: 400;
}

.split-content p {
    margin: 0;
}

.split-content p + p {
    margin-top: clamp(26px, 3.2vw, 54px);
}

/* --- PRODUTOS --- */
.product-showcase {
    padding: 100px 50px;
    max-width: 1600px;
    margin: 0 auto;
}

/* Títulos de seção padronizados */
.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 2px;
    color: #1a1a1a;
    text-transform: uppercase;
}

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

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

.product-img {
    background: var(--accent-color);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.product-info h3 {
    margin-bottom: 5px;
}

.price {
    display: block;
    margin-top: 5px;
}

/* Botão Comprar Estilo Premium */
.btn-buy {
    display: inline-block;
    padding: 16px 45px;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    border: 1px solid #1a1a1a;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-buy:hover {
    background-color: #ffffff;
    color: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-buy-outline {
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
}

.btn-buy-outline:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.product-card .btn-buy {
    width: 60%;
    margin-top: 15px;
}

/* Home #produtos aligned with shop visual identity */
#produtos .product-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

#produtos .product-img {
    background: transparent;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

#produtos .product-img img {
    max-width: 80%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}

#produtos .product-info h3 {
    font-size: 1.05rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

#produtos .product-info h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

#produtos .product-info h3 a:hover {
    color: #1a1a1a;
    text-decoration: none;
}

#produtos .price {
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 12px;
}

#produtos .product-card .btn-buy {
    width: 100%;
    margin-top: 14px;
}

.fav-icon {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* --- GALERIA --- */
.gallery-section {
    width: 100%;
    padding: 60px 20px;
    background-color: var(--bg-color);
}

.gallery-container {
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-text {
    width: 100%;
    padding: 5px 5px;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    overflow: hidden;
    background-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* --- FOOTER --- */
.main-footer {
    background-color: #393838;
    color: #ffffff;
    padding: 50px 50px 40px;
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #ffffff;
}

.footer-col p,
.footer-col ul li,
.footer-col a {
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
    list-style: none;
    margin-bottom: 5px;
    display: block;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 10px;
    padding-top: 30px;
    text-align: center;
    width: 100%;
}

.footer-bottom p {
    font-size: 12px;
    color: #fff9f9;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 20px;
    }

    .split-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-image-container {
        min-height: 280px;
    }

    .split-content {
        font-size: 1rem;
        line-height: 1.65;
        padding: 34px 24px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-section {
        height: 100vh;
    }

    .hero-product-card {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: min(78vw, 340px);
        min-height: auto;
        max-height: none;
        padding: 22px 20px;
        gap: 8px;
    }

    .hero-product-image-wrapper {
        flex: 0 1 auto;
        min-height: 0;
        max-height: none;
        justify-content: center;
        padding: 10px 0;
    }

    .hero-product-image {
        width: min(50vw, 180px);
        max-height: 160px;
        height: auto;
    }

    .hero-product-title {
        font-size: clamp(1.05rem, 4.5vw, 1.35rem);
        margin-bottom: 4px;
    }

    .hero-product-price {
        font-size: 0.82rem;
    }

    .hero-product-shadow-line {
        bottom: 20%;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* SECTION LOGOS PARCEIROS */
.partners-section {
    width: 100%;
    padding: 60px 40px;
    background: #fff;
}

.partners-container {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.partners-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 40px;
    color: #333;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 50px;
}

.partner-logo {
    flex: 0 1 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7) drop-shadow(0 6px 18px rgba(0, 0, 0, 0.12));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.22));
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .partners-section {
        padding: 40px 20px;
    }

    .partner-logo {
        flex: 0 1 40%;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        flex: 0 1 80%;
    }
}

/* === PÁGINA INTERNA (page.php) === */
main {
    margin-top: 0;
}

.page-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
}

.page-banner-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.page-banner-fallback {
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner-fallback .page-banner-wrapper {
    height: auto;
}

.page-banner-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #ffffff;
    text-align: center;
    font-weight: 400;
    letter-spacing: 2px;
}

.page-content-section {
    padding: 100px 50px;
    background-color: #ffffff;
    max-width: 1600px;
    margin: 0 auto;
}

.page-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-article {
    width: 100%;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.page-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
}

.page-body p {
    margin-bottom: 25px;
}

.page-body h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin: 50px 0 20px 0;
    color: #1a1a1a;
    font-weight: 400;
}

.page-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    margin: 30px 0 15px 0;
    color: #1a1a1a;
    font-weight: 400;
}

.page-body ul,
.page-body ol {
    margin-left: 30px;
    margin-bottom: 25px;
}

.page-body li {
    margin-bottom: 10px;
}

.page-body a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: color 0.3s ease;
}

.page-body a:hover {
    color: #555555;
}

.page-body img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    display: block;
}

@media (max-width: 768px) {
    /* Margin-top only for internal pages — front page hero goes edge-to-edge */
    main {
        margin-top: 80px;
    }

    body.home main,
    body.front-page main,
    body.page main,
    body.woocommerce-shop main,
    body.post-type-archive-product main,
    body.tax-product_cat main,
    body.tax-product_tag main {
        margin-top: 0;
    }

    /* WooCommerce wrappers can still add offset above banner on mobile */
    body.woocommerce-shop #primary,
    body.woocommerce-shop .content-area,
    body.woocommerce-shop .site-main,
    body.woocommerce-shop #main,
    body.post-type-archive-product #primary,
    body.post-type-archive-product .content-area,
    body.post-type-archive-product .site-main,
    body.post-type-archive-product #main,
    body.tax-product_cat #primary,
    body.tax-product_cat .content-area,
    body.tax-product_cat .site-main,
    body.tax-product_cat #main,
    body.tax-product_tag #primary,
    body.tax-product_tag .content-area,
    body.tax-product_tag .site-main,
    body.tax-product_tag #main {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    /* Match reference page style: banner starts right under the mobile header */
    body.page .page-banner,
    body.woocommerce-shop .page-banner,
    body.post-type-archive-product .page-banner,
    body.tax-product_cat .page-banner,
    body.tax-product_tag .page-banner {
        margin-top: -80px;
        padding-top: 80px;
    }

    .page-banner-wrapper {
        height: 200px;
    }

    .page-banner-image {
        object-position: center center;
    }

    .page-banner-fallback {
        min-height: 200px;
    }

    .page-banner-fallback .page-banner-wrapper {
        height: 200px;
    }

    .page-content-section {
        padding: 60px 30px;
    }

    .page-title,
    .page-banner-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }

    .page-body {
        font-size: 1rem;
    }

    .page-body h2 {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
}

/* === TEMPLATE FULLWIDTH === */
.page-content-fullwidth {
    padding: 100px 20px;
}

.page-content-wrapper-fullwidth {
    width: 100%;
    max-width: 100%;
}

.page-article-fullwidth {
    width: 100%;
}

@media (max-width: 768px) {
    .page-content-fullwidth {
        padding: 60px 20px;
    }
}

/* === TEMPLATE CONTACT === */
.page-contact-section {
    padding: 100px 50px;
    background-color: #ffffff;
}

.page-content-wrapper-contact {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form {
    flex: 1;
}

.contact-form h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #1a1a1a;
}

.contact-info {
    flex: 1;
    background: #f8f8f8;
    padding: 40px;
    border-radius: 4px;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
    color: #1a1a1a;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.05rem;
}

.contact-item p {
    color: #555555;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-item a {
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #1a1a1a;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #555555;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-contact-section {
        padding: 60px 30px;
    }

    .contact-info {
        padding: 30px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 1.4rem;
    }
}

/* --- MENU RESPONSIVO (MOBILE) --- */

/* Normaliza estrutura de menu: suporta <div> contendo <ul.primary-menu> ou links diretos */
.nav-links.side-links,
.nav-links.side-links ul.primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.nav-links.side-links ul.primary-menu li {
    margin: 0 10px;
}


/* Botão Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
}

/* Animação do 'X' quando o menu está ativo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 30px;
    }

    .menu-toggle {
        display: flex;
        z-index: 3000;
    }

    .main-header.scrolled .menu-toggle span {
        background: #1a1a1a;
    }

    /* Menu agora é filho direto do body no mobile */
    body>.nav-links.side-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        gap: 0;
        z-index: 2500;
        background: #ffffff;
    }

    body>.nav-links.side-links.active {
        display: flex !important;
    }

    /* Menu aberto: fundo branco + links pretos (qualquer estado de scroll) */
    body:not(.scrolled-body)>.nav-links.side-links.active,
    body.scrolled-body>.nav-links.side-links.active {
        background: #ffffff;
    }

    body:not(.scrolled-body)>.nav-links.side-links.active a,
    body.scrolled-body>.nav-links.side-links.active a {
        color: #1a1a1a;
        text-shadow: none;
    }

    /* X (hambúrguer ativo) em preto */
    .menu-toggle.active span {
        background: #1a1a1a !important;
    }

    /* Logo em preto quando menu está aberto */
    body.nav-open .main-header .logo-nav {
        filter: brightness(0.1) !important;
    }

    /* Header fica branco junto com o menu aberto */
    body.nav-open .main-header {
        background: #ffffff !important;
    }

    /* Estilo dos links dentro do menu mobile */
    body>.nav-links.side-links.active a {
        font-size: 22px;
        padding: 20px 30px;
        width: 100%;
        text-align: center;
        border-bottom: none;
    }
}

/* --- WOOCOMMERCE: product lists (related / upsells / shop loop) --- */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: 1fr;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-items: start; /* align item contents to the left */
    justify-content: start; /* ensure grid aligns to left when fewer items */
}

.woocommerce ul.products li.product {
    background: transparent;
    border: none;
    padding: 0;
}

.woocommerce ul.products li.product .product-card,
.woocommerce ul.products li.product .product,
.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    width: 100%;
}

.woocommerce .related.products,
.woocommerce .upsells.products,
.woocommerce .products {
    margin-top: 40px;
}

/* Force heading and products list to stack vertically and occupy full width */
.woocommerce .related.products,
.woocommerce .upsells.products {
    display: block;
}

.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
    margin-bottom: 24px;
    width: 100%;
}

.woocommerce ul.products li.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Ensure product image wrappers fill the grid cell and are visually consistent */
.woocommerce ul.products li.product .product-img,
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Target direct children that are divs (your markup) as grid items */
.woocommerce ul.products > .product-card,
.woocommerce ul.products > .product,
.woocommerce ul.products > li.product,
.woocommerce ul.products > div.product-card {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    justify-self: stretch; /* make the item fill the grid cell */
}

/* Override any WooCommerce column classes to ensure four columns */
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* If first child is being pushed by an invisible element, force normal flow */
.woocommerce ul.products > *:first-child {
    grid-column: auto !important;
}

/* Prevent unexpected left padding/margins from parent containers */
.woocommerce .related.products,
.woocommerce .upsells.products {
    padding-left: 0 !important;
}

/* Card appearance to match site showcase (white card, shadow, padding) */
.woocommerce ul.products li.product.product-card,
.woocommerce ul.products > .product-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.03);
}

.woocommerce ul.products li.product .product-img {
    background: transparent;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.woocommerce ul.products li.product .product-img img {
    max-width: 80%;
    max-height: 220px;
    object-fit: contain;
}

.woocommerce ul.products li.product .product-info {
    text-align: left;
    padding-top: 6px;
}

.woocommerce ul.products li.product .product-info h3 {
    font-size: 1.05rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.woocommerce ul.products li.product .product-info h3 a {
    color: #1a1a1a !important;
    text-decoration: none;
}

.woocommerce ul.products li.product .product-info h3 a:hover {
    color: #1a1a1a !important;
    text-decoration: none;
}

.woocommerce ul.products li.product .product-info .price {
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 12px;
    display: block;
}

.woocommerce ul.products li.product .btn-buy,
.woocommerce ul.products li.product .added_to_cart {
    width: 100% !important;
    display: inline-block;
    text-align: center;
    margin-top: 14px;
}

/* tighten spacing inside grid cells */
.woocommerce ul.products li.product .product-card .price,
.woocommerce ul.products li.product .product-card .btn-buy {
    margin-left: 0;
}

@media (max-width: 1024px) {
    .woocommerce ul.products li.product .product-img img {
        max-height: 180px;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .woocommerce ul.products li.product .product-img img {
        max-height: 160px;
    }
}

/* Specific overrides for WooCommerce column classes (higher specificity) */
.woocommerce ul.products.columns-1 { grid-template-columns: repeat(1, 1fr) !important; }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr) !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(4, 1fr) !important; }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr) !important; }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(4, 1fr) !important; }

/* Ensure the products list clears any floated siblings (title) */
.woocommerce .related.products > ul.products,
.woocommerce .upsells.products > ul.products {
    clear: both;
    margin-top: 18px;
    width: 100%;
}

/* Force heading to occupy full width above the list */
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

@media (max-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== FINAL OVERRIDE: consistent 4-col product grid across all Woo pages ===== */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 40px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    content: none !important;
    display: none !important;
}

.woocommerce ul.products > li.product,
.woocommerce-page ul.products > li.product,
.woocommerce ul.products > div.product-card,
.woocommerce-page ul.products > div.product-card {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    margin: 0 !important;
    max-width: none !important;
    justify-self: stretch !important;
}

.woocommerce ul.products > li.product.first,
.woocommerce ul.products > li.product.last,
.woocommerce-page ul.products > li.product.first,
.woocommerce-page ul.products > li.product.last {
    clear: none !important;
    margin-right: 0 !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ===== SHOP ARCHIVE: stack product cards in one column ===== */
@media (max-width: 768px) {
    body.woocommerce-shop .woocommerce ul.products,
    body.post-type-archive-product .woocommerce ul.products,
    body.tax-product_cat .woocommerce ul.products,
    body.tax-product_tag .woocommerce ul.products,
    body.woocommerce-shop.woocommerce-page ul.products,
    body.post-type-archive-product.woocommerce-page ul.products,
    body.tax-product_cat.woocommerce-page ul.products,
    body.tax-product_tag.woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Reduce white gap below banner on shop/category/tag archives */
body.post-type-archive-product .product-showcase,
body.tax-product_cat .product-showcase,
body.tax-product_tag .product-showcase,
body.woocommerce-shop .product-showcase {
    padding-top: 32px;
}

/* ===== WOOCOMMERCE CART: same visual language as the theme ===== */
body.woocommerce-cart .page-content-wrapper,
body.woocommerce-checkout .page-content-wrapper,
body.woocommerce-account .page-content-wrapper {
    max-width: 1200px;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-account .woocommerce {
    color: #1a1a1a;
}

body.woocommerce-cart .woocommerce .cart,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

body.woocommerce-cart .woocommerce-cart-form {
    padding: 24px;
    margin-bottom: 24px;
}

body.woocommerce-cart .woocommerce table.shop_table {
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-cart .woocommerce table.shop_table td {
    border: none;
    border-bottom: 1px solid #efefef;
    padding: 16px 10px;
    vertical-align: middle;
}

body.woocommerce-cart .woocommerce table.shop_table thead th {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    color: #666666;
    font-weight: 600;
}

body.woocommerce-cart .woocommerce .product-name a,
body.woocommerce-cart .woocommerce .product-name {
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
}

body.woocommerce-cart .woocommerce .product-name a:hover {
    text-decoration: underline;
}

body.woocommerce-cart .woocommerce a.remove {
    color: #666666 !important;
    border-radius: 999px;
    transition: all 0.25s ease;
}

body.woocommerce-cart .woocommerce a.remove:hover {
    background: #1a1a1a;
    color: #ffffff !important;
}

body.woocommerce-cart .woocommerce .quantity .qty {
    min-height: 42px;
    border: 1px solid #1a1a1a;
    padding: 8px 10px;
    min-width: 70px;
}

body.woocommerce-cart .woocommerce .actions {
    padding-top: 20px;
}

body.woocommerce-cart .woocommerce .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

body.woocommerce-cart .woocommerce .coupon input.input-text {
    min-height: 44px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    padding: 10px 12px;
    min-width: 220px;
}

body.woocommerce-cart .woocommerce .button,
body.woocommerce-cart .woocommerce button.button,
body.woocommerce-cart .woocommerce input.button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 600;
    padding: 13px 20px;
    transition: all 0.3s ease;
}

body.woocommerce-cart .woocommerce .button:hover,
body.woocommerce-cart .woocommerce button.button:hover,
body.woocommerce-cart .woocommerce input.button:hover,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: #1a1a1a;
    color: #ffffff;
}

body.woocommerce-cart .cart-collaterals {
    padding: 24px;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
    float: none;
}

body.woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-size: clamp(1.15rem, 1.5vw, 1.45rem);
    font-weight: 500;
    margin-bottom: 14px;
    color: #1a1a1a;
}

body.woocommerce-cart .cart-collaterals .shop_table th,
body.woocommerce-cart .cart-collaterals .shop_table td {
    padding: 14px 8px;
}

body.woocommerce-cart .wc-proceed-to-checkout {
    padding-bottom: 0;
    margin-top: 10px;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    text-align: center;
    margin-bottom: 0;
}

body.woocommerce-cart .return-to-shop .button,
body.woocommerce-cart .cart-empty.woocommerce-info {
    margin-top: 10px;
}

@media (max-width: 768px) {
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals {
        padding: 14px;
        border-radius: 6px;
    }

    body.woocommerce-cart .woocommerce table.shop_table th,
    body.woocommerce-cart .woocommerce table.shop_table td {
        padding: 12px 8px;
    }

    body.woocommerce-cart .woocommerce .coupon {
        width: 100%;
        gap: 8px;
    }

    body.woocommerce-cart .woocommerce .coupon input.input-text,
    body.woocommerce-cart .woocommerce .coupon .button,
    body.woocommerce-cart .woocommerce .actions > .button,
    body.woocommerce-cart .woocommerce .actions button.button {
        width: 100%;
    }

    body.woocommerce-cart .woocommerce .button,
    body.woocommerce-cart .woocommerce button.button,
    body.woocommerce-cart .woocommerce input.button,
    body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
        padding: 12px 16px;
        letter-spacing: 0.1em;
    }
}

/* ===== WOOCOMMERCE CHECKOUT: same visual language as the theme ===== */
body.woocommerce-checkout .woocommerce-checkout {
    color: #1a1a1a;
}

body.woocommerce-checkout .woocommerce form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 24px;
    align-items: start;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-account-fields,
body.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout #customer_details > .col-2,
body.woocommerce-checkout #order_review,
body.woocommerce-checkout #order_review_heading {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

body.woocommerce-checkout #customer_details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.woocommerce-checkout #customer_details > .col-1,
body.woocommerce-checkout #customer_details > .col-2 {
    width: 100%;
    float: none;
    padding: 22px;
}

body.woocommerce-checkout #order_review_heading {
    margin: 0;
    padding: 18px 20px;
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    font-weight: 500;
    color: #1a1a1a;
}

body.woocommerce-checkout #order_review {
    padding: 20px;
}

body.woocommerce-checkout .woocommerce form .form-row label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666666;
    margin-bottom: 8px;
    font-weight: 600;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select,
body.woocommerce-checkout .select2-container--default .select2-selection--single {
    min-height: 46px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    background: #ffffff;
    color: #1a1a1a;
    padding: 10px 12px;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 8px;
}

body.woocommerce-checkout .woocommerce form .form-row textarea {
    min-height: 110px;
    padding-top: 12px;
}

body.woocommerce-checkout .woocommerce form .form-row .required {
    color: #1a1a1a;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
    border: none;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    border: none;
    border-bottom: 1px solid #efefef;
    padding: 14px 6px;
    color: #1a1a1a;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    color: #666666;
    font-weight: 600;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
}

body.woocommerce-checkout #payment {
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    margin-top: 14px;
}

body.woocommerce-checkout #payment div.payment_box {
    background: #ffffff;
    color: #555555;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.woocommerce-checkout #payment div.payment_box::before {
    border-bottom-color: #ffffff;
}

body.woocommerce-checkout .woocommerce #payment #place_order,
body.woocommerce-checkout .woocommerce-page #payment #place_order,
body.woocommerce-checkout .woocommerce button.button.alt,
body.woocommerce-checkout .woocommerce input.button.alt {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 600;
    padding: 14px 22px;
    transition: all 0.3s ease;
}

body.woocommerce-checkout .woocommerce #payment #place_order:hover,
body.woocommerce-checkout .woocommerce-page #payment #place_order:hover,
body.woocommerce-checkout .woocommerce button.button.alt:hover,
body.woocommerce-checkout .woocommerce input.button.alt:hover {
    background: #1a1a1a;
    color: #ffffff;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
    border-top: none;
    border-left: 3px solid #1a1a1a;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    color: #1a1a1a;
}

@media (max-width: 1024px) {
    body.woocommerce-checkout .woocommerce form.checkout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.woocommerce-checkout #customer_details > .col-1,
    body.woocommerce-checkout #customer_details > .col-2,
    body.woocommerce-checkout #order_review,
    body.woocommerce-checkout #order_review_heading {
        padding: 14px;
        border-radius: 6px;
    }

    body.woocommerce-checkout .woocommerce form .form-row {
        margin-bottom: 12px;
    }

    body.woocommerce-checkout .woocommerce form .form-row input.input-text,
    body.woocommerce-checkout .woocommerce form .form-row textarea,
    body.woocommerce-checkout .woocommerce form .form-row select,
    body.woocommerce-checkout .select2-container--default .select2-selection--single {
        min-height: 42px;
        font-size: 16px;
    }

    body.woocommerce-checkout .woocommerce #payment #place_order,
    body.woocommerce-checkout .woocommerce-page #payment #place_order {
        width: 100%;
        padding: 12px 16px;
        letter-spacing: 0.1em;
    }
}

/* ===== WOOCOMMERCE MY ACCOUNT: same visual language as the theme ===== */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 22px;
}

body.woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

body.woocommerce-account .woocommerce::before,
body.woocommerce-account .woocommerce::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 100%;
    float: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    border-bottom: 1px solid #efefef;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding: 14px 4px;
    transition: all 0.25s ease;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #1a1a1a;
    padding-left: 10px;
}

body.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
    float: none;
    color: #1a1a1a;
}

body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content legend {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 1.7vw, 1.5rem);
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 14px;
}

body.woocommerce-account .woocommerce-MyAccount-content p,
body.woocommerce-account .woocommerce-MyAccount-content li {
    color: #555555;
    line-height: 1.7;
}

body.woocommerce-account .woocommerce-MyAccount-content a {
    color: #1a1a1a;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table {
    border: none;
    border-collapse: separate;
    border-spacing: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
    border: none;
    border-bottom: 1px solid #efefef;
    padding: 14px 8px;
    vertical-align: middle;
}

body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.74rem;
    color: #666666;
    font-weight: 600;
}

body.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

body.woocommerce-account .woocommerce-Address {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    padding: 16px;
}

body.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

body.woocommerce-account .woocommerce-Address-title a {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: #1a1a1a;
}

body.woocommerce-account .woocommerce form .form-row label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666666;
    margin-bottom: 8px;
    font-weight: 600;
}

body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea,
body.woocommerce-account .woocommerce form .form-row select,
body.woocommerce-account .select2-container--default .select2-selection--single {
    min-height: 44px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    background: #ffffff;
    color: #1a1a1a;
    padding: 10px 12px;
}

body.woocommerce-account .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
}

body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content input.button,
body.woocommerce-account #customer_login .button,
body.woocommerce-account #customer_login button.button,
body.woocommerce-account #customer_login input.button {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    font-weight: 600;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content input.button:hover,
body.woocommerce-account #customer_login .button:hover,
body.woocommerce-account #customer_login button.button:hover,
body.woocommerce-account #customer_login input.button:hover {
    background: #1a1a1a;
    color: #ffffff;
}

body.woocommerce-account #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

body.woocommerce-account #customer_login::before,
body.woocommerce-account #customer_login::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    width: 100%;
    float: none;
    padding: 22px;
}

@media (max-width: 1024px) {
    body.woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 16px;
    }

    body.woocommerce-account #customer_login {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content,
    body.woocommerce-account #customer_login .u-column1,
    body.woocommerce-account #customer_login .u-column2 {
        padding: 14px;
        border-radius: 6px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 4px;
        font-size: 0.78rem;
    }

    body.woocommerce-account .woocommerce-MyAccount-content table.shop_table th,
    body.woocommerce-account .woocommerce-MyAccount-content table.shop_table td {
        padding: 12px 6px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content .button,
    body.woocommerce-account .woocommerce-MyAccount-content button.button,
    body.woocommerce-account .woocommerce-MyAccount-content input.button,
    body.woocommerce-account #customer_login .button,
    body.woocommerce-account #customer_login button.button,
    body.woocommerce-account #customer_login input.button {
        width: 100%;
        padding: 12px 16px;
        letter-spacing: 0.1em;
    }
}

/* ===== WOOCOMMERCE SINGLE PRODUCT: aligned with theme identity ===== */
.single-product-main {
    background: #ffffff;
}

.single-product-main .product-showcase.single-product {
    padding-top: 36px;
}

.single-product-main .single-product-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 42px;
    align-items: stretch;
}

.single-product-main .single-product-media {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    padding: 26px;
    aspect-ratio: auto;
    margin-bottom: 0;
    overflow: visible;
}

.single-product-main .single-product-media .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.single-product-main .single-product-media .woocommerce-product-gallery .flex-viewport {
    order: 1;
}

.single-product-main .single-product-media .woocommerce-product-gallery__trigger {
    display: none !important;
}

.single-product-main .single-product-media .woocommerce-product-gallery__wrapper,
.single-product-main .single-product-media .woocommerce-product-gallery__image {
    width: 100%;
}

.single-product-main .single-product-media .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 470px;
    border-radius: 8px;
    background: #f8f8f8;
    padding: 16px;
    pointer-events: none;
    cursor: default;
}

.single-product-main .single-product-media img {
    width: 100%;
    height: auto !important;
    max-height: 560px;
    object-fit: contain;
}

.single-product-main .single-product-media .woocommerce-product-gallery__image img {
    width: auto;
    max-width: 100%;
    max-height: 520px !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.single-product-main .single-product-media .flex-control-thumbs {
    order: 2;
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
}

.single-product-main .single-product-media .flex-control-thumbs li {
    width: 100%;
}

.single-product-main .single-product-media .flex-control-thumbs img {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    background: #f8f8f8;
    padding: 4px;
    height: 86px;
    object-fit: contain;
    opacity: .88;
    cursor: pointer;
}

.single-product-main .single-product-media .flex-control-thumbs img:hover,
.single-product-main .single-product-media .flex-control-thumbs .flex-active {
    opacity: 1;
    border-color: rgba(0, 0, 0, 0.25);
}

.single-product-main .single-product-summary-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    padding: 30px;
    text-align: left;
}

.single-product-main .single-product-summary-card .single-product-banner {
    width: 100%;
    min-height: 120px;
    max-height: 220px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    background: #f8f8f8;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.single-product-main .single-product-summary-card .single-product-banner-image {
    width: 100%;
    height: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}

.single-product-main .single-product-summary-card .single-product-banner-placeholder {
    color: #8a8a8a;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single-product-main .single-product-summary-card .woocommerce-product-rating {
    margin-bottom: 10px;
}

.single-product-main .single-product-summary-card .product_title {
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    line-height: 1.15;
    margin-bottom: 14px;
    color: #1a1a1a;
    text-transform: none;
}

.single-product-main .single-product-summary-card .price,
.single-product-main .single-product-summary-card .price .amount {
    color: #1a1a1a;
    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.single-product-main .single-product-summary-card .price del {
    opacity: .55;
    margin-right: 8px;
}

.single-product-main .single-product-summary-card .price ins {
    text-decoration: none;
}

.single-product-main .single-product-summary-card .woocommerce-product-details__short-description {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 18px;
}

.single-product-main .single-product-summary-card form.cart {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.single-product-main .single-product-summary-card .quantity .qty {
    min-height: 46px;
    border: 1px solid #1a1a1a;
    padding: 8px 10px;
    min-width: 74px;
}

.single-product-main .single-product-summary-card .single_add_to_cart_button,
.single-product-main .single-product-summary-card .button.alt {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    padding: 14px 28px;
    transition: all .3s ease;
    min-height: 46px;
}

.single-product-main .single-product-summary-card .single_add_to_cart_button:hover,
.single-product-main .single-product-summary-card .button.alt:hover {
    background: #1a1a1a;
    color: #ffffff;
}

.single-product-main .single-product-summary-card .product_meta {
    margin-top: 18px;
    color: #666666;
    font-size: 0.92rem;
    line-height: 1.7;
}

.single-product-main .single-product-summary-card .product_meta a {
    color: #1a1a1a;
    text-decoration: none;
}

.single-product-main .single-product-summary-card .product_meta a:hover {
    text-decoration: underline;
}

.single-product-main .product-tabs {
    margin-top: 34px;
}

.single-product-main .woocommerce-tabs,
.single-product-main .related.products,
.single-product-main .upsells.products {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    padding: 28px !important;
}

.single-product-main .related.products > h2,
.single-product-main .upsells.products > h2 {
    margin-bottom: 18px;
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
    font-weight: 500;
    color: #1a1a1a;
}

.single-product-main .related.products,
.single-product-main .upsells.products {
    margin-top: 28px;
    margin-bottom: 18px;
    padding: 24px !important;
    overflow-x: hidden;
}

.single-product-main .related.products ul.products,
.single-product-main .upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 18px !important;
    margin-top: 10px !important;
}

.single-product-main .related.products ul.products>li.product,
.single-product-main .upsells.products ul.products>li.product {
    align-self: stretch;
    min-width: 0;
}

/* Refino visual dos cards relacionados */
.single-product-main .related.products ul.products li.product.product-card,
.single-product-main .upsells.products ul.products li.product.product-card {
    padding: 14px;
    border-radius: 10px;
    border: none !important;
}

.single-product-main .related.products ul.products li.product .product-img,
.single-product-main .upsells.products ul.products li.product .product-img {
    aspect-ratio: 15 / 8;
    min-height: 128px;
    margin-bottom: 10px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
}

.single-product-main .related.products ul.products li.product .product-img img,
.single-product-main .upsells.products ul.products li.product .product-img img {
    max-width: 90%;
    max-height: 142px;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: scale(1.02);
}

.single-product-main .related.products ul.products li.product:hover .product-img img,
.single-product-main .upsells.products ul.products li.product:hover .product-img img {
    transform: scale(1.02);
}

.single-product-main .related.products ul.products li.product .product-info,
.single-product-main .upsells.products ul.products li.product .product-info {
    padding-top: 0;
}

.single-product-main .related.products ul.products li.product .product-info h3,
.single-product-main .upsells.products ul.products li.product .product-info h3 {
    line-clamp: 2;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-product-main .related.products ul.products li.product .price,
.single-product-main .upsells.products ul.products li.product .price {
    font-size: 1.05rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 6px;
}

.single-product-main .related.products ul.products li.product .btn-buy,
.single-product-main .upsells.products ul.products li.product .btn-buy {
    width: 82% !important;
    margin-top: 8px;
    min-height: 40px;
    padding: 10px 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
}

@media (max-width: 1366px) {
    .single-product-main .related.products ul.products,
    .single-product-main .upsells.products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1024px) {
    .single-product-main .related.products ul.products,
    .single-product-main .upsells.products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .single-product-main .related.products,
    .single-product-main .upsells.products {
        padding: 20px 16px;
    }
}

.single-product-main .woocommerce-tabs ul.tabs {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #e9e9e9;
}

.single-product-main .woocommerce-tabs ul.tabs li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0 0 10px;
}

.single-product-main .woocommerce-tabs ul.tabs li::marker {
    content: '';
}

.single-product-main .woocommerce-tabs ul.tabs li::before,
.single-product-main .woocommerce-tabs ul.tabs li::after {
    content: none !important;
    display: none !important;
}

.single-product-main .woocommerce-tabs ul.tabs li a {
    color: #1a1a1a !important;
    font-weight: 600;
    font-size: clamp(1.25rem, 1.8vw, 1.75rem);
    line-height: 1.25;
    text-decoration: none !important;
}

.single-product-main .woocommerce-tabs ul.tabs li.active a {
    color: #1a1a1a !important;
    text-decoration: none !important;
}

.single-product-main .woocommerce-tabs .panel {
    margin-top: 14px;
    color: #555555;
    line-height: 1.75;
}

@media (max-width: 1024px) {
    .single-product-main .single-product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .single-product-main .single-product-media img {
        max-height: 440px;
    }

    .single-product-main .single-product-media .woocommerce-product-gallery__image a {
        min-height: 380px;
    }

    .single-product-main .single-product-summary-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .single-product-main .single-product-media,
    .single-product-main .single-product-summary-card,
    .single-product-main .woocommerce-tabs,
    .single-product-main .related.products,
    .single-product-main .upsells.products {
        padding: 18px;
    }

    .single-product-main .related.products,
    .single-product-main .upsells.products {
        margin-top: 22px;
        margin-bottom: 14px;
    }

    .single-product-main .single-product-summary-card .product_title {
        font-size: 1.3rem;
    }

    .single-product-main .woocommerce-tabs ul.tabs li a {
        font-size: 1.15rem;
    }

    .single-product-main .single-product-summary-card .single-product-banner {
        min-height: 96px;
        max-height: 160px;
        margin-bottom: 14px;
    }

    .single-product-main .related.products ul.products,
    .single-product-main .upsells.products ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .single-product-main .related.products ul.products li.product .product-img,
    .single-product-main .upsells.products ul.products li.product .product-img {
        min-height: 150px;
    }

    .single-product-main .single-product-summary-card form.cart {
        gap: 8px;
    }

    .single-product-main .single-product-summary-card .single_add_to_cart_button,
    .single-product-main .single-product-summary-card .button.alt {
        width: 100%;
    }

    .single-product-main .single-product-media .flex-control-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .single-product-main .single-product-media .woocommerce-product-gallery__image a {
        min-height: 280px;
        padding: 10px;
    }

    .single-product-main .single-product-media .flex-control-thumbs img {
        height: 68px;
    }
}

/* ===== COMPREHENSIVE RESPONSIVE OVERRIDES ===== */
/* Consolidated breakpoints to guarantee full responsiveness across all pages */

/* --- Tablet landscape (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .product-showcase {
        padding: 70px 30px;
    }

    .categories-nav {
        font-size: clamp(1.6rem, 4vw, 2.5rem);
    }

    .hero-product-card {
        width: clamp(280px, 28vw, 350px);
        min-height: 180px;
    }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    /* Header: scrolled state must also reduce padding */
    .main-header.scrolled {
        padding: 15px 20px;
    }

    /* Categories nav: scale down from 3rem */
    .categories-nav {
        font-size: clamp(1.2rem, 5vw, 2rem);
        margin: 40px 0 0 0;
    }

    /* Disable hover letter-spacing expansion (causes overflow on touch) */
    .text-animado:hover {
        letter-spacing: 3px;
    }

    /* Split section: remove max-height so stacked content isn't clipped */
    .split-section {
        max-height: none;
    }

    .split-image-container {
        max-height: none;
    }

    /* Product showcase: reduce padding */
    .product-showcase {
        padding: 50px 20px;
    }

    /* Section titles: reduce spacing */
    .section-title {
        margin-bottom: 24px;
    }

    .section-title h2 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        letter-spacing: 1.5px;
    }

    /* Home product cards */
    #produtos .product-card {
        padding: 18px;
    }

    /* General buy button: reduce size */
    .btn-buy {
        padding: 12px 28px;
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .product-card .btn-buy {
        width: 80%;
    }

    /* Footer: reduce padding */
    .main-footer {
        padding: 40px 20px 30px;
    }

    .footer-bottom {
        padding-top: 20px;
    }

    /* Gallery text heading */
    .gallery-text h2 {
        font-size: clamp(1.4rem, 4vw, 2rem);
    }

    /* Mobile nav: inner ul needs column direction for wp_nav_menu */
    body > .nav-links.side-links ul.primary-menu {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    body > .nav-links.side-links ul.primary-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    body > .nav-links.side-links ul.primary-menu li a {
        display: block;
        width: 100%;
    }

    /* Single product page: reduce showcase wrapper padding */
    .single-product-main .product-showcase.single-product {
        padding: 0 16px 40px;
    }

    /* Ensure WooCommerce images never overflow */
    .woocommerce ul.products li.product .product-img img {
        max-width: 100%;
    }

    /* Page body images */
    .page-body img {
        max-width: 100%;
        height: auto;
    }
}

/* --- Small mobile (max-width: 480px) --- */
@media (max-width: 480px) {
    /* Header: tighter padding */
    .main-header {
        padding: 12px 16px;
    }

    .main-header.scrolled {
        padding: 12px 16px;
    }

    /* Logo: smaller */
    .main-header .logo-nav {
        max-width: 120px;
        max-height: 48px;
    }

    /* Hero section: shorter */
    .hero-section {
        height: 75vh;
    }

    .hero-product-card {
        width: min(88vw, 320px);
        min-height: auto;
        max-height: 65vh;
        padding: 16px 14px;
    }

    .hero-product-image-wrapper {
        min-height: 100px;
        max-height: 30vh;
    }

    .hero-product-image {
        width: min(50vw, 170px);
        max-height: 150px;
    }

    .hero-product-btn {
        padding: 10px 14px;
        font-size: 11px;
    }

    /* Categories nav: compact */
    .categories-nav {
        font-size: clamp(1rem, 5vw, 1.5rem);
        margin: 24px 0 0 0;
    }

    .text-animado {
        letter-spacing: 1px;
    }

    .text-animado:hover {
        letter-spacing: 2px;
    }

    /* Split section: tighter padding */
    .split-content {
        padding: 28px 18px;
        font-size: 0.95rem;
    }

    .split-image-container {
        min-height: 220px;
    }

    /* Product showcase */
    .product-showcase {
        padding: 40px 14px;
    }

    #produtos .product-card {
        padding: 14px;
    }

    /* Gallery section */
    .gallery-section {
        padding: 40px 14px;
    }

    .gallery-text h2 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    /* Footer */
    .main-footer {
        padding: 30px 16px 20px;
    }

    .footer-col h4 {
        font-size: 13px;
    }

    /* Page templates */
    .page-content-section {
        padding: 40px 16px;
    }

    .page-contact-section {
        padding: 40px 16px;
    }

    .page-banner-wrapper {
        height: 160px;
    }

    .page-banner-image {
        object-position: center center;
    }

    .page-banner-fallback {
        min-height: 160px;
    }

    .page-banner-fallback .page-banner-wrapper {
        height: 160px;
    }

    .page-banner-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .page-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .contact-info {
        padding: 24px 18px;
    }

    .contact-form h3,
    .contact-info h3 {
        font-size: 1.2rem;
    }

    /* Partners logos */
    .partners-section {
        padding: 30px 14px;
    }

    /* Nav menu mobile - smaller text */
    body > .nav-links.side-links.active a {
        font-size: 18px;
        padding: 16px 20px;
    }

    /* Buttons: compact */
    .btn-buy {
        padding: 10px 22px;
        font-size: 11px;
    }

    .product-card .btn-buy {
        width: 90%;
    }

    /* Single product: extra padding reduction */
    .single-product-main .product-showcase.single-product {
        padding: 0 10px 30px;
    }

    .single-product-main .single-product-media,
    .single-product-main .single-product-summary-card {
        padding: 14px;
    }

    .single-product-main .related.products,
    .single-product-main .upsells.products {
        padding: 14px !important;
    }

    .single-product-main .woocommerce-tabs {
        padding: 14px !important;
    }

    .single-product-main .single-product-media .woocommerce-product-gallery__image a {
        min-height: 220px;
        padding: 8px;
    }

    .single-product-main .single-product-media .flex-control-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .single-product-main .single-product-media .flex-control-thumbs img {
        height: 56px;
    }

    .single-product-main .single-product-summary-card .product_title {
        font-size: 1.15rem;
    }

    .single-product-main .single-product-summary-card .single-product-banner {
        min-height: 80px;
        max-height: 130px;
    }

    .single-product-main .related.products > h2,
    .single-product-main .upsells.products > h2 {
        font-size: 1.1rem;
    }

    .single-product-main .woocommerce-tabs ul.tabs li a {
        font-size: 1rem;
    }
}

/* --- Extra small (max-width: 360px) --- iPhone SE, Galaxy Fold --- */
@media (max-width: 360px) {
    .main-header {
        padding: 10px 12px;
    }

    .main-header.scrolled {
        padding: 10px 12px;
    }

    .main-header .logo-nav {
        max-width: 100px;
        max-height: 40px;
    }

    .hero-section {
        height: 70vh;
    }

    .hero-product-card {
        width: 92vw;
        min-height: auto;
        max-height: 62vh;
        padding: 12px 10px;
    }

    .hero-product-title {
        font-size: 1rem;
    }

    .hero-product-price {
        font-size: 0.78rem;
    }

    .categories-nav {
        font-size: 1rem;
        margin: 20px 0 0 0;
    }

    .product-showcase {
        padding: 30px 10px;
    }

    #produtos .product-card {
        padding: 12px;
    }

    .gallery-section {
        padding: 30px 10px;
    }

    .main-footer {
        padding: 24px 12px 16px;
    }

    .page-content-section {
        padding: 30px 12px;
    }

    .page-banner-wrapper {
        height: 160px;
    }

    .single-product-main .product-showcase.single-product {
        padding: 0 8px 24px;
    }

    .single-product-main .single-product-media,
    .single-product-main .single-product-summary-card {
        padding: 10px;
    }

    .single-product-main .related.products,
    .single-product-main .upsells.products,
    .single-product-main .woocommerce-tabs {
        padding: 10px !important;
    }

    body > .nav-links.side-links.active a {
        font-size: 16px;
        padding: 14px 16px;
    }
}

/* ===== UTILITY: prevent horizontal overflow globally ===== */
img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* WooCommerce tables responsive */
@media (max-width: 768px) {
    .woocommerce table.shop_table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
