/* Sleep & Recovery Store - Estilos */

:root {
    --sr-primary: #4a9d6f;
    --sr-primary-dark: #3a7d5f;
    --sr-accent: #1a3a52;
    --sr-background: #ffffff;
    --sr-foreground: #1a1a1a;
    --sr-border: #e5e5e5;
    --sr-muted: #f5f5f5;
    --sr-muted-foreground: #666666;
}

.sleep-recovery-store {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--sr-foreground);
    background-color: var(--sr-background);
}

.sleep-recovery-store h1,
.sleep-recovery-store h2,
.sleep-recovery-store h3,
.sleep-recovery-store h4,
.sleep-recovery-store h5,
.sleep-recovery-store h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Container */
.sr-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .sr-container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .sr-container {
        padding: 0 2rem;
    }
}

/* Header */
.sr-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: white;
    border-bottom: 1px solid var(--sr-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sr-header .sr-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.sr-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--sr-foreground);
    text-decoration: none;
    cursor: pointer;
}

.sr-logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--sr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    font-weight: bold;
}

.sr-logo-text {
    display: none;
}

@media (min-width: 640px) {
    .sr-logo-text {
        display: inline;
    }
}

.sr-nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .sr-nav {
        display: flex;
    }
}

.sr-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--sr-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.sr-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    text-align: center;
    color: white;
    overflow: hidden;
}

.sr-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(74,157,111,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(26,58,82,0.1);stop-opacity:1" /></linearGradient></defs><rect width="1200" height="600" fill="url(%23grad)"/></svg>');
    background-size: cover;
    background-position: center;
}

.sr-hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.sr-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .sr-hero h1 {
        font-size: 3.5rem;
    }
}

.sr-hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sr-hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .sr-hero-ctas {
        flex-direction: row;
    }
}

/* Buttons */
.sr-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.sr-btn-primary:hover {
    background-color: var(--sr-primary-dark);
    box-shadow: 0 4px 12px rgba(74, 157, 111, 0.3);
}

.sr-btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.sr-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sr-btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Main Content */
.sr-main {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Category Section */
.sr-category {
    padding: 3rem 0;
    border-bottom: 1px solid var(--sr-border);
}

.sr-category:last-child {
    border-bottom: none;
}

.sr-category-header {
    margin-bottom: 2rem;
}

.sr-category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--sr-foreground);
}

@media (min-width: 768px) {
    .sr-category-header h2 {
        font-size: 2.5rem;
    }
}

.sr-category-header p {
    font-size: 1.125rem;
    color: var(--sr-muted-foreground);
    max-width: 600px;
}

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

@media (min-width: 768px) {
    .sr-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .sr-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Product Card */
.sr-product-card {
    background-color: white;
    border: 1px solid var(--sr-border);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sr-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sr-product-image {
    position: relative;
    overflow: hidden;
    background-color: var(--sr-muted);
    aspect-ratio: 1;
}

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

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

.sr-product-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-grow: 1;
}

.sr-product-content h3 {
    font-size: 1rem;
    margin: 0;
    color: var(--sr-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sr-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sr-stars {
    display: flex;
    gap: 0.125rem;
}

.sr-star {
    color: var(--sr-muted-foreground);
    font-size: 0.875rem;
}

.sr-star.filled {
    color: var(--sr-primary);
}

.sr-reviews {
    font-size: 0.75rem;
    color: var(--sr-muted-foreground);
}

.sr-description {
    font-size: 0.875rem;
    color: var(--sr-muted-foreground);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.sr-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.75rem;
    color: var(--sr-muted-foreground);
}

.sr-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.sr-bullet {
    color: var(--sr-primary);
    margin-top: 0.125rem;
}

.sr-product-footer {
    padding-top: 0.75rem;
    border-top: 1px solid var(--sr-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sr-price {
    display: flex;
    flex-direction: column;
}

.sr-price-label {
    font-size: 0.75rem;
    color: var(--sr-muted-foreground);
}

.sr-price-value {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--sr-foreground);
}

/* Footer */
.sr-footer {
    background-color: var(--sr-foreground);
    color: white;
    padding: 3rem 0;
}

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

.sr-footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: white;
}

.sr-footer-section p {
    font-size: 0.875rem;
    opacity: 0.7;
    margin: 0;
}

.sr-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sr-footer-section li {
    margin-bottom: 0.5rem;
}

.sr-footer-section a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.sr-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.sr-affiliate-disclosure {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.sr-footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.6;
    margin: 0;
}

.sr-footer-bottom a {
    color: var(--sr-primary);
    text-decoration: none;
}

.sr-footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsivo */
@media (max-width: 640px) {
    .sr-hero h1 {
        font-size: 1.875rem;
    }

    .sr-hero p {
        font-size: 1rem;
    }

    .sr-category-header h2 {
        font-size: 1.5rem;
    }

    .sr-products-grid {
        grid-template-columns: 1fr;
    }
}
