/* ===================================
   PUBLIC CATALOG - MODERN DESIGN
   =================================== */

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

:root {
    /* Colors */
    --primary-color: #4a90e2;
    --primary-hover: #357abd;
    --secondary-color: #27ae60;
    --accent-color: #e74c3c;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --gray-light: #ecf0f1;
    --gray-medium: #95a5a6;
    --gray-dark: #7f8c8d;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 32px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   HEADER
   =================================== */

.public-header {
    background: linear-gradient(135deg, var(--catalog-gradient-start, #667eea) 0%, var(--catalog-gradient-end, #764ba2) 100%);
    color: var(--white);
    padding: 48px 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.public-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.header-content {
    position: relative;
    z-index: 1;
}

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

.store-logo {
    flex-shrink: 0;
}

.store-logo img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    background-color: var(--white);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.store-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-name {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ===================================
   HERO BANNER
   =================================== */

.hero-banner {
    background: linear-gradient(135deg, var(--catalog-gradient-start, #667eea) 0%, var(--catalog-gradient-end, #764ba2) 100%);
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--white);
    opacity: 0.9;
    font-weight: 300;
}

/* ===================================
   SEARCH SECTION
   =================================== */

.search-section {
    background-color: var(--white);
    padding: 24px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.search-form-top {
    width: 100%;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    border-radius: 50px;
    padding: 8px 8px 8px 24px;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
    background-color: var(--white);
}

.search-icon {
    color: var(--gray-medium);
    margin-right: 12px;
    font-size: 18px;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    padding: 12px 8px;
    outline: none;
    color: var(--dark-color);
}

.search-input::placeholder {
    color: var(--gray-medium);
}

.search-btn {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.search-btn:active {
    transform: translateY(0);
}

/* ===================================
   CATALOG LAYOUT
   =================================== */

.catalog-content {
    padding: 32px 0 64px;
}

.mobile-filter-toggle {
    display: none;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* ===================================
   SIDEBAR FILTERS
   =================================== */

.sidebar-filters {
    position: sticky;
    top: 120px;
    transition: all 0.3s ease;
}

.filters-header-mobile {
    display: none;
}

/* Overlay escuro para mobile */
.filters-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filters-overlay.active {
    display: block;
    opacity: 1;
}

.filters-container {
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.filter-section {
    padding: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.filter-title i {
    color: var(--primary-color);
    font-size: 16px;
}

.filter-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
}

.filter-subtitle i {
    color: var(--primary-color);
    font-size: 13px;
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.filter-item i:first-child {
    color: var(--gray-medium);
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-item span {
    flex: 1;
}

.filter-item .check-icon {
    opacity: 0;
    color: var(--primary-color);
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.filter-item:hover {
    background-color: rgba(74, 144, 226, 0.05);
    color: var(--primary-color);
}

.filter-item:hover i:first-child {
    color: var(--primary-color);
}

.filter-item.active {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--primary-color);
    font-weight: 600;
}

.filter-item.active i:first-child {
    color: var(--primary-color);
}

.filter-item.active .check-icon {
    opacity: 1;
}

/* Filter Tags (Tamanhos e Cores) */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background-color: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.filter-tag-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-tag-item:hover {
    border-color: var(--primary-color);
    background-color: rgba(74, 144, 226, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.filter-tag-item.active {
    background: linear-gradient(135deg, var(--primary-color), #764BA2);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.filter-tag-item.active:hover {
    transform: translateY(-2px) scale(1.02);
}

.clear-filters-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 2px solid rgba(231, 76, 60, 0.2);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.clear-filters-btn:hover {
    background-color: #e74c3c;
    color: var(--white);
    border-color: #e74c3c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===================================
   PRODUCTS SECTION
   =================================== */

.public-main {
    flex: 1;
}

.products-section {
    flex: 1;
}

.products-header {
    margin-bottom: 32px;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary-color);
}

.products-count {
    font-size: 15px;
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.products-count i {
    color: var(--secondary-color);
    font-size: 14px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ===================================
   PRODUCT CARD
   =================================== */

.product-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--light-color);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background-color: var(--white);
    color: var(--dark-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-card:hover .quick-view {
    transform: translateY(0);
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    color: var(--gray-medium);
    gap: 10px;
}

.product-image-placeholder i {
    font-size: 48px;
}

.product-image-placeholder span {
    font-size: 12px;
    font-weight: 500;
}

.product-images-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.75);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

.product-images-badge i {
    font-size: 10px;
}

.product-content {
    padding: 16px;
}

.product-category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.category-tag {
    display: inline-block;
    padding: 3px 10px;
    background-color: rgba(74, 144, 226, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-light);
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-label {
    font-size: 10px;
    color: var(--gray-medium);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.product-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.price-with-discount {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.price-original {
    font-size: 14px;
    color: var(--gray-medium);
    text-decoration: line-through;
    font-weight: 500;
}

.price-discount-badge {
    background-color: #e74c3c;
    color: var(--white);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.price-final {
    color: #27ae60;
}

.btn-view-product {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-view-product:hover {
    transform: translateX(3px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   PAGINATION
   =================================== */

.pagination-wrapper {
    margin-top: 64px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.pagination-btn {
    padding: 12px 24px;
    background-color: var(--white);
    color: var(--dark-color);
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    color: var(--gray-medium);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    color: var(--dark-color);
    border: 2px solid var(--gray-light);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.pagination-number.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* ===================================
   EMPTY STATE
   =================================== */

.empty-state {
    text-align: center;
    padding: 80px 32px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 32px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.empty-state-icon i {
    font-size: 64px;
}

.empty-state-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.empty-state-text {
    font-size: 16px;
    color: var(--gray-dark);
    margin-bottom: 32px;
}

.btn-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-clear-filters:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   PRODUCT DETAIL PAGE
   =================================== */

.breadcrumb-section {
    background-color: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
}

.breadcrumb-link:hover {
    background-color: rgba(74, 144, 226, 0.1);
}

.breadcrumb-separator {
    color: var(--gray-medium);
    font-size: 12px;
}

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

.product-detail-section {
    padding: 64px 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.product-detail-image {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.product-image-wrapper-detail {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-light);
}

.product-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-main-placeholder {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-light), var(--light-color));
    color: var(--gray-medium);
    gap: 16px;
}

.product-main-placeholder i {
    font-size: 80px;
    opacity: 0.5;
}

.product-main-placeholder p {
    font-size: 16px;
    font-weight: 500;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.thumbnail-item {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.thumbnail-item:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.thumbnail-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-detail-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.category-badge i {
    font-size: 12px;
}

.product-detail-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.product-detail-price {
    padding: 0;
    margin: 0;
}

.price-with-discount-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.price-original-detail {
    font-size: 18px;
    color: var(--gray-medium);
    text-decoration: line-through;
    font-weight: 500;
}

.price-discount-badge-detail {
    background-color: #e74c3c;
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.price-final-detail {
    color: #27ae60 !important;
    font-size: 42px !important;
}

.price-label {
    font-size: 13px;
    color: var(--gray-dark);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.price-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark-color);
    line-height: 1;
}

.product-detail-variants {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
}

.product-detail-variants:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.variants-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.variants-title i {
    color: var(--primary-color);
}

.variants-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.variant-selector-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.variant-selector-btn:hover {
    border-color: var(--primary-color);
    background-color: rgba(52, 152, 219, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.variant-selector-btn.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
}

.selector-swatch {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.required-variant {
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Controle de Quantidade */
.quantity-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.quantity-label {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-label::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 2px;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: var(--dark-color);
    border-right: 2px solid var(--gray-light);
}

.qty-btn:last-child {
    border-right: none;
    border-left: 2px solid var(--gray-light);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: white;
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 80px;
    height: 48px;
    border: none;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    font-family: inherit;
    background: white;
}

.qty-input:focus {
    outline: none;
    background: rgba(52, 152, 219, 0.05);
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.stock-limit-message {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    color: #b45309;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
    animation: slideDown 0.3s ease-out;
}

.stock-limit-message i {
    color: #f59e0b;
    font-size: 1rem;
}

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

/* Notificações */
.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transition: all 0.3s ease;
    min-width: 300px;
}

.notification-show {
    top: 20px;
}

.notification-success {
    border-left: 4px solid #10b981;
}

.notification-success i {
    color: #10b981;
    font-size: 1.25rem;
}

.notification-error {
    border-left: 4px solid #ef4444;
}

.notification-error i {
    color: #ef4444;
    font-size: 1.25rem;
}

.notification span {
    font-weight: 600;
    color: var(--dark-color);
}

.size-item {
    min-width: 50px;
    text-align: center;
}

.color-item {
    min-width: 80px;
    text-align: center;
}

.product-detail-stock {
    padding: 16px 0;
    border-top: 1px solid var(--gray-light);
    border-bottom: 1px solid var(--gray-light);
}

.stock-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
}

.stock-info i {
    font-size: 18px;
    flex-shrink: 0;
}

.stock-available {
    color: var(--secondary-color);
}

.stock-unavailable {
    color: #e74c3c;
}

.product-detail-description {
    padding: 32px;
    background-color: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.product-detail-description h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.product-detail-description h3 i {
    color: var(--primary-color);
}

.product-detail-description p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.description-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-dark);
}

.description-content h1,
.description-content h2,
.description-content h3 {
    margin-top: 16px;
    margin-bottom: 12px;
    color: var(--dark-color);
}

.description-content ul,
.description-content ol {
    margin-left: 24px;
    margin-bottom: 12px;
}

.description-content strong {
    font-weight: 700;
    color: var(--dark-color);
}

.description-content em {
    font-style: italic;
}

.description-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.buy-btn {
    padding: 18px 36px;
    background: linear-gradient(135deg, #27ae60, #229954);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #229954, #1e8449);
}

.buy-btn:active {
    transform: translateY(0);
}

.buy-btn i {
    font-size: 18px;
}

.buy-btn-disabled {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    cursor: not-allowed;
    opacity: 0.6;
    pointer-events: none;
}

.buy-btn-disabled:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
}

a.buy-btn-disabled {
    text-decoration: none;
}

.out-of-stock-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background-color: rgba(231, 76, 60, 0.1);
    border: 2px solid rgba(231, 76, 60, 0.3);
    border-radius: 10px;
    color: #e74c3c;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.out-of-stock-notice i {
    font-size: 20px;
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
    cursor: pointer;
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0.15);
    }
}

/* ===================================
   RELATED PRODUCTS
   =================================== */

.related-products-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-color) 100%);
}

.related-header {
    text-align: center;
    margin-bottom: 48px;
}

.related-header .section-title {
    justify-content: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--gray-dark);
    font-weight: 400;
}

.related-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ===================================
   FOOTER
   =================================== */

.public-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 64px 0 32px;
    margin-top: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-section h3 i {
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.contact-item:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.contact-item i {
    color: var(--primary-color);
    width: 24px;
    font-size: 18px;
}

.address-info {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 14px;
}

.powered-by {
    font-size: 13px;
    opacity: 0.6;
}

/* ===================================
   RESPONSIVE
   =================================== */

/* Large Desktop */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }

    .catalog-layout {
        grid-template-columns: 260px 1fr;
        gap: 28px;
    }

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

/* Tablet Landscape */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 960px;
    }

    .catalog-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }

    .sidebar-filters {
        top: 100px;
    }

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

    .section-title {
        font-size: 22px;
    }

    .product-image-container {
        height: 200px;
    }
}

/* Tablet Portrait */
@media screen and (max-width: 900px) {
    .catalog-layout {
        grid-template-columns: 220px 1fr;
        gap: 20px;
    }

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

    .filter-section {
        padding: 16px;
    }

    .product-content {
        padding: 14px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .store-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .store-logo img {
        width: 80px;
        height: 80px;
    }

    .store-name {
        font-size: 28px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-banner {
        padding: 32px 0;
    }

    .search-section {
        padding: 16px 0;
    }

    .search-wrapper {
        flex-wrap: wrap;
        border-radius: 12px;
        padding: 10px 14px;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .catalog-content {
        padding: 20px 0 48px;
    }

    .section-title {
        font-size: 18px;
    }

    .products-count {
        font-size: 13px;
    }

    /* Mobile Filter Toggle Button */
    .mobile-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 14px 20px;
        margin-bottom: 20px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
        color: var(--white);
        border: none;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: var(--shadow-md);
        transition: all 0.3s ease;
        position: relative;
    }

    .mobile-filter-toggle:active {
        transform: scale(0.98);
    }

    .filter-badge {    
        width: 24px;
        height: 24px;
        background-color: #e74c3c;
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
    }

    .filter-badge:empty {
        display: none;
    }

    .catalog-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Mobile Sidebar as Overlay */
    .sidebar-filters {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--white);
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: none;
    }

    .sidebar-filters.active {
        left: 0;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    }

    .sidebar-filters.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .filters-header-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
        color: var(--white);
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .filters-header-mobile h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }

    .close-filters-btn {
        background: none;
        border: none;
        color: var(--white);
        font-size: 24px;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }

    .close-filters-btn:active {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .filters-container {
        border-radius: 0;
        box-shadow: none;
        border: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image-container {
        height: 160px;
    }

    .product-content {
        padding: 12px;
    }

    .product-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .product-description {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .product-price {
        font-size: 17px;
    }

    .btn-view-product {
        padding: 6px 12px;
        font-size: 11px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination-numbers {
        order: -1;
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-btn span {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Product Detail Responsive */
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-image {
        position: relative;
        top: 0;
    }

    .product-detail-title {
        font-size: 28px;
    }

    .price-value {
        font-size: 36px;
    }

    .product-detail-price {
        padding: 0;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    .product-detail-description {
        padding: 24px;
    }


    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .public-header {
        padding: 24px 0;
    }

    .store-logo img {
        width: 70px;
        height: 70px;
    }

    .store-name {
        font-size: 24px;
    }

    .hero-banner {
        padding: 24px 0;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .search-section {
        padding: 12px 0;
    }

    .search-wrapper {
        padding: 8px 12px;
    }

    .search-input {
        font-size: 14px;
        padding: 10px 6px;
    }

    .search-btn {
        padding: 12px;
        font-size: 14px;
    }

    .catalog-content {
        padding: 16px 0 40px;
    }

    .mobile-filter-toggle {
        padding: 12px 16px;
        font-size: 14px;
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 16px;
    }

    .products-count {
        font-size: 12px;
    }

    .products-header {
        margin-bottom: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        border-radius: 10px;
    }

    .product-image-container {
        height: 220px;
    }

    .product-content {
        padding: 14px;
    }

    .product-category-tags {
        gap: 4px;
        margin-bottom: 8px;
    }

    .category-tag {
        padding: 2px 8px;
        font-size: 9px;
    }

    .product-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .product-description {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .product-bottom {
        padding-top: 12px;
        gap: 10px;
    }

    .price-label {
        font-size: 9px;
    }

    .product-price {
        font-size: 18px;
    }

    .btn-view-product {
        padding: 7px 14px;
        font-size: 11px;
        gap: 4px;
    }

    .pagination-wrapper {
        margin-top: 40px;
    }

    .pagination {
        gap: 6px;
    }

    .pagination-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .pagination-number {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .empty-state {
        padding: 60px 20px;
    }

    .empty-state-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }

    .empty-state-icon i {
        font-size: 48px;
    }

    .empty-state-title {
        font-size: 22px;
    }

    .empty-state-text {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .btn-clear-filters {
        padding: 12px 24px;
        font-size: 13px;
    }

    /* Ajustes no filtro mobile */
    .sidebar-filters {
        width: 90%;
        max-width: 300px;
    }

    .filters-header-mobile {
        padding: 16px;
    }

    .filters-header-mobile h3 {
        font-size: 16px;
    }

    .close-filters-btn {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .filter-section {
        padding: 14px;
    }

    .filter-title {
        font-size: 16px;
    }

    .filter-subtitle {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .filter-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .clear-filters-btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* Footer ajustado */
    .public-footer {
        padding: 48px 0 24px;
    }

    .footer-content {
        gap: 28px;
    }

    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .contact-item {
        font-size: 14px;
    }
    
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 24px;
        bottom: 16px;
        right: 16px;
    }
}

/* Extra Small Mobile */
@media screen and (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .store-name {
        font-size: 20px;
    }

    .hero-title {
        font-size: 18px;
    }

    .mobile-filter-toggle {
        padding: 10px 14px;
        font-size: 13px;
    }

    .section-title {
        font-size: 15px;
    }

    .product-image-container {
        height: 200px;
    }

    .product-title {
        font-size: 13px;
    }

    .product-price {
        font-size: 16px;
    }

    .btn-view-product {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 22px;
        bottom: 12px;
        right: 12px;
    }
}

/* ===================================
   RIPPLE EFFECT
   =================================== */

.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Adicionar position relative aos botões que usam ripple */
.category-chip,
.search-btn,
.btn-view-product,
.btn-clear-filters,
.mobile-filter-toggle,
.filter-item {
    position: relative;
    overflow: hidden;
}

/* ===================================
   SEARCH WITH CART
   =================================== */

.search-with-cart {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-form-top {
    flex: 1;
}

/* ===================================
   PAGE HEADER COM CARRINHO
   =================================== */

.page-header-catalog {
    background: white;
    border-bottom: 2px solid var(--gray-light);
    padding: 1.5rem 0;

    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-header-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-header-title i {
    color: var(--primary-color);
}

.cart-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: transparent;
    color: var(--dark-color);
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.75rem;
}

.cart-icon-btn:hover {
    color: var(--primary-color);
}

.cart-badge-header {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #ef4444;
    color: white;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
}

/* Ajustes no breadcrumb quando dentro do header */
.page-header-catalog .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.page-header-catalog .breadcrumb-section {
    margin: 0;
    padding: 0;
}

/* Responsivo para o header */
@media screen and (max-width: 768px) {
    .search-with-cart {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .cart-icon-btn {
        width: 100%;
        height: 56px;
        border-radius: 12px;
        justify-content: center;
        gap: 0.5rem;
        border: 2px solid var(--gray-light);
        background: white;
    }

    .cart-icon-btn:hover {
        border-color: var(--primary-color);
        background: var(--gray-light);
    }

    .cart-icon-btn::after {
        content: "Ver Carrinho";
        font-size: 1rem;
        font-weight: 600;
    }

    .page-header-catalog {
        padding: 1rem 0;
        margin-bottom: 1rem;
    }

    .page-header-title {
        font-size: 1.25rem;
    }

    .cart-badge-header {
        top: -4px;
        right: -4px;
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
        border-width: 2px;
    }

    /* Breadcrumb no header mobile */
    .page-header-catalog .breadcrumb {
        font-size: 0.9rem;
    }

    .page-header-catalog .breadcrumb-current {
        max-width: 200px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* ===================================
   CHECKOUT PAGE
   =================================== */

.checkout-section {
    padding: 2rem 0 4rem;
    background: var(--gray-light);
}

.checkout-header {
    margin-bottom: 2rem;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.checkout-title i {
    color: var(--primary-color);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    align-items: start;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0 0 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.card-title i {
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-group-small {
    flex: 1 !important;
}

.form-group-large {
    flex: 2 !important;
}

.cep-row {
    align-items: flex-end;
}

.form-group-cep {
    flex: 2 !important;
}

.form-group-btn {
    flex: 0 0 auto !important;
}

.form-group-btn .btn-search-cep {
    margin-bottom: 0;
    height: 52px;
}

.btn-search-cep {
    padding: 0.875rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-search-cep:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-card {
    padding: 1.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    background: white;
}

.payment-card i {
    font-size: 2rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.payment-card span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: var(--primary-color);
    background: rgba(52, 152, 219, 0.05);
}

.payment-option input[type="radio"]:checked + .payment-card i {
    color: var(--primary-color);
}

.payment-option:hover .payment-card {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.no-payment-methods {
    text-align: center;
    padding: 2rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 12px;
    color: #856404;
}

.no-payment-methods i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.no-payment-methods p {
    margin: 0;
    font-weight: 500;
}

/* Order Summary Sidebar */
.order-summary-sidebar {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.summary-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-weight: 600;
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.summary-item-variants {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.summary-item-variants span {
    font-size: 0.8rem;
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    background: var(--gray-light);
    border-radius: 4px;
}

.summary-item-price {
    font-weight: 600;
    color: var(--dark-color);
    white-space: nowrap;
    font-size: 0.95rem;
}

.summary-divider {
    height: 1px;
    background: var(--gray-light);
    margin: 1.5rem 0;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--dark-color);
}

.summary-total-row {
    padding-top: 0.75rem;
    border-top: 2px solid var(--gray-light);
    font-size: 1.25rem;
    font-weight: 700;
}

.total-value {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.btn-submit-order {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.btn-submit-order:active {
    transform: translateY(0);
}

/* Responsive Checkout */
@media screen and (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr 350px;
        gap: 1.5rem;
    }

    .order-summary-sidebar {
        top: 140px;
    }
}

@media screen and (max-width: 768px) {
    .checkout-section {
        padding: 1.5rem 0 3rem;
    }

    .checkout-title {
        font-size: 1.5rem;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .order-summary-sidebar {
        position: static;
        top: auto;
        order: 1;
    }

    .checkout-card {
        padding: 1.5rem;
    }

    .summary-card {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .form-row .form-group {
        margin-bottom: 0;
    }

    .cep-row {
        flex-direction: row;
    }

    .form-group-btn {
        flex: 0 0 auto !important;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .payment-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 1.25rem;
    }

    .payment-card i {
        font-size: 1.5rem;
    }
}

/* ===================================
   SCROLL TOP BUTTON
   =================================== */

.scroll-top-btn:hover {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5) !important;
}

/* ===================================
   LOADING STATES
   =================================== */

.loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===================================
   SKELETON LOADING (opcional para futuro)
   =================================== */

.skeleton {
    background: linear-gradient(90deg, var(--gray-light) 25%, var(--light-color) 50%, var(--gray-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* ===================================
   SMOOTH TRANSITIONS
   =================================== */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus states para acessibilidade */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

.product-image,
.product-card {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   CARRINHO
   =================================== */

.cart-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.cart-header {
    margin-bottom: 2rem;
}

.cart-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-title i {
    color: var(--primary-color);
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}

.cart-item-image-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gray-lighter);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
}

.cart-item-image-placeholder i {
    font-size: 3rem;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.cart-item-variants {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.variant-badge-sm {
    background: var(--light-gray);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-color);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.variant-badge-sm i {
    font-size: 0.75rem;
}

.cart-item-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cart-qty-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--light-gray);
    padding: 0.5rem;
    border-radius: 12px;
}

.cart-stock-limit {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border: 1px solid #f59e0b;
    border-radius: 6px;
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    animation: slideDown 0.3s ease-out;
}

.cart-stock-limit i {
    color: #f59e0b;
    font-size: 0.875rem;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-color);
}

.cart-qty-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.cart-qty-value {
    min-width: 40px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.cart-item-total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.cart-remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.1);
}

/* Cart Summary */
.cart-summary {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 1rem;
}

.total-value {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-continue-shopping {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2rem;
    background: white;
    color: var(--dark-color);
    text-decoration: none;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-continue-shopping:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Cart Empty */
.cart-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart-icon {
    font-size: 6rem;
    color: var(--gray-medium);
    margin-bottom: 2rem;
}

.cart-empty h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cart-empty p {
    font-size: 1.1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.btn-start-shopping {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-start-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* ===================================
   CARRINHO - RESPONSIVIDADE
   =================================== */

@media screen and (max-width: 1024px) {
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cart-summary {
        position: static;
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .cart-section {
        padding: 2rem 0;
    }
    
    .cart-title {
        font-size: 1.5rem;
        gap: 0.5rem;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
        padding: 1rem;
        align-items: start;
    }
    
    .cart-item-image,
    .cart-item-image-placeholder {
        width: 80px;
        height: 80px;
    }
    
    .cart-item-image-placeholder i {
        font-size: 2rem;
    }
    
    .cart-item-info {
        gap: 0.5rem;
    }
    
    .cart-item-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .cart-item-price {
        font-size: 1.1rem;
    }
    
    .cart-item-controls {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-light);
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .cart-qty-wrapper {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }
    
    .cart-qty-control {
        gap: 0.25rem;
        padding: 0.25rem;
    }
    
    .cart-qty-btn {
        width: 28px;
        height: 28px;
    }
    
    .cart-qty-value {
        min-width: 30px;
        font-size: 1rem;
    }
    
    .cart-item-total {
        font-size: 1.25rem;
        order: 1;
    }
    
    .cart-remove-btn {
        order: 2;
        padding: 0.75rem;
    }
    
    .cart-stock-limit {
        display: none;
    }
    
    .cart-summary {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .summary-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .summary-row {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .summary-total {
        padding: 1rem 0;
        font-size: 1.1rem;
    }
    
    .total-value {
        font-size: 1.5rem;
    }
    
    .btn-checkout,
    .btn-continue-shopping {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .cart-empty {
        padding: 3rem 1rem;
    }
    
    .empty-cart-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .cart-empty h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .cart-empty p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-start-shopping {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .cart-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .cart-item-image,
    .cart-item-image-placeholder {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        grid-row: 1;
        grid-column: 1;
    }
    
    .cart-item-image-placeholder i {
        font-size: 3rem;
    }
    
    .cart-item-info {
        grid-row: 2;
        grid-column: 1;
        text-align: center;
    }
    
    .cart-item-controls {
        grid-row: 3;
        grid-column: 1;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-light);
    }
    
    .cart-qty-wrapper {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .cart-qty-control {
        justify-content: center;
    }
    
    .cart-item-total {
        order: 0;
        font-size: 1.5rem;
    }
    
    .cart-remove-btn {
        order: 1;
        align-self: center;
    }
    
    .cart-variants {
        justify-content: center;
    }
    
    .variant-badge-sm {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* ===================================
   CHECKOUT
   =================================== */

.checkout-section {
    padding: 3rem 0;
}

.checkout-header {
    margin-bottom: 2rem;
}

.checkout-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkout-title i {
    color: var(--primary-color);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 2rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-title i {
    color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.required {
    color: #ef4444;
}

.btn-search-cep {
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.75rem;
}

.btn-search-cep:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.payment-option {
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-card i {
    font-size: 2rem;
    color: var(--gray-dark);
    margin-bottom: 0.75rem;
    display: block;
}

.payment-card span {
    font-weight: 600;
    color: var(--dark-color);
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(41, 128, 185, 0.05) 100%);
}

.payment-option input[type="radio"]:checked + .payment-card i {
    color: var(--primary-color);
}

.payment-option:hover .payment-card {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}


.summary-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 2rem;
}

.summary-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}

.summary-item-info {
    flex: 1;
}

.summary-item-name {
    font-weight: 600;
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.25rem;
}

.summary-item-variants {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-dark);
}

.summary-item-price {
    font-weight: 700;
    color: var(--dark-color);
    white-space: nowrap;
}

.summary-divider {
    height: 2px;
    background: var(--gray-light);
    margin: 1rem 0;
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-total-row {
    font-size: 1.25rem;
    font-weight: 700;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-light);
}

.btn-submit-order {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-submit-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* ===================================
   CONFIRMAÇÃO DE PEDIDO
   =================================== */

.order-confirmation-section {
    padding: 3rem 0;
}

.confirmation-card {
    background: white;
    border: 2px solid var(--gray-light);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.confirmation-icon {
    font-size: 5rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.confirmation-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.confirmation-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.whatsapp-notification {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-notification i {
    font-size: 1.5rem;
    color: white;
}

.whatsapp-notification p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.order-number-box {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(41, 128, 185, 0.1) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-number-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: monospace;
}

.order-details-card {
    text-align: left;
    background: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.details-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section h4 i {
    color: var(--primary-color);
}

.detail-section p {
    margin: 0.5rem 0;
    color: var(--dark-color);
}

.order-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-item-row {
    display: grid;
    grid-template-columns: 2fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.order-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.order-item-name {
    font-weight: 700;
    color: var(--dark-color);
}

.order-item-variant {
    font-size: 0.875rem;
    color: var(--gray-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.order-item-variant i {
    font-size: 0.75rem;
}

.order-item-qty,
.order-item-price,
.order-item-subtotal {
    font-weight: 700;
    color: var(--dark-color);
}

.order-total-section {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.05) 0%, rgba(41, 128, 185, 0.05) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.order-total-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    font-size: 1.1rem;
}

.total-row {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-contact-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-back-catalog {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--dark-color);
    text-decoration: none;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-back-catalog:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .cart-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .cart-item-controls {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .confirmation-actions {
        flex-direction: column;
    }
}

