/**
 * GL Capacita — WooCommerce & LearnDash Styles
 * Design system: Goldplay, forest-green (#6c7f78), rounded cards, soft shadows
 * Loaded conditionally on WC/LD pages via inc/enqueue.php
 */

/* ==========================================================================
   Fix: WC layout.css overrides all img heights via .woocommerce-page img { height: auto }
   This restores Tailwind height utilities on navbar/footer images
   ========================================================================== */

.woocommerce-page header img,
.woocommerce-page footer img {
    height: auto;
}
.woocommerce-page header img.h-14 {
    height: 3.5rem !important;
}
.woocommerce-page header img.h-10,
.woocommerce-page footer img.h-10 {
    height: 2.5rem !important;
}
.woocommerce-page header img.w-auto,
.woocommerce-page footer img.w-auto {
    width: auto !important;
}
.woocommerce-page header img.object-contain,
.woocommerce-page footer img.object-contain {
    object-fit: contain !important;
}

/* ==========================================================================
   Fix: WC global button styles bleed into navbar action icons.
   Reset .glc-account-icon so it stays a subtle icon, not a green CTA.
   ========================================================================== */

.woocommerce button.glc-account-icon,
.woocommerce-page button.glc-account-icon {
    background: transparent !important;
    border: none !important;
    color: #5c6679 !important;
    padding: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    box-shadow: none !important;
    transform: none !important;
    transition: color 0.15s ease !important;
}

.woocommerce button.glc-account-icon:hover,
.woocommerce-page button.glc-account-icon:hover {
    background: transparent !important;
    color: #6c7f78 !important;
    transform: none !important;
}

.woocommerce button.glc-account-icon > .material-symbols-outlined:first-child,
.woocommerce-page button.glc-account-icon > .material-symbols-outlined:first-child {
    width: 32px !important;
    height: 32px !important;
    border: 1.5px solid #d3d2d1 !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
    color: inherit !important;
    transition: border-color 0.15s ease !important;
}

.woocommerce button.glc-account-icon:hover > .material-symbols-outlined:first-child,
.woocommerce-page button.glc-account-icon:hover > .material-symbols-outlined:first-child {
    border-color: #6c7f78 !important;
}

/* ==========================================================================
   Global overrides — Typography & base
   ========================================================================== */

.woocommerce,
.woocommerce-page,
.learndash-wrapper {
    font-family: 'Goldplay', sans-serif;
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.learndash-wrapper h1,
.learndash-wrapper h2,
.learndash-wrapper h3 {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    color: #5c6679;
}

/* ==========================================================================
   Buttons — WC & LD unified
   ========================================================================== */

.woocommerce button,
.woocommerce .button,
.woocommerce input[type="submit"],
.woocommerce a.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.learndash-wrapper .ld-button,
.learndash-wrapper .btn-join,
.learndash-wrapper #btn-join {
    background-color: #6c7f78 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Goldplay', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    font-size: 0.9375rem !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
    line-height: 1.4 !important;
}

.woocommerce button:hover,
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.learndash-wrapper .ld-button:hover,
.learndash-wrapper .btn-join:hover {
    background-color: #5a6b65 !important;
    transform: translateY(-1px);
}

.woocommerce button:disabled,
.woocommerce .button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed;
    transform: none !important;
}

/* Secondary button — border style (orders table "Ver", add-to-cart secondary, etc.) */
.glc-btn-secondary {
    background: transparent !important;
    border: 1.5px solid #d3d2d1 !important;
    color: #5c6679 !important;
    border-radius: 8px !important;
    font-family: 'Goldplay', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 10px 20px !important;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block;
    line-height: 1.4 !important;
}

.glc-btn-secondary:hover {
    border-color: #6c7f78 !important;
    color: #6c7f78 !important;
    background: transparent !important;
    transform: none !important;
}

/* Orders table — "Ver" button as secondary */
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button {
    background: transparent !important;
    border: 1.5px solid #d3d2d1 !important;
    color: #5c6679 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 8px 16px !important;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button:hover {
    border-color: #6c7f78 !important;
    color: #6c7f78 !important;
    background: transparent !important;
    transform: none !important;
}

/* ==========================================================================
   Forms — Inputs, selects, textareas
   ========================================================================== */

.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce input[type="number"],
.woocommerce input[type="url"],
.woocommerce select,
.woocommerce textarea,
.woocommerce-form input[type="text"],
.woocommerce-form input[type="email"],
.woocommerce-form input[type="password"] {
    border: 1px solid #d3d2d1;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    color: #5c6679;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
    border-color: #6c7f78;
    box-shadow: 0 0 0 3px rgba(108, 127, 120, 0.15);
    outline: none;
}

.woocommerce label {
    font-family: 'Goldplay', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #5c6679;
    display: block;
    margin-bottom: 4px;
}

/* ==========================================================================
   Tables — Cart, orders, etc.
   ========================================================================== */

.woocommerce table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Goldplay', sans-serif;
    width: 100%;
}

.woocommerce table.shop_table th {
    background: #f9f8f7;
    font-weight: 600;
    color: #5c6679;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.875rem;
    text-transform: none;
}

.woocommerce table.shop_table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f0eeee;
    color: #5c6679;
    vertical-align: middle;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   My Account — Navigation
   ========================================================================== */

.woocommerce-MyAccount-navigation {
    font-family: 'Goldplay', sans-serif;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-MyAccount-navigation li {
    margin-bottom: 4px;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 12px 16px;
    color: #5c6679;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #f9f8f7;
    color: #6c7f78;
}

.woocommerce-MyAccount-navigation li.is-active a {
    color: #6c7f78;
    font-weight: 700;
    background: rgba(108, 127, 120, 0.08);
}

/* ==========================================================================
   My Account — Layout
   ========================================================================== */

.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    width: 100%;
    min-height: 60vh;
}

@media (min-width: 768px) {
    .woocommerce-account .woocommerce {
        display: flex;
        gap: 3rem;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        width: 220px;
        flex-shrink: 0;
        padding-top: 0.5rem;
    }

    .woocommerce-account .woocommerce-MyAccount-content {
        flex: 1;
        min-width: 0;
    }
}

/* ==========================================================================
   Login / Register form
   ========================================================================== */

/* Stack notices above the login card — only on login page (not logged in) */
.woocommerce-account:not(.logged-in) .woocommerce {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-notices-wrapper,
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-message,
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-info,
.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-error {
    width: 100%;
    max-width: 28rem;
}

.glc-login-card {
    max-width: 28rem;
    margin: 3rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}

.glc-login-card h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Remove WC default form border — the card is the visual container */
.glc-login-card .woocommerce-form-login {
    border: none !important;
    padding: 0 !important;
}

.glc-login-card .woocommerce-form-row {
    margin-bottom: 1rem;
}

.glc-login-card .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #879691;
}

.glc-login-extras {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    margin-top: 0.75rem;
}

.glc-lost-password {
    font-size: 0.8125rem;
    color: #6c7f78;
    text-decoration: none;
}

.glc-lost-password:hover {
    text-decoration: underline;
}

.glc-login-card .woocommerce-Button {
    width: 100%;
    margin-top: 0.5rem;
}

.glc-login-register-link {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: #879691;
}

.glc-login-register-link a {
    color: #6c7f78;
    font-weight: 600;
    text-decoration: none;
}

.glc-login-register-link a:hover {
    text-decoration: underline;
}

/* Login/Register divider */
.glc-login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.25rem 0;
    color: #d3d2d1;
    font-size: 0.8125rem;
}

.glc-login-divider::before,
.glc-login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.glc-login-divider span {
    color: #879691;
}

/* Password toggle button (WC injects .wp-hide-pw) */
.glc-login-card .wp-hide-pw,
.woocommerce .wp-hide-pw {
    background: #f9f8f7 !important;
    border: 1px solid #d3d2d1 !important;
    border-left: none !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 0 12px !important;
    color: #879691 !important;
    cursor: pointer;
    height: auto !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    transform: none !important;
}

.glc-login-card .wp-hide-pw:hover,
.woocommerce .wp-hide-pw:hover {
    background: #e5e5e5 !important;
    color: #5c6679 !important;
}

/* Password input wrappers — login card & edit-account */
.glc-login-card .woocommerce-form-row,
.woocommerce-account .woocommerce-form-row {
    position: relative;
}

.glc-login-card .password-input,
.woocommerce-account .password-input {
    position: relative;
    display: block;
}

.glc-login-card .password-input input[type="password"],
.glc-login-card .password-input input[type="text"],
.woocommerce-account .password-input input[type="password"],
.woocommerce-account .password-input input[type="text"] {
    width: 100%;
    border-radius: 8px;
    padding-right: 3rem;
}

/* WC password wrapper */
.glc-login-card .woocommerce-input-wrapper,
.woocommerce-account .woocommerce-input-wrapper {
    display: block;
    position: relative;
}

.glc-login-card .show-password-input,
.woocommerce-account .show-password-input {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    padding: 8px 12px !important;
    color: #879691 !important;
    cursor: pointer;
    width: auto !important;
    min-width: 0 !important;
    line-height: 1 !important;
}

.glc-login-card .show-password-input:hover,
.woocommerce-account .show-password-input:hover {
    background: none !important;
    color: #5c6679 !important;
    transform: translateY(-50%) !important;
}

/* Ensure form-login button is full width and inside the card */
.glc-login-card .woocommerce-form-login__submit,
.glc-login-card button[name="login"] {
    width: 100% !important;
    margin-top: 0.75rem !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   Edit Account — spacing & form layout
   ========================================================================== */

.woocommerce-account .woocommerce-EditAccountForm .form-row {
    margin-bottom: 1.25rem;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
    border-bottom: none;
    border-left: none;
    border-right: none;
}

.woocommerce-account .woocommerce-EditAccountForm fieldset legend {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #5c6679;
    padding: 0 0.5rem 0 0;
}

/* ==========================================================================
   Cart page
   ========================================================================== */

.woocommerce-cart .cart-collaterals {
    margin-top: 2rem;
}

.woocommerce-cart .cart_totals {
    background: #f9f8f7;
    border-radius: 12px;
    padding: 1.5rem;
}

.woocommerce-cart .cart_totals h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    text-align: center;
}

.woocommerce-cart .product-remove a {
    color: #d3d2d1 !important;
    font-size: 1.25rem;
    transition: color 0.15s ease;
}

.woocommerce-cart .product-remove a:hover {
    color: #e74c3c !important;
}

.woocommerce-cart .product-thumbnail img {
    border-radius: 8px;
    max-width: 80px;
}

/* Empty cart — prevent white block */
.woocommerce-cart .woocommerce {
    min-height: auto;
}

@media (max-width: 767px) {
    .woocommerce-cart .wc-proceed-to-checkout .checkout-button {
        width: 100%;
        display: block;
    }
}

/* ==========================================================================
   Checkout page
   ========================================================================== */

@media (min-width: 768px) {
    .woocommerce-checkout .col2-set {
        display: flex;
        gap: 2rem;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        flex: 1;
    }
}

.woocommerce-checkout #order_review_heading {
    font-size: 1.25rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
}

.woocommerce-checkout #order_review {
    background: #f9f8f7;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.woocommerce-checkout #place_order {
    width: 100%;
    font-size: 1rem;
    padding: 14px 24px !important;
    margin-top: 1rem;
}

/* T&C checkbox — restore visibility (Tailwind Preflight strips appearance) */
.woocommerce-form__label-for-checkbox input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: auto;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    flex-shrink: 0;
    cursor: pointer;
}

.woocommerce-terms-and-conditions-checkbox-text a {
    color: #6c7f78;
    text-decoration: underline;
}

.woocommerce-terms-and-conditions-checkbox-text a:hover {
    color: #5a6b65;
}

/* Payway gateway — respect its own styles */
.woocommerce-checkout .payment_method_decidir .form-row {
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   Notices & messages
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    font-family: 'Goldplay', sans-serif;
    border-radius: 8px;
    padding: 1rem 1.25rem 1rem 3.5rem;
    padding-right: 2.75rem;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.woocommerce-message,
.woocommerce-info {
    border-top-color: #6c7f78 !important;
    background: rgba(108, 127, 120, 0.06);
}

.woocommerce-error {
    border-top-color: #e74c3c !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: #6c7f78 !important;
}

/* --- Notice dismiss button (×) — flex item, no overlap with action buttons --- */
.woocommerce .woocommerce-message .glc-notice-close,
.woocommerce .woocommerce-info .glc-notice-close,
.woocommerce .woocommerce-error .glc-notice-close,
.woocommerce-message .glc-notice-close,
.woocommerce-info .glc-notice-close,
.woocommerce-error .glc-notice-close {
    position: absolute !important;
    top: 12px !important;
    right: 8px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: #879691 !important;
    padding: 2px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    transition: color 0.15s ease, background 0.15s ease !important;
    line-height: 1 !important;
    font-size: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
}
.woocommerce .woocommerce-message .glc-notice-close:hover,
.woocommerce .woocommerce-info .glc-notice-close:hover,
.woocommerce .woocommerce-error .glc-notice-close:hover,
.woocommerce-message .glc-notice-close:hover,
.woocommerce-info .glc-notice-close:hover,
.woocommerce-error .glc-notice-close:hover {
    color: #5c6679 !important;
    background: rgba(92, 102, 121, 0.08) !important;
}
.glc-notice-close .material-symbols-outlined {
    font-size: 18px !important;
}

/* --- Notice buttons: secondary style (not CTA) --- */
.woocommerce-message .button.wc-forward {
    background: transparent !important;
    border: 1.5px solid #d3d2d1 !important;
    color: #5c6679 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 8px 16px !important;
}
.woocommerce-message .button.wc-forward:hover {
    border-color: #6c7f78 !important;
    color: #6c7f78 !important;
    background: transparent !important;
    transform: none !important;
}

/* --- Coupon toggle link — subtle emphasis --- */
.woocommerce-info .showcoupon,
.woocommerce-info .showlogin {
    color: #6c7f78;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color 0.15s ease;
}
.woocommerce-info .showcoupon:hover,
.woocommerce-info .showlogin:hover {
    color: #5a6b65;
}

/* --- Cart: coupon "Aplicar" and "Actualizar carrito" as secondary --- */
.woocommerce-cart .coupon .button,
.woocommerce-cart button[name="update_cart"] {
    background: transparent !important;
    border: 1.5px solid #d3d2d1 !important;
    color: #5c6679 !important;
    font-weight: 600 !important;
    font-size: 0.875rem !important;
    padding: 10px 20px !important;
}
.woocommerce-cart .coupon .button:hover,
.woocommerce-cart button[name="update_cart"]:hover {
    border-color: #6c7f78 !important;
    color: #6c7f78 !important;
    background: transparent !important;
    transform: none !important;
}

/* --- "¿Deshacer?" restore link — subtle emphasis --- */
.woocommerce-message .restore-item {
    color: #6c7f78;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
    transition: color 0.15s ease;
}
.woocommerce-message .restore-item:hover {
    color: #5a6b65;
}

/* ==========================================================================
   Breadcrumbs — hide WC default
   ========================================================================== */

.woocommerce-breadcrumb {
    display: none;
}

/* ==========================================================================
   Price styling
   ========================================================================== */

.woocommerce .price,
.woocommerce .amount {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    color: #5c6679;
}

.woocommerce del .amount {
    color: #d3d2d1;
    font-weight: 400;
}

.woocommerce ins .amount {
    color: #6c7f78;
}

/* ==========================================================================
   LearnDash — Course list items (cards)
   ========================================================================== */

.learndash-wrapper .ld-course-list-items .ld-item-list-item,
.learndash-wrapper .ld-item-list .ld-item-list-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    overflow: hidden;
}

.learndash-wrapper .ld-course-list-items .ld-item-list-item:hover,
.learndash-wrapper .ld-item-list .ld-item-list-item:hover {
    box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.learndash-wrapper .ld-item-list-item .ld-item-list-item-preview {
    padding: 1.25rem;
}

.learndash-wrapper .ld-item-list-item .ld-item-name {
    font-family: 'Goldplay', sans-serif;
    font-weight: 600;
    color: #5c6679;
}

/* ==========================================================================
   LearnDash — Progress bar
   ========================================================================== */

.learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage {
    background-color: #6c7f78 !important;
    border-radius: 4px;
}

.learndash-wrapper .ld-progress .ld-progress-bar {
    background: #e5e5e5;
    border-radius: 4px;
    height: 8px;
}

.learndash-wrapper .ld-progress .ld-progress-stats .ld-progress-percentage {
    color: #6c7f78;
    font-weight: 700;
}

/* ==========================================================================
   LearnDash — Status icons
   ========================================================================== */

.learndash-wrapper .ld-status-complete {
    background: #6c7f78 !important;
    color: #fff !important;
    border-radius: 50%;
}

.learndash-wrapper .ld-status-incomplete {
    border-color: #d3d2d1 !important;
}

.learndash-wrapper .ld-status-waiting {
    background: #f9f8f7 !important;
    border-color: #d3d2d1 !important;
}

/* ==========================================================================
   LearnDash — Course content (lessons/topics list)
   ========================================================================== */

.learndash-wrapper .ld-lesson-list .ld-table-list-items .ld-table-list-item {
    border-bottom: 1px solid #f0eeee;
    padding: 0.75rem 1rem;
}

.learndash-wrapper .ld-lesson-list .ld-table-list-items .ld-table-list-item:last-child {
    border-bottom: none;
}

.learndash-wrapper .ld-table-list-header {
    background: #f9f8f7;
    border-radius: 8px 8px 0 0;
    padding: 0.75rem 1rem;
    font-weight: 600;
    color: #5c6679;
}

/* ==========================================================================
   LearnDash — Expand/collapse
   ========================================================================== */

.learndash-wrapper .ld-expand-button {
    color: #6c7f78 !important;
    font-family: 'Goldplay', sans-serif;
    font-weight: 600;
}

.learndash-wrapper .ld-expand-button .ld-icon {
    color: #6c7f78 !important;
}

/* ==========================================================================
   LearnDash — Quiz
   ========================================================================== */

.learndash-wrapper .wpProQuiz_content {
    font-family: 'Goldplay', sans-serif;
}

.learndash-wrapper .wpProQuiz_content input[type="submit"],
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button {
    background-color: #6c7f78 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Goldplay', sans-serif !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
}

/* Continue link button — override LD btn-blue */
#quiz_continue_link,
a#quiz_continue_link {
    display: inline-block !important;
    background-color: #6c7f78 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Goldplay', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 10px 20px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
}
#quiz_continue_link:hover,
a#quiz_continue_link:hover {
    background-color: #5a6b65 !important;
    color: #fff !important;
}

/* ==========================================================================
   GL-Capacita custom components — Dashboard cards
   ========================================================================== */

.glc-dashboard-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .glc-dashboard-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

.glc-dashboard-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

.glc-dashboard-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glc-dashboard-card h3 .material-symbols-outlined {
    color: #6c7f78;
    font-size: 1.25rem;
}

/* Dashboard — explore courses CTA */
.glc-dashboard-explore {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f9f8f7;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    color: #5c6679;
}

.glc-dashboard-explore .material-symbols-outlined {
    color: #6c7f78;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.glc-dashboard-explore a {
    margin-left: auto;
    color: #6c7f78;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.glc-dashboard-explore a:hover {
    color: #5a6b65;
}

@media (max-width: 639px) {
    .glc-dashboard-explore {
        flex-wrap: wrap;
    }
    .glc-dashboard-explore a {
        margin-left: 0;
        width: 100%;
    }
}

/* Dashboard CTA button */
.glc-dashboard-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #6c7f78;
    color: #fff;
    font-family: 'Goldplay', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.15s ease;
}

.glc-dashboard-cta:hover {
    background: #5a6b65;
}

.glc-dashboard-cta .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Dashboard quick links */
.glc-dashboard-quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.glc-dashboard-quicklink {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem 1.25rem;
    background: #f9f8f7;
    border-radius: 12px;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5c6679;
    text-decoration: none;
    transition: background 0.15s ease;
}

.glc-dashboard-quicklink:hover {
    background: #f0eeee;
}

.glc-dashboard-quicklink .material-symbols-outlined {
    font-size: 1.25rem;
    color: #6c7f78;
}

/* Dashboard course mini-card */
.glc-course-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0eeee;
}

.glc-course-mini:last-child {
    border-bottom: none;
}

.glc-course-mini-progress {
    width: 100%;
    max-width: 120px;
    height: 6px;
    background: #e5e5e5;
    border-radius: 3px;
    overflow: hidden;
}

.glc-course-mini-progress-bar {
    height: 100%;
    background: #6c7f78;
    border-radius: 3px;
}

/* ==========================================================================
   GL-Capacita — Course single page
   ========================================================================== */

.glc-course-header {
    margin-bottom: 2rem;
}

.glc-course-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.glc-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #879691;
}

.glc-course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.glc-course-meta-item .material-symbols-outlined {
    font-size: 1.125rem;
    color: #6c7f78;
}

.glc-course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5c6679;
    margin-top: 1rem;
}

.glc-course-cta {
    margin-top: 1.5rem;
}

.glc-course-cta a {
    display: inline-block;
    background: #6c7f78;
    color: #fff;
    border-radius: 8px;
    padding: 14px 32px;
    font-weight: 700;
    font-family: 'Goldplay', sans-serif;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.glc-course-cta a:hover {
    background: #5a6b65;
    transform: translateY(-1px);
}

/* ==========================================================================
   GL-Capacita — Course listing cards
   ========================================================================== */

.glc-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.glc-course-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.glc-course-card:hover {
    box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.glc-course-card-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.glc-course-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.glc-course-card-body {
    padding: 1.25rem;
}

.glc-course-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #5c6679;
    margin-bottom: 0.5rem;
}

.glc-course-card-title a {
    color: inherit;
    text-decoration: none;
}

.glc-course-card-excerpt {
    font-size: 0.875rem;
    color: #879691;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.glc-course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.glc-course-card-price {
    font-weight: 700;
    color: #5c6679;
}

.glc-course-card-btn {
    background: #6c7f78;
    color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.glc-course-card-btn:hover {
    background: #5a6b65;
    color: #fff;
}

/* ==========================================================================
   GL-Capacita — Breadcrumbs (custom)
   ========================================================================== */

.glc-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: #879691;
}

.glc-breadcrumb a {
    color: #879691;
    text-decoration: none;
    transition: color 0.15s ease;
}

.glc-breadcrumb a:hover {
    color: #6c7f78;
}

.glc-breadcrumb-sep {
    margin: 0 0.375rem;
}

.glc-breadcrumb-current {
    color: #5c6679;
    font-weight: 600;
}

/* ==========================================================================
   GL-Capacita — Access denied block
   ========================================================================== */

.glc-access-denied {
    background: #f9f8f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    margin: 2rem 0;
}

/* ==========================================================================
   GL-Capacita — Lesson/Topic content (prose)
   ========================================================================== */

.glc-lesson-content {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #5c6679;
}

.glc-lesson-content p {
    margin-bottom: 1rem;
}

.glc-lesson-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #5c6679;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.glc-lesson-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #5c6679;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.glc-lesson-content ul,
.glc-lesson-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.glc-lesson-content li {
    margin-bottom: 0.375rem;
}

.glc-lesson-content a {
    color: #6c7f78;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.glc-lesson-content a:hover {
    color: #5a6b65;
}

.glc-lesson-content img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.glc-lesson-content blockquote {
    border-left: 3px solid #6c7f78;
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    background: #f9f8f7;
    border-radius: 0 8px 8px 0;
    color: #5c6679;
}

/* ==========================================================================
   GL-Capacita — Video embed
   ========================================================================== */

.glc-lesson-video {
    margin-bottom: 2rem;
}

.glc-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #1a1f2e;
}

.glc-video-wrapper iframe,
.glc-video-wrapper video,
.glc-video-wrapper embed,
.glc-video-wrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* ==========================================================================
   GL-Capacita — Lesson materials
   ========================================================================== */

.glc-lesson-materials {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.glc-lesson-materials h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #5c6679;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glc-lesson-materials-box {
    background: #f9f8f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.25rem;
}

.glc-lesson-materials-box a {
    color: #6c7f78;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.15s ease;
}

.glc-lesson-materials-box a:hover {
    color: #5a6b65;
    text-decoration: underline;
}

/* ==========================================================================
   GL-Capacita — Lesson/Topic navigation
   ========================================================================== */

.glc-lesson-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e5e5;
    gap: 1rem;
}

.glc-lesson-nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #6c7f78;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.glc-lesson-nav-link:hover {
    color: #5a6b65;
}

.glc-lesson-nav-center {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #879691;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.glc-lesson-nav-center:hover {
    color: #6c7f78;
}

/* ==========================================================================
   Responsive adjustments
   ========================================================================== */

@media (max-width: 767px) {
    .glc-login-card {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }

    .glc-course-grid {
        grid-template-columns: 1fr;
    }

    .woocommerce table.shop_table thead {
        display: none;
    }

    .woocommerce table.shop_table td {
        display: block;
        text-align: right;
        padding: 8px 16px;
    }

    .woocommerce table.shop_table td::before {
        content: attr(data-title);
        float: left;
        font-weight: 600;
    }

    /* Lesson navigation — stack on mobile */
    .glc-lesson-nav {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .glc-lesson-nav-link {
        font-size: 0.8125rem;
    }

    .glc-lesson-nav-center {
        order: -1;
        width: 100%;
        justify-content: center;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #f0eeee;
    }

    /* Breadcrumb wrap */
    .glc-breadcrumb {
        font-size: 0.75rem;
    }

    /* My Account navigation — horizontal scroll on mobile */
    .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 0.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }

    .woocommerce-MyAccount-navigation li {
        flex-shrink: 0;
        margin-bottom: 0;
    }
}

/* ==========================================================================
   GL-Capacita — Mark Complete button
   ========================================================================== */

.glc-mark-complete {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.glc-mark-complete .learndash_mark_complete_button,
.glc-mark-complete input[type="submit"] {
    background-color: #6c7f78 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Goldplay', sans-serif !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    font-size: 0.9375rem !important;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}

.glc-mark-complete .learndash_mark_complete_button:hover,
.glc-mark-complete input[type="submit"]:hover {
    background-color: #5a6b65 !important;
    transform: translateY(-1px);
}

/* Mark Complete — AJAX states */
.glc-mc-loading {
    opacity: 0.7;
    cursor: wait !important;
}

.glc-mc-done {
    background-color: #6c7f78 !important;
    animation: glc-pulse 0.6s ease;
}

.glc-mc-completed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(108, 127, 120, 0.1);
    color: #6c7f78;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
}

.glc-mc-completed-badge .material-symbols-outlined {
    color: #6c7f78;
}

/* ==========================================================================
   GL-Capacita — Section Headings (Course Modules)
   ========================================================================== */

.glc-section-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #5c6679 0%, #6c7f78 100%);
    color: #fff;
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: 8px;
}

.glc-section-heading .material-symbols-outlined {
    color: rgba(255, 255, 255, 0.8);
}

/* Toggleable completed badge (click to uncomplete) */
.glc-mc-completed-badge.glc-mc-toggle {
    cursor: pointer;
    border: none;
    font-family: 'Goldplay', sans-serif;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.glc-mc-completed-badge.glc-mc-toggle:hover {
    background: rgba(108, 127, 120, 0.18);
    opacity: 0.85;
}

/* Course view — clickable lesson checks */
.glc-lesson-check {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.glc-lesson-check:not(.glc-check-complete):hover .material-symbols-outlined {
    color: #6c7f78 !important;
}

.glc-lesson-check.glc-check-complete {
    cursor: pointer;
}

.glc-lesson-check.glc-check-complete:hover .material-symbols-outlined {
    opacity: 0.6;
}

/* Spinner + pulse animations */
@keyframes glc-spin {
    to { transform: rotate(360deg); }
}

@keyframes glc-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.glc-spin {
    animation: glc-spin 1s linear infinite;
}

/* Toast notification */
.glc-toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-left: 4px solid #92a6be;
    border-radius: 8px;
    padding: 0.875rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    color: #5c6679;
    max-width: 360px;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.glc-toast-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.glc-toast-close {
    background: none;
    border: none;
    color: #d3d2d1;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.glc-toast-close:hover {
    color: #5c6679;
}

/* ==========================================================================
   GL-Capacita — Quiz (WPProQuiz) extra styles
   ========================================================================== */

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionList {
    margin-bottom: 1.5rem;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem {
    padding: 0.75rem 0;
    font-family: 'Goldplay', sans-serif;
    color: #5c6679;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_response {
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_response.correct {
    background: rgba(108, 127, 120, 0.1);
    border: 1px solid #6c7f78;
}

/* LearnDash — Quiz prerequisite alert box */
.learndash-wrapper .ld-alert {
    background: #f9f8f7 !important;
    border: 1px solid #e5e5e5 !important;
    border-left: 4px solid #6c7f78 !important;
    border-radius: 8px !important;
    padding: 1.25rem !important;
    font-family: 'Goldplay', sans-serif;
    color: #5c6679;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
}

/* ld-alert-content = flex row: icon + messages */
.learndash-wrapper .ld-alert .ld-alert-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    width: 100% !important;
}

.learndash-wrapper .ld-alert .ld-alert-messages {
    flex: 1 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
}

.learndash-wrapper .ld-alert .ld-alert-icon {
    color: #6c7f78 !important;
    flex-shrink: 0 !important;
    position: static !important;
}

/* "Volver/Back" button — secondary style */
.learndash-wrapper .ld-alert .ld-button {
    background: transparent !important;
    border: 1.5px solid #d3d2d1 !important;
    color: #5c6679 !important;
    font-weight: 600 !important;
    align-self: flex-start !important;
    margin-top: 0 !important;
}

.learndash-wrapper .ld-alert .ld-button:hover {
    border-color: #6c7f78 !important;
    color: #6c7f78 !important;
    background: transparent !important;
}

/* Checkout validation — inline errors */
.glc-field-error {
    color: #e74c3c;
    font-size: 0.8125rem;
    font-family: 'Goldplay', sans-serif;
    margin-top: 4px;
}

.glc-field-invalid {
    border-color: #e74c3c !important;
}

.glc-field-invalid:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15) !important;
}

/* ==========================================================================
   Shop / Product archive — Grid & Cards
   ========================================================================== */

/* Hide WC default result count & ordering (styled inline) */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    display: none;
}

/* Product grid — override WC default float layout */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Hide WC clearfix pseudo-elements from grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

/* Reset WC default float/width on product items */
.woocommerce ul.products li.product {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

@media (max-width: 1023px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 639px) {
    .woocommerce ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Hide header hamburger on desktop — WC pages override md:hidden */
@media (min-width: 768px) {
    #menuToggle {
        display: none !important;
    }
}

/* Hide WC result count and ordering (not needed in our layout) */
.woocommerce-result-count,
.woocommerce-ordering {
    display: none !important;
}

/* Product card */
.glc-shop-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    height: 100%;
}

.glc-shop-card:hover {
    box-shadow: 0 8px 30px -4px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.glc-shop-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.glc-shop-card-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.glc-shop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.glc-shop-card:hover .glc-shop-card-img img {
    transform: scale(1.05);
}

.glc-shop-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}


.glc-shop-card-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.glc-shop-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c7f78;
    background: rgba(108, 127, 120, 0.1);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
    font-family: 'Goldplay', sans-serif;
}

.glc-shop-badge-cert {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(92, 102, 121, 0.6);
    font-family: 'Goldplay', sans-serif;
}

.glc-shop-card-title {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: #5c6679;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.glc-shop-card-excerpt {
    font-size: 0.8125rem;
    color: #879691;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.glc-shop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    border-top: 1px solid #f0eeee;
    margin-top: auto;
}

.glc-shop-card-price {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    color: #5c6679;
    font-size: 1rem;
}

.glc-shop-card-cta {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #6c7f78;
    transition: color 0.15s ease;
}

.glc-shop-card:hover .glc-shop-card-cta {
    color: #5a6b65;
}

/* ===========================
   Single Product Page (v2)
   Full conversion layout: main + sticky sidebar
   =========================== */

.glc-single-breadcrumb {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.8125rem;
    color: #879691;
    margin-bottom: 2rem;
}

.glc-single-breadcrumb a {
    color: #6c7f78;
    text-decoration: none;
    transition: color 0.15s ease;
}

.glc-single-breadcrumb a:hover {
    color: #5a6b65;
}

.glc-single-breadcrumb-sep {
    margin: 0 0.5rem;
    color: #d3d2d1;
}

/* --- Grid: 60/40, full page height --- */

.glc-single-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

.glc-single-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
}

.glc-sidebar-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

@media (max-width: 899px) {
    .glc-single-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .glc-single-sidebar {
        position: static;
        order: -1;
    }
}

/* --- Product Image --- */

.glc-single-image {
    border-radius: 16px;
    overflow: hidden;
    background: #f9f8f7;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 30px -8px rgba(0, 0, 0, 0.12);
}

.glc-single-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

/* --- Sidebar elements --- */

.glc-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.glc-single-title {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #5c6679;
    line-height: 1.25;
    margin-bottom: 1rem;
}

@media (max-width: 639px) {
    .glc-single-title {
        font-size: 1.375rem;
    }
}

.glc-single-short-desc {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    color: #879691;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.glc-single-short-desc p {
    margin: 0;
}

.glc-single-price {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #5c6679;
    margin-bottom: 1.5rem;
}

.glc-single-price del {
    color: #d3d2d1;
    font-size: 1rem;
    font-weight: 500;
}

.glc-single-price ins {
    text-decoration: none;
}

.glc-single-cart {
    margin-bottom: 1.5rem;
}

.glc-single-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #6c7f78;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 32px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    width: 100%;
    justify-content: center;
}

.glc-single-add-to-cart:hover {
    background-color: #5a6b65;
    transform: translateY(-1px);
}

.glc-single-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.glc-single-add-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #5c6679;
    border: 1.5px solid #d3d2d1;
    border-radius: 8px;
    font-family: 'Goldplay', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
    width: 100%;
    justify-content: center;
}

.glc-single-add-secondary:hover {
    border-color: #6c7f78;
    color: #6c7f78;
}

.glc-single-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0eeee;
}

.glc-single-feature {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    color: #5c6679;
}

.glc-single-feature .material-symbols-outlined {
    font-size: 20px;
    color: #6c7f78;
}

/* --- Main column section shared styles --- */

.glc-single-description,
.glc-single-outcomes,
.glc-single-temario,
.glc-single-metodologia,
.glc-single-certificacion,
.glc-single-docente,
.glc-single-faq {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #f0eeee;
}

.glc-single-description h2,
.glc-single-outcomes h2,
.glc-single-temario h2,
.glc-single-metodologia h2,
.glc-single-certificacion h2,
.glc-single-docente h2,
.glc-single-faq h2 {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.375rem;
    color: #5c6679;
    margin-bottom: 1.25rem;
}

/* --- Sobre este programa --- */

.glc-single-description-content {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    color: #5c6679;
    line-height: 1.7;
    padding: 0.5rem 0 1rem;
}

.glc-single-description-content p {
    margin-bottom: 1rem;
}

.glc-single-description-content ul,
.glc-single-description-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}

.glc-single-description-content li {
    margin-bottom: 0.5rem;
}

/* --- Learning Outcomes --- */

.glc-outcomes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 639px) {
    .glc-outcomes-grid {
        grid-template-columns: 1fr;
    }
}

.glc-outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    color: #5c6679;
    line-height: 1.5;
}

.glc-outcome-icon {
    font-size: 22px !important;
    color: #6c7f78;
    flex-shrink: 0;
    margin-top: 1px;
    font-variation-settings: 'FILL' 1;
}

/* --- Metodología --- */

.glc-metodologia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 767px) {
    .glc-metodologia-grid {
        grid-template-columns: 1fr;
    }
}

.glc-metodologia-card {
    background: #f9f8f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.glc-metodologia-icon {
    font-size: 2rem !important;
    color: #6c7f78;
    margin-bottom: 0.75rem;
    display: block;
}

.glc-metodologia-card h3 {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #5c6679;
    margin-bottom: 0.5rem;
}

.glc-metodologia-card p {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.8125rem;
    color: #879691;
    line-height: 1.5;
    margin: 0;
}

/* --- Certificación --- */

.glc-certificacion-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #f9f8f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.glc-certificacion-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(108, 127, 120, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.glc-certificacion-icon {
    font-size: 2rem !important;
    color: #6c7f78;
    font-variation-settings: 'FILL' 1;
}

.glc-certificacion-text {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    color: #5c6679;
    line-height: 1.6;
}

.glc-certificacion-text p {
    margin: 0;
}

.glc-certificacion-text strong {
    color: #5c6679;
    font-weight: 700;
}

@media (max-width: 639px) {
    .glc-certificacion-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* --- Docente --- */

.glc-docente-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: #f9f8f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem 2rem;
}

.glc-docente-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(108, 127, 120, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.glc-docente-avatar .material-symbols-outlined {
    font-size: 2.5rem;
    color: #6c7f78;
}

.glc-docente-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.glc-docente-info h3 {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #5c6679;
    margin-bottom: 0.25rem;
}

.glc-docente-role {
    display: block;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6c7f78;
    margin-bottom: 0.75rem;
}

.glc-docente-info p {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    color: #879691;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 639px) {
    .glc-docente-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }
}

/* --- FAQ Accordion --- */

.glc-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.glc-faq-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce button.glc-faq-heading,
.woocommerce-page button.glc-faq-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    background: #fff !important;
    background-color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    font-family: 'Goldplay', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    color: #5c6679 !important;
    text-align: left;
    line-height: 1.4 !important;
    transform: none !important;
    transition: background-color 0.15s ease !important;
}

.woocommerce button.glc-faq-heading:hover,
.woocommerce-page button.glc-faq-heading:hover {
    background: #f9f8f7 !important;
    background-color: #f9f8f7 !important;
    transform: none !important;
}

.glc-faq-chevron {
    font-size: 1.5rem;
    color: #879691;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.glc-faq-heading[aria-expanded="true"] .glc-faq-chevron {
    transform: rotate(180deg);
}

.glc-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.glc-faq-content p {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    color: #879691;
    line-height: 1.7;
    padding: 0 1.25rem 1rem;
    margin: 0;
}

/* --- CTA Banner Final --- */

.glc-single-final-cta {
    margin-top: 4rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #1a1f2e 0%, #2e3d58 55%, #3d526e 100%);
    padding: 3rem 2rem;
    text-align: center;
}

.glc-final-cta-inner h2 {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.glc-final-cta-course {
    font-family: 'Goldplay', sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.glc-final-cta-price {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.glc-final-cta-price del {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    font-weight: 500;
}

.glc-final-cta-price ins {
    text-decoration: none;
}

.glc-final-cta-price .amount,
.glc-final-cta-price ins .amount,
.glc-final-cta-price del .amount,
.glc-final-cta-price bdi {
    color: inherit !important;
}

.glc-final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #6c7f78;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.glc-final-cta-btn:hover {
    background: #5a6b65;
    transform: translateY(-2px);
}

@media (max-width: 639px) {
    .glc-single-final-cta {
        padding: 2rem 1.25rem;
        margin-top: 3rem;
    }

    .glc-final-cta-inner h2 {
        font-size: 1.375rem;
    }

    .glc-final-cta-price {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   GL-Capacita — Thank You Page (Order Received)
   ========================================================================== */

.glc-thankyou-card {
    text-align: center;
    max-width: 540px;
    margin: 2rem auto;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.08);
}

/* Animated check icon */
.glc-thankyou-check {
    margin-bottom: 1.5rem;
}

.glc-thankyou-check-icon {
    font-size: 3.5rem !important;
    color: #6c7f78;
    font-variation-settings: 'FILL' 1;
    animation: glc-scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes glc-scale-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.glc-thankyou-title {
    font-family: 'Goldplay', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #5c6679;
    margin-bottom: 0.5rem;
}

.glc-thankyou-subtitle {
    color: #879691;
    font-size: 0.9375rem;
    margin-bottom: 2rem;
}

/* Next Steps */
.glc-thankyou-steps {
    text-align: left;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.glc-thankyou-step {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.glc-thankyou-step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(108, 127, 120, 0.1);
    color: #6c7f78;
    font-weight: 700;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.glc-thankyou-step strong {
    display: block;
    color: #5c6679;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.glc-thankyou-step p {
    color: #879691;
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.4;
}

/* CTA Button */
.glc-thankyou-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #6c7f78;
    color: #fff !important;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none !important;
    transition: background 0.2s ease, transform 0.15s ease;
}

.glc-thankyou-cta:hover {
    background: #5a6b65;
    transform: translateY(-1px);
}

/* Multiple courses list */
.glc-thankyou-courses {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
    margin: 0 auto;
}

.glc-thankyou-course-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #5c6679 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.glc-thankyou-course-link:hover {
    border-color: #6c7f78;
    background: rgba(108, 127, 120, 0.05);
}

.glc-thankyou-course-link .material-symbols-outlined:first-child {
    color: #6c7f78;
}

/* Order Details (secondary) */
.glc-thankyou-order-details {
    max-width: 540px;
    margin: 1.5rem auto 0;
    padding: 1.5rem;
    background: #f9f8f7;
    border-radius: 12px;
}

.glc-thankyou-order-details h3 {
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #5c6679;
    margin-bottom: 1rem;
    text-align: center;
}

.glc-thankyou-order-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.glc-thankyou-order-item {
    text-align: center;
}

.glc-thankyou-order-label {
    display: block;
    font-size: 0.75rem;
    color: #879691;
    margin-bottom: 0.25rem;
}

.glc-thankyou-order-item strong {
    color: #5c6679;
    font-size: 0.875rem;
}

/* Mobile */
@media (max-width: 480px) {
    .glc-thankyou-card {
        margin: 1rem auto;
        padding: 1.5rem 1.25rem;
    }

    .glc-thankyou-title {
        font-size: 1.25rem;
    }

    .glc-thankyou-order-grid {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   GL-Capacita — Temario Accordion (Product Page)
   Note: .glc-single-temario base styles (margin, padding, border, h2) are
   defined in the shared section selector above.
   ========================================================================== */

.glc-temario-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.glc-temario-module {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}

/* Override .woocommerce button bleed — accordion headings are NOT CTA buttons */
.woocommerce button.glc-temario-heading,
.woocommerce-page button.glc-temario-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 1rem 1.25rem !important;
    background: #f9f8f7 !important;
    background-color: #f9f8f7 !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    font-family: 'Goldplay', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    color: #5c6679 !important;
    text-align: left;
    line-height: 1.4 !important;
    transform: none !important;
    transition: background-color 0.15s ease !important;
}

.woocommerce button.glc-temario-heading:hover,
.woocommerce-page button.glc-temario-heading:hover {
    background: #f0eeee !important;
    background-color: #f0eeee !important;
    transform: none !important;
}

.glc-temario-heading-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.glc-temario-folder {
    font-size: 1.25rem;
    color: #6c7f78;
    flex-shrink: 0;
}

.glc-temario-badge {
    font-size: 0.75rem;
    font-weight: 500;
    color: #879691;
    flex-shrink: 0;
}

.glc-temario-chevron {
    font-size: 1.5rem;
    color: #879691;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.glc-temario-heading[aria-expanded="true"] .glc-temario-chevron {
    transform: rotate(180deg);
}

.glc-temario-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.glc-temario-lesson {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    color: #5c6679;
    border-top: 1px solid #f0eeee;
}

.glc-temario-lesson .material-symbols-outlined {
    font-size: 1.125rem;
    color: #879691;
    flex-shrink: 0;
}

.glc-temario-quiz {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: #92a6be;
    background: #f9f8f7;
    border-top: 1px solid #f0eeee;
}

.glc-temario-quiz .material-symbols-outlined {
    font-size: 1.125rem;
    color: #92a6be;
    flex-shrink: 0;
}

@media (max-width: 639px) {
    .glc-temario-heading {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }

    .glc-temario-lesson,
    .glc-temario-quiz {
        padding: 0.625rem 1rem;
    }
}

/* ==========================================================================
   WooCommerce — Lost/Reset Password form
   ========================================================================== */

.woocommerce-ResetPassword {
    max-width: 28rem;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid #f0eeee;
    border-radius: 12px;
    box-shadow: 0 4px 20px -4px rgba(0,0,0,0.08);
    font-family: 'Goldplay', sans-serif;
}

.woocommerce-ResetPassword p {
    margin-bottom: 1rem;
    font-size: 0.9375rem;
    color: #5c6679;
    line-height: 1.6;
}

.woocommerce-ResetPassword label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #5c6679;
}

.woocommerce-ResetPassword input#user_login {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d3d2d1;
    border-radius: 8px;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    color: #5c6679;
    background: #f9f8f7;
    transition: border-color 0.2s;
}

.woocommerce-ResetPassword input#user_login:focus {
    outline: none;
    border-color: #6c7f78;
    box-shadow: 0 0 0 3px rgba(108,127,120,0.15);
}

.woocommerce-ResetPassword .woocommerce-Button {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.75rem 1.5rem;
    background-color: #6c7f78;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.woocommerce-ResetPassword .woocommerce-Button:hover {
    background-color: #5a6b65;
}

/* Also style the "set new password" form (after clicking reset link) */
.woocommerce-ResetPassword input[type="password"] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d3d2d1;
    border-radius: 8px;
    font-family: 'Goldplay', sans-serif;
    font-size: 0.9375rem;
    color: #5c6679;
    background: #f9f8f7;
    transition: border-color 0.2s;
}

.woocommerce-ResetPassword input[type="password"]:focus {
    outline: none;
    border-color: #6c7f78;
    box-shadow: 0 0 0 3px rgba(108,127,120,0.15);
}

/* ── Transferencia / MP — payment cards ─────────────────────── */
.glc-transfer-methods {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
}

.glc-transfer-card {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    background: #f9f8f7;
}

.glc-transfer-card--mp {
    border-color: #00b1ea22;
    background: #f0faff;
}

.glc-transfer-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: #5c6679;
}

.glc-transfer-card__icon {
    font-size: 1.25rem;
    color: #6c7f78;
}

.glc-transfer-card__name {
    font-family: 'Goldplay', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #5c6679;
}

.glc-transfer-card__data {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 0.75rem;
    margin: 0;
    font-size: 0.8125rem;
}

.glc-transfer-card__data dt {
    color: #92a6be;
    font-weight: 600;
    white-space: nowrap;
}

.glc-transfer-card__data dd {
    color: #5c6679;
    margin: 0;
    word-break: break-all;
}

.glc-transfer-instructions {
    font-size: 0.8125rem;
    color: #5c6679;
    background: #f9f8f7;
    border-left: 3px solid #6c7f78;
    padding: 0.5rem 0.75rem;
    margin: 0.5rem 0 0;
    border-radius: 0 6px 6px 0;
}

@media ( max-width: 640px ) {
    .glc-transfer-methods {
        flex-direction: column;
    }
}

/* ── Checkout — payment methods list ─────────────────────────── */

/* Disclaimer above the list */
.glc-payment-hint {
    font-size: 0.8125rem;
    color: #92a6be;
    margin: 0 0 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.glc-payment-hint .material-symbols-outlined {
    font-size: 1rem;
}

/* Restore radio appearance stripped by Tailwind Preflight */
.wc_payment_methods input[type="radio"] {
    -webkit-appearance: radio;
    appearance: auto;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #6c7f78;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

/* List container */
.wc_payment_methods {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 0 1rem !important;
}

.wc_payment_methods > li {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    list-style: none;
}

.wc_payment_methods > li:last-child {
    border-bottom: none;
}

/* Payment method label (row header) */
.wc_payment_methods > li > label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-family: 'Goldplay', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #5c6679;
    margin: 0;
}

/* Payment form area */
.wc_payment_methods .payment_box {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    border-top: 1px solid #f0eff0;
}
