/* assets/css/cuidado-pies.css */

/* Hero Section for Tips Page */
.hero-section-tips {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%), url('https://images.unsplash.com/photo-1605548154442-57b57b1d06a5?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section-tips .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-section-tips h1 {
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section-tips .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

/* Tip Articles Styling */
#tips-content article {
    margin-bottom: 4rem;
    padding: 2rem 0;
}

#tips-content article h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

#tips-content article h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--primary-green));
    border-radius: 2px;
}

#tips-content article .lead {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

#tips-content article ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

#tips-content article ul li {
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    position: relative;
}

#tips-content article ul li strong {
    color: var(--primary-blue);
}

#tips-content article img {
    max-width: 600px;
    width: 100%;
    display: block;
    margin: 1.5rem auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
}

/* Product Section Styling */
#productos-recomendados {
    border-radius: var(--border-radius-lg);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 58, 108, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#productos-recomendados h3 {
    color: var(--primary-blue);
    margin: 0;
    padding: 1.5rem;
    background: linear-gradient(to right, #f8faff, #ffffff);
    border-bottom: 1px solid var(--light-blue);
    font-weight: 700;
}

.recommendation-note {
    padding: 0.75rem 1.5rem;
    background: #fff9f0;
    border-bottom: 1px solid #ffeeba;
    font-size: 0.75rem;
    color: #856404;
    margin: 0;
}

.products-scroll-container {
    max-height: 600px;
    overflow-y: auto;
    padding: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) #f1f1f1;
}

/* Custom Scrollbar for Chrome/Safari/Edge */
.products-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.products-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

.products-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-teal);
}

.product-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-bottom: 1.25rem;
    background: #ffffff;
    position: relative;
}

.product-card:last-child {
    margin-bottom: 0;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-green);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 1;
    text-transform: uppercase;
}

.product-card .card-body {
    padding: 1rem;
}

.product-card .card-title {
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.product-card .card-text {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.affiliate-btn {
    background: linear-gradient(135deg, var(--primary-green) 0%, #7a8a66 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.affiliate-btn:hover {
    background: linear-gradient(135deg, #6d775e 0%, #5d6650 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(122, 138, 102, 0.3);
}

.affiliate-btn:after {
    content: '\F138'; /* Bootstrap icon chevron-right */
    font-family: "bootstrap-icons";
    font-size: 0.8rem;
}

/* CTA Section */
#cta-agendar {
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
    border-radius: var(--border-radius-lg);
    padding: 4rem 2rem;
    margin: 4rem 0;
    box-shadow: inset 0 0 0 1px rgba(26, 58, 108, 0.1);
}

#cta-agendar h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

#cta-agendar .lead {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Scroll Animations (requires JS intersection observer) */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-section-tips {
        min-height: 50vh;
    }
    .hero-section-tips h1 {
        font-size: 2.2rem;
    }
    .sticky-top {
        position: static;
    }
    #productos-recomendados {
        margin-top: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section-tips {
        min-height: 40vh;
    }
    .hero-section-tips h1 {
        font-size: 1.8rem;
    }
    #tips-content article img {
        max-width: 100%;
    }
    #cta-agendar {
        padding: 2rem 1rem;
    }
}

/* Button Override */
.btn-outline-primary {
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Collapsible Toggle Styling */
.more-info-toggle[aria-expanded="false"] .text-expanded {
    display: none !important;
}

.more-info-toggle[aria-expanded="true"] .text-collapsed {
    display: none !important;
}
