﻿/* Wholesale Parfume - Sales & Commerce Theme */
/* Primary: Slate #0F172A | Sale Orange #EA580C | Price Green #16A34A | Trust Blue #2563EB */

:root {
    --primary: #0F172A;
    --primary-light: #1E293B;
    --sale: #EA580C;
    --sale-hover: #C2410C;
    --sale-light: #FFF7ED;
    --price: #16A34A;
    --price-dark: #15803D;
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --bg: #F1F5F9;
    --bg-card: #FFFFFF;
    --text: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;
    --whatsapp: #25D366;
    --whatsapp-hover: #1DA851;
    --font-display: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.12);
    --radius: 10px;
    --transition: 0.25s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--primary);
}

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

a:hover {
    color: var(--accent-hover);
}

/* Header */
.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.site-header .navbar {
    padding: 0.75rem 0;
}

.site-header .navbar-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header .navbar-brand .brand-icon {
    color: var(--sale);
}

.site-logo {
    max-height: 42px;
    max-width: 180px;
    object-fit: contain;
}

.brand-icon {
    font-size: 1.25rem;
}

.site-header .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color var(--transition);
}

.site-header .nav-link:hover {
    color: var(--sale) !important;
}

.site-header .nav-link.active {
    color: var(--sale) !important;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cart-badge {
    background: var(--sale);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Buttons */
.btn-primary {
    background: var(--sale);
    border-color: var(--sale);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--sale-hover);
    border-color: var(--sale-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-accent {
    background: var(--sale);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-accent:hover {
    background: var(--sale-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--sale);
    color: var(--sale);
    font-weight: 500;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    transition: all var(--transition);
}

.btn-outline:hover {
    background: var(--sale);
    color: #fff;
}

.btn-whatsapp {
    background: var(--whatsapp);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    transition: all var(--transition);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.whatsapp-nav-link {
    color: var(--whatsapp) !important;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.whatsapp-nav-link:hover {
    color: #fff !important;
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1100;
    width: 58px;
    height: 58px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: all var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: var(--whatsapp-hover);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0;
}

.btn-remove:hover {
    color: #dc3545;
}

/* Catalog Header + Filters */
.catalog-header-section {
    position: sticky;
    top: 73px;
    z-index: 900;
    padding: 1rem 0 0;
    background: linear-gradient(180deg, var(--bg) 0%, rgba(241, 245, 249, 0.92) 100%);
}

.catalog-header-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 1.1rem 1.25rem;
}

.catalog-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.catalog-header-top--filtered {
    flex-wrap: nowrap;
    gap: 1.25rem;
}

.catalog-header-top--filtered .catalog-header-title {
    flex: 0 0 auto;
}

.catalog-header-top--filtered .catalog-search {
    flex: 0 0 auto;
    width: min(100%, 320px);
    min-width: 220px;
    max-width: 320px;
}

.catalog-header-filters {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.catalog-header-filters-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.catalog-header-filters-track::-webkit-scrollbar {
    display: none;
}

.catalog-header-filters-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: min-content;
    padding: 0.1rem 0;
}

.catalog-header-title {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.catalog-header-title h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    color: var(--primary);
}

.catalog-result-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.catalog-filter-groups {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
}

.catalog-filter-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.catalog-filter-label {
    flex: 0 0 72px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.catalog-filter-track {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.catalog-filter-track::-webkit-scrollbar {
    display: none;
}

.catalog-filter-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: min-content;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.48rem 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
}

.category-pill:hover {
    border-color: var(--sale);
    color: var(--sale);
    background: var(--sale-light);
    text-decoration: none;
}

.category-pill.active {
    background: var(--sale);
    border-color: var(--sale);
    color: #fff;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.22);
}

.pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.category-pill.active .pill-count {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Catalog */
.catalog-section {
    padding: 1.25rem 0 3rem;
}

.category-products {
    display: none;
    animation: fadeIn 0.3s ease;
}

.category-products.active {
    display: block;
}

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

.catalog-search {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 240px;
    max-width: 460px;
}

.catalog-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.35rem 0.4rem 0.35rem 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.catalog-search-field:focus-within {
    border-color: var(--sale);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.catalog-search-field i {
    color: var(--text-muted);
    flex-shrink: 0;
}

.catalog-search-field input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text);
}

.catalog-search-field input::placeholder {
    color: var(--text-muted);
}

.catalog-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: none;
    border-radius: 50%;
    background: var(--sale);
    color: #fff;
    flex-shrink: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.catalog-search-submit:hover {
    background: var(--sale-hover);
    transform: translateX(1px);
}

.catalog-search-clear {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    white-space: nowrap;
}

.catalog-search-clear:hover {
    color: var(--sale);
}

.product-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.empty-category {
    text-align: center;
    padding: 3rem 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
}

.empty-category i {
    font-size: 2.5rem;
    color: var(--border);
    display: block;
    margin-bottom: 0.75rem;
}

.empty-category p {
    color: var(--text-muted);
    margin: 0;
}

/* Pagination */
.catalog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    text-decoration: none;
}

.page-btn:hover:not(.disabled) {
    border-color: var(--sale);
    color: var(--sale);
    background: var(--sale-light);
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-direction: row;
    flex-wrap: wrap;
}

.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    text-decoration: none;
    border: 2px solid transparent;
    transition: all var(--transition);
}

.page-num:hover {
    border-color: var(--sale);
    color: var(--sale);
    background: var(--sale-light);
}

.page-num.active {
    background: var(--sale);
    color: #fff;
    border-color: var(--sale);
}

.pagination-info {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Product Card */
.product-card {
    display: block;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    height: 100%;
    color: inherit;
}

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

.product-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: var(--sale);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

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

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

.product-info {
    padding: 1.25rem;
}

.product-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    font-weight: 600;
}

.product-info h3 {
    font-size: 1rem;
    margin: 0.35rem 0 0.5rem;
    line-height: 1.3;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary);
}

.product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-price {
    font-weight: 700;
    color: var(--price);
    font-size: 1.1rem;
}

.product-cta {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sale);
    opacity: 0;
    transition: opacity var(--transition);
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    padding: 3rem 0;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.cta-section p {
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Detail */
.product-detail-section {
    padding: 2rem 0 4rem;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--accent);
}

.product-gallery {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.product-gallery .carousel-item img {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.product-gallery .carousel-control-prev-icon,
.product-gallery .carousel-control-next-icon {
    filter: invert(1);
}

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg);
}

.thumb-btn {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    padding: 0;
    background: none;
    cursor: pointer;
    width: 72px;
    height: 72px;
    transition: border-color var(--transition);
}

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

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

.product-detail-info {
    padding: 1rem 0;
}

.product-detail-info h1 {
    font-size: 2.5rem;
    margin: 0.5rem 0 1rem;
}

.product-price-lg {
    font-size: 2rem;
    font-weight: 700;
    color: var(--price);
    margin-bottom: 1rem;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.stock-badge.in-stock {
    background: rgba(22, 163, 74, 0.12);
    color: var(--price-dark);
}

.stock-badge.out-of-stock {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.product-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.quantity-selector {
    margin-bottom: 1.5rem;
}

.quantity-selector label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.qty-controls-sm {
    transform: scale(0.9);
    transform-origin: left center;
}

.qty-btn {
    background: var(--bg);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--primary);
    transition: background var(--transition);
}

.qty-btn:hover {
    background: var(--border);
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 2px solid var(--border);
    border-right: 2px solid var(--border);
    text-align: center;
    font-weight: 500;
    -moz-appearance: textfield;
}

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

.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Cart */
.cart-section {
    padding: 2rem 0 4rem;
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-muted);
    margin: 0;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cart-item-image {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

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

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.cart-item-name:hover {
    color: var(--sale);
}

.cart-item-price {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.qty-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.update-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
}

.cart-item-total {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.cart-summary {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.summary-total {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--border);
}

.summary-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1rem 0 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.empty-cart i {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 1.5rem;
}

.empty-cart h2 {
    margin-bottom: 0.75rem;
}

.empty-cart p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 1.5rem 0;
    margin-top: auto;
}

/* Alerts */
.alert-success {
    background: rgba(22, 163, 74, 0.12);
    border-color: var(--price);
    color: var(--price-dark);
}

.alert-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.alert-with-action .alert-body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    flex: 1;
    min-width: 0;
}

.alert-with-action .alert-body > i {
    flex-shrink: 0;
}

.alert-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 700;
    color: var(--price-dark);
    text-decoration: none;
    white-space: nowrap;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(22, 163, 74, 0.35);
    transition: all var(--transition);
}

.alert-action-link:hover {
    color: #fff;
    background: var(--price);
    border-color: var(--price);
}

/* Responsive */
@media (max-width: 991px) {
    .cart-item {
        flex-wrap: wrap;
    }

    .cart-item-total {
        width: 100%;
        text-align: right;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border);
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .catalog-header-section {
        padding: 0.75rem 0 0;
    }

    .catalog-header-section > .container {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .catalog-header-panel {
        padding: 0.85rem 0.75rem;
        border-radius: 14px;
        overflow: hidden;
    }

    .catalog-header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .catalog-header-top--filtered {
        flex-wrap: wrap;
    }

    .catalog-header-top--filtered .catalog-search {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .catalog-header-filters {
        order: 2;
        display: block;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .catalog-header-filters-track {
        width: 100%;
        max-width: 100%;
        touch-action: pan-x;
    }

    .catalog-header-filters-pills {
        justify-content: flex-start;
        gap: 0.4rem;
        padding: 0.15rem 0.15rem 0.15rem 0;
    }

    .catalog-search {
        order: 3;
        max-width: none;
        min-width: 0;
        width: 100%;
    }

    .catalog-header-title h2 {
        font-size: 1.15rem;
    }

    .catalog-result-count {
        font-size: 0.78rem;
    }

    .category-pill {
        font-size: 0.76rem;
        padding: 0.36rem 0.62rem;
        gap: 0.3rem;
    }

    .category-pill .pill-count {
        min-width: 1.25rem;
        height: 1.15rem;
        padding: 0 0.3rem;
        font-size: 0.65rem;
    }

    .catalog-section {
        padding: 1rem 0 2rem;
    }

    .catalog-section .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .catalog-section .row {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    .product-info {
        padding: 0.85rem;
    }

    .product-info h3 {
        font-size: 0.9rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-cta {
        display: none;
    }

    .product-detail-info h1 {
        font-size: 1.75rem;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .catalog-pagination {
        gap: 0.5rem;
    }

    .page-btn {
        font-size: 0.8rem;
        padding: 0.45rem 0.75rem;
    }

    .page-num {
        min-width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}

@media (max-width: 575px) {
    .product-info {
        padding: 0.65rem 0.55rem;
    }

    .product-info h3 {
        font-size: 0.78rem;
        line-height: 1.3;
        -webkit-line-clamp: 3;
        margin: 0.2rem 0 0.35rem;
    }

    .product-info .product-category {
        font-size: 0.58rem;
    }

    .sale-badge {
        top: 5px;
        left: 5px;
        font-size: 0.55rem;
        padding: 0.12rem 0.35rem;
        max-width: calc(100% - 10px);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-price {
        font-size: 0.85rem;
    }

    .product-cta {
        display: none;
    }
}
