/* Base Shop Styles */
.shop-wrapper {
    background: #F4F7F9;
    padding-bottom: 80px;
}

/* Hero Section */
.shop-hero {
    max-width: 1400px;
    margin: 24px auto 0;
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--color-navy);
    background-image: url('../img/fundo-topo-loja.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #fff;
    padding: 64px 0;
    position: relative;
}
.shop-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3,27,51,0.95) 0%, rgba(3,27,51,0.7) 40%, transparent 100%);
}
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    align-items: center;
}
.hero-content {
    max-width: 600px;
}
.hero-breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}
.hero-title {
    font-size: 48px;
    margin-bottom: 16px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-title span { color: var(--color-teal); }
.hero-title svg { width: 48px; height: 48px; color: rgba(255,255,255,0.2); flex-shrink: 0; }
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Search Bar */
.hero-search {
    background: #fff;
    border-radius: 32px;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    max-width: 500px;
}
.hero-search .search-icon {
    background: var(--color-teal);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}
.hero-search input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
    color: var(--color-navy);
    background: transparent;
}
.hero-search .filter-icon {
    color: var(--color-text);
    padding: 8px;
    cursor: pointer;
}

/* Hero Features (Right side on desktop) */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 300px;
}
.hero-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-feat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 181, 134, 0.5); /* Teal border with some transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-feat-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}
.hero-feat-item h4 {
    font-size: 15px;
    margin: 0 0 4px;
    color: #fff;
}
.hero-feat-item p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.4;
}

/* Main Shop Area */
.shop-main {
    max-width: 1400px;
    margin: 32px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* Categories Horizontal Nav */
.cat-nav-scroll {
    background: #fff;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-bottom: 32px;
    scrollbar-width: none; /* Firefox */
}
.cat-nav-scroll::-webkit-scrollbar { display: none; } /* Safari/Chrome */

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--color-line);
    border-radius: 30px;
    color: var(--color-navy);
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
}
.cat-pill svg { width: 18px; height: 18px; color: var(--color-text); }
.cat-pill:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
}
.cat-pill:hover svg { color: var(--color-teal); }
.cat-pill.active {
    background: var(--color-teal);
    border-color: var(--color-teal);
    color: #fff;
}
.cat-pill.active svg { color: #fff; }
.cat-pill-remove {
    font-size: 12px;
    opacity: 0.8;
    margin-left: 2px;
    font-style: normal;
}
.cat-pill-clear {
    border-color: #e0e0e0;
    color: #888;
    background: #f5f5f5;
}
.cat-pill-clear:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    background: #fef0ee;
}
.cat-pill-clear svg { color: #888; }

/* Layout Grid */
.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 32px;
    align-items: start;
}

/* Left Sidebar: Filters */
.sidebar-left {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
}
.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.filter-header h3 { font-size: 18px; color: var(--color-navy); margin: 0; }
.filter-header a { font-size: 13px; color: var(--color-teal); text-decoration: none; }

.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 14px; color: var(--color-navy); margin: 0 0 16px; }

/* Custom Checkbox/Radio */
.custom-check {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
}
.custom-check input { display: none; }
.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-line);
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.custom-check input:checked + .checkmark {
    background: var(--color-teal);
    border-color: var(--color-teal);
}
.custom-check input:checked + .checkmark::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}
.check-label { flex: 1; font-size: 14px; color: var(--color-text); }
.check-count { font-size: 12px; color: var(--color-muted); }

/* Center Grid (Products) */
.shop-center {
    display: flex;
    flex-direction: column;
}
.center-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.center-header .results-count {
    font-size: 14px;
    color: var(--color-text);
}
.center-header .results-count span {
    background: rgba(0, 181, 134, 0.1);
    color: var(--color-teal);
    padding: 4px 10px;
    border-radius: 20px;
    margin-left: 8px;
}
.sort-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--color-text);
}
.sort-box select {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--color-line);
    outline: none;
    color: var(--color-navy);
    cursor: pointer;
}

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

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.02);
}
.product-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}
.prod-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    color: #fff;
    z-index: 2;
}

.prod-fav {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    z-index: 2;
    transition: all 0.2s;
}
.prod-fav:hover { color: #F43F5E; }
.prod-fav svg { width: 18px; height: 18px; }

.prod-img-box {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: #f0f4f8;
}
.prod-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prod-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.prod-info h3 {
    font-size: 13px;
    color: var(--color-navy);
    margin: 0 0 6px;
    line-height: 1.3;
}
.prod-info p {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.prod-price-area {
    display: flex;
    flex-direction: column;
}
.prod-price {
    font-size: 18px;
    color: var(--color-navy);
    margin-bottom: 4px;
}
.prod-details-link {
    font-size: 12px;
    color: var(--color-teal);
    display: flex;
    align-items: center;
    gap: 4px;
}
.prod-details-link svg { width: 14px; height: 14px; }

.btn-add-cart {
    width: 38px;
    height: 38px;
    background: var(--color-teal);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-add-cart:hover { background: #009e74; }
.btn-add-cart svg { width: 18px; height: 18px; }

/* Right Sidebar */
.sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.box-info {
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
}
.box-info h3 {
    font-size: 16px;
    color: var(--color-navy);
    margin: 0 0 20px;
}
.step-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.step-icon {
    width: 40px;
    height: 40px;
    background: #F4F7F9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    flex-shrink: 0;
}
.step-icon svg { width: 20px; height: 20px; }
.step-text h4 { font-size: 14px; color: var(--color-navy); margin: 0 0 4px; }
.step-text p { font-size: 12px; color: var(--color-text); margin: 0; line-height: 1.4; }

.box-security {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,27,46,0.15);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: #0d2856; /* Cor escura de fallback */
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}
.security-content {
    padding: 32px 24px;
    position: relative;
    z-index: 2;
    max-width: 65%;
}
.sec-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.sec-title svg {
    width: 28px;
    height: 28px;
    color: #fff;
    flex-shrink: 0;
}
.sec-title h4 {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.security-content p {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    margin: 0;
    line-height: 1.4;
}

.box-help {
    background: #F0F9F8; /* Cyan super claro */
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(0,181,134,0.1);
}
.help-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--color-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.help-icon svg { width: 20px; height: 20px; }
.box-help h3 { font-size: 16px; color: var(--color-navy); margin: 0 0 8px; }
.box-help p { font-size: 13px; color: var(--color-text); margin: 0 0 20px; line-height: 1.4; }
.btn-wa-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: #fff;
    color: var(--color-teal);
    border-radius: 12px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid rgba(0,181,134,0.25);
    transition: all 0.2s;
}
.btn-wa-help:hover { background: #f8fbfb; border-color: var(--color-teal); }
.btn-wa-help svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Floating Cart */
.floating-cart {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #065B62; /* Verde escuro do print */
    color: #fff;
    border-radius: 40px;
    padding: 10px 24px 10px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(6, 91, 98, 0.3);
    z-index: 90;
    cursor: pointer;
    transition: all 0.3s;
}
.floating-cart:hover { transform: translateX(-50%) translateY(-4px); background: #044b52; }
.cart-icon-wrap {
    position: relative;
    width: 38px; height: 38px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-icon-wrap svg { width: 24px; height: 24px; color: #fff; }
.cart-badge {
    position: absolute;
    top: -2px; right: -6px;
    background: #fff;
    color: #065B62;
    font-size: 11px;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.cart-info { display: flex; flex-direction: column; }
.cart-info span { font-size: 13px; opacity: 1; }
.cart-info strong { font-size: 14px; }
.cart-arrow { margin-left: 8px; color: #fff; }

/* Load More */
.load-more-wrapper { margin-top: 48px; text-align: center; }
.btn-load-more {
    background: #fff;
    color: var(--color-teal);
    border: 1px solid var(--color-teal);
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Nunito', sans-serif;
}
.btn-load-more:hover {
    background: var(--color-teal);
    color: #fff;
}

/* Responsive */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}
.cart-toast {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,27,46,0.15);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 340px;
    border-left: 4px solid var(--color-teal);
    transform: translateY(-50px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 181, 134, 0.1);
    color: var(--color-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.toast-content {
    flex: 1;
}
.toast-content h4 {
    font-size: 14px;
    color: var(--color-navy);
    margin: 0 0 2px;
    font-weight: 600;
}
.toast-content p {
    font-size: 12px;
    color: var(--color-text);
    margin: 0;
}
.toast-close {
    background: transparent;
    border: none;
    color: var(--color-muted);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.toast-close:hover {
    color: var(--color-navy);
}

@media (max-width: 1024px) {
    .shop-layout { grid-template-columns: 240px 1fr; }
    .sidebar-right { display: none; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .hero-features { display: none; }
    .shop-layout { grid-template-columns: 1fr; }
    .sidebar-left { display: none; }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 32px; }
}
@media (max-width: 575px) {
    .products-grid { grid-template-columns: 1fr; }
}
