/**
 * Main Styles for N-1 Edições Theme
 * Baseado no template Harri
 */

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --tp-ff-body: 'Inter', sans-serif;
    --tp-ff-heading: 'Space Grotesk', sans-serif;
    --tp-ff-poppins: 'Poppins', sans-serif;
    --tp-ff-oswald: 'Oswald', sans-serif;
    
    --tp-common-black: #000000;
    --tp-common-white: #ffffff;
    --tp-common-grey: #f5f5f5;
    --tp-text-body: #666666;
    --tp-text-heading: #000000;
    
    --tp-border-radius: 4px;
    --tp-transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--tp-ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tp-text-body);
    background-color: var(--tp-common-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tp-ff-heading);
    font-weight: 700;
    color: var(--tp-text-heading);
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    color: var(--tp-common-black);
    text-decoration: none;
    transition: var(--tp-transition);
}

a:hover {
    color: var(--tp-common-black);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   HEADER
   ============================================ */
.header__area {
    position: relative;
    z-index: 999;
}

.header__bottom-13 {
    padding: 20px 0;
    background-color: var(--tp-common-white);
    border-bottom: 1px solid #e5e5e5;
}

.header__sticky.header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--tp-common-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
}

.logo img {
    max-height: 50px;
}

.main-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-menu ul li a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.header__search-13 {
    position: relative;
}

.header__search-13 input {
    border: 1px solid #e5e5e5;
    padding: 10px 40px 10px 15px;
    border-radius: var(--tp-border-radius);
    width: 300px;
    max-width: 100%;
}

.header__search-13 button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--tp-common-black);
    cursor: pointer;
}

.header__action-13 ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.header__action-13 ul li a {
    position: relative;
    display: block;
    font-size: 20px;
}

.tp-item-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--tp-common-black);
    color: var(--tp-common-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

/* ============================================
   PRODUCTS
   ============================================ */
.product__item {
    margin-bottom: 30px;
}

.product__thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--tp-border-radius);
    margin-bottom: 20px;
}

.product__thumb img {
    width: 100%;
    height: auto;
    transition: var(--tp-transition);
}

.product__item:hover .product__thumb img {
    transform: scale(1.05);
}

.product__badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.product__badge-item {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--tp-common-black);
    color: var(--tp-common-white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--tp-border-radius);
    margin-bottom: 5px;
}

.product__badge-item.has-new {
    background-color: #ff6b6b;
}

.product__badge-item.has-offer {
    background-color: var(--tp-common-black);
}

.product__action {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0;
    visibility: hidden;
    transition: var(--tp-transition);
}

.product__item:hover .product__action {
    opacity: 1;
    visibility: visible;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background-color: var(--tp-common-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--tp-transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-action-btn:hover {
    background-color: var(--tp-common-black);
    color: var(--tp-common-white);
}

.product__add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--tp-transition);
    padding: 15px;
}

.product__item:hover .product__add {
    opacity: 1;
    visibility: visible;
}

.product-add-cart-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--tp-common-black);
    color: var(--tp-common-white);
    border: none;
    border-radius: var(--tp-border-radius);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--tp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-add-cart-btn:hover {
    background-color: #333;
    color: var(--tp-common-white);
}

.product__content {
    text-align: center;
}

.product__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product__title a {
    color: var(--tp-text-heading);
}

.product__title a:hover {
    color: var(--tp-common-black);
}

.product__price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product__ammount {
    font-size: 20px;
    font-weight: 700;
    color: var(--tp-common-black);
}

.product__old-price {
    font-size: 16px;
    text-decoration: line-through;
    color: #999;
}

/* ============================================
   FOOTER
   ============================================ */
.footer__area {
    background-color: #f8f8f8;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer__widget {
    margin-bottom: 40px;
}

.footer__widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--tp-text-heading);
}

.footer__widget-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__widget-content ul li {
    margin-bottom: 12px;
}

.footer__widget-content ul li a {
    color: var(--tp-text-body);
    font-size: 14px;
}

.footer__widget-content ul li a:hover {
    color: var(--tp-common-black);
}

.footer__bottom {
    border-top: 1px solid #e5e5e5;
    padding-top: 30px;
    margin-top: 30px;
}

.footer__copyright {
    font-size: 14px;
    color: var(--tp-text-body);
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .header__search-13 input {
        width: 250px;
    }
}

@media (max-width: 991px) {
    .main-menu {
        display: none;
    }
    
    .header__search-13 input {
        width: 200px;
    }
}

@media (max-width: 767px) {
    .header__search-13 {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product__ammount {
        font-size: 18px;
    }
}

