:root {
    --primary-color: #f7a072;      /* Warm, pet-friendly orange/peach */
    --primary-dark: #e88c5d;
    --bg-color: #fefcfb;          /* Soft off-white */
    --text-main: #2d3748;         /* Deep slate */
    --text-muted: #718096;
    --card-bg: #ffffff;
    --accent: #2b6cb0;            /* Trustworthy blue */
    --hover-shadow: 0 20px 40px rgba(0,0,0,0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* Typography Details */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
}

p {
    color: var(--text-muted);
}

/* Dev Note Stylings */
.dev-note {
    background: #eef2ff;
    border-left: 5px solid var(--accent);
    padding: 1.5rem;
    margin: 3rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.dev-note p { color: #4338ca; font-size: 0.95rem; }
.dev-note h3 { color: #312e81; font-family: 'Outfit', sans-serif; margin-bottom: 0.5rem; font-weight: 600;}

/* Hero Section */
.hero {
    position: relative;
    height: 75vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('./hero_portada.avif') center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #000000;
}

.hero h1 span {
    color: var(--primary-color);
    display: block;
    font-style: italic;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: #000000;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(247, 160, 114, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(45deg) translateY(-50%);
    transition: 0.5s;
    opacity: 0;
}

.btn-primary:hover::after {
    opacity: 1;
    transform: rotate(45deg) translateY(50%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 160, 114, 0.6);
}

/* Store Section */
.store-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Filters */
.filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #edf2f7;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    color: var(--text-muted);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(247, 160, 114, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-12px);
}

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

.product-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

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

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

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.product-info p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn-amazon {
    background-color: transparent;
    border: 2px solid #e2e8f0;
    color: var(--text-main);
    width: 100%;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-amazon span {
    margin-left: 8px;
    transition: transform 0.3s;
    display: inline-block;
}

.btn-amazon:hover {
    background-color: #f7a072;
    border-color: #f7a072;
    color: white;
    box-shadow: 0 5px 15px rgba(247, 160, 114, 0.3);
}

.btn-amazon:hover span {
    transform: translateX(5px) scale(1.1);
}

/* Footer */
footer {
    background-color: var(--text-main);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.branding h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #a0aec0;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.product-card.show {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero { min-height: 500px; text-align: center; }
    .hero-container { justify-content: center; }
    .hero-overlay { background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.9) 100%); }
    .product-grid { gap: 1.5rem; }
}

/* Live Viewers Badge */
.live-viewers {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.live-viewers:hover {
    transform: translateY(-3px);
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3b30;
    border-radius: 50%;
    position: relative;
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    background-color: #ff3b30;
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}
