/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #039784;
    --secondary-color: #545454;
    --bg-white: #FFFFFF;
    --bg-light: #F5F5F5;
    --border-color: #E0E0E0;
    --text-primary: #545454;
    --text-secondary: #757575;
    --success-color: #039784;
    --error-color: #D32F2F;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 {
    font-size: 42px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #027d6d;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay h1 {
    color: white;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 20px;
}

/* Filters */
.filters {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.filters h2 {
    text-align: center;
    margin-bottom: 30px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Products Grid */
.products {
    padding: 60px 0;
}

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

.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.product-card.hidden {
    display: none;
}

.product-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.status-badge.disponible {
    background-color: var(--success-color);
}

.status-badge.vendido {
    background-color: var(--error-color);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-technique {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

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

.btn-primary:hover {
    background-color: #027d6d;
}

.btn-secondary {
    background-color: var(--border-color);
    color: var(--text-secondary);
    cursor: not-allowed;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Product Detail */
.product-detail {
    padding: 60px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #027d6d;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 30px;
}

.detail-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-image img {
    width: 100%;
    height: auto;
}

.detail-info h1 {
    margin-bottom: 20px;
}

.detail-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.detail-section p {
    line-height: 1.8;
    color: var(--text-primary);
}

.detail-specs {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--secondary-color);
}

.spec-value {
    color: var(--text-primary);
}

/* Checkout */
.checkout {
    padding: 60px 0;
}

.checkout h1 {
    margin-bottom: 40px;
}

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

.checkout-form h2 {
    margin-bottom: 30px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

.shipping-info,
.payment-info {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.shipping-info h3,
.payment-info h3 {
    margin-bottom: 15px;
}

.shipping-info p,
.payment-info p {
    margin-bottom: 8px;
}

.checkout-summary {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.checkout-summary h2 {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-color);
}

.summary-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Artist Section */
.artist-section {
    padding: 60px 0;
}

.artist-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 40px;
}

.artist-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.artist-image img {
    width: 100%;
    height: auto;
}

.artist-bio h1 {
    margin-bottom: 10px;
}

.artist-bio h2 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 30px;
}

.bio-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.bio-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.bio-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.bio-content li {
    margin-bottom: 8px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form-wrapper h2 {
    margin-bottom: 30px;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-item p {
    color: var(--text-primary);
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--bg-white);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--secondary-color);
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    line-height: 1.8;
    color: var(--text-primary);
}

/* Terms Section */
.terms-section {
    padding: 60px 0;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.terms-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.terms-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.terms-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

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

.terms-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}

.terms-footer {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
    }
    
    .artist-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}