/**
 * WooCommerce Styles - Hugo Longhi Theme
 * Estilos personalizados para integração WooCommerce
 */

/* ==========================================================================
   WRAPPER E LAYOUT BASE
   ========================================================================== */

.woocommerce-wrapper {
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

.woocommerce-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* ==========================================================================
   CARRINHO
   ========================================================================== */

.cart-header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cart-item {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.cart-item-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-item-name a:hover {
    color: #967e71;
}

.cart-item-price {
    color: #967e71;
    font-size: 1.125rem;
    font-weight: 300;
}

.cart-item-subtotal {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 300;
}

.cart-item-remove a {
    color: #f87171;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.cart-item-remove a:hover {
    color: #fca5a5;
}

.cart-actions {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

/* ==========================================================================
   TOTAIS DO CARRINHO
   ========================================================================== */

.cart-totals,
.cart-collaterals,
.woocommerce-cart-form__contents {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(12px) !important;
    border: 2px solid rgba(150, 126, 113, 0.3) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin: 1.5rem 0 !important;
}

.woocommerce table.shop_table {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    width: 100% !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    background: rgba(0, 0, 0, 0.3) !important;
    color: #fcfbfa !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1rem !important;
    text-align: left !important;
    font-weight: 400 !important;
}

.woocommerce table.shop_table th {
    background: rgba(150, 126, 113, 0.2) !important;
    color: #fcfbfa !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 0.875rem !important;
}

.woocommerce table.shop_table tbody tr:hover {
    background: rgba(150, 126, 113, 0.1) !important;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.total-row:last-child {
    border-bottom: 3px solid #967e71;
    padding: 1rem 0;
    background: rgba(150, 126, 113, 0.1);
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 0 0 12px 12px;
}

.total-label {
    color: #d4d2d1;
    font-weight: 500;
    font-size: 1rem;
}

.total-value {
    color: #fcfbfa;
    font-weight: 600;
    font-size: 1.125rem;
}

.total-row:last-child .total-label {
    color: #fcfbfa;
    font-weight: 700;
    font-size: 1.125rem;
}

.total-row:last-child .total-value {
    color: #f48e00;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Campos de quantidade */
.woocommerce .quantity input.qty {
    background: #060606 !important;
    border: 2px solid #967e71 !important;
    color: #fcfbfa !important;
    padding: 0.5rem !important;
    border-radius: 6px !important;
    width: 80px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.woocommerce .quantity input.qty:focus {
    border-color: #f48e00 !important;
    box-shadow: 0 0 0 2px rgba(244, 142, 0, 0.2) !important;
    outline: none !important;
}

/* ==========================================================================
   CHECKOUT - WOOCOMMERCE BLOCKS
   ========================================================================== */

.wp-block-woocommerce-checkout {
    margin: 0 auto !important;
}

/* Blocos de componentes principais */
/* Containers principais - com background e bordas */
.wc-block-components-checkout-step,
.wc-block-components-sidebar,
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-totals-block {
    background: #000 !important;
    border: 1px solid #967e71 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 1rem !important;
    padding: 1rem !important;
}

/* Componentes internos - sem background e bordas para evitar aninhamento visual */
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary,
.wc-block-components-panel,
.wc-block-components-radio-control {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
}

/* Estilo específico para quantidade do item */
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    position: relative !important;
}

.wc-block-components-product-metadata__description, .wc-block-components-totals-item {
    display: none;
}

/* Ocultar preço total dos itens e subtotal */
.wc-block-components-order-summary-item__total-price,
.wp-block-woocommerce-checkout-order-summary-subtotal-block .wc-block-components-totals-wrapper {
    display: none !important;
}

/* Ocultar a imagem do produto e usar a div apenas para a quantidade */
.wc-block-components-order-summary-item__image img {
    display: none !important;
}

.wc-block-components-order-summary-item__image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Títulos e subtítulos dos blocos */
.wc-block-components-checkout-step__title,
.wc-block-components-title,
.wc-block-components-checkout-order-summary__title-text,
.wc-block-components-totals-item__label,
.wc-block-components-panel__button,
.wc-block-components-checkout-step h2,
.wc-block-components-sidebar h2,
.wc-block-checkout__sidebar h2 {
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji') !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
    color: #967e71 !important;
    font-weight: 300 !important;
    margin-bottom: 1rem !important;
    font-style: normal !important;
    text-decoration: none !important;
}

/* Textos gerais */
.wc-block-components-checkout-step__content,
.wc-block-components-product-name,
.wc-block-components-order-summary-item__description,
.wc-block-components-payment-method-label,
.wc-block-components-radio-control__label,
.wc-block-components-checkbox__label {
    color: #ffffff !important;
}

/* Descrições dos steps do checkout - estilo info-content */
.wc-block-components-checkout-step__description,
.wc-block-components-checkout-step__description p {
    font-size: 1.125rem !important; /* text-lg */
    color: #d1d5db !important; /* text-gray-300 */
    line-height: 1.625 !important; /* leading-relaxed */
    margin-bottom: 2rem !important; /* mb-8 */
    font-weight: 300 !important; /* font-light */
    margin-top: 1rem !important; /* space-y-4 */
}

/* Campos de formulário - inputs e selects */
.wc-block-components-text-input input,
.wc-blocks-components-select__select,
.wc-block-components-address-form input,
.wc-block-components-address-form select {
    background-color: #2a2a2a !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

span.wc-block-components-address-form__address_2-toggle {
    display: none !important;
}
svg.wc-blocks-components-select__expand {
    fill: #fff !important;
}
/* Placeholders dos campos de texto */
.wc-block-components-text-input input::placeholder,
.wc-blocks-components-select__select::placeholder,
.wc-block-components-address-form input::placeholder,
.wc-block-components-address-form select::placeholder {
    color: #967e71 !important;
    opacity: 0.7 !important;
}

.wc-block-components-text-input input:focus,
.wc-blocks-components-select__select:focus,
.wc-block-components-address-form input:focus,
.wc-block-components-address-form select:focus {
    outline: none !important;
    border-color: #967e71 !important;
    box-shadow: 0 0 0 2px rgba(150, 126, 113, 0.2) !important;
    background-color: #1a1a1a !important;
}

/* Labels dos campos - simples e limpo */
.wc-block-components-text-input label,
.wc-blocks-components-select__label,
.wc-block-components-address-form label {
    color: #ffffff !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-weight: normal !important;
    margin-bottom: 0.5rem !important;
}

/* Botões do WooCommerce */
.wc-block-components-button,
.wc-block-components-checkout-place-order-button,
.wp-element-button,
.wc-block-components-checkout-return-to-cart-button {
    display: inline-block !important;
    width: 100% !important;
    background: #967e71 !important;
    color: #ffffff !important;
    padding: 1rem 2rem !important;
    font-weight: 300 !important;
    font-size: 1.125rem !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    border: none !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    margin: 0.5rem 0 !important;
}

.wc-block-components-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wp-element-button:hover,
.wc-block-components-checkout-return-to-cart-button:hover {
    color: #ffffff !important;
    background: #8a6f63 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Layout do checkout */
.wc-block-components-sidebar-layout {
    background: transparent !important;
}

/* Sidebar do checkout (resumo) */
.wc-block-components-sidebar,
.wc-block-checkout__sidebar {
    background: #000 !important;
    border: 1px solid #8a6f63 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    padding: 1rem !important;
    position: sticky !important;
    top: 1rem !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, 
.wc-block-components-totals-footer-item-tax-value {
    color: #ffffff !important;
}

/* Main content area */
.wc-block-components-main,
.wc-block-checkout__main {
    background: transparent !important;
}

/* Radio buttons para métodos de pagamento - estilo de botão */
.wc-block-components-radio-control-accordion-option {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 8px !important;
    margin-bottom: 0.75rem !important;
    padding: 1rem !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.wc-block-components-radio-control-accordion-option:hover {
    background: rgba(150, 126, 113, 0.1) !important;
    border-color: #967e71 !important;
}

.wc-block-components-checkout-place-order-button__text {
    justify-content: center;
}

.form-row.form-row-wide.woocommerce-SavedPaymentMethods-saveNew {
    display: none;
}

div#order-notes {
    display: none;
}

.woocommerce-purchase a:hover {
    color: #fff !important;
    cursor: pointer;
}

/* Opção selecionada - fundo branco */
.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control-accordion-option[aria-checked="true"] {
    border-color: #ffffff !important;
    color: #000000 !important;
}

/* Texto da opção selecionada */
.wc-block-components-radio-control-accordion-option--checked-option-highlighted .wc-block-components-radio-control__label,
.wc-block-components-radio-control-accordion-option[aria-checked="true"] .wc-block-components-radio-control__label {
    color: #000000 !important;
}

/* Labels internas da opção selecionada */
.wc-block-components-radio-control-accordion-option--checked-option-highlighted .wc-block-components-payment-method-label,
.wc-block-components-radio-control-accordion-option[aria-checked="true"] .wc-block-components-payment-method-label {
    color: #ffffff !important;
}

/* Remover borda do último elemento dos métodos de pagamento */
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:last-child:after,
.wc-block-checkout__payment-method .wc-block-components-radio-control__option:last-child:after {
    border: 0 !important;
}

/* Ações do checkout - layout flexbox */
.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row {
    align-items: center;
    display: flex;
    justify-content: right;
    gap: 1rem;
    text-align: center;
}

/* Botões e links das ações - padrão consistente */
.wc-block-checkout__actions_row a,
.wc-block-checkout__actions_row button {
    display: inline-block !important;
    text-align: center !important;
}

/* Ocultar SVGs dentro dos botões e links das ações */
.wc-block-checkout__actions_row a svg,
.wc-block-checkout__actions_row button svg {
    display: none !important;
}

/* JavaScript para trocar texto "Add coupons" por "Tenho um cupom" */

/* Input radio customizado */
.wc-block-components-radio-control__input {
    accent-color: #967e71 !important;
    margin-right: 0.75rem !important;
}

/* Checkboxes */
.wc-block-components-checkbox__input {
    accent-color: #967e71 !important;
    margin-right: 0.75rem !important;
}

/* Valores monetários */
.wc-block-formatted-money-amount,
.wc-block-components-formatted-money-amount,
.wc-block-components-totals-item__value,
.wc-block-components-checkout-order-summary__title-price {
    color: #967e71 !important;
    font-weight: 600 !important;
    font-size: 1.125rem !important;
}

/* Total do pedido - destaque especial */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item-tax-value {
    color: #f48e00 !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
}

/* Resumo do pedido - itens sem bordas para visual mais limpo */
.wc-block-components-order-summary-item {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 0 !important;
    margin-bottom: 0.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wc-block-components-order-summary-item__image {
    border-radius: 6px !important;
    overflow: hidden !important;
}

/* Notices e notificações - escondidas por padrão */
.wc-block-components-notices {
    display: none !important;
    background: rgba(150, 126, 113, 0.1) !important;
    border: 1px solid rgba(150, 126, 113, 0.3) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-bottom: 1rem !important;
    color: #ffffff !important;
}

/* Notices visíveis quando ativadas via JavaScript */
.wc-block-components-notices.is-visible,
.wc-block-components-notices[style*="block"] {
    display: block !important;
}

/* Coupon toggle - visual mais limpo */
.wc-block-components-panel__button {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0.75rem 0 !important;
    color: #967e71 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: left !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.wc-block-components-panel__button:hover {
    background: rgba(150, 126, 113, 0.1) !important;
    border-bottom-color: #967e71 !important;
}

/* Ícones SVG */
.wc-block-components-panel__button-icon {
    color: #967e71 !important;
    margin-right: 0.5rem !important;
}

/* Endereço de entrega toggle */
.wc-block-components-address-form__address_2-toggle {
    color: #967e71 !important;
    text-decoration: underline !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
    display: block !important;
}

.wc-block-components-address-form__address_2-toggle:hover {
    color: #ffffff !important;
}

/* Campos ativos */
.wc-block-components-text-input.is-active input,
.wc-block-components-text-input.is-active label {
    color: #ffffff !important;
}

/* Melhorias de acessibilidade e contraste */
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.checkout-header {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(12px) !important;
    border: 2px solid rgba(150, 126, 113, 0.4) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-bottom: 2.5rem !important;
    text-align: center !important;
}

.checkout-section {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    position: relative !important;
}

.checkout-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #967e71, #f48e00);
    border-radius: 12px 12px 0 0;
}

.checkout-column {
    display: flex;
    flex-direction: column;
}

.checkout-fields {
    gap: 2rem !important;
}

/* Resumo do pedido */
.woocommerce-checkout-review-order {
    background: rgba(6, 6, 6, 0.8) !important;
    border: 2px solid #967e71 !important;
    border-radius: 10px !important;
    padding: 1.5rem !important;
    margin: 1rem 0 !important;
}

.woocommerce-checkout-review-order-table {
    width: 100% !important;
    margin: 0 !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: #fcfbfa !important;
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.woocommerce-checkout-review-order-table .cart-subtotal,
.woocommerce-checkout-review-order-table .order-total {
    background: rgba(150, 126, 113, 0.1) !important;
}

.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: #f48e00 !important;
    border-bottom: none !important;
}

/* Métodos de pagamento */
.woocommerce-checkout-payment {
    background: rgba(6, 6, 6, 0.6) !important;
    border: 2px solid rgba(150, 126, 113, 0.3) !important;
    border-radius: 10px !important;
    padding: 1.5rem !important;
}

.payment_methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.payment_methods li {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    margin-bottom: 1rem !important;
    padding: 1rem !important;
}

.payment_methods li.wc_payment_method {
    background: rgba(150, 126, 113, 0.1) !important;
    border-color: rgba(150, 126, 113, 0.3) !important;
}

.payment_methods li label {
    color: #fcfbfa !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}

.payment_methods li input[type="radio"] {
    margin-right: 0.75rem !important;
    accent-color: #967e71 !important;
}

.payment_box {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    padding: 1rem !important;
    margin-top: 1rem !important;
    color: #d4d2d1 !important;
}

/* ==========================================================================
   PÁGINA DE AGRADECIMENTO
   ========================================================================== */

.thankyou-success {
    background: rgba(6, 78, 59, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.thankyou-failed {
    background: rgba(127, 29, 29, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.order-summary,
.course-access,
.next-steps {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.course-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.step-number {
    background: #967e71;
    color: #000000;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ==========================================================================
   BOTÕES E FORMULÁRIOS
   ========================================================================== */

.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.single_add_to_cart_button {
    display: inline-block !important;
    padding: 1rem 2rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    font-size: 1rem !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-family: 'Montserrat', sans-serif !important;
    background: linear-gradient(135deg, #967e71 0%, #8a6f63 100%) !important;
    color: #000000 !important;
    box-shadow: 0 4px 12px rgba(150, 126, 113, 0.3) !important;
}

.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #place_order:hover,
.single_add_to_cart_button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(150, 126, 113, 0.4) !important;
    background: linear-gradient(135deg, #f48e00 0%, #e67e00 100%) !important;
    color: #000000 !important;
    border-color: #f48e00 !important;
}

/* Botões secundários */
.button.alt,
.woocommerce .button.alt,
.continue-shopping .button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fcfbfa !important;
    border: 2px solid #967e71 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.button.alt:hover,
.woocommerce .button.alt:hover,
.continue-shopping .button:hover {
    background: rgba(150, 126, 113, 0.2) !important;
    color: #fcfbfa !important;
    border-color: #f48e00 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

/* Botão de remoção */
.woocommerce .product-remove a {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    border: 2px solid #ef4444 !important;
    border-radius: 50% !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.woocommerce .product-remove a:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4) !important;
}

.bg-\[\#967e71\] {
    background-color: #967e71 !important;
}

.hover\:bg-\[\#8a6f63\]:hover {
    background-color: #8a6f63 !important;
}

.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.hover\:bg-white\/20:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   CAMPOS DE FORMULÁRIO
   ========================================================================== */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-checkout .woocommerce-input-wrapper input,
.woocommerce-checkout .woocommerce-input-wrapper select {
    background-color: #060606 !important;
    border: 2px solid #967e71 !important;
    color: #fcfbfa !important;
    padding: 0.875rem 1rem !important;
    border-radius: 6px !important;
    width: 100% !important;
    font-weight: 400 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce-checkout .woocommerce-input-wrapper input:focus,
.woocommerce-checkout .woocommerce-input-wrapper select:focus {
    outline: none !important;
    border-color: #f48e00 !important;
    box-shadow: 0 0 0 3px rgba(244, 142, 0, 0.2) !important;
    background-color: #0a0a0a !important;
}

.woocommerce form .form-row label,
.woocommerce-checkout .woocommerce-form__label,
.woocommerce-checkout .checkbox label {
    color: #fcfbfa !important;
    font-weight: 500 !important;
    margin-bottom: 0.75rem !important;
    display: block !important;
    font-size: 1rem !important;
}

.woocommerce form .form-row input.input-text::placeholder,
.woocommerce form .form-row textarea::placeholder {
    color: #d4d2d1 !important;
    opacity: 0.8 !important;
}

/* Campos obrigatórios */
.woocommerce form .form-row.validate-required label::after,
.woocommerce-checkout .validate-required label::after {
    content: " *";
    color: #f48e00 !important;
    font-weight: bold;
}

/* ==========================================================================
   RESPONSIVIDADE E MELHORIAS MOBILE
   ========================================================================== */

/* Tablet - 768px e abaixo */
@media (max-width: 768px) {
    .woocommerce-content {
        padding: 1.5rem 1rem;
    }

    .checkout-fields {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .checkout-section {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .checkout-header {
        padding: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .checkout-header h1 {
        font-size: 2.5rem !important;
    }

    .checkout-progress {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .checkout-progress .flex-1 {
        display: none !important;
    }

    .cart-item-content {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .cart-item-image {
        text-align: center;
    }

    .cart-item-image img {
        width: 100px !important;
        height: 100px !important;
        border-radius: 8px !important;
    }

    .security-badges {
        display: none;
    }

    .checkout-sidebar.sticky {
        position: static !important;
    }

    .woocommerce table.shop_table th,
    .woocommerce table.shop_table td {
        padding: 0.75rem 0.5rem !important;
        font-size: 0.875rem !important;
    }
}

/* Mobile - 480px e abaixo */
@media (max-width: 480px) {
    .woocommerce-content {
        padding: 1rem 0.75rem;
    }

    .checkout-header h1 {
        font-size: 2rem !important;
    }

    .checkout-header p {
        font-size: 1rem !important;
    }

    .checkout-section {
        padding: 1rem !important;
    }

    .checkout-section h3 {
        font-size: 1.25rem !important;
        margin-bottom: 1rem !important;
    }

    .cart-actions {
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .button {
        width: 100% !important;
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    .cart-item {
        padding: 1rem !important;
    }

    .cart-item-image img {
        width: 80px !important;
        height: 80px !important;
    }

    .cart-header h1 {
        font-size: 2rem !important;
    }

    .cart-header p {
        font-size: 0.875rem !important;
    }

    .woocommerce form .form-row input.input-text,
    .woocommerce form .form-row textarea,
    .woocommerce form .form-row select {
        padding: 1rem !important;
        font-size: 1rem !important;
    }

    .woocommerce form .form-row label {
        font-size: 0.875rem !important;
    }

    .cart-totals-wrapper h2 {
        font-size: 1.5rem !important;
    }

    .total-row {
        padding: 0.75rem 0 !important;
    }

    .total-label,
    .total-value {
        font-size: 0.875rem !important;
    }

    .total-row:last-child .total-value {
        font-size: 1.125rem !important;
    }

    .coupon-form {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .thankyou-success,
    .thankyou-failed {
        padding: 1.5rem !important;
    }

    .order-summary {
        padding: 1rem !important;
    }

    .order-details {
        grid-template-columns: 1fr !important;
    }

    .step-item {
        flex-direction: column !important;
        text-align: left !important;
    }

    .step-number {
        margin-bottom: 0.5rem !important;
    }
}

/* Mobile muito pequeno - 360px e abaixo */
@media (max-width: 360px) {
    .woocommerce-content {
        padding: 0.75rem 0.5rem;
    }

    .checkout-header {
        padding: 1rem !important;
    }

    .checkout-section {
        padding: 0.75rem !important;
    }

    .cart-item {
        padding: 0.75rem !important;
    }

    .button {
        padding: 0.875rem !important;
        font-size: 0.875rem !important;
    }

    .checkout-header h1 {
        font-size: 1.75rem !important;
    }

    .cart-header h1 {
        font-size: 1.75rem !important;
    }
}

/* ==========================================================================
   ESTADOS DE CARREGAMENTO
   ========================================================================== */

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.woocommerce .blockUI.blockOverlay {
    background: rgba(0, 0, 0, 0.8) !important;
}

.woocommerce .blockUI.blockOverlay::before {
    color: #967e71 !important;
}

/* ==========================================================================
   MENSAGENS E NOTIFICAÇÕES
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.woocommerce-message {
    border-left: 4px solid #967e71;
}

.woocommerce-info {
    border-left: 4px solid #3b82f6;
}

.woocommerce-error {
    border-left: 4px solid #ef4444;
}

/* ==========================================================================
   INTEGRAÇÃO LEARNDASH
   ========================================================================== */

.course-access .course-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.course-access .button {
    background: #f48e00;
    color: #000000;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.course-access .button:hover {
    background: #e67e00;
}

/* ==========================================================================
   UTILIDADES
   ========================================================================== */

.text-\[\#967e71\] {
    color: #967e71 !important;
}

.border-\[\#967e71\] {
    border-color: #967e71 !important;
}

.bg-\[\#070c00\] {
    background-color: #070c00 !important;
}

.font-\[Bellefair\] {
    font-family: 'Bellefair', serif !important;
}

/* ==========================================================================
   ANIMAÇÕES
   ========================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ==========================================================================
   WOOCOMMERCE BLOCKS - RESPONSIVIDADE
   ========================================================================== */

/* Mobile WooCommerce Blocks - 480px e abaixo */
@media (max-width: 480px) {
    /* Layout principal do checkout */
    .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Sidebar (resumo) no mobile */
    .wc-block-components-sidebar,
    .wc-block-checkout__sidebar {
        position: static !important;
        order: -1 !important;
        padding: 1rem !important;
        margin-bottom: 1.5rem !important;
        top: auto !important;
    }
    
    /* Blocos de componentes menores */
    .wc-block-components-checkout-step,
    .wc-block-components-totals-wrapper,
    .wc-block-components-order-summary,
    .wc-block-components-radio-control {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    /* Títulos menores no mobile */
    .wc-block-components-checkout-step__title,
    .wc-block-components-title {
        font-size: 0.75rem !important;
        letter-spacing: 0.2em !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Opções de pagamento compactas */
    .wc-block-components-radio-control-accordion-option {
        padding: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    /* Campos de formulário maiores para touch */
    .wc-block-components-text-input input,
    .wc-blocks-components-select__select,
    .wc-block-components-address-form input,
    .wc-block-components-address-form select {
        padding: 1rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
    }
    
    /* Botões maiores para mobile */
    .wc-block-components-button,
    .wc-block-components-checkout-place-order-button,
    .wp-element-button,
    .wc-block-components-checkout-return-to-cart-button {
        padding: 1.25rem !important;
        font-size: 1rem !important;
        min-height: 48px !important;
    }
    
    /* Valores monetários menores */
    .wc-block-formatted-money-amount,
    .wc-block-components-formatted-money-amount {
        font-size: 1rem !important;
    }
    
    /* Total ainda em destaque */
    .wc-block-components-totals-footer-item-tax-value {
        font-size: 1.25rem !important;
    }
    
    /* Itens do resumo compactos */
    .wc-block-components-order-summary-item {
        padding: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    /* Imagens menores */
    .wc-block-components-order-summary-item__image {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Tablet WooCommerce Blocks - 768px e abaixo */
@media (max-width: 768px) {
    .wc-block-components-sidebar-layout {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .wc-block-components-sidebar,
    .wc-block-checkout__sidebar {
        position: static !important;
        order: 2 !important;
        top: auto !important;
    }
    
    .wc-block-components-checkout-step,
    .wc-block-components-totals-wrapper {
        padding: 1.5rem !important;
    }
}