/* ==========================================================================
   CSS VARIABLES - PREMIUM PALETTE
   ========================================================================== */
   :root {
    /* Colors */
    --black: #000000;
    --dark-gray: #111111;
    --mid-gray: #1A1A1A;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --light-gray: #F5F5F5;
    --border-color: #EAEAEA;
    --text-muted: #666666;
    
    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 0 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px var(--container-padding);
}

.header-search {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--black);
    padding-bottom: 5px;
    flex: 1;
    max-width: 250px;
}

.header-search i {
    font-size: 20px;
    margin-right: 10px;
    color: var(--text-muted);
}

.header-search input {
    border: none;
    outline: none;
    font-family: var(--font-primary);
    font-size: 14px;
    width: 100%;
}

.header-logo {
    flex: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.header-nav-inline a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s;
}

.header-nav-inline a:hover {
    color: var(--gold);
}

.header-logo h1 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--black);
}

.header-icons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    flex: 1;
}

.icon-link {
    font-size: 24px;
    color: var(--black);
    position: relative;
}

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

.header-nav {
    display: none; /* Moved inline */
}

.header-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.header-nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.header-nav a:hover {
    color: var(--gold);
}

/* ==========================================================================
   MAIN CONTENT & BREADCRUMB
   ========================================================================== */
.main-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.breadcrumb {
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--black);
    font-weight: 500;
}

/* ==========================================================================
   PRODUCT SECTION
   ========================================================================== */
.product-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gallery-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 80px;
}

.gallery-thumbnails img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition);
}

.gallery-thumbnails img.active,
.gallery-thumbnails img:hover {
    border-color: var(--gold);
    opacity: 0.8;
}

.gallery-main {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.gallery-main img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

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

/* Details */
.product-details {
    padding-top: 10px;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-prices {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.price-current {
    font-size: 28px;
    font-weight: 700;
    color: var(--black);
}

.price-old {
    font-size: 16px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.badge-discount {
    background-color: var(--gold);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
}

.installments {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.installments strong {
    color: var(--black);
}

/* Options */
.option-group {
    margin-bottom: 25px;
}

.option-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.option-label span {
    font-weight: 400;
    color: var(--text-muted);
}

.color-options {
    display: flex;
    gap: 10px;
}

.color-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    padding: 2px;
    background-clip: content-box;
    transition: var(--transition);
}

.color-btn.active, .color-btn:hover {
    border-color: var(--gold);
}

.size-options {
    display: flex;
    gap: 10px;
}

.size-btn {
    width: 45px;
    height: 45px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    transition: var(--transition);
}

.size-btn:hover {
    border-color: var(--black);
}

.size-btn.active {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.quantity-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    height: 45px;
}

.quantity-selector button {
    width: 45px;
    height: 100%;
    font-size: 18px;
    background: var(--light-gray);
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: #e0e0e0;
}

.quantity-selector input {
    width: 50px;
    height: 100%;
    border: none;
    text-align: center;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

/* Buy Button */
.btn-buy {
    width: 100%;
    background-color: var(--gold);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 18px;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.btn-buy:hover {
    background-color: #b5952f;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.shipping-info {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Trust Badges */
.trust-badges {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.trust-item i {
    font-size: 24px;
    color: var(--black);
    margin-top: 2px;
}

.trust-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.trust-item p {
    font-size: 12px;
    color: var(--text-muted);
}

.section-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 50px 0;
}

/* ==========================================================================
   DESCRIPTION SECTION
   ========================================================================== */
.description-section {
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-subtitle i {
    color: var(--gold);
}

.description-text p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 15px;
}

.diferenciais-list {
    list-style: disc;
    padding-left: 20px;
}

.diferenciais-list li {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 15px;
}

/* ==========================================================================
   SIZE GUIDE
   ========================================================================== */
.size-guide {
    background-color: var(--light-gray);
    padding: 60px 0;
    margin-bottom: 60px;
    border-radius: 8px;
}

.size-guide-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.size-guide-image {
    width: 100%;
    max-width: 400px;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.size-table th, .size-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.size-table th {
    background-color: var(--black);
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
}

.size-table td {
    font-size: 15px;
    font-weight: 500;
}

/* ==========================================================================
   CUSTOMER REVIEWS (MARKETPLACE PREMIUM)
   ========================================================================== */
.customer-reviews {
    margin-bottom: 60px;
    padding-top: 20px;
}

.reviews-header {
    margin-bottom: 30px;
    text-align: center;
}

.reviews-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.reviews-rating .stars {
    color: var(--gold);
    font-size: 24px;
    letter-spacing: 2px;
}

.reviews-rating .score {
    font-size: 20px;
    font-weight: 700;
}

.reviews-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.reviews-count {
    font-size: 14px;
    color: var(--black);
    font-weight: 500;
}

.reviews-list {
    display: flex;
    flex-direction: column;
}

.review-card {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.review-card:last-child {
    border-bottom: none;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
}

.user-name {
    font-weight: 600;
    font-size: 15px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.review-meta .review-stars {
    color: var(--gold);
    font-size: 14px;
}

.review-content {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #222;
}

.review-content p {
    margin-bottom: 4px;
}

.review-content strong {
    font-weight: 600;
    color: var(--black);
}

.review-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.review-img {
    width: calc(25% - 6px);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    cursor: zoom-in;
    border: 1px solid #f0f0f0;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

/* ==========================================================================
   KIT BUILDER E DESCONTOS
   ========================================================================== */
.discount-tiers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}
.tier-item {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}
.tier-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--black);
}
.tier-info strong {
    display: block;
    font-size: 14px;
}
.tier-info span {
    font-size: 12px;
    color: #4CAF50;
    font-weight: 600;
}
.tier-badge {
    font-size: 11px;
    background-color: var(--black);
    color: var(--white);
    padding: 4px 8px;
    font-weight: 600;
}
.tier-badge.highlight {
    background-color: var(--gold); 
}
.tier-badge.premium {
    background-color: #800020; /* vinho */
}

/* KIT CARDS */
.kit-title {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.kit-card {
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
}
.kit-card-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #eee;
}
.kit-card-info {
    flex: 1;
}
.kit-card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}
.kit-color-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.kit-color-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s;
}
.kit-color-btn.active {
    border-color: var(--black);
    transform: scale(1.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-main {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--gold);
}

.footer-col p, .footer-col a {
    font-size: 13px;
    color: #aaaaaa;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-hours {
    margin-top: 20px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    border-bottom: 1px solid #333;
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 10px 0;
    flex: 1;
    font-family: var(--font-primary);
    outline: none;
}

.newsletter-form button {
    color: var(--white);
    padding: 10px;
}

.newsletter-form button:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 24px;
    color: var(--white);
}

.social-icons a:hover {
    color: var(--gold);
}

.footer-payments-shipping {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 40px var(--container-padding);
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.methods {
    text-align: center;
}

.methods p {
    font-size: 12px;
    color: #aaaaaa;
    margin-bottom: 15px;
}

.method-icons {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

.method-icons strong {
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--gold);
}

.footer-legal {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 30px var(--container-padding) 0;
    text-align: center;
}

.footer-legal p {
    font-size: 11px;
    color: #666;
    margin-bottom: 5px;
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.top-marquee {
    background-color: var(--black);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 200;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.marquee-dot {
    color: #4CAF50;
    margin: 0 30px;
    font-size: 16px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   CART OVERLAY MODAL
   ========================================================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    background: var(--white);
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    border-radius: 12px;
    overflow-y: auto;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-overlay.open .cart-modal {
    transform: translateY(0);
}

.cart-header {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}

.cart-header h2 {
    font-size: 20px;
    letter-spacing: 2px;
    font-weight: 700;
}

.close-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--text-muted);
}

.close-btn:hover {
    color: var(--black);
}

.cart-layout {
    display: flex;
    gap: 40px;
}

.cart-products {
    flex: 2;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.item-produto {
    display: flex;
    gap: 20px;
    align-items: center;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--light-gray);
}

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

.item-details h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.item-color {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.item-price {
    font-size: 14px;
    font-weight: 600;
}

.item-quantidade {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cart-qty {
    height: 35px;
}

.cart-qty button {
    width: 35px;
}

.cart-qty input {
    width: 40px;
}

.remove-btn {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: underline;
}

.remove-btn:hover {
    color: var(--black);
}

.item-total {
    display: flex;
    flex-direction: column;
}

.cart-summary {
    flex: 1;
}

.summary-card {
    background: #F8F8F8;
    border-radius: 8px;
    padding: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.summary-row.total {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 30px;
}

.summary-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 20px 0;
}

.summary-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
    padding: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.btn-solid {
    background: #2E9B70;
    border: 1px solid #2E9B70;
    color: var(--white);
    padding: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-solid:hover {
    background: #257D5A;
}

/* ==========================================================================
   RESPONSIVE (MOBILE FIRST APPROACH IN MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .product-section {
        grid-template-columns: 1fr;
    }
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    .header-search {
        order: 2;
        max-width: 100%;
    }
    .header-logo {
        order: 1;
    }
    .header-icons {
        order: 3;
        position: absolute;
        top: 25px;
        right: 20px;
    }
    .header-nav ul {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 20px;
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-payments-shipping {
        flex-direction: column;
        gap: 30px;
    }

    /* Mobile Cart Adjustments */
    .cart-layout {
        flex-direction: column;
    }
    .cart-table-header {
        display: none;
    }
    .cart-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .item-total {
        flex-direction: row;
        gap: 15px;
        align-items: center;
    }
    .cart-modal {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .gallery-thumbnails {
        width: 60px;
    }
}

/* POLICY PAGES */
.policy-page { max-width: 800px; margin: 40px auto; padding: 0 20px; font-family: 'Inter', sans-serif; line-height: 1.6; color: #333; }
.policy-section h2 { font-size: 28px; margin-bottom: 20px; color: #111; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.policy-section h3 { font-size: 20px; margin-top: 30px; margin-bottom: 15px; color: #222; }
.policy-section p { margin-bottom: 15px; font-size: 15px; color: #555; }

/* CHECKOUT PAGES */
.checkout-body { background-color: #fafafa; color: #333; font-family: 'Outfit', sans-serif; }
.checkout-topbar { background-color: #000; color: #ffeb3b; text-align: center; padding: 10px; font-weight: 600; font-size: 14px; }
.checkout-container { display: flex; max-width: 1100px; margin: 30px auto; gap: 40px; padding: 0 20px; align-items: flex-start; }
.checkout-steps { flex: 1.5; display: flex; flex-direction: column; gap: 20px; }
.checkout-summary-col { flex: 1; position: sticky; top: 30px; }
.checkout-step { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 25px; transition: opacity 0.3s ease; }
.checkout-step.locked { opacity: 0.5; pointer-events: none; }
.step-header { display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.step-header h2 { font-size: 20px; font-weight: 700; color: #111; }
.step-counter { font-size: 13px; color: #888; font-weight: 500; }
.step-content { margin-top: 20px; }
.step-subtitle { font-size: 14px; color: #666; margin-bottom: 15px; }
.form-group { margin-bottom: 15px; }
.form-row { display: flex; gap: 15px; }
.form-control { width: 100%; padding: 14px 16px; border: 1px solid #e0e0e0; border-radius: 6px; font-family: 'Outfit', sans-serif; font-size: 15px; outline: none; transition: border-color 0.2s; }
.form-control:focus { border-color: #10B981; }
.btn-checkout { width: 100%; background-color: #10B981; color: #fff; font-size: 16px; font-weight: 600; padding: 16px; border: none; border-radius: 6px; cursor: pointer; transition: background-color 0.2s; }
.btn-checkout:hover { background-color: #059669; }
.privacy-notice { text-align: center; font-size: 12px; color: #888; margin-top: 15px; }
.cep-link { font-size: 13px; color: #10B981; text-decoration: none; margin-top: 5px; display: inline-block; }
.shipping-options { margin-top: 20px; border-top: 1px solid #eee; padding-top: 20px; }
.shipping-options h3 { font-size: 16px; margin-bottom: 15px; }
.shipping-radio { display: flex; align-items: center; justify-content: space-between; padding: 15px; border: 1px solid #e0e0e0; border-radius: 6px; margin-bottom: 10px; cursor: pointer; }
.shipping-info { display: flex; flex-direction: column; flex: 1; margin-left: 10px; }
.shipping-name { font-weight: 600; font-size: 14px; }
.shipping-time { font-size: 12px; color: #777; }
.shipping-price { font-weight: 700; font-size: 15px; }
.step-actions { display: flex; gap: 15px; margin-top: 20px; }
.btn-back { padding: 16px 24px; background: transparent; border: 1px solid #ccc; border-radius: 6px; font-weight: 600; color: #555; cursor: pointer; }
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-radio { display: flex; align-items: center; padding: 15px; border: 1px solid #e0e0e0; border-radius: 6px; cursor: pointer; transition: border-color 0.2s; }
.payment-radio.active { border-color: #10B981; background-color: #f0fdf4; }
.payment-info { display: flex; align-items: center; gap: 10px; margin-left: 10px; flex: 1; font-weight: 500; font-size: 15px; }
.payment-info i { font-size: 24px; color: #10B981; }
.checkout-summary { background: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); padding: 25px; }
.summary-header h2 { font-size: 18px; font-weight: 600; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.coupon-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed #eee; }
.summary-totals { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.summary-line { display: flex; justify-content: space-between; font-size: 14px; color: #555; }
.summary-line.discount { color: #10B981; }
.summary-final { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.total-label { font-size: 18px; font-weight: 700; color: #111; }
.total-value { text-align: right; }
.total-value strong { display: block; font-size: 22px; color: #111; }
.total-value small { font-size: 12px; color: #777; }
.summary-items { display: flex; flex-direction: column; gap: 15px; }
.cart-item-sm { display: flex; align-items: center; gap: 15px; }
.cart-item-sm img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.cart-item-sm-details { flex: 1; }
.cart-item-sm-title { font-size: 13px; font-weight: 500; color: #333; margin-bottom: 4px; }
.cart-item-sm-meta { font-size: 12px; color: #777; margin-bottom: 4px; }
.cart-item-sm-price { font-size: 14px; font-weight: 600; color: #111; }
.secure-badges { margin-top: 20px; text-align: center; color: #666; font-size: 13px; }
@media (max-width: 768px) { .checkout-container { flex-direction: column-reverse; } .checkout-summary-col { position: relative; top: 0; width: 100%; } .form-row { flex-direction: column; gap: 0; } .step-actions { flex-direction: column-reverse; } }

/* SUMMARY CARDS */
.step-summary-card { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; margin-top: 15px; }
.summary-card-data p { margin: 0 0 5px 0; font-size: 14px; color: #475569; }
.summary-card-data strong { color: #0f172a; }
.btn-edit-step { background: #fff; border: 1px solid #cbd5e1; border-radius: 50%; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #64748b; transition: all 0.2s; }
.btn-edit-step:hover { background: #f1f5f9; color: #10B981; border-color: #10B981; }
/* PIX PREMIUM CARD */
.pix-premium-card { border: 2px solid #10B981; border-radius: 12px; overflow: hidden; margin-bottom: 25px; }
.pix-header { background: #f0fdf4; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #d1fae5; }
.pix-title { font-size: 18px; font-weight: 700; color: #065f46; display: flex; align-items: center; gap: 8px; }
.pix-title i { font-size: 24px; }
.pix-badge { background: #10B981; color: #fff; font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 100px; letter-spacing: 0.5px; }
.pix-body { padding: 20px; }
.pix-desc { font-size: 14px; color: #475569; margin-bottom: 15px; line-height: 1.5; }
.pix-warning { background: #fffbeb; border: 1px solid #fde68a; padding: 12px 15px; border-radius: 6px; font-size: 13px; color: #92400e; display: flex; gap: 10px; margin-bottom: 20px; line-height: 1.4; }
.pix-warning i { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.pix-totals { background: #f8fafc; border-radius: 8px; padding: 15px; }
.pix-total-line { display: flex; justify-content: space-between; font-size: 14px; color: #64748b; margin-bottom: 10px; }
.pix-total-line strong { color: #0f172a; }
.pix-total-line.highlight { margin-bottom: 0; padding-top: 10px; border-top: 1px solid #e2e8f0; font-size: 16px; color: #0f172a; font-weight: 500; }
.pix-total-line.highlight strong { color: #10B981; font-size: 20px; }
.pix-savings { font-size: 13px; color: #059669; margin-top: 8px; text-align: right; }
/* QR CODE CONTAINER */
.qr-container { text-align: center; padding: 20px; }
.qr-status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #f59e0b; background: #fef3c7; padding: 8px 16px; border-radius: 100px; margin-bottom: 15px; font-size: 14px; }
.qr-status.approved { color: #059669; background: #d1fae5; }
.qr-timer { font-size: 15px; color: #475569; font-weight: 500; margin-bottom: 20px; display: flex; justify-content: center; align-items: center; gap: 6px; }
.qr-timer strong { color: #ef4444; }
.qr-image img { width: 220px; height: 220px; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px; margin-bottom: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.qr-copy-paste p { font-size: 14px; color: #475569; margin-bottom: 10px; font-weight: 500; }
.qr-input-group { display: flex; max-width: 400px; margin: 0 auto; }
.qr-input-group input { flex: 1; padding: 12px 15px; border: 1px solid #cbd5e1; border-right: none; border-radius: 6px 0 0 6px; font-size: 13px; font-family: monospace; color: #64748b; background: #f8fafc; outline: none; }
.qr-input-group button { padding: 0 20px; background: #10B981; color: #fff; border: none; border-radius: 0 6px 6px 0; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background 0.2s; }
.qr-input-group button:hover { background: #059669; }
.qr-input-group button.copied { background: #3b82f6; }

/* PIX MODAL STYLES */
.pix-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; animation: fadeInModal 0.3s ease; }
@keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; } }
.pix-modal-content { background: #fff; width: 100%; max-width: 420px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); overflow: hidden; display: flex; flex-direction: column; animation: slideUpModal 0.3s ease; max-height: 90vh; overflow-y: auto; }
@keyframes slideUpModal { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.pix-modal-header { padding: 20px; text-align: center; position: relative; border-bottom: 1px solid #e2e8f0; }
.pix-modal-header h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 5px; }
.pix-modal-header p { font-size: 14px; color: #10B981; font-weight: 600; margin: 0; }
.btn-close-modal { position: absolute; top: 15px; right: 15px; background: transparent; border: none; font-size: 20px; color: #64748b; cursor: pointer; transition: color 0.2s; }
.btn-close-modal:hover { color: #0f172a; }
.pix-modal-product { background: #f8fafc; padding: 15px 20px; border-bottom: 1px solid #e2e8f0; }
.modal-product-line { display: flex; justify-content: space-between; font-size: 14px; color: #475569; margin-bottom: 5px; }
.modal-product-total { font-size: 18px; font-weight: 700; color: #0f172a; margin-top: 5px; }
.pix-modal-timer { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 20px 20px 10px; font-size: 16px; color: #475569; font-weight: 500; }
.pix-modal-timer strong { color: #ef4444; }
.pix-modal-qr { text-align: center; padding: 10px 20px 20px; }
.pix-modal-qr img { width: 200px; height: 200px; border-radius: 8px; border: 1px solid #e2e8f0; padding: 10px; }
.pix-modal-copy { padding: 0 20px 20px; text-align: center; }
.pix-modal-copy p { font-size: 13px; font-weight: 600; color: #475569; margin-bottom: 10px; }
#btn-modal-copy-pix { min-width: 80px; }
.pix-modal-instructions { padding: 0 20px 20px; }
.pix-modal-instructions h4 { font-size: 13px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.pix-modal-instructions ol { margin: 0; padding-left: 20px; color: #475569; font-size: 13px; line-height: 1.6; }
.pix-modal-status { padding: 15px 20px; background: #fffbeb; border-top: 1px solid #fde68a; border-bottom: 1px solid #fde68a; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; color: #d97706; font-size: 14px; transition: all 0.3s; }
.status-indicator { width: 10px; height: 10px; border-radius: 50%; }
.status-indicator.waiting { background: #f59e0b; animation: pulseAmber 1.5s infinite; }
@keyframes pulseAmber { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); } 70% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); } }
.pix-modal-status.approved { background: #d1fae5; border-color: #a7f3d0; color: #059669; }
.status-indicator.approved { background: #10B981; animation: none; }
.pix-modal-actions { padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.btn-ja-paguei { background: #10B981; color: #fff; padding: 14px; border: none; border-radius: 6px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.2s; }
.btn-ja-paguei:hover { background: #059669; }
.btn-fechar-modal { background: #f1f5f9; color: #475569; padding: 14px; border: none; border-radius: 6px; font-weight: 600; font-size: 15px; cursor: pointer; transition: background 0.2s; }
.btn-fechar-modal:hover { background: #e2e8f0; color: #0f172a; }

/* LOGO STYLES */
.site-logo { max-height: 65px; width: auto; object-fit: contain; }
.footer-logo { max-height: 40px; width: auto; margin-bottom: 15px; }
.cart-logo { max-height: 30px; width: auto; }
@media (max-width: 768px) { .site-logo { max-height: 48px; } }


/* ==========================================================================
   COLOR TAG SELECTOR (named color buttons)
   ========================================================================== */
.color-tags-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.color-btn.color-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: auto;
    background-clip: border-box;
}

.color-btn.color-tag:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.04);
}

.color-btn.color-tag.active {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 0 1px var(--gold);
}

.color-tag-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.color-tag-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
}

.color-btn.color-tag.active .color-tag-name {
    font-weight: 600;
}

.color-btn.color-tag.active::after {
    content: "\2713";
    margin-left: auto;
    color: var(--gold);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .color-tags-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
