/* Main Aesthetic Styles */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-justify {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Header */
.site-header {
    background-color: var(--header-bg);
}

.top-bar {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    /* Increased for better readability */
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.top-bar a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.7;
}

.instagram-link {
    margin-left: 15px;
    font-size: 14px;
    vertical-align: middle;
}

.top-bar-right i {
    margin-right: 5px;
}

.main-header {
    padding: 20px 0;
}

.header-logo img {
    height: 60px;
    /* Adjust based on logo proportions */
}

.header-search {
    flex-grow: 1;
    margin: 0 40px;
}

.search-form {
    position: relative;
    display: flex;
}

.search-field {
    width: 100%;
    padding: 12px 25px;
    border-radius: 30px;
    border: 1px solid rgba(0,0,0,0.1);
    outline: none;
    font-size: 14px;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border: none;
    background: transparent;
    color: #999;
    cursor: pointer;
}

.header-tools {
    display: flex;
    gap: 20px;
    color: var(--text-color);
}

.tool-item a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    cursor: pointer;
    text-align: center;
}

.tool-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.cart-item {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: 5px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

/* Navigation */
.main-navigation {
    padding-bottom: 10px;
}

/* Target both our custom class and any UL inside navigation */
.main-navigation ul,
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a,
.nav-menu li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    transition: opacity 0.3s;
}

.main-navigation ul li a:hover,
.nav-menu li a:hover,
.main-navigation ul li.current-menu-item>a,
.main-navigation ul li.current-page-item>a {
    opacity: 0.7;
    border-bottom: 2px solid var(--text-color);
}

/* Sub-menu active state */
.main-navigation ul.sub-menu li.current-menu-item a {
    color: var(--primary-color);
    background: #f9f9f9;
}

/* Indicators for menus with children */
.main-navigation ul li.menu-item-has-children>a:after {
    content: '\f107';
    /* FontAwesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    font-size: 10px;
}

.main-navigation ul li a:hover,
.nav-menu li a:hover {
    opacity: 0.7;
}

/* Sub-menu (Dropdown) Styling */
.main-navigation ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 15px 0;
    border-radius: 8px;
}

.main-navigation ul.sub-menu li {
    width: 100%;
}

.main-navigation ul.sub-menu li a {
    color: #333;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    border-bottom: 1px solid #f0f0f0;
}

.main-navigation ul.sub-menu li:last-child a {
    border-bottom: none;
}

.main-navigation ul.sub-menu li a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
    opacity: 1;
}

/* Show sub-menu on hover */
.main-navigation ul li:hover>.sub-menu {
    display: flex;
}

/* Support for 3rd level menus if needed */
.main-navigation ul.sub-menu li {
    position: relative;
}

.main-navigation ul.sub-menu ul.sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-top: -15px;
    margin-left: 0;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none; /* Changed from display: flex to prevent overlap */
    transition: opacity 0.8s ease;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    display: flex; /* Only flex when active */
    z-index: 2;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.tramei-hero-text {
    text-align: center;
    max-width: 900px;
    margin: 100px auto 0;
    z-index: 10;
    position: relative;
}

.tramei-hero-text h2 {
    font-size: 64px;
    margin: 0 0 20px 0;
    font-weight: 600;
    line-height: 1.1;
    position: relative;
    text-shadow: none !important; /* Remove any accidental shadows */
}

.tramei-hero-text h2::before,
.tramei-hero-text h2::after {
    display: none !important; /* Ensure no pseudo-element duplication */
}

.tramei-hero-text h2 em {
    font-family: serif;
    font-style: italic;
}

.tramei-hero-text p {
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 10px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-block;
    padding: 16px 45px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 40px;
    transition: all 0.3s ease;
    border: none;
}

.hero-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    background: #923f12;
    color: #fff;
}

.hero-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.hero-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.hero-nav .prev {
    left: 20px;
}

.hero-nav .next {
    right: 20px;
}

.hero-nav button:hover {
    background: #fff;
    color: var(--primary-color);
}

/* Info Banners Refinement */
.info-banners-wrapper {
    background-color: #ededed;
    padding: 50px 0;
}

.info-banners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid #6A3A9B;
    border-radius: 50%;
    color: #6A3A9B;
    aspect-ratio: 1 / 1;
    transition: all 0.3s ease;
}

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

.info-text {
    display: flex;
    flex-direction: column;
}

.info-text strong {
    font-size: 15px;
    color: #6A3A9B;
    font-weight: 700;
}

.info-text span {
    font-size: 13px;
    color: #666;
}

/* Featured Products (Destaques) */
.featured-products {
    padding: 80px 0;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    /* White background for the subtle border effect */
    border: 1px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    /* Extremely subtle shadow */
}

.product-image {
    position: relative;
    padding-top: 120%;
    /* Increased height to allow 20% larger images */
    background: #fdfdfd;
    overflow: hidden;
}

.product-image img,
.product-image .attachment-woocommerce_thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0;
    /* Removed padding to maximize image area and ensure consistency */
    transition: transform 0.5s ease, opacity 0.3s ease;
}

/* Secondary image on hover */
.product-image .secondary-image {
    opacity: 0;
    z-index: 1;
}

.product-card:hover .product-image img:not(.secondary-image) {
    transform: scale(1.1);
    opacity: 0;
}

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

.product-actions {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 5;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.add-to-cart,
.quick-view {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 10px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.add-to-cart {
    background: #555;
    color: #fff;
    border-color: #555;
}

.add-to-cart:hover {
    background: #333;
    border-color: #333;
}

.quick-view {
    background: #fff;
    color: #555;
    border-color: #555;
}


.quick-view:hover {
    background: #f9f9f9;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-title {
    font-size: 16px !important;
    color: #333;
    font-weight: 400 !important;
    margin: 0 0 10px 0;
    line-height: 1.4;
    height: auto;
    text-align: center;
}

.product-title a {
    color: #333;
    text-decoration: none;
    /* Removed underline */
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
}

.woocommerce-Price-amount,
.product-price .price-new {
    color: var(--primary-color);
    font-size: 20px;
    /* Reduced from 24px as requested */
    font-weight: 700;
}

.product-installments {
    font-size: 12px;
    color: #666;
}

.product-installments strong {
    color: #6A3A9B;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    padding: 30px 20px;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.mobile-sidebar-overlay.active {
    display: block;
}

.close-sidebar {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #333;
    font-size: 24px;
    transition: color 0.3s;
}

.close-sidebar:hover {
    color: var(--primary-color);
}

.mobile-sidebar h3 {
    color: var(--primary-color);
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-top: 0;
    font-size: 18px;
}

.mobile-sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.mobile-sidebar ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

/* Mobile Sub-menu Styling */
.mobile-sidebar ul.sub-menu {
    margin-top: 10px;
    margin-left: 15px;
    border-left: 2px solid #eee;
    padding-left: 15px;
    display: block;
    /* Always visible or could be toggled with JS */
}

.mobile-sidebar ul.sub-menu li {
    padding: 8px 0;
    border-bottom: none;
}

.mobile-sidebar ul.sub-menu li a {
    font-size: 13px;
    font-weight: 400;
}

/* Mobile Responsiveness */
.mobile-header-active {
    display: none;
    padding: 15px 0;
    width: 100%;
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hamburger-menu {
    cursor: pointer;
    color: var(--text-color);
}

@media (max-width: 991px) {

    .main-header,
    .main-navigation,
    .top-bar {
        display: none !important;
    }

    .mobile-header-active {
        display: block;
    }

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

    .mobile-logo img {
        height: 40px;
    }

    .hero-slider {
        height: 400px;
    }

    .tramei-hero-text h2 {
        font-size: 30px;
    }

    .tramei-hero-text p {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .info-banners {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 40px 20px;
    }

    .info-item {
        justify-content: center;
    }

    .info-icon {
        width: 52px;
        height: 52px;
        border-width: 1px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile as requested */
        gap: 30px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* WooCommerce Basic Refinements */
.woocommerce-Price-amount {
    color: var(--primary-color);
    font-weight: 700;
}

.woocommerce-loop-product__title {
    font-size: 15px !important;
    color: #6A3A9B !important;
    text-align: center;
}

.woocommerce .button.alt {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 12px 30px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 12px;
}

.woocommerce .button.alt:hover {
    background-color: #923f12 !important;
}

/* Footer Styling */
.site-footer {
    background-color: #f4f4f4;
    padding: 60px 0 30px;
    margin-top: 80px;
    color: #333;
}

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

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-column ul li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-links a {
    font-size: 20px;
    color: #333;
    margin-right: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 13px;
    color: #888;
}

@media (max-width: 768px) {}

/* Quick View Lightbox - Final Refined Minimalist */
.quick-view-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: zoom-out;
}

.lightbox-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
}

body.lightbox-open {
    overflow: hidden !important;
}

.lightbox-notice {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff9e6;
    border: 1px solid #ffe699;
    color: #856404;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2010;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: auto;
    max-width: 90%;
}

.notice-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.notice-text strong {
    font-size: 15px;
    display: block;
    margin-bottom: 2px;
}

.notice-text a {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.lightbox-product-title {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.lightbox-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 100px;
}

.lightbox-featured-image {
    max-width: 100%;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.nav-lightbox {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.03);
    color: #333;
    border: none;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2020;
    transition: all 0.3s;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-lightbox:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: translateY(-50%) scale(1.1);
}

.prev-lightbox {
    left: 30px;
}

.next-lightbox {
    right: 30px;
}

.lightbox-thumbnails {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    z-index: 2010;
}

.lightbox-thumb {
    width: 80px;
    height: 80px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid #f0f0f0;
    transition: all 0.3s;
    flex-shrink: 0;
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-lightbox {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 40px;
    cursor: pointer;
    color: #333;
    z-index: 2030;
    transition: all 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 50%;
}

.close-lightbox:hover {
    background: #eee;
    transform: rotate(90deg);
}

/* B2B Banner Section */
.b2b-banner-section {
    background-color: #6A3A9B; /* Elegant dark blue/grey for contrast */
    background-image: linear-gradient(135deg, #6A3A9B 0%, #1a252f 100%);
    padding: 100px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.b2b-banner-section::before {
    content: "TRAMEI";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 200px;
    font-weight: 900;
    opacity: 0.03;
    letter-spacing: 20px;
    pointer-events: none;
}

.b2b-banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.b2b-banner-section .section-label {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 12px;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color);
    font-weight: 600;
}

.b2b-banner-section h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.b2b-banner-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.6;
}

.btn-b2b-banner {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-b2b-banner:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Instagram Section */
.instagram-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.instagram-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 34px;
    font-weight: 700;
    color: #6A3A9B;
    margin-bottom: 10px;
}

.instagram-handle i {
    font-size: 30px;
}

.instagram-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 35px;
}

.btn-instagram {
    display: inline-block;
    padding: 14px 45px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}

.btn-instagram:hover {
    background-color: var(--primary-color);
    color: #fff;
}

@media (max-width: 768px) {
    .newsletter-section h2 {
        font-size: 28px;
    }

    .instagram-handle {
        font-size: 26px;
    }

    .lightbox-container {
        padding: 20px;
        width: 95%;
    }

    .prev-lightbox {
        left: 5px;
    }

    .next-lightbox {
        right: 5px;
    }

    .nav-lightbox {
        background: rgba(255, 255, 255, 0.9);
        width: 35px;
        height: 35px;
    }

    .lightbox-notice {
        font-size: 12px;
        padding: 10px;
    }

    .hero-slider {
        height: 500px;
    }

    .tramei-hero-text {
        padding: 0 20px;
        margin-top: 50px;
        max-width: 100%;
    }

    .tramei-hero-text h2 {
        font-size: 32px !important;
        margin-bottom: 15px !important;
    }

    .tramei-hero-text p {
        font-size: 14px !important;
        letter-spacing: 1px !important;
        line-height: 1.4 !important;
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 14px;
        margin-top: 20px;
    }
}

/* AJAX Add to Cart Feedback Animations */
@keyframes cart-bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
        color: var(--primary-color);
    }

    100% {
        transform: scale(1);
    }
}

.cart-bounce {
    animation: cart-bounce 0.6s ease !important;
}

.add-to-cart.added-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: #fff !important;
    pointer-events: none;
}

/* Shop Page Refinements */
.woocommerce-products-header {
    margin-bottom: 40px;
    text-align: center;
}

.shop-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-result-count {
    margin: 0 !important;
    font-size: 14px;
    color: #666;
    float: none !important;
    width: auto !important;
}

.woocommerce-ordering {
    margin: 0 0 50px 0 !important;
    float: none !important;
    width: auto !important;
}

.woocommerce-ordering select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 40px 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: all 0.3s;
}

.woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 58, 155, 0.1);
}

.woocommerce-pagination {
    margin-top: 50px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.woocommerce-pagination ul li {
    margin: 0;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none !important;
    text-decoration: none;
    color: #fff !important;
    background: #e0e0e0;
    font-size: 14px;
    transition: all 0.3s;
}

.woocommerce-pagination ul li span.current,
.woocommerce-pagination ul li a:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    border: none !important;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .shop-controls-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Shop Layout & Sidebar */
.shop-layout {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    align-items: flex-start;
    max-width: 100%;
}

.shop-sidebar {
    width: 260px;
    flex-shrink: 0;
    padding: 0;
}

.shop-sidebar .widget {
    margin-bottom: 40px;
}

.shop-sidebar .widget-title {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: block;
}

.shop-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
}

.shop-sidebar ul li a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
}

.shop-sidebar ul li a:hover {
    color: var(--primary-color);
}

.shop-content-area {
    flex-grow: 1;
    min-width: 0;
}

@media (max-width: 992px) {
    .shop-layout {
        flex-direction: column;
    }
    .shop-sidebar {
        width: 100%;
        order: 2;
    }
}

/* Premium WooCommerce Sidebar Widgets */
.widget_price_filter .price_slider_wrapper .ui-widget-content {
    background: #eee;
    height: 4px;
    border: none;
    margin-bottom: 25px;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: var(--primary-color);
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--primary-color);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    top: -6px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.widget_price_filter .price_slider_amount {
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_price_filter .price_slider_amount .button {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Attributes / Layered Nav */
.widget_layered_nav ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget_layered_nav ul li .count {
    font-size: 11px;
    color: #999;
    background: #f5f5f5;
    padding: 2px 8px;
    border-radius: 10px;
}

.widget_layered_nav_filters ul li {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.widget_layered_nav_filters ul li a {
    background: var(--secondary-color);
    color: #fff !important;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.widget_layered_nav_filters ul li a::before {
    content: "×";
    margin-right: 5px;
    font-weight: bold;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s;
}

@media (max-width: 992px) {
    .shop-layout {
        display: flex;
        flex-direction: column;
    }

    .mobile-filter-toggle {
        display: flex;
        max-width: 300px;
        margin: 0 auto 30px auto;
        order: 1;
    }
    
    .shop-sidebar {
        display: none; /* Hidden by default on mobile */
        width: 100% !important;
        background: #fff;
        padding: 20px;
        border: 1px solid #eee;
        border-radius: 8px;
        margin-bottom: 30px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        flex-shrink: 1 !important;
        text-align: left;
        order: 2;
    }
    
    .shop-sidebar.active {
        display: block; /* Shown when toggled */
        animation: fadeIn 0.3s ease;
    }

    .shop-content-area {
        padding: 0 !important;
        order: 3;
    }
    
    .woocommerce-ordering {
        margin-bottom: 30px !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        justify-items: center;
    }
    
    .product-card {
        margin: 0 auto;
        width: 100%;
        max-width: 340px; /* Limit width for 1-column mobile to avoid excessive stretching */
    }

    .product-card .img-container {
        height: auto !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 993px) {
    .single-product-wrapper .product { 
        display: flex; 
        flex-wrap: wrap; 
        gap: 40px; 
        align-items: flex-start; 
    } 
    .single-product-wrapper .woocommerce-product-gallery { 
        flex: 0 0 55%; 
        max-width: 55%; 
        float: none !important; 
        margin: 0 !important;
        opacity: 1 !important; /* Ensure visibility if JS is slow */
    } 
    .single-product-wrapper .summary { 
        flex: 0 0 38%; 
        max-width: 38%; 
        float: none !important; 
        margin: 0 !important; 
    }
    .woocommerce-tabs, 
    .related.products {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Fix for gallery layout */
.woocommerce-product-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

.single-product .product_title { 
    font-size: 32px !important; 
    margin-bottom: 20px !important; 
    color: #6A3A9B !important; 
} 

.single-product .price { 
    font-size: 28px !important; 
    color: var(--primary-color) !important; 
    margin-bottom: 5px !important; 
    display: block; 
} 

.single-product .woocommerce-product-details__short-description { 
    margin: 30px 0; 
    line-height: 1.8; 
    color: #666; 
} 

.single-product .cart { 
    margin-top: 40px; 
    display: flex; 
    flex-wrap: wrap;
    align-items: center; 
    gap: 20px; 
} 

.single-product .quantity input { 
    padding: 12px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    width: 60px; 
    text-align: center; 
} 

.single-product .single_add_to_cart_button { 
    background-color: var(--primary-color) !important; 
    color: #fff !important; 
    padding: 15px 40px !important; 
    border-radius: 50px !important; 
    font-weight: 600 !important; 
    text-transform: uppercase; 
    border: none !important; 
    cursor: pointer; 
    transition: all 0.3s; 
} 

.single-product .single_add_to_cart_button:hover { 
    background-color: #923f12 !important; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
} 

.woocommerce-tabs { 
    margin-top: 60px; 
    border-top: 1px solid #eee; 
    padding-top: 40px; 
    width: 100%;
} 

.woocommerce-tabs ul.tabs { 
    display: flex; 
    justify-content: flex-start; 
    gap: 40px; 
    list-style: none; 
    padding: 0; 
    border: none !important; 
    margin-bottom: 40px; 
    border-bottom: 1px solid #eee !important;
} 

.woocommerce-tabs ul.tabs li { 
    padding: 15px 0; 
    position: relative; 
} 

.woocommerce-tabs ul.tabs li.active a { 
    color: var(--primary-color); 
} 

.woocommerce-tabs ul.tabs li.active::after { 
    content: ''; 
    position: absolute; 
    bottom: -1px; 
    left: 0; 
    width: 100%; 
    height: 2px; 
    background: var(--primary-color); 
} 

.woocommerce-tabs ul.tabs li a { 
    text-decoration: none; 
    color: #666; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 14px; 
} 

.related.products { 
    margin-top: 80px; 
    width: 100%;
} 

.related.products h2 { 
    text-align: left; 
    margin-bottom: 40px; 
    font-size: 24px; 
}

/* Variations Styling */ 
.variations { 
    width: 100%; 
    border-collapse: collapse; 
    margin-bottom: 30px; 
} 

.variations td { 
    padding: 15px 0 !important; 
    border: none !important; 
    vertical-align: middle; 
} 

.variations .label { 
    width: 100px; 
    color: #6A3A9B; 
    font-weight: 600; 
    text-transform: uppercase; 
    font-size: 13px; 
} 

.variations select { 
    appearance: none; 
    -webkit-appearance: none; 
    background-color: #f9f9f9; 
    border: 1px solid #e0e0e0; 
    padding: 12px 20px; 
    border-radius: 8px; 
    font-size: 14px; 
    color: #333; 
    cursor: pointer; 
    min-width: 200px; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 15px center; 
} 

.reset_variations { 
    font-size: 11px !important; 
    text-transform: uppercase !important; 
    color: #999 !important; 
    text-decoration: none !important; 
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
    margin-left: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
} 

.reset_variations:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color);
}

/* Product Meta */ 
.product_meta { 
    margin-top: 40px; 
    padding-top: 30px; 
    border-top: 1px solid #f0f0f0; 
    font-size: 13px; 
    color: #888; 
} 

.product_meta > span { 
    display: block; 
    margin-bottom: 5px;
} 

.product_meta a { 
    color: #666; 
    text-decoration: none; 
} 

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

/* Lightbox Trigger */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}
/* Cart Page Modernization */
.woocommerce-cart .shop_table.cart {
    border-collapse: separate;
    border-spacing: 0 15px;
    width: 100%;
    border: none !important;
}

.woocommerce-cart .shop_table.cart thead {
    display: none;
}

.woocommerce-cart .cart_item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.woocommerce-cart .cart_item:hover {
    transform: translateY(-3px);
}

.woocommerce-cart .cart_item td {
    padding: 20px !important;
    border-top: none !important;
    border-bottom: none !important;
    vertical-align: middle;
}

.woocommerce-cart .cart_item .product-thumbnail img {
    width: 80px;
    border-radius: 8px;
}

.woocommerce-cart .cart_item .product-name a {
    font-weight: 600;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.product-remove a.remove {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.woocommerce-cart .cart-collaterals {
    margin-top: 40px;
}

.cart_totals {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cart_totals h2 {
    font-size: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.checkout-button {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 18px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    width: 100% !important;
    text-align: center;
    border: none !important;
    display: block;
    margin-top: 20px !important;
    transition: all 0.3s;
}

/* Checkout Page - Two Column Layout */
@media (min-width: 993px) {
    .woocommerce-checkout {
        display: flex;
        flex-wrap: wrap;
        gap: 60px;
        align-items: flex-start;
    }
    .woocommerce-checkout .col2-set {
        flex: 0 0 55%;
        max-width: 55%;
    }
    .woocommerce-checkout #order_review_heading {
        display: none;
    }
    .woocommerce-checkout #order_review {
        flex: 0 0 38%;
        max-width: 38%;
        background: #fdfdfd;
        padding: 40px;
        border-radius: 15px;
        border: 1px solid #eee;
        position: sticky;
        top: 120px;
    }
    .woocommerce-checkout #order_review:before {
        content: 'Seu Pedido';
        display: block;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 25px;
        color: #6A3A9B;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
}

.woocommerce-checkout #place_order {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    padding: 20px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    width: 100% !important;
    border: none !important;
    margin-top: 30px !important;
}

/* Notices & Messages */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    border: none !important;
    border-radius: 10px !important;
    padding: 20px 30px !important;
    font-size: 14px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}

.woocommerce-message { background-color: #f0fdf4 !important; color: #166534 !important; border-left: 5px solid #22c55e !important; }
.woocommerce-error { background-color: #fef2f2 !important; color: #991b1b !important; border-left: 5px solid #ef4444 !important; }
.woocommerce-info { background-color: #eff6ff !important; color: #1e40af !important; border-left: 5px solid #3b82f6 !important; }

/* Discrete Coupon */
.woocommerce-form-coupon-toggle {
    display: block;
    background: #f9f9f9;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;
}

.woocommerce-form-coupon {
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* --- Global Aesthetic Refinements --- */ a { color: var(--primary-color); text-decoration: none; transition: all 0.3s; } a:hover { color: #8a3c11; } /* Notices Recoloring */ .woocommerce-message, .woocommerce-info { background-color: #f8f9f6 !important; /* Extremely light sage/grey */ color: #555 !important; border-left: 4px solid var(--secondary-color) !important; } .woocommerce-info a, .woocommerce-message a { color: var(--primary-color) !important; font-weight: 600; text-decoration: underline !important; } .woocommerce-error { background-color: #fff5f5 !important; color: #a52a2a !important; border-left: 4px solid #e53e3e !important; } /* Cart Alignment Fixes */ .woocommerce-cart .cart_item td { vertical-align: middle !important; padding: 25px 15px !important; } .woocommerce-cart .product-name { text-align: left; } .woocommerce-cart .product-price, .woocommerce-cart .product-subtotal { font-weight: 600; color: #333; } /* Trash Icon Styling */ .product-remove a.remove { background: transparent !important; color: #bbb !important; font-size: 0 !important; /* Hide the X */ position: relative; width: 40px; height: 40px; display: inline-flex !important; transition: all 0.3s; } .product-remove a.remove:before { content: " \f2ed\; /* FontAwesome Trash-can */ font-family: \Font Awesome 6 Free\; font-weight: 900; font-size: 18px; color: #ccc; } .product-remove a.remove:hover:before { color: #ef4444; } .product-remove a.remove:hover { background: #fef2f2 !important; } /* Cart Buttons styling */ .actions .button { background: transparent !important; border: 1px solid #ddd !important; color: #666 !important; border-radius: 50px !important; padding: 12px 25px !important; font-size: 13px !important; font-weight: 600 !important; text-transform: uppercase !important; transition: all 0.3s !important; } .actions .button[name=\apply_coupon\] { background: var(--secondary-color) !important; color: #fff !important; border: none !important; } .actions .button[name=\apply_coupon\]:hover { background: #9da68f !important; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); } .actions .button[name=\update_cart\] { border-color: #ddd !important; opacity: 0.6; } .actions .button[name=\update_cart\]:not(:disabled) { opacity: 1; border-color: var(--secondary-color) !important; color: var(--secondary-color) !important; } .actions .button[name=\update_cart\]:not(:disabled):hover { background: var(--secondary-color) !important; color: #fff !important; } /* Minimal Quantity Input */ .quantity input { border: 1px solid #eee !important; background: #fafafa !important; border-radius: 6px !important; padding: 8px !important; width: 50px !important; font-weight: 600; height: 40px; }
/* --- Sticky Header & Page Spacing --- */ .site-header { position: sticky; top: 0; z-index: 1000; background-color: var(--header-bg); box-shadow: 0 2px 10px rgba(0,0,0,0.1); } .site-main-padding { padding: 60px 0; } /* Ensure body doesn't have horizontal scroll */ body { overflow-x: hidden; width: 100%; } /* Responsive adjustments for Cart Table */ @media (max-width: 768px) { .woocommerce-cart .shop_table.cart td { display: block; width: 100%; text-align: center !important; padding: 10px !important; } .woocommerce-cart .cart_item td:before { content: attr(data-title); float: left; font-weight: bold; text-transform: uppercase; } }
