/* ============================================================
   BIOGATE — WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Remove default WC styles that conflict */
.woocommerce-page .woocommerce,
.woocommerce-page .woocommerce-page { width: 100%; }

/* ── PRODUCT LOOP — neutralizar defaults de WC (la grilla real está abajo en "Propuesta A") ── */
.woocommerce ul.products li.product .onsale { top: 10px; left: 10px; background: var(--clr-accent); border-radius: 4px; font-size: 10px; font-weight: 600; min-width: auto; min-height: auto; padding: 3px 9px; line-height: 1.5; }

/* ── SINGLE PRODUCT ── */
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.woocommerce div.product div.images { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-color); }
.woocommerce div.product div.images img { margin: 0; }
.woocommerce div.product div.summary {}
.woocommerce div.product .product_title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--clr-accent); display: block; margin-bottom: 20px; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.woocommerce div.product form.cart .qty { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); color: var(--text-primary); padding: 10px 14px; font-size: 15px; width: 80px; text-align: center; }
.woocommerce div.product form.cart .button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--clr-accent); color: #fff; border-radius: var(--radius-sm); padding: 12px 28px; font-size: 14px; font-weight: 500; transition: opacity var(--transition); border: none; }
.woocommerce div.product form.cart .button:hover { background: var(--clr-accent); opacity: 0.88; color: #fff; }

/* ============================================================
   BIOGATE — MODERN CART STYLES
   ============================================================ */
.cart-wrap {
    padding: 40px 0 80px;
}

.cart-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.cart-page-header__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
    line-height: 1.15;
}

.cart-page-header__count {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.cart-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-purple);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: var(--clr-accent-dim);
    transition: all var(--transition);
}

body.theme-light .cart-back-link {
    background: rgba(93, 53, 167, 0.08);
    color: var(--clr-purple);
}

.cart-back-link:hover {
    background: var(--clr-accent);
    color: #fff;
}

/* ── CART GRID LAYOUT ── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

/* ── CART ITEMS COLUMN ── */
.cart-items-col {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.cart-items-header {
    display: grid;
    grid-template-columns: 1fr 140px 120px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.cart-items-header span:nth-child(2) {
    text-align: center;
}

.cart-items-header span:nth-child(3) {
    text-align: right;
}

/* ── CART ITEM ROW ── */
.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr 140px 120px;
    align-items: center;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    transition: background var(--transition);
}

.cart-item__img-wrap {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 12px;
}

.cart-item__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.cart-item__name a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition);
}

.cart-item__name a:hover {
    color: var(--clr-accent);
}

.cart-item__unit-price {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.cart-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-surface);
    color: var(--text-muted) !important;
    text-decoration: none;
    font-size: 13px;
    transition: all var(--transition);
    margin-top: 4px;
    border: 1px solid var(--border-color);
}

.cart-item__remove:hover {
    background: #e53e3e !important;
    color: #fff !important;
    border-color: #e53e3e;
}

/* Quantity Pill */
.cart-item__qty {
    display: flex;
    justify-content: center;
}

.cart-qty-wrap {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    overflow: hidden;
    height: 38px;
}

.cart-qty-btn {
    width: 32px;
    height: 38px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.cart-qty-btn:hover {
    background: var(--clr-accent-dim);
    color: var(--clr-accent);
}

.cart-qty-input.qty {
    width: 44px;
    height: 38px;
    border: none;
    background: transparent;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    -moz-appearance: textfield;
    padding: 0;
}

.cart-qty-input.qty::-webkit-outer-spin-button,
.cart-qty-input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item__subtotal {
    text-align: right;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--clr-purple);
}

body.theme-light .cart-item__subtotal {
    color: #5d35a7;
}

/* ── CART ACTIONS (COUPON & UPDATE) ── */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.cart-coupon {
    display: flex;
    gap: 8px;
    flex: 1;
    max-width: 340px;
}

.cart-coupon__input {
    flex: 1;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: border-color var(--transition);
}

.cart-coupon__input:focus {
    border-color: var(--clr-accent);
}

.cart-coupon__btn {
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--clr-purple);
    background: transparent;
    color: var(--clr-purple);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.cart-coupon__btn:hover {
    background: var(--clr-purple);
    color: #fff;
}

.cart-update-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.cart-update-btn:hover {
    background: var(--clr-accent-dim);
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

/* ── TOTALS PANEL ── */
.cart-totals-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 100px;
}

.cart-totals-panel__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

/* Hide redundant second heading generated by WooCommerce cart_totals() */
.cart-totals-panel .cart_totals > h2 {
    display: none !important;
}

.cart-totals-panel .cart_totals {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Completely strip default WooCommerce table borders and styling */
.woocommerce-cart .cart-totals-panel table.shop_table,
.woocommerce .cart-totals-panel table.shop_table,
.cart-totals-panel table.shop_table {
    border: none !important;
    border-collapse: collapse !important;
    border-radius: 0 !important;
    background: transparent !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
    box-shadow: none !important;
}

.woocommerce-cart .cart-totals-panel table.shop_table tr,
.woocommerce .cart-totals-panel table.shop_table tr,
.cart-totals-panel table.shop_table tr {
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    background: transparent !important;
}

.woocommerce-cart .cart-totals-panel table.shop_table th,
.woocommerce-cart .cart-totals-panel table.shop_table td,
.woocommerce .cart-totals-panel table.shop_table th,
.woocommerce .cart-totals-panel table.shop_table td,
.cart-totals-panel table.shop_table th,
.cart-totals-panel table.shop_table td {
    border: none !important;
    background: transparent !important;
    padding: 15px 0 !important;
    line-height: 1.5 !important;
}

.woocommerce-cart .cart-totals-panel table.shop_table th,
.woocommerce .cart-totals-panel table.shop_table th,
.cart-totals-panel table.shop_table th {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    text-align: left !important;
    width: auto !important;
    max-width: 60% !important;
    vertical-align: top !important;
}

.woocommerce-cart .cart-totals-panel table.shop_table td,
.woocommerce .cart-totals-panel table.shop_table td,
.cart-totals-panel table.shop_table td {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    text-align: right !important;
    vertical-align: top !important;
}

.cart-totals-panel table.shop_table tr.cart-discount td,
.cart-totals-panel table.shop_table tr.fee td {
    color: #10b981 !important;
}
.cart-totals-panel table.shop_table tr.cart-discount th,
.cart-totals-panel table.shop_table tr.fee th {
    color: var(--clr-purple) !important;
    font-weight: 600 !important;
}

/* Shipping row in Cart Totals */
.cart-totals-panel tr.shipping td,
.cart-totals-panel tr.woocommerce-shipping-totals td {
    text-align: right !important;
}

.cart-totals-panel ul#shipping_method {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 8px !important;
}

.cart-totals-panel ul#shipping_method li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
}

.cart-totals-panel ul#shipping_method li input[type="radio"] {
    margin: 0 !important;
    accent-color: #5d35a7 !important;
    cursor: pointer !important;
}

.cart-totals-panel ul#shipping_method li label {
    margin: 0 !important;
    cursor: pointer !important;
    font-weight: 500 !important;
    color: var(--text-primary) !important;
}

.cart-totals-panel .woocommerce-shipping-destination {
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    margin: 8px 0 4px 0 !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

.cart-totals-panel .shipping-calculator-button {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--clr-purple) !important;
    text-decoration: underline !important;
    margin-top: 4px !important;
    transition: color var(--transition) !important;
}

.cart-totals-panel .shipping-calculator-button:hover {
    color: var(--clr-accent) !important;
}

.cart-totals-panel .shipping-calculator-form {
    margin-top: 14px !important;
    text-align: left !important;
}

.cart-totals-panel .shipping-calculator-form .form-row {
    margin-bottom: 10px !important;
    padding: 0 !important;
}

.cart-totals-panel .shipping-calculator-form select,
.cart-totals-panel .shipping-calculator-form input.input-text {
    width: 100% !important;
    height: 38px !important;
    padding: 0 12px !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    background: var(--bg-surface) !important;
    color: var(--text-primary) !important;
    font-size: 13px !important;
    outline: none !important;
}

.cart-totals-panel .shipping-calculator-form button.button {
    width: 100% !important;
    height: 38px !important;
    padding: 0 14px !important;
    background: var(--clr-purple) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background var(--transition) !important;
}

.cart-totals-panel .shipping-calculator-form button.button:hover {
    background: var(--clr-accent) !important;
}

/* Order Total Row */
.woocommerce-cart .cart-totals-panel table.shop_table tr.order-total,
.woocommerce .cart-totals-panel table.shop_table tr.order-total,
.cart-totals-panel table.shop_table tr.order-total {
    border-bottom: none !important;
    border-top: 2px solid var(--border-color) !important;
}

.woocommerce-cart .cart-totals-panel table.shop_table tr.order-total th,
.woocommerce .cart-totals-panel table.shop_table tr.order-total th,
.cart-totals-panel table.shop_table tr.order-total th {
    padding-top: 20px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    vertical-align: middle !important;
}

.woocommerce-cart .cart-totals-panel table.shop_table tr.order-total td,
.woocommerce .cart-totals-panel table.shop_table tr.order-total td,
.cart-totals-panel table.shop_table tr.order-total td {
    padding-top: 20px !important;
    vertical-align: middle !important;
}

.woocommerce-cart .cart-totals-panel table.shop_table tr.order-total td strong,
.woocommerce .cart-totals-panel table.shop_table tr.order-total td strong,
.cart-totals-panel table.shop_table tr.order-total td strong {
    font-family: var(--font-display) !important;
    color: var(--clr-purple) !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
}

body.theme-light .cart-totals-panel table.shop_table tr.order-total td strong {
    color: #5d35a7 !important;
}

/* Proceed to Checkout Button */
.cart-totals-panel .wc-proceed-to-checkout {
    padding: 0 !important;
    margin: 22px 0 0 0 !important;
}

.cart-totals-panel .wc-proceed-to-checkout .checkout-button,
.cart-totals-panel a.checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
    height: 52px !important;
    background: #5d35a7 !important;
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%) !important;
    color: #fff !important;
    font-family: var(--font-display) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 6px 20px rgba(93, 53, 167, 0.35) !important;
    transition: all var(--transition) !important;
    border: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

.cart-totals-panel .wc-proceed-to-checkout .checkout-button:hover,
.cart-totals-panel a.checkout-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(93, 53, 167, 0.5) !important;
    background: linear-gradient(135deg, #7c4dff 0%, #dc36ff 100%) !important;
    color: #fff !important;
}

/* Trust Pills */
.cart-trust-pills {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border-color) !important;
}

.cart-trust-pills span {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    line-height: 1.35 !important;
}

.cart-trust-pills i {
    font-size: 18px !important;
    color: var(--clr-accent) !important;
    flex-shrink: 0 !important;
}

/* Empty Cart State */
.cart-empty-page-wrap {
    padding: 30px 0 80px;
    width: 100%;
}

.cart-empty-card,
.cart-empty {
    text-align: center;
    padding: 56px 32px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 560px;
    margin: 30px auto;
    box-shadow: 0 8px 32px rgba(93, 53, 167, 0.08);
}

.cart-empty__icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(220, 54, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--clr-accent);
    margin: 0 auto 24px;
}

.cart-empty__title,
.cart-empty h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cart-empty__desc,
.cart-empty p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 420px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.cart-empty__actions {
    margin-bottom: 32px;
}

.cart-empty__btn,
.cart-empty .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background: linear-gradient(135deg, var(--clr-purple) 0%, #7c3aed 100%);
    color: #ffffff !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(93, 53, 167, 0.35);
    transition: all 0.25s ease;
}

.cart-empty__btn:hover,
.cart-empty .btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, var(--clr-accent) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 54, 255, 0.4);
    color: #ffffff !important;
}

.cart-empty__features {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.cart-empty__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.cart-empty__feature i {
    color: var(--clr-accent);
    font-size: 18px;
}

/* Hide redundant unstyled default WooCommerce empty cart text if ever injected */
p.cart-empty.woocommerce-info,
.cart-empty-page-wrap > p.return-to-shop,
.cart-empty-page-wrap > p.cart-empty {
    display: none !important;
}

/* ============================================================
   BIOGATE — MODERN CHECKOUT STYLES
   ============================================================ */
.bgcheckout-wrap {
    padding: 40px 0 80px;
}

.bgcheckout-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.bgcheckout-header__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.bgcheckout-header__sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.bgcheckout-layout {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 32px;
    align-items: start;
}

.bgcheckout-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    margin-bottom: 24px;
}

.bgcheckout-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Form Fields Styling */
.woocommerce-checkout .form-row,
.bgcheckout-form .form-row {
    margin-bottom: 20px !important;
    padding: 0 !important;
}

.woocommerce-checkout .form-row label,
.bgcheckout-form .form-row label {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: #2b163d !important;
    margin-bottom: 7px !important;
    line-height: 1.4 !important;
}

.woocommerce-checkout .form-row label .required,
.bgcheckout-form .form-row label .required {
    color: #dc36ff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-left: 2px !important;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper,
.bgcheckout-form .form-row .woocommerce-input-wrapper {
    width: 100% !important;
    display: block !important;
    position: relative !important;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.bgcheckout-form input[type="text"],
.bgcheckout-form input[type="password"],
.bgcheckout-form input[type="email"],
.bgcheckout-form input[type="tel"],
.bgcheckout-form select {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid #ebd9f5 !important;
    border-radius: 12px !important;
    background: #fcfaff !important;
    color: #1a0d24 !important;
    font-family: var(--font-body) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    outline: none !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce-checkout input::placeholder,
.bgcheckout-form input::placeholder {
    color: #9d8aa8 !important;
    font-weight: 400 !important;
    font-size: 13.5px !important;
}

.woocommerce-checkout input:hover,
.bgcheckout-form input:hover {
    border-color: #d1b5e3 !important;
    background: #ffffff !important;
}

.woocommerce-checkout textarea,
.bgcheckout-form textarea {
    width: 100% !important;
    height: auto !important;
    min-height: 110px !important;
    padding: 14px 16px !important;
    border: 1.5px solid #ebd9f5 !important;
    border-radius: 12px !important;
    background: #fcfaff !important;
    color: #1a0d24 !important;
    font-family: var(--font-body) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    outline: none !important;
    box-sizing: border-box !important;
    resize: vertical !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce-checkout textarea:hover,
.bgcheckout-form textarea:hover {
    border-color: #d1b5e3 !important;
    background: #ffffff !important;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout input[type="password"]:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus,
.bgcheckout-form input:focus,
.bgcheckout-form textarea:focus {
    border-color: #5d35a7 !important;
    box-shadow: 0 0 0 4px rgba(93, 53, 167, 0.12) !important;
    background: #ffffff !important;
}

/* Checkboxes in checkout */
.woocommerce-checkout input[type="checkbox"],
.bgcheckout-form input[type="checkbox"] {
    accent-color: #5d35a7 !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer !important;
    border-radius: 4px !important;
}

.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.bgcheckout-form .woocommerce-form__label-for-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    color: var(--text-secondary) !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* Select2 / SelectWoo compatibility */
.select2-container--default .select2-selection--single {
    height: 48px !important;
    border: 1.5px solid #ebd9f5 !important;
    border-radius: 12px !important;
    background-color: #fcfaff !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 8px !important;
    box-shadow: none !important;
    transition: all 0.2s ease !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #5d35a7 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(93, 53, 167, 0.12) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1a0d24 !important;
    font-family: var(--font-body) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 48px !important;
    padding-left: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 12px !important;
}

.select2-dropdown {
    background-color: #ffffff !important;
    border: 1.5px solid #ebd9f5 !important;
    border-radius: 12px !important;
    color: #1a0d24 !important;
    box-shadow: 0 12px 36px rgba(93, 53, 167, 0.15) !important;
    overflow: hidden !important;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: var(--clr-purple) !important;
    color: #fff !important;
}

/* ── CHECKOUT RIGHT COLUMN (ORDER REVIEW) ── */
.bgcheckout-right {
    position: sticky;
    top: 100px;
}

.bgcheckout-order-review {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.bgcheckout-order-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Coupon Box Inside Checkout */
.bgcheckout-coupon {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 20px;
}

.bgcheckout-coupon__toggle {
    margin: 0;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bgcheckout-coupon__toggle i {
    color: var(--clr-accent);
}

.bgcheckout-coupon__toggle span {
    color: var(--clr-purple);
    font-weight: 600;
    text-decoration: underline;
}

.bgcheckout-coupon__form {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.bgcheckout-coupon__input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    font-size: 13px;
    color: var(--text-primary);
}

.bgcheckout-coupon__btn {
    height: 38px;
    padding: 0 16px;
    background: var(--clr-purple);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.bgcheckout-coupon__btn:hover {
    background: var(--clr-accent);
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-primary);
}

.woocommerce-checkout-review-order-table .product-name {
    text-align: left;
    padding-right: 16px;
}

.woocommerce-checkout-review-order-table .product-total {
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
}

.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
    border-bottom: none;
    padding-top: 18px;
    font-size: 18px;
    font-weight: 700;
}

.woocommerce-checkout-review-order-table tr.order-total td strong {
    font-family: var(--font-display);
    color: var(--clr-purple);
    font-size: 1.4rem;
}

/* Payment Methods */
#payment {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px !important;
}

#payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#payment ul.payment_methods li {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition);
}

#payment ul.payment_methods li.selected,
#payment ul.payment_methods li:hover {
    border-color: var(--clr-purple);
}

#payment ul.payment_methods li label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

#payment div.payment_box {
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px !important;
    margin-top: 12px !important;
    font-size: 13px !important;
    color: var(--text-secondary) !important;
    line-height: 1.5;
}

#payment div.payment_box::before {
    display: none !important;
}

/* Place Order CTA Button */
#payment #place_order {
    width: 100%;
    height: 52px;
    background: #5d35a7;
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(93, 53, 167, 0.35);
    transition: all var(--transition);
}

#payment #place_order:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 53, 167, 0.5);
    background: linear-gradient(135deg, #7c4dff 0%, #dc36ff 100%);
}

.woocommerce-privacy-policy-text {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

/* ── MODERN WOOCOMMERCE NOTICES ── */
.woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px 18px !important;
    padding: 16px 22px !important;
    border-radius: var(--radius-md, 12px) !important;
    border: 1px solid var(--border-color, rgba(255,255,255,0.08)) !important;
    border-left: 4px solid var(--clr-purple) !important;
    background: var(--bg-card, #13111c) !important;
    color: var(--text-primary, #ffffff) !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04) !important;
    margin-bottom: 20px !important;
    list-style: none !important;
    position: relative !important;
}

/* Remove WooCommerce core absolute font glyphs that overlap notice text */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before,
.woocommerce-noreviews::before,
.woocommerce-message::after,
.woocommerce-info::after,
.woocommerce-error::after,
.woocommerce-noreviews::after,
p.cart-empty::before,
p.cart-empty::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

.woocommerce-message {
    border-left-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.08) !important;
}

.woocommerce-error {
    display: block !important;
    border-left-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.08) !important;
}

.woocommerce-error li {
    list-style: none !important;
    margin: 4px 0 !important;
    padding-left: 0 !important;
}

.woocommerce-error li::before {
    content: none !important;
    display: none !important;
}

.woocommerce-info,
.woocommerce-noreviews {
    border-left-color: var(--clr-purple) !important;
    background: rgba(93, 53, 167, 0.08) !important;
}

.woocommerce-message a.button,
.woocommerce-info a.button,
.woocommerce-error a.button,
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-message a.restore-item,
.woocommerce-info a.restore-item,
.woocommerce-message .woocommerce-Button,
.woocommerce-info .woocommerce-Button {
    order: 2 !important;
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: var(--clr-purple) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(93, 53, 167, 0.25) !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

.woocommerce-message a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-error a.button:hover,
.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-message a.restore-item:hover,
.woocommerce-info a.restore-item:hover,
.woocommerce-message .woocommerce-Button:hover,
.woocommerce-info .woocommerce-Button:hover {
    background: var(--clr-accent) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(220, 54, 255, 0.35) !important;
}

/* ── RESPONSIVE CART & CHECKOUT ── */
@media (max-width: 992px) {
    .cart-layout,
    .bgcheckout-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cart-totals-panel,
    .bgcheckout-right {
        position: static;
    }

    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
    }

    .cart-items-header {
        display: none;
    }

    .cart-item__qty {
        grid-column: 2 / -1;
        justify-content: flex-start;
    }

    .cart-item__subtotal {
        grid-column: 2 / -1;
        text-align: left;
    }
}

/* ============================================================
   BIOGATE — MY ACCOUNT & LOGIN/REGISTER STYLES
   ============================================================ */

/* ── LOGIN / REGISTER PAGE (.bglogin-wrap) ── */
.bglogin-wrap {
    padding: 50px 0 80px;
}

.bglogin-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.bglogin-header__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.bglogin-header__sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.bglogin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}

/* If only login is active (no registration) */
.bglogin-grid:has(> .bglogin-card:only-child) {
    max-width: 480px;
}

.bglogin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.bglogin-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bglogin-card__title i {
    color: var(--clr-accent);
    font-size: 20px;
}

.bglogin-field {
    margin-bottom: 18px;
}

.bglogin-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.bglogin-field label .required {
    color: #e53e3e;
    text-decoration: none;
}

.bglogin-field input[type="text"],
.bglogin-field input[type="email"],
.bglogin-field input[type="password"] {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all var(--transition);
}

.bglogin-field input:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-dim);
    background: var(--bg-card);
}

.bglogin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
    gap: 12px;
    flex-wrap: wrap;
}

.bglogin-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    user-select: none;
}

.bglogin-forgot {
    color: var(--clr-purple);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.bglogin-forgot:hover {
    color: var(--clr-accent);
    text-decoration: underline;
}

.bglogin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    background: #5d35a7;
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(93, 53, 167, 0.35);
    transition: all var(--transition);
}

.bglogin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(93, 53, 167, 0.5);
    background: linear-gradient(135deg, #7c4dff 0%, #dc36ff 100%);
}

.bglogin-hint,
.bglogin-privacy {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 18px;
}

.bglogin-privacy a {
    color: var(--clr-purple);
    text-decoration: underline;
}

/* ── LOGGED-IN MY ACCOUNT (.bgaccount-wrap) ── */
.bgaccount-wrap {
    padding: 40px 0 80px;
}

.bgaccount-header {
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.bgaccount-header__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.bgaccount-header__sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

.bgaccount-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* Neutralize WooCommerce core layout floats on My Account */
.woocommerce-account .woocommerce {
    width: 100% !important;
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
    display: none !important;
    content: none !important;
}

/* Navigation Sidebar */
.bgaccount-nav-col {
    position: sticky;
    top: 100px;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .bgaccount-content-col {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* User mini profile card in sidebar */
.bgaccount-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(93, 53, 167, 0.08) 0%, rgba(220, 54, 255, 0.08) 100%);
    border-bottom: 1px solid var(--border-color);
}

.bgaccount-user-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bgaccount-user-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bgaccount-user-card__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bgaccount-user-card__greeting {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
}

.bgaccount-user-card__name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bgaccount-user-card__email {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation li {
    list-style: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    margin: 0 !important;
    padding: 0 !important;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 15px 22px !important;
    color: var(--text-secondary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all var(--transition) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a i.ti {
    font-size: 18px !important;
    color: var(--clr-purple) !important;
    flex-shrink: 0 !important;
    transition: transform var(--transition) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a span.nav-label {
    flex-grow: 1 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a i.nav-arrow {
    font-size: 14px !important;
    color: var(--border-color) !important;
    margin-left: auto !important;
    transition: transform var(--transition), color var(--transition) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: var(--bg-surface) !important;
    color: var(--clr-purple) !important;
    padding-left: 26px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover i.nav-arrow {
    color: var(--clr-purple) !important;
    transform: translateX(4px) !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #5d35a7 !important;
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a i.ti {
    color: #fff !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a i.nav-arrow {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Account Content Card */
.bgaccount-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.bgaccount-welcome {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 28px;
}

.bgaccount-welcome__title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px;
}

.bgaccount-welcome__title strong {
    color: var(--clr-purple);
}

.bgaccount-welcome__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

.bgaccount-logout-note {
    display: inline-block;
    margin-left: 6px;
    font-size: 14px;
}

.bgaccount-logout-note a {
    color: var(--clr-purple);
    font-weight: 600;
    text-decoration: underline;
}

.bgaccount-logout-note a:hover {
    color: var(--clr-accent);
}

/* Dashboard Action Cards */
.bgaccount-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.bgaccount-dashboard-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: all var(--transition);
    position: relative;
}

.bgaccount-dashboard-card:hover {
    border-color: var(--clr-purple);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(93, 53, 167, 0.12);
}

.bgaccount-dashboard-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--clr-accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--clr-purple);
    margin-bottom: 16px;
    transition: transform var(--transition);
}

.bgaccount-dashboard-card:hover .bgaccount-dashboard-card__icon {
    transform: scale(1.08);
}

.bgaccount-dashboard-card__content h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.bgaccount-dashboard-card__content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.bgaccount-dashboard-card__arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 18px;
    color: var(--border-color);
    transition: transform var(--transition), color var(--transition);
}

.bgaccount-dashboard-card:hover .bgaccount-dashboard-card__arrow {
    color: var(--clr-purple);
    transform: translateX(4px);
}

.bgaccount-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.bgaccount-card p a {
    color: var(--clr-purple);
    font-weight: 600;
    text-decoration: underline;
}

.bgaccount-card p a:hover {
    color: var(--clr-accent);
}

.bgaccount-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* Orders Table in My Account */
.woocommerce-orders-table,
.woocommerce-table--order-details {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td,
.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-primary);
    text-align: left;
}

.woocommerce-orders-table th,
.woocommerce-table--order-details th {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.woocommerce-orders-table__cell-order-actions a.button,
.woocommerce-button.view {
    display: inline-block;
    padding: 8px 16px;
    background: var(--clr-purple);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition);
}

.woocommerce-orders-table__cell-order-actions a.button:hover,
.woocommerce-button.view:hover {
    background: var(--clr-accent);
}

/* ── ADDRESSES GRID (.bgaccount-addresses-grid) ── */
.bgaccount-addresses-wrap {
    width: 100% !important;
}

.bgaccount-addresses-desc {
    font-size: 14.5px !important;
    color: var(--text-secondary) !important;
    margin-bottom: 24px !important;
    line-height: 1.5 !important;
}

/* Neutralize all WooCommerce legacy float address classes */
.woocommerce-account .woocommerce-Addresses,
.woocommerce-account .u-columns.addresses,
.woocommerce-account .col2-set,
.bgaccount-addresses-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    clear: both !important;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2,
.woocommerce-account .col-1,
.woocommerce-account .col-2,
.woocommerce-account .woocommerce-Address,
.bgaccount-address-card {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1.5px solid #ebd9f5 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px rgba(93, 53, 167, 0.04) !important;
    transition: all var(--transition) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

.bgaccount-address-card:hover {
    border-color: #d1b5e3 !important;
    box-shadow: 0 8px 28px rgba(93, 53, 167, 0.1) !important;
    transform: translateY(-2px) !important;
}

.bgaccount-address-card__header,
.woocommerce-Address-title.title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid var(--border-color) !important;
    float: none !important;
    width: 100% !important;
}

.bgaccount-address-card__title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
}

.bgaccount-address-card__icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: rgba(93, 53, 167, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--clr-purple) !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

.bgaccount-address-card__title,
.woocommerce-Address-title h2,
.woocommerce-Address-title h3 {
    font-family: var(--font-display) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    float: none !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.bgaccount-address-card__btn,
.woocommerce-Address-title .edit {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    background: rgba(93, 53, 167, 0.08) !important;
    color: var(--clr-purple) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    float: none !important;
    white-space: nowrap !important;
    transition: all var(--transition) !important;
}

.bgaccount-address-card__btn:hover,
.woocommerce-Address-title .edit:hover {
    background: var(--clr-purple) !important;
    color: #fff !important;
}

.bgaccount-address-card__address,
.woocommerce-Address address {
    font-style: normal !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
    margin: 0 !important;
}

.bgaccount-address-card__empty {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    color: var(--text-muted) !important;
    font-size: 13.5px !important;
    padding: 8px 0 !important;
}

.bgaccount-address-card__empty i {
    font-size: 20px !important;
    color: #bfa8d6 !important;
}

.bgaccount-address-card__empty p {
    margin: 0 !important;
    color: var(--text-muted) !important;
}

/* ── EDIT ADDRESS HEADER & FORM ── */
.bgaccount-edit-address-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.bgaccount-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--clr-purple) !important;
    text-decoration: none !important;
    width: fit-content !important;
}

.bgaccount-back-btn:hover {
    color: var(--clr-accent) !important;
}

.bgaccount-edit-address-title {
    font-family: var(--font-display) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 !important;
}

/* ── EDIT ACCOUNT FORM (.bgaccount-form) ── */
.bgaccount-form-grid-2 {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

.bgaccount-field-hint {
    display: block !important;
    font-size: 12.5px !important;
    color: var(--text-muted) !important;
    margin-top: 6px !important;
    line-height: 1.4 !important;
    font-style: normal !important;
}

/* Modern inputs across all account forms */
.woocommerce-EditAccountForm input.input-text,
.woocommerce-address-fields input.input-text,
.bgaccount-form input.input-text,
.bgaccount-address-form input.input-text {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid #ebd9f5 !important;
    border-radius: 12px !important;
    background: #fcfaff !important;
    color: #1a0d24 !important;
    font-family: var(--font-body) !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.woocommerce-EditAccountForm input.input-text:hover,
.woocommerce-address-fields input.input-text:hover,
.bgaccount-form input.input-text:hover,
.bgaccount-address-form input.input-text:hover {
    border-color: #d1b5e3 !important;
    background: #ffffff !important;
}

.woocommerce-EditAccountForm input.input-text:focus,
.woocommerce-address-fields input.input-text:focus,
.bgaccount-form input.input-text:focus,
.bgaccount-address-form input.input-text:focus {
    border-color: #5d35a7 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(93, 53, 167, 0.12) !important;
}

/* Fieldset: remove retro 1999 border box */
.bgaccount-password-fieldset,
.woocommerce-EditAccountForm fieldset {
    border: none !important;
    padding: 24px 0 0 0 !important;
    margin: 28px 0 0 0 !important;
    border-top: 1px solid var(--border-color) !important;
}

.bgaccount-password-legend,
.woocommerce-EditAccountForm fieldset legend {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: var(--font-display) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    padding: 0 0 18px 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.bgaccount-password-legend i {
    color: var(--clr-purple) !important;
    font-size: 18px !important;
}

.bgaccount-form-actions {
    margin-top: 28px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border-color) !important;
}

.bgaccount-submit-btn,
.woocommerce-EditAccountForm button.button,
.woocommerce-address-fields button.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    height: 48px !important;
    padding: 0 32px !important;
    background: #5d35a7 !important;
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%) !important;
    color: #fff !important;
    font-family: var(--font-display) !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 6px 20px rgba(93, 53, 167, 0.3) !important;
    cursor: pointer !important;
    transition: all var(--transition) !important;
}

.bgaccount-submit-btn:hover,
.woocommerce-EditAccountForm button.button:hover,
.woocommerce-address-fields button.button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(93, 53, 167, 0.45) !important;
    background: linear-gradient(135deg, #7c4dff 0%, #dc36ff 100%) !important;
    color: #fff !important;
}

/* Responsive Account & Login */
@media (max-width: 992px) {
    .bgaccount-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bgaccount-nav-col {
        position: static;
    }

    .bgaccount-user-card {
        padding: 14px 18px;
    }

    .bgaccount-user-card__avatar {
        width: 38px;
        height: 38px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        border-bottom: none !important;
        border-right: 1px solid var(--border-color) !important;
        flex-shrink: 0 !important;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li a {
        padding: 12px 18px !important;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li a i.nav-arrow {
        display: none !important;
    }

    .bgaccount-card {
        padding: 24px 20px;
    }

    .bgaccount-dashboard-cards {
        grid-template-columns: 1fr;
    }

    .woocommerce-Addresses {
        grid-template-columns: 1fr;
    }
}

/* ── STAR RATINGS ── */
.star-rating span::before, .star-rating::before { color: var(--clr-accent); }

/* ── RESPONSIVE single product ── */
@media (max-width: 768px) {
    .woocommerce div.product { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   BIOGATE SHOP — PRODUCT CARD (Propuesta A)
   ============================================================ */

/* ── Reset WC defaults that break our layout ── */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.columns-3,
.woocommerce-page ul.products.columns-3,
.woocommerce ul.products.columns-4,
.woocommerce-page ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
    clear: both !important;
}
/* WooCommerce inserts clearing pseudo-elements in its product loop. In a CSS
   grid they become empty grid cells, shifting every product one column. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    content: none !important;
    display: none !important;
}
/* Neutralizar width/float/margin que WC pone en cada li por columnas */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product {
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* ── Hide WC & plugin injections ── */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product a.add_to_cart_button,
.yith-wcwl-add-to-wishlist,
form.yith-wcwl-form,
.added_to_cart.wc-forward { display: none !important; }

/* ── Hide WC default price/title (we render our own) ── */
/* ── CARD SHELL ── */
li.bgcard {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    transition: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer;
}
body.theme-dark li.bgcard { background: transparent !important; }
li.bgcard:hover { border-color: transparent !important; transform: none !important; box-shadow: none !important; }

/* ── IMAGE WRAP — fondo blanco, producto flotando ── */
.bgcard__img-wrap {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fff;
    border-radius: 12px;
    flex-shrink: 0;
    text-decoration: none;
    transition: box-shadow .25s ease;
    border: 1px solid #f0eaf5;
}
body.theme-dark .bgcard__img-wrap {
    background: #14091c;
    border-color: rgba(220,54,255,.12);
}
li.bgcard:hover .bgcard__img-wrap {
    box-shadow: 0 6px 24px rgba(93,53,167,.13);
    border-color: #e0ccff;
}

.bgcard__img,
.bgcard__img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: 0 !important;
    padding: 12px !important;
    max-width: none !important;
    max-height: none !important;
    transition: transform .35s ease;
}
li.bgcard:hover .bgcard__img,
li.bgcard:hover .bgcard__img-wrap img { transform: scale(1.04); }

.bgcard__img-ph {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #e8d8ff;
    background: #faf7ff;
}
body.theme-dark .bgcard__img-ph { background: #1a0d24; color: #3e2341; }

/* ── BADGE ── */
.bgcard__badge {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.4;
    z-index: 2;
}
.bgcard__badge--sale     { background: var(--clr-pink, #e91e63); color: #fff; box-shadow: 0 2px 8px rgba(233, 30, 99, 0.35); }
.bgcard__badge--new      { background: #5d35a7; color: #fff; }
.bgcard__badge--featured { background: #dc36ff; color: #fff; }

/* ── HOVER BUTTONS — wishlist y ver producto ── */
.bgcard__hover-btns {
    position: absolute;
    top: 10px; right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 2;
}
li.bgcard:hover .bgcard__hover-btns { opacity: 1; transform: translateX(0); }
.bgcard__hbtn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    border: 1px solid #ede8f5;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    color: #6b5c7a;
    cursor: pointer;
    transition: all .2s;
}
.bgcard__hbtn:hover { background: #5d35a7; color: #fff; border-color: #5d35a7; }
.bgcard__hbtn:hover .ti-heart,
.bgcard__hbtn.added .ti-heart {
    color: var(--clr-pink, #e91e63) !important;
}

/* ── CARD BODY — debajo de la imagen, sin recuadro ── */
.bgcard__body {
    padding: 10px 2px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.bgcard__brand {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #b89fc4;
    font-weight: 500;
    line-height: 1;
}
.bgcard__name {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: #1a0d24 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 42px;
    flex: none;
}
body.theme-dark .bgcard__name { color: #f0eaf5 !important; }
.bgcard__name a { color: inherit !important; text-decoration: none !important; }
.bgcard__name a:hover { color: #5d35a7 !important; }

/* Rating */
.bgcard__rating { display: flex; align-items: center; gap: 4px; }
.bgcard__stars .star-rating { font-size: 11px; }
.bgcard__rating-n { font-size: 10px; color: #b89fc4; }

/* ── CARD FOOTER — precio + botón agregar ── */
.bgcard__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: 4px;
    border-top: none;
    gap: 8px;
}

.bgcard__price { display: flex; align-items: baseline; gap: 5px; min-width: 0; flex: 1; }
.bgcard__price-current {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a0d24;
    white-space: nowrap;
}
body.theme-dark .bgcard__price-current { color: #f0eaf5; }
.bgcard__price-current .woocommerce-Price-amount,
.bgcard__price-current .amount { color: inherit !important; font-weight: 700 !important; }
.bgcard__price-old {
    font-size: 11px;
    color: #b89fc4;
    text-decoration: line-through;
    white-space: nowrap;
}
.bgcard__price-old .woocommerce-Price-amount,
.bgcard__price-old .amount { color: #b89fc4 !important; }

/* Botón agregar — pill estilo Zoya's con colores Biogate */
.bgcard__cart {
    height: 32px;
    padding: 0 14px;
    border-radius: 20px;
    background: #f0e8ff;
    border: 1.5px solid #5d35a7;
    color: #5d35a7;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
    transition: background .2s, color .2s;
    white-space: nowrap;
    line-height: 1;
    width: auto !important;
}
body.theme-dark .bgcard__cart { background: rgba(220,54,255,.12); }
.bgcard__cart:hover { background: #5d35a7; color: #fff; }
.bgcard__cart.is-loading,
.bgcard-ajax-cart.is-loading { opacity: .6; pointer-events: none; }
.bgcard__cart.is-added,
.bgcard-ajax-cart.is-added   { background: #5d35a7; color: #fff; border-color: #5d35a7; }
.bgcard__cart--outofstock {
    background: #f5f5f5; border-color: #ddd; color: #bbb;
    cursor: default; font-size: 11px;
}
.bgcard__cart--outofstock:hover { background: #f5f5f5; color: #bbb; border-color: #ddd; }

/* ── SHOP HERO ── */
.shop-hero { background: var(--bg-surface); border-bottom: 1px solid var(--border-color); padding: 28px 0; }
.shop-hero__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.shop-hero__eyebrow { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #5d35a7; margin-bottom: 5px; }
.shop-hero__title { font-family: 'Sora',sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; line-height: 1.15; }
.shop-hero__desc { font-size: 13px; color: var(--text-secondary); max-width: 460px; line-height: 1.6; }
.shop-hero__stats { display: flex; gap: 28px; flex-shrink: 0; }
.shop-hero__stat-num { display: block; font-family: 'Sora',sans-serif; font-size: 1.5rem; font-weight: 700; color: #5d35a7; line-height: 1; }
.shop-hero__stat-lbl { display: block; font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* ── CATEGORY PILLS ── */
.shop-cats-strip { border-bottom: 1px solid var(--border-color); overflow-x: auto; scrollbar-width: none; }
.shop-cats-strip::-webkit-scrollbar { display: none; }
.shop-cats-strip__inner { display: flex; align-items: center; gap: 7px; padding: 10px 0; white-space: nowrap; }
.shop-cat-pill { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; border-radius: 20px; border: 1px solid var(--border-color); background: var(--bg-card); color: var(--text-secondary); font-size: 12px; font-weight: 500; text-decoration: none; flex-shrink: 0; transition: all .2s; }
.shop-cat-pill i { font-size: 13px; }
.shop-cat-pill:hover { border-color: #5d35a7; color: #5d35a7; }
.shop-cat-pill.is-active { background: #5d35a7; border-color: #5d35a7; color: #fff; }
.shop-cat-pill__count { font-size: 10px; background: rgba(0,0,0,.08); padding: 1px 5px; border-radius: 8px; }
.shop-cat-pill.is-active .shop-cat-pill__count { background: rgba(255,255,255,.25); }

/* ── SHOP CONTAINER — más ancho que el resto del sitio ── */
.shop-hero .container,
.shop-cats-strip .container,
.shop-wrap .container {
    max-width: 1600px !important;
    padding-inline: 24px !important;
}

/* ── SHOP LAYOUT ── */
.shop-wrap { padding: 0 0 64px; }
.shop-layout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 24px !important;
    align-items: start !important;
    padding: 24px 0 0 !important;
}

/* ── SIDEBAR sticky — fija desde que abre la página ── */
.shop-sidebar {
    position: sticky !important;
    top: 72px !important;       /* altura exacta del header sticky */
    align-self: start !important;
    max-height: calc(100vh - 90px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #e8d8ff transparent !important;
}
.shop-sidebar::-webkit-scrollbar { width: 4px; }
.shop-sidebar::-webkit-scrollbar-track { background: transparent; }
.shop-sidebar::-webkit-scrollbar-thumb { background: #e8d8ff; border-radius: 4px; }

.shop-sidebar__inner {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    width: 100% !important;
}
.shop-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 14px 0;
    border-bottom: 2px solid #f0eaf5;
    margin-bottom: 4px;
}
body.theme-dark .shop-sidebar__header { border-bottom-color: rgba(220,54,255,.15); }
.shop-sidebar__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: .01em;
}
.shop-sidebar__title i { font-size: 15px; color: #5d35a7; }
.shop-sidebar__clear {
    font-size: 11px;
    color: #5d35a7;
    text-decoration: none;
    font-weight: 500;
}
.shop-sidebar__clear:hover { text-decoration: underline; }

/* Cada sección del filtro — sin bordes entre ellas */
.shop-filter { border-bottom: none; padding: 14px 0 4px; }
.shop-filter:last-child { padding-bottom: 0; }
.shop-filter__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 8px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: inherit;
    letter-spacing: .01em;
}
.shop-filter__toggle i { font-size: 12px; color: var(--text-muted); transition: transform .2s; }
.shop-filter__toggle[aria-expanded="false"] i { transform: rotate(-90deg); }

/* Items de categoría — links limpios sin fondo */
.shop-filter__body { padding: 0; }
.shop-filter__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color .15s;
    border-radius: 0;
    background: transparent !important;
}
.shop-filter__item:hover { background: transparent !important; color: #3e2341; }
body.theme-dark .shop-filter__item:hover { color: #f0eaf5; }
.shop-filter__item.is-active {
    color: #5d35a7;
    font-weight: 600;
    background: transparent !important;
}
body.theme-dark .shop-filter__item.is-active { color: #5d35a7; }
.shop-filter__item-count {
    font-size: 11px;
    color: #b89fc4;
    background: transparent;
    padding: 0;
    font-weight: 400;
}
.shop-filter__checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 0;
}
.shop-filter__checkbox input { accent-color: #5d35a7; width: 14px; height: 14px; cursor: pointer; }

/* Hide WC price filter title */
.widget_price_filter .widgettitle,
.widget_price_filter h3,
.shop-filter__body .widgettitle { display: none !important; }
.widget_price_filter .ui-slider { background: var(--border-color); border-radius: 4px; height: 4px; border: none; margin: 14px 4px; }
.widget_price_filter .ui-slider-range { background: #5d35a7; }
.widget_price_filter .ui-slider-handle { background: #5d35a7; border: 2px solid #fff; border-radius: 50%; width: 16px; height: 16px; top: -6px; box-shadow: 0 1px 4px rgba(93,53,167,.3); cursor: pointer; }
.widget_price_filter .price_slider_amount { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 11px; color: var(--text-secondary); }
.widget_price_filter .price_slider_amount button { background: #5d35a7; color: #fff; border: none; border-radius: 5px; padding: 4px 11px; font-size: 11px; cursor: pointer; font-family: inherit; }

/* ── TOOLBAR ── */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border-color); gap: 12px; }
.shop-toolbar__count { font-size: 13px; color: var(--text-secondary); }
.shop-toolbar__count p { margin: 0; }
.shop-toolbar__right { display: flex; align-items: center; gap: 12px; }
.shop-view-toggle { display: flex; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.shop-view-btn { padding: 6px 10px; background: transparent; border: none; cursor: pointer; color: var(--text-muted); font-size: 16px; transition: all .2s; line-height: 1; }
.shop-view-btn.is-active { background: #5d35a7; color: #fff; }
.woocommerce-ordering { margin: 0 !important; }
.woocommerce-ordering select { background: var(--bg-card) !important; border: 1px solid var(--border-color) !important; border-radius: 6px !important; color: var(--text-primary) !important; font-size: 12px !important; padding: 7px 28px 7px 11px !important; font-family: inherit !important; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b89fc4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 8px center !important; outline: none; }
.woocommerce-ordering select:focus { border-color: #5d35a7 !important; }

/* ── PAGINATION ── */
.shop-pagination { margin-top: 40px; }
.shop-pagination .woocommerce-pagination { display: flex; justify-content: center; }
.shop-pagination .woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul {
    display: flex !important;
    justify-content: center !important;
    gap: 6px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
    border: none !important;
}
.shop-pagination .woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul li { margin: 0 !important; border: none !important; }
.shop-pagination .woocommerce-pagination ul li a,
.shop-pagination .woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    padding: 0 10px !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-family: inherit !important;
    color: var(--text-secondary) !important;
    text-decoration: none !important;
    transition: all .2s !important;
    background: var(--bg-card) !important;
    line-height: 1 !important;
}
.shop-pagination .woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    border-color: #5d35a7 !important;
    color: #5d35a7 !important;
    background: rgba(220,54,255,.06) !important;
}
.shop-pagination .woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #5d35a7 !important;
    color: #fff !important;
    border-color: #5d35a7 !important;
    font-weight: 600 !important;
}

/* ── EMPTY STATE ── */
.shop-empty { text-align: center; padding: 64px 24px; }
.shop-empty__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--bg-surface); border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 28px; color: var(--text-muted); }
.shop-empty h3 { font-size: 1.1rem; margin-bottom: 8px; }
.shop-empty p { color: var(--text-secondary); margin-bottom: 24px; }

/* ── BUTTON STATES ── */
@keyframes spin { to { transform: rotate(360deg); } }
.bgcard__cart.is-loading i,
.bgcard-ajax-cart.is-loading i { animation: spin .7s linear infinite; display: inline-block; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
    .shop-layout { grid-template-columns: 240px 1fr; gap: 20px; }
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width: 900px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; }
    .shop-hero__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 480px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 10px !important; }
}

/* Mobile cards: retain an easy-to-scan two-column catalog without forcing
   the price and cart control into the same narrow row. */
@media (max-width: 600px) {
    .shop-hero .container,
    .shop-cats-strip .container,
    .shop-wrap .container { padding-inline: 16px !important; }
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }
    .shop-layout,
    .shop-main {
        width: 100% !important;
        min-width: 0 !important;
    }
    .shop-main { grid-column: 1 / -1; }
    .shop-toolbar { align-items: flex-start; flex-wrap: wrap; }
    .shop-toolbar__right { width: 100%; justify-content: space-between; }
    .bgcard__body { padding-top: 9px; gap: 6px; }
    .bgcard__name { font-size: 12px !important; min-height: 34px; }
    .bgcard__footer { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 6px; }
    .bgcard__price { width: 100%; min-height: 20px; }
    .bgcard__price-current { font-size: 13px; }
    .bgcard__cart { width: 100% !important; min-height: 34px; padding-inline: 8px; }
}

@media (max-width: 360px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .woocommerce ul.products.columns-3,
    .woocommerce ul.products.columns-4 { grid-template-columns: 1fr !important; }
}

/* ── PRICE RANGE CUSTOM ── */
.shop-filter__body--price { padding: 8px 14px 14px; }
/* ── PRICE RANGE SLIDER ── */
.price-range { display: flex; flex-direction: column; gap: 12px; }

.price-range__labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}
.price-range__labels .woocommerce-Price-amount,
.price-range__labels .amount { font-size: 12px; color: var(--text-primary); }
.price-range__labels .woocommerce-Price-currencySymbol { font-size: 11px; }

.price-range__form { display: flex; flex-direction: column; gap: 12px; }

/* Track compartido — los dos sliders se superponen sobre el mismo div */
.price-range__track-wrap {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}
.price-range__track {
    position: absolute;
    left: 0; right: 0;
    height: 4px;
    background: #e8d8ff;
    border-radius: 2px;
    pointer-events: none;
}
.price-range__track-fill {
    position: absolute;
    height: 4px;
    background: #5d35a7;
    border-radius: 2px;
    pointer-events: none;
}

.price-range__slider {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    left: 0; right: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    outline: none;
    cursor: pointer;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    pointer-events: none;
}
.price-range__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #5d35a7;
    box-shadow: 0 1px 6px rgba(93,53,167,.25);
    cursor: pointer;
    pointer-events: all;
    transition: border-color .15s, box-shadow .15s;
}
.price-range__slider::-webkit-slider-thumb:hover {
    box-shadow: 0 0 0 4px rgba(93,53,167,.12);
}
.price-range__slider::-moz-range-thumb {
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid #5d35a7;
    box-shadow: 0 1px 6px rgba(93,53,167,.25);
    cursor: pointer;
    pointer-events: all;
}

.price-range__btn {
    background: #5d35a7;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    transition: background .2s;
    letter-spacing: .01em;
}
.price-range__btn:hover { background: #3e2341; }

/* ── SIDEBAR REFINEMENTS ── */
.shop-filter__item { gap: 0; }
.shop-filter__item i { flex-shrink: 0; }

/* ── FIX espacios vacíos — WC agrega clear:both, width y margin a li.first/li.last ── */
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last,
.woocommerce-page ul.products li.product.first,
.woocommerce-page ul.products li.product.last,
.woocommerce ul.products.columns-4 li.product.first,
.woocommerce ul.products.columns-4 li.product.last {
    clear: none !important;
    width: auto !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Neutralizar el CSS que WC inyecta via <style> inline en el <head> para columnas */
.woocommerce .products.columns-4 li.product,
.woocommerce-page .products.columns-4 li.product {
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
}

/* ── SHORTCODE [products] en homepage — estilos limpios ── */
.woocommerce .products:not(.shop-layout .products) {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}
.woocommerce .products:not(.shop-layout .products) li.product {
    width: auto !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0eaf5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
}
.woocommerce .products:not(.shop-layout .products) li.product:hover {
    box-shadow: 0 4px 20px rgba(93,53,167,.1);
}
.woocommerce .products:not(.shop-layout .products) li.product a img {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    padding: 12px !important;
    background: #faf7ff;
}
.woocommerce .products:not(.shop-layout .products) li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 10px 12px 4px !important;
    color: #1a0d24 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 36px;
}
.woocommerce .products:not(.shop-layout .products) li.product .price {
    padding: 0 12px 4px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a0d24 !important;
}
.woocommerce .products:not(.shop-layout .products) li.product .price ins {
    text-decoration: none !important;
}
.woocommerce .products:not(.shop-layout .products) li.product .button {
    margin: 0 12px 12px !important;
    padding: 7px 14px !important;
    border-radius: 20px !important;
    background: #f0e8ff !important;
    border: 1.5px solid #5d35a7 !important;
    color: #5d35a7 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: background .2s, color .2s !important;
    display: block !important;
}
.woocommerce .products:not(.shop-layout .products) li.product .button:hover {
    background: #5d35a7 !important;
    color: #fff !important;
}
/* Wishlist icons del shortcode */
.woocommerce .products:not(.shop-layout .products) li.product .yith-wcwl-add-to-wishlist {
    padding: 4px 12px 0 !important;
}
@media (max-width: 900px) {
    .woocommerce .products:not(.shop-layout .products) {
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    }
}

/* ============================================================
   SINGLE PRODUCT PAGE (.sp-*)
   ============================================================ */
.sp-wrap {
    background: #faf7ff;
    padding: 24px 0 64px;
    min-height: calc(100vh - 120px);
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    box-sizing: border-box;
}
body.theme-dark .sp-wrap {
    background: #0f0714;
}

.sp-wrap .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: 24px;
    box-sizing: border-box;
    min-width: 0;
}

/* ── Breadcrumb ── */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.sp-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.sp-breadcrumb a:hover {
    color: var(--clr-purple);
}
.sp-breadcrumb i {
    font-size: 11px;
    color: var(--text-muted);
}
.sp-breadcrumb__current {
    color: var(--text-primary);
    font-weight: 600;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
}

/* ── 2-Column Product Layout ── */
.sp-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr) !important;
    gap: 48px !important;
    align-items: start !important;
    margin-bottom: 48px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

/* ── LEFT COLUMN: Image Gallery & Slider ── */
.sp-gallery-col {
    position: sticky;
    top: 90px;
    align-self: start;
    width: 100% !important;
    max-width: 520px !important;
    min-width: 0 !important;
}

.sp-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

.sp-gallery__frame {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    background: #ffffff !important;
    border: 1.5px solid #ebd9f5 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 24px rgba(93, 53, 167, 0.05) !important;
    display: block !important;
    box-sizing: border-box !important;
    transition: border-color 0.25s, box-shadow 0.25s !important;
}
body.theme-dark .sp-gallery__frame {
    background: #14091c !important;
    border-color: rgba(220, 54, 255, 0.16) !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35) !important;
}
.sp-gallery__frame:hover {
    border-color: #d1b5e3 !important;
    box-shadow: 0 10px 36px rgba(93, 53, 167, 0.12) !important;
}

/* Badges */
.sp-gallery__badge {
    position: absolute !important;
    z-index: 5 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
    pointer-events: none !important;
}
.sp-gallery__badge--sale {
    top: 16px !important;
    left: 16px !important;
    background: var(--clr-pink, #e91e63) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.4) !important;
}
.sp-gallery__badge--shipping {
    top: 16px !important;
    right: 16px !important;
    background: #5d35a7 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    box-shadow: 0 2px 8px rgba(93, 53, 167, 0.3) !important;
}

/* Main Image Wrapper — Absolutely positioned to lock 1:1 square frame */
.sp-gallery__main-img-wrap {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 28px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    cursor: zoom-in !important;
}

.sp-gallery__main-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    display: block !important;
    margin: auto !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}
.sp-gallery__frame:hover .sp-gallery__main-img {
    transform: scale(1.05);
}

/* Slider Navigation Arrows */
.sp-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid #ebd9f5;
    color: #5d35a7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 6;
    box-shadow: 0 4px 16px rgba(93, 53, 167, 0.15);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}
body.theme-dark .sp-gallery__arrow {
    background: rgba(26, 13, 36, 0.9);
    border-color: rgba(220, 54, 255, 0.25);
    color: #dc36ff;
}
.sp-gallery__arrow:hover {
    opacity: 1;
    background: #5d35a7;
    color: #ffffff;
    border-color: #5d35a7;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(93, 53, 167, 0.3);
}
.sp-gallery__arrow--prev { left: 14px; }
.sp-gallery__arrow--next { right: 14px; }

/* Counter & Zoom Button */
.sp-gallery__counter {
    position: absolute;
    bottom: 14px;
    left: 16px;
    background: rgba(26, 13, 36, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 12px;
    z-index: 5;
    letter-spacing: 0.04em;
}

.sp-gallery__zoom-btn {
    position: absolute;
    bottom: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1.5px solid #ebd9f5;
    color: #5d35a7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    text-decoration: none;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(93, 53, 167, 0.1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
body.theme-dark .sp-gallery__zoom-btn {
    background: rgba(26, 13, 36, 0.9);
    border-color: rgba(220, 54, 255, 0.25);
    color: #dc36ff;
}
.sp-gallery__zoom-btn:hover {
    background: #5d35a7;
    color: #ffffff;
    border-color: #5d35a7;
    transform: scale(1.1);
}

/* Thumbnail Carousel */
.sp-gallery__thumbs-slider {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
}
.sp-gallery__thumbs {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    padding: 4px 2px 10px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #d1b5e3 transparent !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}
.sp-gallery__thumbs::-webkit-scrollbar {
    height: 4px;
}
.sp-gallery__thumbs::-webkit-scrollbar-thumb {
    background: #d1b5e3;
    border-radius: 4px;
}
.sp-gallery__thumb {
    flex: 0 0 74px !important;
    width: 74px !important;
    height: 74px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 14px !important;
    border: 2px solid #ebd9f5 !important;
    background: #ffffff !important;
    padding: 6px !important;
    cursor: pointer !important;
    overflow: hidden !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    outline: none !important;
    box-sizing: border-box !important;
}
body.theme-dark .sp-gallery__thumb {
    background: #14091c !important;
    border-color: rgba(220, 54, 255, 0.16) !important;
}
.sp-gallery__thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 8px !important;
    display: block !important;
}
.sp-gallery__thumb:hover {
    border-color: #bfa8d6 !important;
    transform: translateY(-2px) !important;
}
.sp-gallery__thumb.is-active {
    border-color: #5d35a7 !important;
    box-shadow: 0 0 0 3px rgba(93, 53, 167, 0.2) !important;
    transform: translateY(-2px) !important;
}
body.theme-dark .sp-gallery__thumb.is-active {
    border-color: #dc36ff !important;
    box-shadow: 0 0 0 3px rgba(220, 54, 255, 0.25) !important;
}

/* ── RIGHT COLUMN: Product Details ── */
.sp-summary {
    background: #ffffff;
    border: 1.5px solid #ebd9f5;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 6px 28px rgba(93, 53, 167, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
body.theme-dark .sp-summary {
    background: #14091c;
    border-color: rgba(220, 54, 255, 0.16);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

/* Brand */
.sp-summary__brand-wrap {
    display: flex;
    align-items: center;
}
.sp-summary__brand {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5d35a7;
    background: rgba(93, 53, 167, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
}
body.theme-dark .sp-summary__brand {
    color: #dc36ff;
    background: rgba(220, 54, 255, 0.12);
}

/* Title */
.sp-summary__title {
    font-family: var(--font-display) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a0d24 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
}
body.theme-dark .sp-summary__title {
    color: #f0eaf5 !important;
}

/* Rating */
.sp-summary__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ebd9f5;
}
body.theme-dark .sp-summary__rating {
    border-bottom-color: rgba(220, 54, 255, 0.15);
}
.sp-summary__stars .star-rating {
    font-size: 14px;
    color: #f59e0b;
}
.sp-summary__reviews-link {
    font-size: 13.5px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Price Box */
.sp-price-box {
    background: #faf7ff;
    border: 1.5px solid #ebd9f5;
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
body.theme-dark .sp-price-box {
    background: #1a0d24;
    border-color: rgba(220, 54, 255, 0.18);
}

.sp-price-box__main {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.sp-price-box__current {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: #1a0d24;
    line-height: 1;
}
body.theme-dark .sp-price-box__current {
    color: #f0eaf5;
}
.sp-price-box__current .woocommerce-Price-amount,
.sp-price-box__current .amount {
    color: inherit !important;
    font-weight: 800 !important;
}

.sp-price-box__old {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}
.sp-price-box__old .woocommerce-Price-amount,
.sp-price-box__old .amount {
    color: var(--text-muted) !important;
    font-weight: 400 !important;
}

.sp-price-box__promos {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-top: 12px;
    border-top: 1px dashed #ebd9f5;
}
body.theme-dark .sp-price-box__promos {
    border-top-color: rgba(220, 54, 255, 0.2);
}

.sp-promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--text-primary);
}
.sp-promo-pill i {
    font-size: 17px;
    color: #5d35a7;
    flex-shrink: 0;
}
body.theme-dark .sp-promo-pill i {
    color: #dc36ff;
}
.sp-promo-pill strong {
    color: #5d35a7;
    font-weight: 700;
}
body.theme-dark .sp-promo-pill strong {
    color: #dc36ff;
}

.sp-promo-pill--transfer i,
.sp-promo-pill--transfer strong {
    color: #dc36ff !important;
}

/* Stock Status */
.sp-stock-status {
    display: flex;
}
.sp-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 10px;
}
.sp-stock-badge--in {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}
body.theme-dark .sp-stock-badge--in {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}
.sp-stock-badge--out {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}
body.theme-dark .sp-stock-badge--out {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

/* Short Description */
.sp-summary__desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-secondary);
}
.sp-summary__desc p {
    margin: 0 0 10px;
}
.sp-summary__desc p:last-child {
    margin-bottom: 0;
}

/* Add To Cart Form */
.sp-summary__actions {
    margin-top: 6px;
}

.sp-add-to-cart-form {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sp-qty-control {
    display: inline-flex;
    align-items: center;
    height: 52px;
    background: #faf7ff;
    border: 1.5px solid #ebd9f5;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
}
body.theme-dark .sp-qty-control {
    background: #1a0d24;
    border-color: rgba(220, 54, 255, 0.2);
}
.sp-qty-btn {
    width: 44px;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.sp-qty-btn:hover {
    background: rgba(93, 53, 167, 0.1);
    color: #5d35a7;
}
body.theme-dark .sp-qty-btn:hover {
    background: rgba(220, 54, 255, 0.15);
    color: #dc36ff;
}
.sp-qty-input {
    width: 48px;
    height: 100%;
    border: none;
    background: transparent;
    text-align: center;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: #1a0d24;
    outline: none;
    -moz-appearance: textfield;
}
body.theme-dark .sp-qty-input {
    color: #f0eaf5;
}
.sp-qty-input::-webkit-outer-spin-button,
.sp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.sp-add-btn {
    flex: 1;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #5d35a7;
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 14px;
    font-family: var(--font-display);
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(93, 53, 167, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    padding: 0 24px;
}
.sp-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(93, 53, 167, 0.5);
    background: linear-gradient(135deg, #7c4dff 0%, #dc36ff 100%);
    color: #ffffff !important;
}
.sp-add-btn i {
    font-size: 20px;
}

/* Variable Products Inside Single Product */
.sp-variable-cart-wrap form.variations_form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.sp-variable-cart-wrap table.variations {
    width: 100%;
    border-collapse: collapse;
}
.sp-variable-cart-wrap table.variations td {
    padding: 8px 0;
    border: none;
}
.sp-variable-cart-wrap table.variations td.label {
    width: 120px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}
.sp-variable-cart-wrap table.variations select {
    width: 100%;
    height: 46px;
    border: 1.5px solid #ebd9f5;
    border-radius: 12px;
    padding: 0 16px;
    background: #faf7ff;
    font-size: 14px;
    color: #1a0d24;
    outline: none;
}
.sp-variable-cart-wrap .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}
.sp-variable-cart-wrap button.single_add_to_cart_button {
    height: 52px;
    flex: 1;
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%) !important;
    color: #fff !important;
    font-family: var(--font-display) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 14px !important;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(93, 53, 167, 0.35) !important;
    transition: all 0.25s !important;
}
.sp-variable-cart-wrap button.single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(93, 53, 167, 0.5) !important;
    background: linear-gradient(135deg, #7c4dff 0%, #dc36ff 100%) !important;
}

/* Trust Pills Grid */
.sp-trust-pills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid #ebd9f5;
    border-bottom: 1px solid #ebd9f5;
}
body.theme-dark .sp-trust-pills {
    border-top-color: rgba(220, 54, 255, 0.15);
    border-bottom-color: rgba(220, 54, 255, 0.15);
}
.sp-trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.35;
}
.sp-trust-pill i {
    font-size: 18px;
    color: #5d35a7;
    flex-shrink: 0;
}
body.theme-dark .sp-trust-pill i {
    color: #dc36ff;
}

/* Meta info (SKU, Categories) */
.sp-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}
.sp-meta__item {
    display: flex;
    gap: 8px;
}
.sp-meta__label {
    font-weight: 600;
    color: var(--text-secondary);
}
.sp-meta__value {
    color: var(--text-primary);
}
.sp-meta__value a {
    color: #5d35a7;
    text-decoration: none;
    font-weight: 500;
}
.sp-meta__value a:hover {
    text-decoration: underline;
}

/* ── TABS SECTION ── */
.sp-tabs-section {
    margin-bottom: 48px;
    background: #ffffff;
    border: 1.5px solid #ebd9f5;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(93, 53, 167, 0.04);
}
body.theme-dark .sp-tabs-section {
    background: #14091c;
    border-color: rgba(220, 54, 255, 0.16);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.sp-tabs__nav {
    display: flex;
    gap: 8px;
    padding: 16px 24px 0;
    border-bottom: 1.5px solid #ebd9f5;
    background: #faf7ff;
    overflow-x: auto;
    scrollbar-width: none;
}
body.theme-dark .sp-tabs__nav {
    background: #1a0d24;
    border-bottom-color: rgba(220, 54, 255, 0.16);
}
.sp-tabs__nav::-webkit-scrollbar {
    display: none;
}

.sp-tabs__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border: none;
    background: transparent;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1.5px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.sp-tabs__btn:hover {
    color: #5d35a7;
}
body.theme-dark .sp-tabs__btn:hover {
    color: #dc36ff;
}
.sp-tabs__btn.is-active {
    color: #5d35a7;
    border-bottom-color: #5d35a7;
    background: #ffffff;
    border-radius: 12px 12px 0 0;
}
body.theme-dark .sp-tabs__btn.is-active {
    color: #dc36ff;
    border-bottom-color: #dc36ff;
    background: #14091c;
}
.sp-tabs__btn i {
    font-size: 18px;
}

.sp-tabs__panel {
    padding: 36px 40px;
}

.sp-tabs__content-inner {
    font-size: 15px;
    line-height: 1.75;
    color: #2b163d;
    max-width: 960px;
}
body.theme-dark .sp-tabs__content-inner {
    color: #e0d0eb;
}
.sp-tabs__content-inner p {
    margin: 0 0 16px;
}
.sp-tabs__content-inner p:last-child {
    margin-bottom: 0;
}
.sp-tabs__content-inner ul,
.sp-tabs__content-inner ol {
    margin: 0 0 18px 24px;
    padding: 0;
}
.sp-tabs__content-inner li {
    margin-bottom: 6px;
}

.sp-tabs__empty {
    color: var(--text-muted);
    font-style: italic;
}

/* Attributes Table */
.sp-attrs-table {
    width: 100%;
    border-collapse: collapse;
}
.sp-attrs-table tr {
    border-bottom: 1px solid #ebd9f5;
}
body.theme-dark .sp-attrs-table tr {
    border-bottom-color: rgba(220, 54, 255, 0.15);
}
.sp-attrs-table tr:last-child {
    border-bottom: none;
}
.sp-attrs-table th {
    padding: 14px 20px 14px 0;
    font-weight: 600;
    color: var(--text-secondary);
    width: 240px;
    text-align: left;
    font-size: 14px;
}
.sp-attrs-table td {
    padding: 14px 0;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

/* Reviews Panel Styles */
#reviews #comments {
    margin-bottom: 32px;
}
#reviews .woocommerce-Reviews-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}
#reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#reviews .commentlist li.comment {
    background: #faf7ff;
    border: 1px solid #ebd9f5;
    border-radius: 14px;
    padding: 20px;
}
body.theme-dark #reviews .commentlist li.comment {
    background: #1a0d24;
    border-color: rgba(220, 54, 255, 0.16);
}
#reviews .commentlist .comment_container {
    display: flex;
    gap: 16px;
}
#reviews .commentlist img.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}
#reviews .comment-text {
    flex: 1;
}
#reviews .comment-text .meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
#reviews .comment-text .meta strong {
    color: var(--text-primary);
    font-weight: 600;
}
#reviews #review_form #respond {
    background: #faf7ff;
    border: 1.5px solid #ebd9f5;
    border-radius: 16px;
    padding: 24px;
}
body.theme-dark #reviews #review_form #respond {
    background: #1a0d24;
    border-color: rgba(220, 54, 255, 0.18);
}
#reviews #reply-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}
#reviews input[type="text"],
#reviews input[type="email"],
#reviews textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #ebd9f5;
    border-radius: 12px;
    background: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
#reviews input:focus,
#reviews textarea:focus {
    border-color: #5d35a7;
}
#reviews input[type="submit"] {
    background: linear-gradient(135deg, #5d35a7 0%, #7c4dff 100%);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-display);
    box-shadow: 0 4px 16px rgba(93, 53, 167, 0.3);
}

/* ── BIOGATE GUARANTEE STRIP ── */
.sp-guarantee-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #ffffff;
    border: 1.5px solid #ebd9f5;
    border-radius: 18px;
    padding: 24px 30px;
    margin-bottom: 48px;
    box-shadow: 0 4px 24px rgba(93, 53, 167, 0.04);
}
body.theme-dark .sp-guarantee-strip {
    background: #14091c;
    border-color: rgba(220, 54, 255, 0.16);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.sp-guarantee-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.sp-guarantee-item__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(93, 53, 167, 0.08);
    color: #5d35a7;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
body.theme-dark .sp-guarantee-item__icon {
    background: rgba(220, 54, 255, 0.14);
    color: #dc36ff;
}
.sp-guarantee-item__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sp-guarantee-item__text strong {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}
.sp-guarantee-item__text span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ── RELATED PRODUCTS SECTION ── */
.sp-related {
    margin-top: 32px;
}
.sp-related__header {
    margin-bottom: 24px;
}
.sp-related__title {
    font-family: var(--font-display) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin: 0 0 6px !important;
}
.sp-related__sub {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin: 0;
}
.sp-related__grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
}

/* ── SINGLE PRODUCT RESPONSIVE BREAKPOINTS ── */
@media (max-width: 1100px) {
    .sp-layout {
        grid-template-columns: minmax(0, 460px) minmax(0, 1fr) !important;
        gap: 36px !important;
    }
}

@media (max-width: 992px) {
    .sp-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 28px !important;
        width: 100% !important;
    }
    .sp-gallery-col {
        position: static !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        width: 100% !important;
    }
    .sp-guarantee-strip {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .sp-related__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .sp-wrap {
        padding: 14px 0 36px !important;
        overflow-x: clip !important;
    }
    .sp-wrap .container {
        padding-inline: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .sp-layout {
        gap: 22px !important;
    }
    .sp-gallery-col {
        max-width: 100% !important;
        width: 100% !important;
    }
    .sp-gallery__frame {
        border-radius: 16px !important;
        box-shadow: 0 4px 16px rgba(93, 53, 167, 0.04) !important;
    }
    .sp-gallery__main-img-wrap {
        padding: 18px !important;
    }
    .sp-gallery__arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 17px !important;
    }
    .sp-gallery__arrow--prev {
        left: 8px !important;
    }
    .sp-gallery__arrow--next {
        right: 8px !important;
    }
    .sp-gallery__badge {
        font-size: 9.5px !important;
        padding: 4px 8px !important;
        border-radius: 6px !important;
        top: 10px !important;
    }
    .sp-gallery__badge--sale {
        left: 10px !important;
    }
    .sp-gallery__badge--shipping {
        right: 10px !important;
    }
    .sp-gallery__counter {
        bottom: 10px !important;
        left: 10px !important;
        font-size: 10.5px !important;
        padding: 3px 8px !important;
    }
    .sp-gallery__zoom-btn {
        bottom: 10px !important;
        right: 10px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    .sp-gallery__thumb {
        flex: 0 0 58px !important;
        width: 58px !important;
        height: 58px !important;
        border-radius: 10px !important;
        padding: 4px !important;
    }
    .sp-summary {
        padding: 20px 18px !important;
        border-radius: 16px !important;
        gap: 16px !important;
    }
    .sp-summary__title {
        font-size: 20px !important;
        line-height: 1.3 !important;
    }
    .sp-price-box {
        padding: 16px 16px !important;
        border-radius: 14px !important;
        gap: 12px !important;
    }
    .sp-price-box__current {
        font-size: 26px !important;
    }
    .sp-add-to-cart-form {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
    .sp-qty-control {
        width: 100% !important;
        justify-content: space-between !important;
    }
    .sp-qty-input {
        flex: 1 !important;
    }
    .sp-add-btn {
        width: 100% !important;
    }
    .sp-trust-pills {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .sp-guarantee-strip {
        grid-template-columns: 1fr !important;
        padding: 18px 16px !important;
        gap: 14px !important;
        border-radius: 14px !important;
    }
    .sp-tabs-section {
        border-radius: 16px !important;
    }
    .sp-tabs__btn {
        padding: 12px 16px !important;
        font-size: 13.5px !important;
    }
    .sp-tabs__panel {
        padding: 20px 16px !important;
    }
    .sp-attrs-table th {
        width: 40% !important;
        padding: 10px 10px 10px 0 !important;
        font-size: 13px !important;
    }
    .sp-attrs-table td {
        width: 60% !important;
        padding: 10px 0 !important;
        font-size: 13px !important;
    }
    .sp-related__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* ── ESPECIAL OCTUBRE ROSA ── */
.yith-wcwl-add-to-wishlist a:hover,
.yith-wcwl-wishlistaddedbrowse a,
.yith-wcwl-wishlistexistsbrowse a,
.yith-wcwl-add-button a:hover {
    color: var(--clr-pink, #e91e63) !important;
}
.yith-wcwl-add-to-wishlist svg:hover,
.yith-wcwl-add-to-wishlist a:hover svg {
    fill: var(--clr-pink, #e91e63) !important;
    color: var(--clr-pink, #e91e63) !important;
}
