/**
 * WooCommerce Styles - MigraWP Theme
 * Design Premium Completo
 *
 * @package MigraWP
 * @since 1.0
 */

/* ==========================================================================
   Hide Default WooCommerce Elements
   ========================================================================== */
.woocommerce div.product .woocommerce-product-gallery {
    display: none;
}

/* ==========================================================================
   Product Page - Buy Now System (no cart)
   ========================================================================== */
/* Estilos movidos para product-page.css */

/* ==========================================================================
   Price Styling
   ========================================================================== */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #111827 !important;
    font-weight: 700 !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    opacity: 0.5;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    background: none;
    text-decoration: none;
}

/* ==========================================================================
   Star Rating
   ========================================================================== */
.woocommerce .star-rating {
    color: #fbbf24 !important;
}

.woocommerce .star-rating::before {
    color: #e5e7eb !important;
}

/* ==========================================================================
   Product Tabs
   ========================================================================== */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 3rem 0;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    gap: 3rem;
    list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1.125rem;
    color: #9ca3af;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #111827;
    border-bottom-color: var(--color-primary);
}

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 2rem 0;
}

.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111827;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    font-weight: 400;
    line-height: 1.75;
    color: #6b7280;
    font-size: 1.125rem;
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.woocommerce #reviews #comments ol.commentlist {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.woocommerce #reviews #comments ol.commentlist li {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1rem;
    border: 1px solid #f3f4f6;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    padding: 0;
    margin: 0;
    border: none;
}

.woocommerce #reviews #comments ol.commentlist li img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 0;
    border: none;
}

.woocommerce #reviews #comments ol.commentlist li .meta {
    font-weight: 600;
    color: #111827;
}

.woocommerce #reviews #comments ol.commentlist li .description p {
    font-weight: 400;
    line-height: 1.625;
    color: #6b7280;
}

/* ==========================================================================
   Review Form
   ========================================================================== */
.woocommerce #review_form #respond {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 2rem;
}

.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"],
.woocommerce #review_form #respond textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--font-ubuntu);
    transition: all 0.2s ease;
}

.woocommerce #review_form #respond input[type="text"]:focus,
.woocommerce #review_form #respond input[type="email"]:focus,
.woocommerce #review_form #respond textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(20, 201, 150, 0.1);
}

.woocommerce #review_form #respond .form-submit input[type="submit"] {
    background-color: var(--color-primary);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 14px 0 rgba(20, 201, 150, 0.25);
}

.woocommerce #review_form #respond .form-submit input[type="submit"]:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 4px 14px 0 rgba(20, 201, 150, 0.35);
}

/* ==========================================================================
   Sale Badge
   ========================================================================== */
.woocommerce span.onsale {
    background-color: var(--color-primary) !important;
    color: white !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.bg-opacity-10 {
    background-color: rgba(20, 201, 150, 0.1) !important;
}

.shadow-xl {
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15);
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.leading-tight {
    line-height: 1.25;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

/* Gradient utilities */
.bg-gradient-to-br {
    background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0));
}

.via-white {
    --tw-gradient-stops: var(--tw-gradient-from), #ffffff, var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-white {
    --tw-gradient-to: #ffffff;
}

.to-gray-50 {
    --tw-gradient-to: #f9fafb;
}
