/* Product Pages - consistent highlights and structure */

.product-header {
    margin: 0 0 24px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(251,176,59,0.08) 0%, rgba(255,140,0,0.06) 100%);
    border: 1px solid rgba(251,176,59,0.25);
    border-radius: 10px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #1c1c1c;
    margin: 0 0 14px 0;
}

.section-title .marker {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(135deg, #fbb03b, #ff8c00);
    box-shadow: 0 0 0 3px rgba(251,176,59,0.2);
}

.highlight-card {
    background: #fff;
    border: 1px solid #eee;
    border-left: 4px solid #fbb03b;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.feature-list {
    margin: 0;
    padding-left: 22px;
}
.feature-list li { margin: 8px 0; line-height: 1.6; }
.feature-list strong { color: #1c1c1c; }

.product-toc {
    background: #ffffff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0 0 20px 0;
}
.product-toc h5 { margin: 0 0 10px 0; font-weight: 700; color: #1c1c1c; }
.product-toc a { color: #fbb03b; text-decoration: none; }
.product-toc a:hover { color: #ff8c00; text-decoration: underline; }

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #1c1c1c;
    background: linear-gradient(135deg, rgba(251,176,59,0.18), rgba(255,140,0,0.15));
    border: 1px solid rgba(251,176,59,0.35);
    border-radius: 999px;
    padding: 6px 10px;
}

.cta-wrap { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.cta-wrap .btn { border-radius: 10px; }
.cta-wrap .btn-active { border-radius: 10px; }

/* ===== MEJORAS PARA LEAVE COMMENT ===== */
.leave_comment {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.leave_comment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbb03b 0%, #ff8c00 50%, #fbb03b 100%);
}

.leave_comment h3 {
    color: #1c1c1c;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.leave_comment h3::before {
    content: '💬';
    font-size: 20px;
}

.leave_comment p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.leave_comment strong {
    color: #fbb03b;
    font-weight: 700;
}

/* ===== BOTONES DE TIENDA MEJORADOS ===== */
.shop_btn {
    background: linear-gradient(135deg, #fbb03b 0%, #ff8c00 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(251, 176, 59, 0.3);
    position: relative;
    overflow: hidden;
}

.shop_btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.shop_btn:hover {
    /*transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 176, 59, 0.4);
    color: white;
    text-decoration: none;*/


    background: linear-gradient(135deg, #ff8c00 0%, #e67e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 176, 59, 0.3);
    color: white;
    text-decoration: none;
}

.shop_btn:hover::before {
    left: 100%;
}

.shop_btn:active {
    transform: translateY(0);
}

/* ===== PRODUCTOS RELACIONADOS REDISEÑADOS ===== */
.widget_popular_posts {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget_popular_posts h3 {
    color: #1c1c1c;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget_popular_posts h3::before {
    content: '⭐';
    font-size: 16px;
}

.recent_posts_widget {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.recent_posts_widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: rgba(251, 176, 59, 0.2);
    text-decoration: none;
    color: inherit;
}

.post_item_img_widget {
    position: relative;
    overflow: hidden;
    height: 160px;
}

.post_item_img_widget img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.recent_posts_widget:hover .post_item_img_widget img {
    transform: scale(1.08);
}

/* Overlay al hacer hover */
.post_item_img_widget::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 176, 59, 0.8) 0%, rgba(255, 140, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.recent_posts_widget:hover .post_item_img_widget::after {
    opacity: 1;
}

.post_item_img_widget::after {
    content: 'Ver más';
}

/* Contenido del producto */
.post_item_content_widget {
    padding: 15px;
}

.post_item_title {
    font-size: 16px;
    font-weight: 700;
    color: #1c1c1c;
    margin-bottom: 8px;
    line-height: 1.3;
}

.post_item_description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post_item_btn {
    background: linear-gradient(135deg, #fbb03b 0%, #ff8c00 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(251, 176, 59, 0.3);
}

.post_item_btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 176, 59, 0.4);
    color: white;
    text-decoration: none;
}

/* ===== NEWSLETTER MEJORADO ===== */
.newsletter-section {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.newsletter-section h4 {
    color: #1c1c1c;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-section h4::before {
    content: '📧';
    font-size: 16px;
}

.newsletter-section p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #fbb03b;
    box-shadow: 0 0 0 3px rgba(251, 176, 59, 0.1);
}

.newsletter-btn {
    background: linear-gradient(135deg, #fbb03b 0%, #ff8c00 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(251, 176, 59, 0.3);
}

.newsletter-section small {
    color: #888;
    font-size: 12px;
    display: block;
    text-align: center;
}

@media (max-width: 768px) {
    .product-header { padding: 14px 16px; }
    .highlight-card { padding: 16px; }
    .leave_comment { padding: 20px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-btn { width: 100%; }
}

