/* ==========================================================================
   SuplementosMujer - Shared Stylesheet
   Brand: Pink gradient (#ec4899 to #f97316), white background
   Font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BASE / RESET
   -------------------------------------------------------------------------- */
* {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #111827;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* --------------------------------------------------------------------------
   2. GRADIENT UTILITIES
   -------------------------------------------------------------------------- */
.gradient-primary {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
}

.gradient-secondary {
    background: linear-gradient(135deg, #f97316 0%, #ec4899 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-border {
    border-image: linear-gradient(135deg, #ec4899 0%, #f97316 100%) 1;
}

.gradient-bg-soft {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
}

/* --------------------------------------------------------------------------
   3. TRANSITIONS & ANIMATIONS
   -------------------------------------------------------------------------- */
.smooth-transition {
    transition: all 300ms ease-in-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 600ms ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 500ms ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 600ms ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 600ms ease-out;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.pulse-soft {
    animation: pulse-soft 3s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   4. STICKY HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 300ms ease;
}

.sticky-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Desktop nav link hover effect */
.nav-link {
    position: relative;
    color: #374151;
    font-weight: 500;
    transition: color 300ms ease;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    transition: width 300ms ease;
}

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

.nav-link:hover {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link.active {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease-in-out;
}

.mobile-menu.open {
    max-height: 600px;
}

.mobile-menu-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 200ms ease, color 200ms ease;
    text-decoration: none;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background-color: #fdf2f8;
    color: #ec4899;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(236, 72, 153, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #ec4899;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid #ec4899;
    cursor: pointer;
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-secondary:hover {
    background-color: #fdf2f8;
    transform: scale(1.05);
}

.btn-secondary:active {
    transform: scale(0.98);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    line-height: 1.5;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* Legacy support */
.btn-hover {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-hover:hover {
    transform: scale(1.05);
}

.btn-hover:active {
    transform: scale(0.98);
}

/* --------------------------------------------------------------------------
   6. CARD STYLES
   -------------------------------------------------------------------------- */

/* Base card hover */
.card-hover {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Silo / Category cards */
.silo-card {
    position: relative;
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    padding: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.silo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease;
}

.silo-card:hover::before {
    transform: scaleX(1);
}

.silo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(236, 72, 153, 0.12);
    border-color: rgba(236, 72, 153, 0.2);
}

/* Product cards */
.product-card {
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 1rem;
    background-color: #fafafa;
    transition: transform 300ms ease;
}

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

.product-card .product-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card .product-badge.badge-top {
    background-color: #fdf2f8;
    color: #ec4899;
}

.product-card .product-badge.badge-new {
    background-color: #ecfdf5;
    color: #10b981;
}

.product-card .product-badge.badge-sale {
    background-color: #fff7ed;
    color: #f97316;
}

/* Star rating */
.star-rating {
    color: #fbbf24;
    font-size: 0.875rem;
}

/* Blog post cards */
.blog-card {
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.blog-card .blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 400ms ease;
}

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

.blog-card .blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: #fdf2f8;
    color: #ec4899;
}

/* Feature icon hover */
.feature-icon {
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon:hover {
    transform: rotate(12deg) scale(1.1);
}

/* --------------------------------------------------------------------------
   7. TABLE STYLES (Comparisons)
   -------------------------------------------------------------------------- */
.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    font-size: 0.9375rem;
}

.comparison-table thead th {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem 1.25rem;
    text-align: left;
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    text-align: left;
}

.comparison-table tbody td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.comparison-table tbody tr:hover {
    background-color: #fdf2f8;
}

.comparison-table .table-highlight {
    background-color: rgba(236, 72, 153, 0.05);
    font-weight: 600;
}

/* Responsive table wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.75rem;
}

/* --------------------------------------------------------------------------
   8. BREADCRUMB STYLES
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: #6b7280;
    list-style: none;
    margin: 0;
}

.breadcrumb a {
    color: #6b7280;
    text-decoration: none;
    transition: color 200ms ease;
}

.breadcrumb a:hover {
    color: #ec4899;
}

.breadcrumb .breadcrumb-separator {
    color: #d1d5db;
}

.breadcrumb .breadcrumb-current {
    color: #ec4899;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: #111827;
    color: #d1d5db;
}

.site-footer a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 200ms ease;
}

.site-footer a:hover {
    color: #f9a8d4;
}

.footer-heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.5rem;
    height: 3px;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    border-radius: 9999px;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-list li a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.footer-link-list li a::before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.625rem;
    color: #ec4899;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding-top: 2rem;
    margin-top: 3rem;
}

.affiliate-disclosure {
    background-color: rgba(236, 72, 153, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 0.8125rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. NEWSLETTER SECTION
   -------------------------------------------------------------------------- */
.newsletter-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 1rem;
    transition: border-color 200ms ease, box-shadow 200ms ease;
    outline: none;
}

.newsletter-input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.15);
}

/* --------------------------------------------------------------------------
   11. TRUST / AUTHORITY SECTION
   -------------------------------------------------------------------------- */
.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    transition: transform 300ms ease;
}

.trust-badge:hover {
    transform: translateY(-4px);
}

.trust-badge .trust-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(249, 115, 22, 0.1) 100%);
}

.trust-badge .trust-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   12. SCHEMA.ORG MARKUP STYLES (visually hidden)
   -------------------------------------------------------------------------- */
.sr-only,
.schema-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   13. MISCELLANEOUS UTILITIES
   -------------------------------------------------------------------------- */

/* Section divider */
.section-divider {
    width: 5rem;
    height: 4px;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    border-radius: 9999px;
    margin: 0 auto;
}

/* Announcement bar */
.announcement-bar {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    color: #ffffff;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Price styles */
.price-current {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-original {
    font-size: 0.9375rem;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Pros / Cons list */
.pros-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #10b981;
    margin-right: 0.5rem;
}

.cons-list li::before {
    content: '\f00d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ef4444;
    margin-right: 0.5rem;
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
}

.pros-list li,
.cons-list li {
    padding: 0.375rem 0;
}

/* TOC (Table of Contents) */
.toc {
    background-color: #fdf2f8;
    border: 1px solid rgba(236, 72, 153, 0.15);
    border-radius: 0.75rem;
    padding: 1.5rem 2rem;
}

.toc-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    padding: 0.375rem 0;
}

.toc-list a {
    color: #ec4899;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 200ms ease;
}

.toc-list a:hover {
    color: #be185d;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   14. RESPONSIVE ADJUSTMENTS
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.8125rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.625rem 0.75rem;
    }

    .breadcrumb {
        font-size: 0.8125rem;
    }

    .footer-heading::after {
        width: 2rem;
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary,
    .btn-outline-white {
        padding: 0.625rem 1.5rem;
        font-size: 0.9375rem;
    }
}
