/* ─────────────────────────────────────────────────────────────────────────────
   TEDUCAS Core — WooCommerce Custom Styles
   Migrado de hello-elementor-child/style.css
   ───────────────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────────────
   CASCADE STRATEGY (READ BEFORE "HELPFULLY" CHANGING THIS FILE)

   This sheet is meant to be the TOP override for WooCommerce's own CSS:
     - It loads AFTER WooCommerce's styles because the enqueue in
       WooCommerceIntegration.php declares `woocommerce-general`,
       `woocommerce-layout` and `woocommerce` as dependencies.
     - It wins equal-specificity conflicts by SOURCE ORDER (later wins).

   IMPORTANT — Do NOT wrap this file in CSS `@layer`:
     In the CSS cascade, un-layered rules BEAT layered rules (unless the
     layered rule also uses `!important`). WooCommerce does not put its
     styles in a layer, so if we layered this file, our rules would LOSE to
     WooCommerce's un-layered CSS. That's the wrong direction for an override
     sheet. Load order + specificity are the correct, safe approach.

   `!important` limitation:
     WooCommerce core CSS uses `!important` on a few declarations. A normal
     declaration CANNOT override another `!important` declaration. The plugin
     intentionally avoids `!important` (removed in 1.4.1), so the selectors
     below never win against the corresponding Woo `!important` rules unless a
     client theme supplies a higher-specificity `!important`. Known WC
     `!important` declarations (see WooCommerce `assets/css/woocommerce.css`
     and `woocommerce-layout.css`):
       - `.woocommerce button.button.alt` background/border
         → our `.woocommerce .button.alt` cannot override its `!important`.
       - `span.onsale` background/border/color (and pointer-events)
         → our `.woocommerce span.onsale` cannot override those.
       - `.woocommerce .quantity .qty` background (uses `!important`)
         → our `.quantity .qty` cannot override that background.
       - pagination `ul.page-numbers` background/border on some layouts.
     These are accepted limitations unless a client theme overrides them.
   ───────────────────────────────────────────────────────────────────────────── */

/* Ancho campos carrito */
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    float: left;
    width: 100%;
}

/* Ancho caja cupón */
.woocommerce #content table.cart td.actions .input-text, .woocommerce table.cart td.actions .input-text, .woocommerce-page #content table.cart td.actions .input-text, .woocommerce-page table.cart td.actions .input-text {
    width: 50%;
}

/* ─────────────────────────────────────────────────────────────────────────────
   WOOCOMMERCE — UNIVERSAL FORM FIELD SYSTEM
   Input / Select nativo / Select2 / Textarea / Quantity / Radio / Checkbox
   ───────────────────────────────────────────────────────────────────────────── */

/* ─────────────────────────────────────────────────────────────────────────────
   Design tokens — grayscale palette (white / black / gray)
   All colors below are centralized here; the rest of the file references them
   via var(--teducas-*). No Elementor global tokens, no hardcoded accents.
   ───────────────────────────────────────────────────────────────────────────── */
.woocommerce,
.woocommerce-page {
    /* Typography */
    --teducas-field-font: "Inter", sans-serif;
    --teducas-field-size: 14px;
    --teducas-field-pad: 10px 14px;
    --teducas-field-radius: 8px;

    /* Neutral / grayscale palette */
    --teducas-primary: #111111;
    --teducas-primary-contrast: #FFFFFF;
    --teducas-text: #27272A;
    --teducas-text-muted: #71717A;
    --teducas-text-placeholder: #A1A1AA;
    --teducas-bg: #FFFFFF;
    --teducas-bg-subtle: #F4F4F5;
    --teducas-bg-hover: #FAFAFA;
    --teducas-border: #E4E4E7;

    /* Field aliases (kept for backward compat) */
    --teducas-field-color: var(--teducas-text);
    --teducas-field-bg: var(--teducas-bg);
    --teducas-field-border: var(--teducas-border);

    /* Semantic: success (green) */
    --teducas-success-bg: #f0fdf4;
    --teducas-success-border: #22c55e;
    --teducas-success-text: #15803d;
    --teducas-success-link: #16a34a;
    --teducas-success-link-hover: #14532d;

    /* Semantic: info (blue) */
    --teducas-info-bg: #eff6ff;
    --teducas-info-link: #3b82f6;
    --teducas-info-text: #1d4ed8;

    /* Semantic: danger / error (red) */
    --teducas-danger: #ef4444;
    --teducas-danger-bg: #fef2f2;
    --teducas-danger-surface: #fee2e2;
    --teducas-danger-text: #b91c1c;
    --teducas-danger-link: #dc2626;
    --teducas-danger-link-hover: #7f1d1d;

    /* Effects */
    --teducas-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --teducas-shadow-focus: 0 0 0 3px rgba(17, 17, 17, 0.15);
    --teducas-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: var(--teducas-field-font);
    color: var(--teducas-field-color);
}

/* ── 1. NATIVE INPUTS & TEXTAREAS ─────────────────────────────────────────── */

.woocommerce .input-text,
.woocommerce-page .input-text,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="password"],
.woocommerce input[type="tel"],
.woocommerce input[type="url"],
.woocommerce input[type="number"],
.woocommerce textarea,
.woocommerce select,
.woocommerce .col2-set .input-text,
.woocommerce .form-row .input-text {
    font-family: var(--teducas-field-font);
    font-size: var(--teducas-field-size);
    padding: var(--teducas-field-pad);
    border: 1px solid var(--teducas-field-border);
    border-radius: var(--teducas-field-radius);
    background-color: var(--teducas-field-bg);
    color: var(--teducas-field-color);
    transition: var(--teducas-transition);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    box-shadow: var(--teducas-shadow);
    line-height: 1.5;
    height: auto;
    appearance: none;
    -webkit-appearance: none;
}

.woocommerce select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8L9.5 4.5' stroke='%2371717A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 36px;
}

.woocommerce .input-text:focus,
.woocommerce-page .input-text:focus,
.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce input[type="password"]:focus,
.woocommerce input[type="tel"]:focus,
.woocommerce input[type="url"]:focus,
.woocommerce input[type="number"]:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
    outline: none;
    border-color: var(--teducas-primary);
    box-shadow: var(--teducas-shadow-focus);
    background-color: var(--teducas-field-bg);
}

/* ── 2. SELECT2 (WooCommerce dropdowns) ───────────────────────────────────── */

/* Hide native select when Select2 is active */
.woocommerce select.select2-hidden-accessible {
    opacity: 0;
    position: absolute;
    visibility: hidden;
    height: 0;
    width: 0;
}

/* Main Select2 container — match input height/padding */
.woocommerce .select2-container,
.woocommerce-page .select2-container,
.woocommerce-checkout .select2-container {
    font-family: var(--teducas-field-font);
    font-size: var(--teducas-field-size);
    width: 100%;
    min-height: 44px;
}

/* Selection bar (the visible "input" part) */
.woocommerce .select2-container--default .select2-selection--single,
.woocommerce-page .select2-container--default .select2-selection--single {
    background-color: var(--teducas-field-bg);
    border: 1px solid var(--teducas-field-border);
    border-radius: var(--teducas-field-radius);
    box-shadow: var(--teducas-shadow);
    transition: var(--teducas-transition);
    height: 44px;
    padding: 0;
    outline: none;
}

/* Selected text */
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered,
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-family: var(--teducas-field-font);
    font-size: var(--teducas-field-size);
    color: var(--teducas-field-color);
    line-height: 42px;
    padding: 0 36px 0 14px;
}

/* Placeholder text */
.woocommerce .select2-container--default .select2-selection--single .select2-selection__placeholder,
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--teducas-text-placeholder);
    font-family: var(--teducas-field-font);
    font-size: var(--teducas-field-size);
}

/* Arrow indicator */
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow,
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 12px;
}

.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow b,
.woocommerce-page .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--teducas-field-border) transparent transparent transparent;
    border-width: 5px 5px 0 5px;
}

/* Focus state */
.woocommerce .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-page .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-page .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--teducas-primary);
    box-shadow: var(--teducas-shadow-focus);
    outline: none;
}

/* Multi-select */
.woocommerce .select2-container--default .select2-selection--multiple,
.woocommerce-page .select2-container--default .select2-selection--multiple {
    background-color: var(--teducas-field-bg);
    border: 1px solid var(--teducas-field-border);
    border-radius: var(--teducas-field-radius);
    box-shadow: var(--teducas-shadow);
    min-height: 44px;
    padding: 4px 8px;
    transition: var(--teducas-transition);
}

.woocommerce .select2-container--default.select2-container--focus .select2-selection--multiple,
.woocommerce-page .select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: var(--teducas-primary);
    box-shadow: var(--teducas-shadow-focus);
}

/* Tags inside multi-select */
.woocommerce .select2-container--default .select2-selection--multiple .select2-selection__choice,
.woocommerce-page .select2-container--default .select2-selection--multiple .select2-selection__choice {
    font-family: var(--teducas-field-font);
    font-size: 13px;
    background-color: var(--teducas-bg-subtle);
    border: 1px solid var(--teducas-border);
    border-radius: 6px;
    padding: 2px 8px;
    margin: 2px;
    color: var(--teducas-primary);
}

/* Dropdown panel */
.woocommerce .select2-dropdown,
.woocommerce-page .select2-dropdown {
    background-color: var(--teducas-field-bg);
    border: 1px solid var(--teducas-field-border);
    border-radius: var(--teducas-field-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
}

/* Dropdown items */
.woocommerce .select2-results__option,
.woocommerce-page .select2-results__option {
    font-family: var(--teducas-field-font);
    font-size: var(--teducas-field-size);
    color: var(--teducas-field-color);
    padding: 10px 14px;
    line-height: 1.4;
}

.woocommerce .select2-results__option--highlighted,
.woocommerce-page .select2-results__option--highlighted {
    background-color: var(--teducas-bg-subtle);
    color: var(--teducas-primary);
}

.woocommerce .select2-results__option[aria-selected="true"],
.woocommerce-page .select2-results__option[aria-selected="true"] {
    background-color: var(--teducas-bg-hover);
    font-weight: 600;
}

/* Close button (x) on Select2 single */
.woocommerce .select2-selection__clear,
.woocommerce-page .select2-selection__clear {
    color: var(--teducas-text-placeholder);
    font-size: 16px;
    padding: 0 4px;
    transition: color 0.15s;
}

.woocommerce .select2-selection__clear:hover,
.woocommerce-page .select2-selection__clear:hover {
    color: var(--teducas-danger);
}

/* Search input inside dropdown */
.woocommerce .select2-search--dropdown .select2-search__field,
.woocommerce-page .select2-search--dropdown .select2-search__field {
    font-family: var(--teducas-field-font);
    font-size: var(--teducas-field-size);
    padding: 8px 12px;
    border: 1px solid var(--teducas-field-border);
    border-radius: var(--teducas-field-radius);
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.woocommerce .select2-search--dropdown .select2-search__field:focus,
.woocommerce-page .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--teducas-primary);
    box-shadow: var(--teducas-shadow-focus);
}

/* ── 3. QUANTITY SELECTOR ─────────────────────────────────────────────────── */

.woocommerce .quantity .qty,
.woocommerce-page .quantity .qty {
    width: 80px;
    height: 44px;
    padding: 0;
    text-align: center;
    color: var(--teducas-field-color);
    background-color: var(--teducas-field-bg);
    border: 1px solid var(--teducas-field-border);
    border-radius: var(--teducas-field-radius);
    font-family: var(--teducas-field-font);
    font-size: var(--teducas-field-size);
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--teducas-shadow);
}

.woocommerce .quantity .qty:focus,
.woocommerce-page .quantity .qty:focus {
    outline: none;
    border-color: var(--teducas-primary);
    box-shadow: var(--teducas-shadow-focus);
}

/* ── 4. LABELS ────────────────────────────────────────────────────────────── */

.woocommerce label,
.woocommerce-page label,
.woocommerce-checkout label,
.woocommerce .form-row label,
.woocommerce form .form-row label {
    font-family: var(--teducas-field-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--teducas-field-color);
    margin-bottom: 6px;
    display: inline-block;
}

/* Required asterisk */
.woocommerce .form-row .required,
.woocommerce-page .form-row .required {
    color: var(--teducas-danger);
}

/* ── 5. CHECKBOXES & RADIOS ───────────────────────────────────────────────── */

.woocommerce input[type="checkbox"],
.woocommerce-page input[type="checkbox"],
.woocommerce input[type="radio"],
.woocommerce-page input[type="radio"] {
    accent-color: var(--teducas-primary);
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid var(--teducas-border);
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    transition: all 0.2s;
}

.woocommerce input[type="checkbox"]:focus,
.woocommerce input[type="radio"]:focus {
    box-shadow: var(--teducas-shadow-focus);
    border-color: var(--teducas-primary);
}

/* ── 6. PLACEHOLDER COLOR ─────────────────────────────────────────────────── */

.woocommerce input::placeholder,
.woocommerce textarea::placeholder {
    color: var(--teducas-text-placeholder);
    opacity: 1;
}

.woocommerce input::-webkit-input-placeholder,
.woocommerce textarea::-webkit-input-placeholder {
    color: var(--teducas-text-placeholder);
    opacity: 1;
}

.woocommerce input:-ms-input-placeholder,
.woocommerce textarea:-ms-input-placeholder {
    color: var(--teducas-text-placeholder);
    opacity: 1;
}

/* 2. Buttons styling */
.woocommerce .button,
.woocommerce-page .button,
.woocommerce-form-login .button,
.woocommerce-form-register .button,
.woocommerce-form-coupon .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #payment #place_order,
.woocommerce .wc-proceed-to-checkout .checkout-button,
.woocommerce-page .wc-proceed-to-checkout .checkout-button {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    background-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
    border: 1px solid var(--teducas-primary);
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05), 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    letter-spacing: 0.2px;
    text-transform: none;
    line-height: 1.5;
}

.woocommerce .button:hover,
.woocommerce-page .button:hover,
.woocommerce-form-login .button:hover,
.woocommerce-form-register .button:hover,
.woocommerce-form-coupon .button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #payment #place_order:hover,
.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
    background-color: var(--teducas-primary);
    border-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.woocommerce .button:active,
.woocommerce-page .button:active,
.woocommerce #payment #place_order:active,
.woocommerce .wc-proceed-to-checkout .checkout-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Secondary/Alternative WooCommerce buttons */
.woocommerce .button.alt,
.woocommerce-page .button.alt,
.woocommerce .button.alt.disabled,
.woocommerce .button.alt:disabled,
.woocommerce .button.alt:disabled[hover],
.woocommerce-page .button.alt.disabled,
.woocommerce-page .button.alt:disabled,
.woocommerce-page .button.alt:disabled[hover] {
    background-color: var(--teducas-primary);
    border-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
}

.woocommerce .button.alt:hover,
.woocommerce-page .button.alt:hover {
    background-color: var(--teducas-primary);
    border-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
}

/* 3. Notifications / Alerts */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message,
.woocommerce-notice {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    padding: 16px 20px 16px 52px;
    margin: 0 0 24px;
    border-radius: 8px;
    border: 1px solid var(--teducas-border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    list-style: none;
    position: relative;
    display: block;
    width: auto;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-family: WooCommerce;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

/* WooCommerce messages type customizations */
.woocommerce-message {
    background-color: var(--teducas-success-bg);
    border-left: 4px solid var(--teducas-success-border);
    color: var(--teducas-success-text);
}

.woocommerce-message a {
    color: var(--teducas-success-link);
    font-weight: 600;
}

.woocommerce-message a:hover {
    color: var(--teducas-success-link-hover);
    text-decoration: underline;
}

.woocommerce-info {
    background-color: var(--teducas-info-bg);
    border-left: 4px solid var(--teducas-info-link);
    color: var(--teducas-info-text);
}

.woocommerce-info a {
    color: var(--teducas-primary);
    font-weight: 600;
}

.woocommerce-info a:hover {
    color: var(--teducas-primary);
    text-decoration: underline;
}

.woocommerce-error {
    background-color: var(--teducas-danger-bg);
    border-left: 4px solid var(--teducas-danger);
    color: var(--teducas-danger-text);
}

.woocommerce-error a {
    color: var(--teducas-danger-link);
    font-weight: 600;
}

.woocommerce-error a:hover {
    color: var(--teducas-danger-link-hover);
    text-decoration: underline;
}

/* 3b. Password toggle, coupon toggle, empty cart */
.woocommerce .show-password-input,
.woocommerce-page .show-password-input {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    padding: 4px 8px;
    margin: 0;
    background: transparent;
    border: none;
    color: var(--teducas-text-placeholder);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    border-radius: 4px;
}

.woocommerce .show-password-input:hover,
.woocommerce-page .show-password-input:hover {
    color: var(--teducas-primary);
}

.woocommerce .show-password-input:focus,
.woocommerce-page .show-password-input:focus {
    outline: none;
    box-shadow: none;
}

.woocommerce .password-input,
.woocommerce-page .password-input {
    position: relative;
    display: block;
}

.woocommerce-form-coupon-toggle,
.woocommerce-form-login-toggle {
    margin-bottom: 20px;
}

.woocommerce-info .showcoupon,
.woocommerce-info .showlogin {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.woocommerce-info .showcoupon:hover,
.woocommerce-info .showlogin:hover {
    text-decoration: underline;
}

/* Empty cart state */
.woocommerce .cart-empty,
.woocommerce-page .cart-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--teducas-text-muted);
}

.woocommerce .return-to-shop .button,
.woocommerce-page .return-to-shop .button {
    font-family: var(--teducas-field-font);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    background-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.woocommerce .return-to-shop .button:hover,
.woocommerce-page .return-to-shop .button:hover {
    background-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* 4. Tables: checkout, shop, order review, payment list */
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--teducas-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    width: 100%;
}

.woocommerce table.shop_table th,
.woocommerce-page table.shop_table th {
    background-color: var(--teducas-bg-subtle);
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: var(--teducas-text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border-bottom: 1px solid var(--teducas-border);
    border-left: none;
    border-right: none;
}

.woocommerce table.shop_table td,
.woocommerce-page table.shop_table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--teducas-border);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: var(--teducas-text);
    vertical-align: middle;
    border-left: none;
    border-right: none;
}

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

/* Style the remove button (red X) */
.woocommerce a.remove,
.woocommerce-page a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--teducas-danger-surface);
    color: var(--teducas-danger);
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.woocommerce a.remove:hover,
.woocommerce-page a.remove:hover {
    background-color: var(--teducas-danger);
    color: var(--teducas-primary-contrast);
    transform: scale(1.1);
}

/* Checkout: order review and payment methods */
.woocommerce-checkout #payment {
    background: var(--teducas-bg-subtle);
    border: 1px solid var(--teducas-border);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.woocommerce-checkout #payment ul.payment_methods {
    border: none;
    padding: 0;
    margin: 0 0 24px 0;
    list-style: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
    padding: 16px;
    border: 1px solid var(--teducas-border);
    background-color: var(--teducas-primary-contrast);
    border-radius: 10px;
    margin-bottom: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
    cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li:hover {
    border-color: var(--teducas-primary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.woocommerce-checkout #payment ul.payment_methods li label {
    margin: 0 0 0 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin: 0;
    vertical-align: middle;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: var(--teducas-bg-subtle);
    color: var(--teducas-text);
    font-size: 13px;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0 0 0;
    border: 1px solid var(--teducas-border);
    line-height: 1.5;
}

.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

/* 5. Cart Page Elements */
.woocommerce table.cart td.actions {
    padding: 16px 16px;
}

.woocommerce table.cart td.actions .coupon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.woocommerce table.cart td.actions .coupon .input-text {
    width: 180px;
    margin: 0;
    height: 44px;
    padding: 10px 14px;
    box-sizing: border-box;
}

.woocommerce table.cart td.actions .button,
.woocommerce-page table.cart td.actions .button {
    height: 44px;
    line-height: 44px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Cart totals block */
.cart_totals {
    background-color: var(--teducas-bg-subtle);
    border: 1px solid var(--teducas-border);
    border-radius: 12px;
    padding: 24px;
}

.cart_totals h2 {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--teducas-text);
}

.cart-collaterals .cart_totals table.shop_table {
    border: none;
    background: transparent;
    margin-bottom: 16px;
}

.cart-collaterals .cart_totals table.shop_table tr th,
.cart-collaterals .cart_totals table.shop_table tr td {
    padding: 12px 0;
    background: transparent;
    border-bottom: 1px solid var(--teducas-border);
}

.cart-collaterals .cart_totals table.shop_table tr.order-total th,
.cart-collaterals .cart_totals table.shop_table tr.order-total td {
    border-bottom: none;
    font-weight: 700;
    font-size: 16px;
    color: var(--teducas-text);
}

/* 6. Single Product Page Components */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--teducas-primary);
    font-weight: 700;
    font-size: 22px;
}

/* Single Product Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--teducas-border);
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 16px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    color: var(--teducas-text-muted);
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--teducas-primary);
    border-bottom-color: var(--teducas-primary);
    font-weight: 600;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}

/* Star rating custom colors */
.woocommerce .star-rating,
.woocommerce-page .star-rating {
    color: var(--teducas-text-muted);
}

.woocommerce p.stars a {
    color: var(--teducas-text-muted);
}

/* 7. Shop/Archive Grid elements */
.woocommerce ul.products {
    margin: 0 0 24px 0;
}

.woocommerce ul.products li.product {
    background-color: var(--teducas-primary-contrast);
    border: 1px solid var(--teducas-bg-subtle);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    border-color: var(--teducas-border);
}

/* Product badges ("Oferta!" / "Sale!") */
.woocommerce span.onsale,
.woocommerce-page span.onsale {
    background-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    line-height: 1;
    min-height: auto;
    min-width: auto;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination ul {
    border: none;
    display: inline-flex;
    gap: 6px;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--teducas-border);
    background-color: var(--teducas-primary-contrast);
    color: var(--teducas-text);
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    transition: all 0.2s;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: var(--teducas-primary);
    border-color: var(--teducas-primary);
    color: var(--teducas-primary-contrast);
}

/* 8. My Account navigation list, dashboard cards */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 24%;
    float: left;
    margin-right: 4%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid var(--teducas-border);
    border-radius: 12px;
    background-color: var(--teducas-primary-contrast);
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--teducas-border);
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 16px;
    color: var(--teducas-text);
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background-color: var(--teducas-bg-subtle);
    color: var(--teducas-primary);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: var(--teducas-bg-subtle);
    color: var(--teducas-primary);
    font-weight: 600;
    border-left: 3px solid var(--teducas-primary);
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 72%;
    float: right;
}

.woocommerce-MyAccount-content p {
    font-size: 15px;
    color: var(--teducas-text);
    line-height: 1.6;
}

/* Dashboard shortcuts cards */
.woocommerce-MyAccount-content .woocommerce-notices-wrapper + p {
    margin-bottom: 24px;
}
