 
/*
/* themes/default/assets/css/theme.css */

:root {
    /* Cores principais */
    --primary-color: #4c84ff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --background-color: #F3F3F3;;
    --text-color: #212529;
    
    /* Cores derivadas */
    --primary-light: #e6f0ff;
    --primary-dark: #3a70e3;
    --border-color: #e0e0e0;
    --input-border: #ced4da;
    --input-focus: #80bdff;
    
    /* Tipografia */
    --font-family: "Sora", sans-serif;
    --headings-font: var(--font-family);
    --base-font-size: 12px;
    --heading-weight: 600;
    --body-weight: 400;
    
    /* Layout */
    --container-width: 1200px;
    --container-padding: 15px;
    --sidebar-width: 280px;
    --product-grid-columns: 4;
    --product-grid-gap: 20px;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Reset e Estilos Básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--base-font-size);
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.main-content.with-sidebar {
    flex: 1;
    padding-right: 30px;
}

.theme-sidebar {
    width: var(--sidebar-width);
}

/* Header */
.theme-header {
    background-color: var(--background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    max-height: 50px;
}

.main-nav ul {
    display: flex;
}

.main-nav li:not(:last-child) {
    margin-right: 20px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.2s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    margin-right: 20px;
}

.search-box input {
    width: 200px;
    padding: 8px 15px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.user-actions {
    display: flex;
    align-items: center;
}

.account-link, .cart-link {
    color: var(--text-color);
    font-size: 20px;
    margin-left: 15px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.header-components {
    border-top: 1px solid var(--border-color);
}
header .all-categories{
    flex:0 0 18%; 
    position: relative;
    
}
header .all-categories button{
     font-size: 12px;
    width:90%; 
    gap:4px;
    display: flex;
    align-items: center;
    background: transparent;
    font-weight: bold;
}
header .all-categories-menu{
    display: none;
}
header .all-categories a{
    color:initial; 
}
header .all-categories .collapse a i{
   display: none;
}
/*Carrinho*/
.cart-page-section .cart-item,
.cart-page-section .cart-header-list,
.cart-page-section .cart-summary, 
.cart-page-section .shipping-calculator, 
.cart-page-section .discount-section{
    background:#FFF
}
 
/* Footer */
.theme-footer {
    background-color: #f8f9fa;
    padding: 50px 0 0;
    margin-top: 50px;
}

.footer-info {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo, .footer-contact, .footer-links, .footer-newsletter {
    flex: 1;
    min-width: 250px;
    padding: 0 15px;
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 40px;
    margin-bottom: 15px;
}

.footer-contact p, .footer-links li {
    margin-bottom: 10px;
}

.footer-contact i, .footer-links i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-links ul {
    padding: 0;
}

.footer-links a {
    color: var(--text-color);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-newsletter p {
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form button {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.footer-copyright p {
    margin: 5px 0;
}

.footer-copyright i {
    color: var(--danger-color);
    margin: 0 5px;
}

/* Componentes do Tema */
.theme-component {
    margin-bottom: 30px;
}

.component-header {
    margin-bottom: 15px;
}

.component-title {
    font-size: 1.5rem;
    font-weight: var(--heading-weight);
    margin-bottom: 5px;
}

/* Banner Component */
.theme-banner {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.theme-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.theme-banner-slider {
    position: relative;
}

.theme-banner-slide {
    display: none;
}

.theme-banner-slide.active {
    display: block;
}

.theme-banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 5;
}

.theme-banner-controls button {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.theme-banner-controls button:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.theme-banner-indicators {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 5;
}

.theme-banner-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.theme-banner-indicator.active {
    background: white;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* Product List Component */
.theme-product-list {
    display: grid;
    grid-template-columns: repeat(var(--product-grid-columns), 1fr);
    gap: var(--product-grid-gap);
}

.theme-product-list.list {
    grid-template-columns: 1fr;
}

.theme-product-list.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.theme-product-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
    scroll-snap-align: start;
    background-color: white;
}

.theme-product-list.carousel .theme-product-item {
    flex: 0 0 calc(100% / var(--product-grid-columns) - var(--product-grid-gap));
    margin-right: var(--product-grid-gap);
}

.theme-product-item:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.theme-product-image {
    position: relative;
}

.theme-product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.product-badge.new {
    background-color: var(--success-color);
    color: white;
}

.product-badge.discount {
    background-color: var(--danger-color);
    color: white;
}

.product-badge.featured {
    background-color: var(--primary-color);
    color: white;
}

.theme-product-info {
    padding: 15px;
}

.theme-product-name {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.theme-product-name a {
    color: var(--text-color);
}

.theme-product-name a:hover {
    color: var(--primary-color);
}
.theme-product-price {
    margin-bottom: 10px;
    color: #007bff !important;
}

.current-price {
    color: #007bff !important;
    font-weight: 600;
    font-size: 1.1rem;
}

.compare-price {
    color: var(--secondary-color);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-right: 5px;
}

.theme-product-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.quick-add-to-cart, .quick-view, .wishlist-toggle {
    flex: 1;
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 2px;
}

.quick-add-to-cart:hover, .quick-view:hover, .wishlist-toggle:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Product Detail Page */
.product-detail-page {
    margin-bottom: 50px;
}

.product-breadcrumb {
    background-color: var(--light-color);
    padding: 10px 0;
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 10px;
    color: var(--secondary-color);
}

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

.breadcrumb-item.active {
    color: var(--primary-color);
}

.product-detail {
   
    margin-bottom: 50px;
}

.product-gallery {
   
}

.main-image {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail {
    width: calc(20% - 8px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail.active {
    border-color: var(--primary-color);
}

.thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.product-info {
    width: 50%;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-meta > div {
    margin-right: 20px;
    margin-bottom: 10px;
}

.product-meta span:first-child {
    font-weight: 600;
    color: var(--secondary-color);
}

.in-stock {
    color: var(--success-color);
    font-weight: 600;
}

.out-of-stock {
    color: var(--danger-color);
    font-weight: 600;
}

.product-description {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.product-variations {
    margin-bottom: 20px;
}

.variation-group {
    margin-bottom: 15px;
}

.variation-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.variation-option {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
}

.variation-option:hover {
    border-color: var(--primary-color);
}

.variation-option.selected {
    background-color: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.product-actions {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.qty-btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.qty-btn.decrease {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.qty-btn.increase {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.quantity-selector input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
}

.add-to-cart-btn {
    flex: 1;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-dark);
}

.add-to-cart-btn i {
    margin-right: 8px;
}

.wishlist-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.wishlist-btn:hover {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.product-share {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.product-share span {
    margin-right: 10px;
    font-weight: 600;
}

.social-share {
    display: flex;
}

.social-share a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    border-radius: 50%;
    margin-right: 8px;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.product-tabs {
    margin-bottom: 50px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tabs-nav li {
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.tabs-nav li:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.2s ease;
}

.tabs-nav li.active {
    color: var(--primary-color);
}

.tabs-nav li.active:after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th, .specs-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    width: 30%;
    background-color: var(--light-color);
    font-weight: 600;
}

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    margin-right: 15px;
}

.review-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-right: 15px;
}

.review-rating {
    color: var(--warning-color);
}

.review-rating i {
    margin-right: 2px;
}

.add-review {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.add-review h3 {
    margin-bottom: 20px;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.rating-select {
    display: flex;
    flex-direction: row-reverse;
}

.rating-select input {
    display: none;
}

.rating-select label {
    margin: 0 3px;
    cursor: pointer;
    color: var(--secondary-color);
}

.rating-select input:checked ~ label,
.rating-select label:hover,
.rating-select label:hover ~ label {
    color: var(--warning-color);
}


.review-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    resize: vertical;
}

.submit-review {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
}

.submit-review:hover {
    background-color: var(--primary-dark);
}

/* Category List Component */
.theme-category-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.theme-category-list.list {
    grid-template-columns: 1fr;
}

.theme-category-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
    background-color: white;
    text-align: center;
}

.theme-category-item:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.theme-category-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.theme-category-info {
    padding: 15px;
}

.theme-category-name {
    margin: 0 0 5px;
    font-size: 1rem;
    font-weight: 600;
}

.theme-category-count {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.theme-category-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.theme-category-link:hover {
    text-decoration: underline;
}

/* Brand List Component */
.theme-brand-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.theme-brand-list.text-list {
    grid-template-columns: 1fr;
}

.theme-brand-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    background-color: white;
    transition: all 0.2s ease;
}

.theme-brand-item:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-3px);
}

.theme-brand-logo {
    width: 100%;
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}

.theme-brand-name {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
}

.theme-brand-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
}

.theme-brand-link:hover {
    text-decoration: underline;
}

/* HTML Component */
.theme-html-component {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    margin-bottom: 30px;
}

.theme-html-title {
    padding: 15px 20px;
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0;
}

.theme-html-content {
    padding: 20px;
}

.theme-html-content h1, .theme-html-content h2, .theme-html-content h3,
.theme-html-content h4, .theme-html-content h5, .theme-html-content h6 {
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: var(--heading-weight);
}

.theme-html-content p {
    margin-bottom: 15px;
}

.theme-html-content ul, .theme-html-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.theme-html-content li {
    margin-bottom: 5px;
    list-style: initial;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-image: none;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-color);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    color: white;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.9rem;
}

/* Forms */
.form-control {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-color);
    background-color: white;
    background-clip: padding-box;
    border: 1px solid var(--input-border);
    border-radius: var(--border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--text-color);
    background-color: white;
    border-color: var(--input-focus);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

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

.form-group label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
        --product-grid-columns: 3;
    }
}

@media (max-width: 992px) {
    :root {
        --product-grid-columns: 2;
        --sidebar-width: 100%;
    }
    
    .main-wrapper {
        flex-direction: column;
    }
    
    .main-content.with-sidebar {
        padding-right: 0;
        padding-bottom: 30px;
    }
    
    .product-detail {
        flex-direction: column;
    }
    
    .product-gallery {
        width: 100%;
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .product-info {
        width: 100%;
    }
    
    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        margin: 15px 0;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .search-box {
        margin: 0 0 15px;
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .footer-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-contact, .footer-links, .footer-newsletter {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --product-grid-columns: 1;
        --container-padding: 10px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-selector {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .add-to-cart-btn {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .product-meta {
        flex-direction: column;
    }
    
    .product-meta > div {
        margin-right: 0;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tabs-nav li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .thumbnail {
        width: calc(25% - 8px);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .theme-category-list, .theme-brand-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumbnail {
        width: calc(50% - 5px);
    }
}
 