  /* ═══════════════════════════════════════════════════════════════
     DESIGN TOKENS
  ═══════════════════════════════════════════════════════════════ */
  :root {
    --t-ink:      #ece9ff;
    --t-muted:    #b9b3d8;
    --t-faint:    rgba(185,179,216,.55);
    --t-bg:       rgba(11,15,34,.85);
    --t-bg-deep:  rgba(7,10,24,.92);
    --t-border:   rgba(162,146,222,.26);
    --t-border-hi:rgba(138,111,224,.55);
    --t-card:     linear-gradient(160deg,rgba(32,42,78,.97),rgba(24,33,62,.97));
    --t-card-hi:  linear-gradient(160deg,rgba(38,50,92,.97),rgba(30,42,76,.97));
    --t-accent:   #8a6fe0;
    --t-btn-bg:   #ded4ff;
    --t-btn-ink:  #241b50;
    --t-radius:   18px;
    --t-radius-sm:12px;
  }

  /* ═══════════════════════════════════════════════════════════════
     PAGE SHELL
  ═══════════════════════════════════════════════════════════════ */
  .wc-page-wrap {
    min-height: 100vh;
    padding: 96px 0 100px;
    position: relative;
    z-index: 1;
  }

  /* ═══════════════════════════════════════════════════════════════
     ALL INPUTS — text, email, tel, number, password, textarea
  ═══════════════════════════════════════════════════════════════ */
  .wc-block-components-text-input input,
  .wc-block-components-text-input textarea,
  .wc-block-checkout input[type="text"],
  .wc-block-checkout input[type="email"],
  .wc-block-checkout input[type="tel"],
  .wc-block-checkout input[type="number"],
  .wc-block-checkout input[type="password"],
  .wc-block-checkout textarea,
  .woocommerce input[type="text"],
  .woocommerce input[type="email"],
  .woocommerce input[type="tel"],
  .woocommerce input[type="password"],
  .woocommerce textarea,
  .woocommerce-MyAccount-content input[type="text"],
  .woocommerce-MyAccount-content input[type="email"],
  .woocommerce-MyAccount-content input[type="tel"],
  .woocommerce-MyAccount-content input[type="password"],
  .woocommerce-MyAccount-content textarea {
    background: var(--t-bg) !important;
    color: var(--t-ink) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: var(--t-radius-sm) !important;
    padding: 14px 16px !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 17px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color .2s, background .2s !important;
    width: 100%;
    box-sizing: border-box;
  }
  .wc-block-components-text-input input:focus,
  .wc-block-checkout input:focus,
  .wc-block-checkout textarea:focus,
  .woocommerce input:focus,
  .woocommerce textarea:focus {
    border-color: var(--t-border-hi) !important;
    background: var(--t-bg-deep) !important;
    box-shadow: 0 0 0 3px rgba(138,111,224,.12) !important;
  }
  .wc-block-components-text-input input::placeholder,
  .wc-block-checkout input::placeholder,
  .woocommerce input::placeholder { color: var(--t-faint) !important; }

  /* Floating label */
  .wc-block-components-text-input label {
    color: var(--t-muted) !important;
    background: transparent !important;
    font-family: "Cormorant Garamond", serif !important;
  }
  .wc-block-components-text-input.is-active label,
  .wc-block-components-text-input:focus-within label {
    color: #c9bfff !important;
    background: rgba(11,15,34,.9) !important;
    padding: 0 5px !important;
    font-size: 12px !important;
  }

  /* WooCommerce form labels */
  .woocommerce form .form-row label,
  .woocommerce-MyAccount-content label {
    color: var(--t-muted) !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 15px !important;
    display: block !important;
    margin-bottom: 6px !important;
  }

  /* ═══════════════════════════════════════════════════════════════
     NATIVE SELECTS  (country, state via wc-blocks-components-select)
  ═══════════════════════════════════════════════════════════════ */
  .wc-blocks-components-select,
  .wc-block-components-select-input,
  .wc-block-components-country-input,
  .wc-block-components-state-input { position: relative; }

  .wc-blocks-components-select__select,
  .wc-block-components-select-input select,
  .wc-block-checkout select,
  .woocommerce select {
    width: 100% !important;
    background: var(--t-bg) !important;
    color: var(--t-ink) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: var(--t-radius-sm) !important;
    padding: 14px 40px 14px 16px !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 17px !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    cursor: pointer !important;
    transition: border-color .2s !important;
  }
  .wc-blocks-components-select__select:focus,
  .wc-block-checkout select:focus,
  .woocommerce select:focus {
    border-color: var(--t-border-hi) !important;
    box-shadow: 0 0 0 3px rgba(138,111,224,.12) !important;
  }
  /* Custom arrow for native select */
  .wc-blocks-components-select::after,
  .wc-block-components-select-input::after {
    content: "\25BE";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--t-muted);
    pointer-events: none;
    font-size: 14px;
    z-index: 1;
  }
  /* Select label */
  .wc-blocks-components-select__label {
    color: var(--t-muted) !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 12px !important;
    display: block !important;
    margin-bottom: 4px !important;
  }
  /* Expand icon from WC */
  .wc-blocks-components-select__expand { display: none !important; }

  /* ═══════════════════════════════════════════════════════════════
     PRIMARY ACTION BUTTONS
  ═══════════════════════════════════════════════════════════════ */
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button,
  .wp-block-woocommerce-proceed-to-checkout-block a,
  .wc-block-cart__submit .wc-block-components-button,
  .woocommerce .button,
  .woocommerce-MyAccount-content .button,
  .woocommerce button[type="submit"],
  .woocommerce input[type="submit"] {
    background: var(--t-btn-bg) !important;
    color: var(--t-btn-ink) !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 16px 32px !important;
    font-weight: 700 !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 20px !important;
    letter-spacing: .02em !important;
    cursor: pointer !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 14px 36px rgba(50,35,90,.35) !important;
    transition: background .2s, transform .15s, box-shadow .2s !important;
  }
  .wc-block-cart__submit-button,
  .wc-block-components-checkout-place-order-button,
  .wp-block-woocommerce-proceed-to-checkout-block a,
  .wc-block-cart__submit .wc-block-components-button {
    display: block !important;
    width: 100% !important;
  }
  .wc-block-cart__submit-button:hover,
  .wp-block-woocommerce-proceed-to-checkout-block a:hover,
  .wc-block-components-checkout-place-order-button:hover,
  .woocommerce .button:hover,
  .woocommerce button[type="submit"]:hover,
  .woocommerce input[type="submit"]:hover {
    background: #ece5ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 40px rgba(50,35,90,.4) !important;
  }

  /* Secondary / ghost buttons */
  .wc-block-components-totals-coupon__button {
    background: transparent !important;
    color: #c9bfff !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 15px !important;
    width: auto !important;
    box-shadow: none !important;
    transition: border-color .2s, color .2s !important;
    display: inline-block !important;
  }
  .wc-block-components-totals-coupon__button:hover {
    border-color: var(--t-border-hi) !important;
    color: var(--t-ink) !important;
    transform: none !important;
  }

  /* ═══════════════════════════════════════════════════════════════
     CART PAGE — TWO-COLUMN LAYOUT
  ═══════════════════════════════════════════════════════════════ */
  .wp-block-woocommerce-cart { color: var(--t-ink); }

  /* Main two-column grid — add gap and alignment */
  .wp-block-woocommerce-filled-cart-block {
    display: flex !important;
    gap: 28px !important;
    align-items: flex-start !important;
  }
  .wp-block-woocommerce-cart-items-block {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .wp-block-woocommerce-cart-totals-block {
    width: 360px !important;
    flex-shrink: 0 !important;
  }
@media (max-width: 768px) {
  .wp-block-woocommerce-filled-cart-block { flex-direction: column !important; }
  .wp-block-woocommerce-cart-totals-block { width: 100% !important; }
  table.wc-block-cart-items .wc-block-cart-item__image,
  .wc-block-cart-item__image {
    width: 88px !important;
    min-width: 88px !important;
    padding: 18px 16px !important;
  }
  table.wc-block-cart-items .wc-block-cart-item__image a,
  .wc-block-cart-item__image a,
  table.wc-block-cart-items .wc-block-cart-item__image img,
  .wc-block-cart-item__image img {
    width: 56px !important;
    height: 56px !important;
  }
}

  /* -- Cart items panel -- */
  .wp-block-woocommerce-cart-items-block,
  .wp-block-woocommerce-cart-line-items-block {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  /* FIX #1: Header row — PRODUKT | LACZNIE — increased padding */
  table.wc-block-cart-items .wc-block-cart-items__header,
  .wc-block-cart-items__header {
    background: rgba(30,40,76,.6) !important;
    border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
    padding: 16px 40px !important;
  }
  table.wc-block-cart-items .wc-block-cart-items__header th,
  .wc-block-cart-items__header th,
  .wc-block-cart-items__header span {
    color: var(--t-muted) !important;
    font-size: 11px !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    padding: 0 !important;
  }

  /* Each cart item row */
  table.wc-block-cart-items .wc-block-cart-items__row td,
  .wc-block-cart-item {
    border-bottom: 1px solid rgba(162,146,222,.1) !important;
    padding: 24px 40px !important;
    vertical-align: middle !important;
  }
  table.wc-block-cart-items .wc-block-cart-items__row:last-child td,
  .wc-block-cart-item:last-child { border-bottom: none !important; }

  /* Product image */
  table.wc-block-cart-items .wc-block-cart-item__image img,
  .wc-block-cart-item__image img,
  .wc-block-cart-item__image .wc-placeholder-img {
    border-radius: 12px !important;
    border: 1px solid rgba(162,146,222,.2) !important;
    background: rgba(25,33,63,.8) !important;
    width: 72px !important;
    height: 72px !important;
    object-fit: cover !important;
  }

  /* Product name */
  .wc-block-components-product-name,
  .wc-block-cart-item__product a {
    color: var(--t-ink) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
  }
  .wc-block-cart-item__product a:hover { color: #d2c7ff !important; }

  /* Unit price */
  .wc-block-cart-item__product .wc-block-components-product-price .woocommerce-Price-amount {
    color: #ccbfff !important;
    font-size: 20px !important;
    font-weight: 700 !important;
  }
  /* Description */
  .wc-block-components-product-metadata__description p,
  .wc-block-cart-item__product .wc-block-components-product-metadata p {
    color: var(--t-muted) !important;
    font-size: 14px !important;
    margin: 6px 0 0 !important;
    line-height: 1.6 !important;
  }

  /* Row total (right column) */
  .wc-block-cart-item__total .woocommerce-Price-amount {
    color: var(--t-ink) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
  }

  /* Quantity stepper */
  .wc-block-components-quantity-stepper {
    border: 1.5px solid var(--t-border) !important;
    border-radius: 999px !important;
    background: var(--t-bg-deep) !important;
    display: inline-flex !important;
    align-items: center !important;
    overflow: hidden !important;
    margin-top: 12px !important;
  }
  .wc-block-components-quantity-stepper__button {
    background: transparent !important;
    border: none !important;
    color: #c9bfff !important;
    padding: 8px 16px !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: color .15s !important;
    line-height: 1 !important;
  }
  .wc-block-components-quantity-stepper__button:hover { color: #fff !important; }
  .wc-block-components-quantity-stepper input {
    background: transparent !important;
    border: none !important;
    border-left: 1px solid var(--t-border) !important;
    border-right: 1px solid var(--t-border) !important;
    border-radius: 0 !important;
    width: 48px !important;
    text-align: center !important;
    color: var(--t-ink) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 8px 4px !important;
    box-shadow: none !important;
  }

  table.wc-block-cart-items .wc-block-cart-item__image,
  .wc-block-cart-item__image {
    display: table-cell !important;
    width: 112px !important;
    min-width: 112px !important;
    padding: 24px 20px !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  table.wc-block-cart-items .wc-block-cart-item__image a,
  .wc-block-cart-item__image a {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    max-width: none !important;
  }
  table.wc-block-cart-items .wc-block-cart-item__image img,
  .wc-block-cart-item__image img {
    display: block !important;
    width: 72px !important;
    height: 72px !important;
    max-width: none !important;
    opacity: 1 !important;
  }
  @media (max-width: 768px) {
    table.wc-block-cart-items .wc-block-cart-item__image,
    .wc-block-cart-item__image {
      width: 88px !important;
      min-width: 88px !important;
      padding: 18px 16px !important;
    }
    table.wc-block-cart-items .wc-block-cart-item__image a,
    .wc-block-cart-item__image a,
    table.wc-block-cart-items .wc-block-cart-item__image img,
    .wc-block-cart-item__image img {
      width: 56px !important;
      height: 56px !important;
    }
  }

  /* Remove item */
  .wc-block-cart-item__remove-link {
    color: var(--t-faint) !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-block !important;
    margin-top: 8px !important;
    transition: color .15s !important;
  }
  .wc-block-cart-item__remove-link:hover { color: #f5a6a6 !important; }

  /* -- Cart order summary / totals panel -- */
  /* Outer totals-block = transparent flex column container */
  .wp-block-woocommerce-cart-totals-block {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
  }
  /* Inner order-summary-block = the card */
  .wp-block-woocommerce-cart-order-summary-block {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    padding: 0 !important;
  }

  .wp-block-woocommerce-cart-order-summary-heading-block {
    background: rgba(30,40,76,.6) !important;
    padding: 16px 24px !important;
    border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
  }
  .wp-block-woocommerce-cart-order-summary-heading-block h2 {
    color: var(--t-muted) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
  }

  /* Totals rows */
  .wp-block-woocommerce-cart-order-summary-subtotal-block,
  .wp-block-woocommerce-cart-order-summary-discount-block,
  .wp-block-woocommerce-cart-order-summary-shipping-block,
  .wp-block-woocommerce-cart-order-summary-taxes-block,
  .wp-block-woocommerce-cart-order-summary-coupon-form-block {
    padding: 14px 24px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
  }
  .wp-block-woocommerce-cart-order-summary-totals-block {
    padding: 16px 24px !important;
    background: rgba(30,40,76,.35) !important;
    border-top: 1.5px solid rgba(162,146,222,.18) !important;
  }

  .wc-block-components-totals-item__label { color: var(--t-muted) !important; font-size: 15px !important; }
  .wc-block-components-totals-item__value .woocommerce-Price-amount { color: var(--t-ink) !important; font-weight: 600 !important; }
  .wc-block-components-totals-footer-item {
    font-size: 16px !important;
    color: var(--t-muted) !important;
  }
  .wc-block-components-totals-footer-item .woocommerce-Price-amount {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--t-ink) !important;
  }

  /* FIX #2: Coupon form — input takes more space */
  .wc-block-components-totals-coupon details summary,
  .wc-block-components-totals-coupon__title {
    color: var(--t-muted) !important;
    cursor: pointer !important;
    font-size: 14px !important;
    list-style: none !important;
    padding: 0 !important;
  }
  .wc-block-components-totals-coupon__form {
    display: flex !important;
    gap: 10px !important;
    margin-top: 10px !important;
    align-items: flex-end !important;
  }
  .wc-block-components-totals-coupon__form .wc-block-components-text-input {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .wc-block-components-totals-coupon__form .wc-block-components-text-input input {
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
  }

  /* Proceed button wrapper — stands alone below the summary card */
  .wp-block-woocommerce-proceed-to-checkout-block {
    padding: 0 !important;
  }
  /* Express payment (Apple Pay / Google Pay) */
  .wp-block-woocommerce-cart-express-payment-block { display: none !important; }
  /* Accepted payment icons */
  .wp-block-woocommerce-cart-accepted-payment-methods-block {
    text-align: center !important;
    opacity: .55 !important;
    padding: 4px 0 !important;
  }

  /* -- Injected product summary (via JS) -- */
  .um-cart-product-list {
    padding: 16px 24px 4px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
  }
  .um-cart-product-list-title {
    font-size: 11px !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: var(--t-muted) !important;
    margin-bottom: 10px !important;
  }
  .um-cpl-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 12px !important;
    padding: 7px 0 !important;
    border-bottom: 1px solid rgba(162,146,222,.06) !important;
  }
  .um-cpl-row:last-child { border-bottom: none !important; padding-bottom: 10px !important; }
  .um-cpl-name { color: var(--t-ink) !important; font-size: 16px !important; font-weight: 500 !important; flex: 1 !important; min-width: 0 !important; }
  .um-cpl-qty { color: var(--t-muted) !important; font-size: 14px !important; }
  .um-cpl-total { color: #ccbfff !important; font-size: 16px !important; font-weight: 700 !important; white-space: nowrap !important; }

  /* FIX #8a: Empty cart — better styling with CTA */
  .wp-block-woocommerce-empty-cart-block {
    text-align: center !important;
    padding: 80px 20px !important;
  }
  .wc-block-cart__empty-cart__title {
    color: var(--t-ink) !important;
    font-size: clamp(22px,3vw,36px) !important;
    margin-bottom: 12px !important;
  }
  .wp-block-woocommerce-empty-cart-block p {
    color: var(--t-muted) !important;
    font-size: 18px !important;
    margin-bottom: 24px !important;
  }
  .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--t-accent);
    border-radius: 2px;
    margin: 20px auto;
  }

  /* FIX #8b: Continue shopping link on cart page */
  .um-continue-shopping {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--t-muted);
    text-decoration: none;
    font-size: 16px;
    font-family: "Cormorant Garamond", serif;
    margin-bottom: 20px;
    transition: color .2s;
  }
  .um-continue-shopping:hover { color: var(--t-ink); }
  .um-continue-shopping svg { width: 16px; height: 16px; }

  /* ═══════════════════════════════════════════════════════════════
     CHECKOUT PAGE
  ═══════════════════════════════════════════════════════════════ */
  .wc-block-checkout { color: var(--t-ink); }

  /* Checkout two-column layout */
  .wp-block-woocommerce-checkout.wc-block-checkout {
    display: flex !important;
    gap: 28px !important;
    align-items: flex-start !important;
  }
  .wp-block-woocommerce-checkout-fields-block {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .wp-block-woocommerce-checkout-totals-block {
    width: 400px !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 100px !important;
  }
  @media (max-width: 768px) {
    .wp-block-woocommerce-checkout.wc-block-checkout { flex-direction: column !important; }
    .wp-block-woocommerce-checkout-totals-block { width: 100% !important; position: static !important; }
  }

  /* Checkout order summary sidebar card */
  .wp-block-woocommerce-checkout-order-summary-block {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin-bottom: 14px !important;
  }
  /* Checkout totals (under order summary) */
  .wp-block-woocommerce-checkout-order-summary-totals-block {
    padding: 0 !important;
  }

  /* Each checkout step block -> card */
  .wc-block-components-checkout-step,
  .wp-block-woocommerce-checkout-contact-information-block,
  .wp-block-woocommerce-checkout-billing-address-block,
  .wp-block-woocommerce-checkout-shipping-address-block,
  .wp-block-woocommerce-checkout-payment-block,
  .wp-block-woocommerce-checkout-order-note-block,
  .wp-block-woocommerce-checkout-terms-block,
  .wp-block-woocommerce-checkout-additional-information-block {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 28px 32px !important;
    margin-bottom: 16px !important;
  }

  /* FIX #3: Hide empty shipping-method and pickup-options blocks (virtual-only products) */
  .wp-block-woocommerce-checkout-shipping-method-block,
  .wp-block-woocommerce-checkout-pickup-options-block,
  .wp-block-woocommerce-checkout-shipping-methods-block {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 28px 32px !important;
    margin-bottom: 16px !important;
  }
  /* Hide when empty — for virtual products these render empty */
  .wp-block-woocommerce-checkout-shipping-method-block:empty,
  .wp-block-woocommerce-checkout-pickup-options-block:empty,
  .wp-block-woocommerce-checkout-shipping-methods-block:empty {
    display: none !important;
  }
  /* Also hide when they only contain whitespace/hidden children */
  .wp-block-woocommerce-checkout-shipping-method-block:not(:has(> :not([hidden]):not(style))),
  .wp-block-woocommerce-checkout-pickup-options-block:not(:has(> :not([hidden]):not(style))),
  .wp-block-woocommerce-checkout-shipping-methods-block:not(:has(> :not([hidden]):not(style))) {
    display: none !important;
  }
  /* Fallback: hide shipping-related sections for stores with only virtual products */
  .woocommerce-shipping-methods:empty,
  .wc-block-components-shipping-rates-control:empty,
  .wc-block-checkout__shipping-option:empty {
    display: none !important;
  }
  /* Also hide shipping address block when no shipping needed */
  .wp-block-woocommerce-checkout-shipping-address-block:empty {
    display: none !important;
  }

  /* Express payment block -- hide */
  .wp-block-woocommerce-checkout-express-payment-block { display: none !important; }

  /* Actions block (Place Order) -- no card, just spacing */
  .wp-block-woocommerce-checkout-actions-block {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
  }

  /* Step heading */
  .wc-block-components-checkout-step__title,
  .wc-block-components-checkout-step__heading,
  .wc-block-checkout .wc-block-components-checkout-step h2 {
    color: var(--t-ink) !important;
    font-size: clamp(20px, 2.4vw, 26px) !important;
    font-weight: 600 !important;
    margin: 0 0 22px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(162,146,222,.15) !important;
    letter-spacing: .01em !important;
  }

  /* Step number badge */
  .wc-block-components-checkout-step__container {
    position: relative !important;
  }
  .wc-block-components-checkout-step__title::before {
    background: rgba(138,111,224,.25) !important;
    border: 1.5px solid rgba(138,111,224,.45) !important;
    color: #c9bfff !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* Guest notice text */
  .wc-block-checkout__guest-checkout-notice,
  .wc-block-checkout__contact-fields ~ p {
    color: var(--t-muted) !important;
    font-size: 14px !important;
    margin: 8px 0 0 !important;
    line-height: 1.6 !important;
  }

  /* -- FIX #4: Account creation section -- */
  .wc-block-checkout__create-account {
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(162,146,222,.12) !important;
  }
  .wc-block-checkout__create-account p {
    color: var(--t-muted) !important;
    font-size: 14px !important;
    margin: 8px 0 12px !important;
    line-height: 1.6 !important;
  }
  .wc-block-components-checkbox {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    cursor: pointer !important;
    position: relative !important;
  }
  /* Style all checkbox inputs in WC blocks consistently */
  .wc-block-components-checkbox input[type="checkbox"],
  .wc-block-components-checkbox__input,
  .wc-block-checkout input[type="checkbox"],
  .wp-block-woocommerce-checkout-order-note-block input[type="checkbox"],
  .wp-block-woocommerce-checkout-terms-block input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 6px !important;
    background: var(--t-bg) !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    opacity: 1 !important;
    margin: 0 !important;
    transition: border-color .2s, background .2s !important;
  }
  .wc-block-components-checkbox input[type="checkbox"]:checked,
  .wc-block-components-checkbox__input:checked,
  .wc-block-checkout input[type="checkbox"]:checked,
  .wp-block-woocommerce-checkout-order-note-block input[type="checkbox"]:checked,
  .wp-block-woocommerce-checkout-terms-block input[type="checkbox"]:checked {
    border-color: var(--t-accent) !important;
    background: rgba(138,111,224,.3) !important;
  }
  .wc-block-components-checkbox input[type="checkbox"]:checked::after,
  .wc-block-components-checkbox__input:checked::after,
  .wc-block-checkout input[type="checkbox"]:checked::after,
  .wp-block-woocommerce-checkout-order-note-block input[type="checkbox"]:checked::after,
  .wp-block-woocommerce-checkout-terms-block input[type="checkbox"]:checked::after {
    content: "\2713" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #d2c7ff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
  }
  /* Hide the WC custom mark element if it exists — we use the input directly */
  .wc-block-components-checkbox__mark,
  .wc-block-components-checkbox svg {
    display: none !important;
  }
  .wc-block-components-checkbox__label,
  .wc-block-components-checkbox label {
    color: var(--t-ink) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    cursor: pointer !important;
  }
  /* Account creation password fields */
  .wc-block-checkout__create-account .wc-block-components-text-input {
    margin-top: 14px !important;
  }

  /* -- Billing / shipping address form -- */
  .wc-block-components-address-form { display: grid !important; gap: 14px !important; }

  /* -- Checkout sidebar -- order summary card -- */
  /* Collapsible toggle button (mobile) */
  .wc-block-components-order-summary__button,
  .wc-block-components-order-summary__toggle,
  button.wc-block-components-order-summary__toggle {
    background: rgba(30,40,76,.6) !important;
    padding: 16px 24px !important;
    border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
    width: 100% !important;
    text-align: left !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--t-muted) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
  }
  .wc-block-components-order-summary__button-text { color: var(--t-muted) !important; }
  .wc-block-components-order-summary__button-count {
    background: rgba(138,111,224,.28) !important;
    border: 1px solid rgba(138,111,224,.45) !important;
    color: #d2c7ff !important;
    border-radius: 999px !important;
    padding: 2px 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
  }

  /* Order summary items (in both cart totals and checkout sidebar) */
  .wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 12px !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
    align-items: start !important;
  }
  .wc-block-components-order-summary-item:last-child { border-bottom: none !important; }
  .wc-block-components-order-summary-item__image {
    position: relative !important;
    flex-shrink: 0 !important;
  }
  .wc-block-components-order-summary-item__image img {
    border-radius: 10px !important;
    border: 1px solid rgba(162,146,222,.2) !important;
    background: rgba(22,30,60,.8) !important;
    width: 56px !important;
    height: 56px !important;
    object-fit: cover !important;
  }
  .wc-block-components-order-summary-item__full-name {
    color: var(--t-ink) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    display: block !important;
  }
  .wc-block-components-order-summary-item__quantity {
    background: rgba(138,111,224,.28) !important;
    border: 1px solid rgba(138,111,224,.45) !important;
    color: #d2c7ff !important;
    border-radius: 999px !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .wc-block-components-order-summary-item__individual-prices .woocommerce-Price-amount {
    color: #ccbfff !important;
    font-weight: 600 !important;
    font-size: 14px !important;
  }
  .wc-block-components-order-summary-item__total-price {
    text-align: right !important;
  }
  .wc-block-components-order-summary-item__total-price .woocommerce-Price-amount {
    color: var(--t-ink) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
  }
  .wc-block-components-order-summary-item__description {
    color: var(--t-muted) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-top: 2px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .wc-block-components-order-summary-item > div {
    min-width: 0 !important;
  }

  /* Checkout totals rows in sidebar */
  .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item {
    padding: 12px 24px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
  }
  .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item {
    padding: 16px 24px !important;
    background: rgba(30,40,76,.4) !important;
    border-top: 1.5px solid rgba(162,146,222,.18) !important;
  }
  /* Checkout coupon in sidebar */
  .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    padding: 12px 24px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
  }
  .wc-block-checkout__sidebar .wc-block-components-totals-coupon {
    padding: 14px 24px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
  }

  /* Place order button wrapper */
  .wc-block-components-checkout-place-order { padding: 4px 0 0 !important; }

  /* FIX #8c: Trust indicators near checkout button */
  .wc-block-components-checkout-place-order::after {
    content: "\1F512  Twoje dane sa bezpieczne i zaszyfrowane";
    display: block !important;
    text-align: center !important;
    color: var(--t-muted) !important;
    font-size: 13px !important;
    margin-top: 12px !important;
  }
  .um-trust-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    padding: 12px 0;
  }
  .um-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--t-muted);
    font-size: 12px;
    font-family: "Cormorant Garamond", serif;
  }
  .um-trust-badge svg {
    width: 14px;
    height: 14px;
    opacity: .7;
  }

  /* FIX #8d: Terms checkbox area styling */
  .wp-block-woocommerce-checkout-terms-block {
    position: relative !important;
  }
  .wp-block-woocommerce-checkout-terms-block .wc-block-components-checkbox {
    padding: 4px 0 !important;
  }
  .wc-block-checkout__terms {
    color: var(--t-muted) !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
  }
  .wc-block-checkout__terms a {
    color: #c9bfff !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(201,191,255,.3) !important;
    transition: text-decoration-color .2s !important;
  }
  .wc-block-checkout__terms a:hover {
    text-decoration-color: #c9bfff !important;
  }

  /* -- Payment section -- */
  .wc-block-components-radio-control-accordion-option {
    background: var(--t-bg) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: var(--t-radius) !important;
    margin-bottom: 10px !important;
    padding: 16px 18px !important;
    transition: border-color .2s !important;
  }
  .wc-block-components-radio-control-accordion-option--checked {
    border-color: var(--t-border-hi) !important;
    background: rgba(138,111,224,.08) !important;
  }
  .wc-block-components-radio-control__label { color: var(--t-ink) !important; font-size: 17px !important; }
  .wc-block-components-radio-control__description { color: var(--t-muted) !important; font-size: 14px !important; line-height: 1.6 !important; margin-top: 6px !important; }
  /* Radio dot */
  .wc-block-components-radio-control__input {
    accent-color: var(--t-accent) !important;
    width: 18px !important;
    height: 18px !important;
  }

  /* ═══════════════════════════════════════════════════════════════
     NOTICES & ALERTS
  ═══════════════════════════════════════════════════════════════ */
  .wc-block-components-notice-banner,
  .woocommerce-info,
  .woocommerce-message {
    background: rgba(138,111,224,.1) !important;
    border: 1.5px solid rgba(138,111,224,.25) !important;
    border-left: 3px solid var(--t-accent) !important;
    color: var(--t-ink) !important;
    border-radius: 0 14px 14px 0 !important;
    padding: 16px 20px !important;
    margin-bottom: 16px !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .wc-block-components-notice-banner.is-error,
  .woocommerce-error {
    background: rgba(224,111,111,.08) !important;
    border: 1.5px solid rgba(224,111,111,.2) !important;
    border-left: 3px solid #e06f6f !important;
    border-radius: 0 14px 14px 0 !important;
    padding: 16px 20px !important;
    list-style: none !important;
    color: var(--t-ink) !important;
    margin-bottom: 16px !important;
    font-family: "Cormorant Garamond", serif !important;
    font-size: 16px !important;
  }
  .wc-block-components-notice-banner.is-success,
  .woocommerce-message {
    background: rgba(111,224,138,.08) !important;
    border: 1.5px solid rgba(111,224,138,.2) !important;
    border-left: 3px solid #6fe08a !important;
  }
  .wc-block-components-notice-banner__content,
  .wc-block-components-notice-banner p { color: var(--t-ink) !important; }
  .wc-block-components-notice-banner svg { flex-shrink: 0 !important; }

  /* Separator lines */
  .wc-block-components-separator { border-color: rgba(162,146,222,.12) !important; }

  /* Loading skeleton */
  .wp-block-woocommerce-cart.is-loading,
  .wp-block-woocommerce-checkout.is-loading { opacity: .65 !important; }

  /* ═══════════════════════════════════════════════════════════════
     FIX #6: MY ACCOUNT PAGE
  ═══════════════════════════════════════════════════════════════ */
  .woocommerce-account .woocommerce {
    color: var(--t-ink);
    font-family: "Cormorant Garamond", serif;
  }

  /* -- Login / Register two-column layout -- */
  .woocommerce-account .u-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  @media (max-width: 768px) {
    .woocommerce-account .u-columns {
      grid-template-columns: 1fr !important;
    }
  }
  .woocommerce-account .u-columns > .u-column1,
  .woocommerce-account .u-columns > .u-column2,
  .woocommerce-account .u-columns > .col-1,
  .woocommerce-account .u-columns > .col-2 {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 32px !important;
  }
  .woocommerce-account .u-columns h2,
  .woocommerce-account .woocommerce-form-login h2,
  .woocommerce-account .woocommerce-form-register h2 {
    color: var(--t-ink) !important;
    font-size: clamp(22px, 2.5vw, 30px) !important;
    font-weight: 600 !important;
    margin: 0 0 24px !important;
    padding-bottom: 14px !important;
    border-bottom: 1px solid rgba(162,146,222,.15) !important;
  }
  .woocommerce-account .woocommerce-form .form-row {
    margin-bottom: 18px !important;
  }
  .woocommerce-account .woocommerce-form .form-row label {
    color: var(--t-muted) !important;
    font-size: 15px !important;
    display: block !important;
    margin-bottom: 6px !important;
  }
  .woocommerce-account .woocommerce-form .form-row .required {
    color: var(--t-accent) !important;
  }
  .woocommerce-account .woocommerce-LostPassword {
    margin-top: 12px !important;
  }
  .woocommerce-account .woocommerce-LostPassword a {
    color: #c9bfff !important;
    font-size: 14px !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(201,191,255,.3) !important;
  }
  .woocommerce-account .woocommerce-LostPassword a:hover {
    text-decoration-color: #c9bfff !important;
  }
  /* Remember me checkbox */
  .woocommerce-account .woocommerce-form-login__rememberme {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--t-muted) !important;
    font-size: 15px !important;
    margin: 14px 0 !important;
    cursor: pointer !important;
  }
  .woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"],
  .woocommerce input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 5px !important;
    background: var(--t-bg) !important;
    cursor: pointer !important;
    position: relative !important;
    margin: 0 !important;
    transition: border-color .2s, background .2s !important;
  }
  .woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"]:checked,
  .woocommerce input[type="checkbox"]:checked {
    border-color: var(--t-accent) !important;
    background: rgba(138,111,224,.3) !important;
  }
  .woocommerce-account .woocommerce-form-login__rememberme input[type="checkbox"]:checked::after,
  .woocommerce input[type="checkbox"]:checked::after {
    content: "\2713" !important;
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    color: #d2c7ff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }

  /* -- My Account: Dashboard & Navigation -- */
  .woocommerce-MyAccount-navigation {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 8px !important;
    margin-bottom: 28px !important;
  }
  .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
  .woocommerce-MyAccount-navigation ul li {
    flex: 1 1 auto !important;
  }
  .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 14px 20px !important;
    color: var(--t-muted) !important;
    text-decoration: none !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    border-radius: 16px !important;
    text-align: center !important;
    transition: background .2s, color .2s !important;
  }
  .woocommerce-MyAccount-navigation ul li a:hover {
    background: rgba(138,111,224,.1) !important;
    color: var(--t-ink) !important;
  }
  .woocommerce-MyAccount-navigation ul li.is-active a,
  .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    background: rgba(138,111,224,.18) !important;
    color: var(--t-ink) !important;
    font-weight: 600 !important;
    border: 1px solid rgba(138,111,224,.3) !important;
  }
  @media (max-width: 768px) {
    .woocommerce-MyAccount-navigation ul {
      flex-direction: column !important;
    }
  }

  /* My Account content area */
  .woocommerce-MyAccount-content {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 32px !important;
    color: var(--t-ink) !important;
    min-height: 200px !important;
  }
  .woocommerce-MyAccount-content p {
    color: var(--t-muted) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
  }
  .woocommerce-MyAccount-content a {
    color: #c9bfff !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(201,191,255,.3) !important;
  }
  .woocommerce-MyAccount-content a:hover {
    text-decoration-color: #c9bfff !important;
  }
  .woocommerce-MyAccount-content h2,
  .woocommerce-MyAccount-content h3 {
    color: var(--t-ink) !important;
    font-size: clamp(20px, 2.4vw, 28px) !important;
    font-weight: 600 !important;
    margin: 0 0 20px !important;
  }

  /* -- Orders table -- */
  .woocommerce-orders-table,
  .woocommerce-MyAccount-orders {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }
  .woocommerce-orders-table thead th {
    background: rgba(30,40,76,.6) !important;
    color: var(--t-muted) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    padding: 14px 18px !important;
    border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
    text-align: left !important;
  }
  .woocommerce-orders-table thead th:first-child {
    border-radius: 12px 0 0 0 !important;
  }
  .woocommerce-orders-table thead th:last-child {
    border-radius: 0 12px 0 0 !important;
  }
  .woocommerce-orders-table tbody td {
    padding: 16px 18px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
    color: var(--t-ink) !important;
    font-size: 16px !important;
    vertical-align: middle !important;
  }
  .woocommerce-orders-table tbody tr:last-child td {
    border-bottom: none !important;
  }
  .woocommerce-orders-table tbody tr:hover td {
    background: rgba(138,111,224,.04) !important;
  }
  .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    background: transparent !important;
    color: #c9bfff !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: border-color .2s, color .2s !important;
    box-shadow: none !important;
  }
  .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    border-color: var(--t-border-hi) !important;
    color: var(--t-ink) !important;
  }

  /* Order status badges */
  .woocommerce-orders-table .woocommerce-orders-table__cell-order-status {
    font-weight: 600 !important;
    font-size: 14px !important;
  }

  /* No orders message */
  .woocommerce-info.woocommerce-message--info,
  .woocommerce-MyAccount-content > .woocommerce-info {
    background: rgba(138,111,224,.08) !important;
    border: 1.5px solid rgba(138,111,224,.2) !important;
    border-left: 3px solid var(--t-accent) !important;
    border-radius: 0 14px 14px 0 !important;
    padding: 20px 24px !important;
    color: var(--t-ink) !important;
    font-size: 17px !important;
  }

  /* -- Account details form -- */
  .woocommerce-EditAccountForm,
  .woocommerce-edit-account {
    max-width: 100% !important;
  }
  .woocommerce-EditAccountForm .form-row,
  .woocommerce-edit-account .form-row {
    margin-bottom: 18px !important;
    width: 100% !important;
    float: none !important;
    padding: 0 !important;
  }
  /* Override WC half-width rows to full width */
  .woocommerce-EditAccountForm .form-row-first,
  .woocommerce-EditAccountForm .form-row-last,
  .woocommerce-edit-account .form-row-first,
  .woocommerce-edit-account .form-row-last,
  .woocommerce-MyAccount-content .form-row-first,
  .woocommerce-MyAccount-content .form-row-last {
    width: 100% !important;
    float: none !important;
  }
  .woocommerce-EditAccountForm input[type="text"],
  .woocommerce-EditAccountForm input[type="email"],
  .woocommerce-EditAccountForm input[type="password"] {
    width: 100% !important;
  }
  .woocommerce-EditAccountForm .woocommerce-Button,
  .woocommerce-edit-account .woocommerce-Button {
    width: 100% !important;
    max-width: 320px !important;
  }
  .woocommerce-EditAccountForm fieldset {
    border: 1.5px solid var(--t-border) !important;
    border-radius: 16px !important;
    padding: 24px !important;
    margin: 24px 0 !important;
  }
  .woocommerce-EditAccountForm fieldset legend {
    color: var(--t-muted) !important;
    font-size: 13px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    padding: 0 8px !important;
  }
  /* Clear floats from WC form rows */
  .woocommerce-EditAccountForm::after,
  .woocommerce-MyAccount-content form::after {
    content: "";
    display: table;
    clear: both;
  }

  /* -- Downloads page -- */
  .woocommerce-table--order-downloads,
  .woocommerce-MyAccount-downloads {
    width: 100% !important;
  }
  .woocommerce-table--order-downloads thead th {
    background: rgba(30,40,76,.6) !important;
    color: var(--t-muted) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    padding: 14px 18px !important;
    border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
    text-align: left !important;
  }
  .woocommerce-table--order-downloads tbody td {
    padding: 16px 18px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
    color: var(--t-ink) !important;
    font-size: 16px !important;
  }
  .woocommerce-table--order-downloads .download-file a {
    background: transparent !important;
    color: #c9bfff !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: border-color .2s, background .2s !important;
    box-shadow: none !important;
  }
  .woocommerce-table--order-downloads .download-file a:hover {
    border-color: var(--t-border-hi) !important;
    background: rgba(138,111,224,.08) !important;
    color: var(--t-ink) !important;
  }

  /* ═══════════════════════════════════════════════════════════════
     FIX #7: ORDER CONFIRMATION / THANK YOU PAGE
  ═══════════════════════════════════════════════════════════════ */
  .woocommerce-order-received .woocommerce,
  .woocommerce-order .woocommerce {
    color: var(--t-ink);
    font-family: "Cormorant Garamond", serif;
  }

  /* Thank you heading */
  .woocommerce-order-received .woocommerce-thankyou-order-received,
  .woocommerce-thankyou-order-received {
    background: var(--t-card) !important;
    border: 1.5px solid rgba(111,224,138,.25) !important;
    border-radius: 24px !important;
    padding: 32px !important;
    text-align: center !important;
    color: var(--t-ink) !important;
    font-size: clamp(20px, 2.5vw, 28px) !important;
    font-weight: 600 !important;
    margin-bottom: 28px !important;
    position: relative !important;
  }
  .woocommerce-thankyou-order-received::before {
    content: "\2713";
    display: block;
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    background: rgba(111,224,138,.12);
    border: 2px solid rgba(111,224,138,.3);
    color: #6fe08a;
    font-size: 28px;
    margin: 0 auto 16px;
  }

  /* Order overview / details boxes */
  .woocommerce-order-overview,
  ul.woocommerce-order-overview {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 28px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
    gap: 14px !important;
  }
  .woocommerce-order-overview li {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 16px !important;
    padding: 18px 20px !important;
    text-align: center !important;
  }
  .woocommerce-order-overview li strong {
    display: block !important;
    color: var(--t-ink) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 6px !important;
  }
  .woocommerce-order-overview li {
    color: var(--t-muted) !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
  }

  /* Order details table */
  .woocommerce-order-details {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
  }
  .woocommerce-order-details h2 {
    background: rgba(30,40,76,.6) !important;
    padding: 16px 24px !important;
    border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
    color: var(--t-muted) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
  }
  .woocommerce-table--order-details {
    width: 100% !important;
    border-collapse: collapse !important;
  }
  .woocommerce-table--order-details thead th {
    background: rgba(30,40,76,.3) !important;
    color: var(--t-muted) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .15em !important;
    text-transform: uppercase !important;
    padding: 12px 24px !important;
    border-bottom: 1px solid rgba(162,146,222,.12) !important;
    text-align: left !important;
  }
  .woocommerce-table--order-details tbody td {
    padding: 16px 24px !important;
    border-bottom: 1px solid rgba(162,146,222,.08) !important;
    color: var(--t-ink) !important;
    font-size: 16px !important;
  }
  .woocommerce-table--order-details tbody td a {
    color: var(--t-ink) !important;
    text-decoration: none !important;
  }
  .woocommerce-table--order-details tfoot th {
    color: var(--t-muted) !important;
    font-size: 14px !important;
    padding: 12px 24px !important;
    text-align: left !important;
    border-top: 1px solid rgba(162,146,222,.1) !important;
  }
  .woocommerce-table--order-details tfoot td {
    color: var(--t-ink) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
    text-align: right !important;
    border-top: 1px solid rgba(162,146,222,.1) !important;
  }
  .woocommerce-table--order-details tfoot tr:last-child th,
  .woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 18px !important;
    font-weight: 800 !important;
    background: rgba(30,40,76,.35) !important;
    border-top: 1.5px solid rgba(162,146,222,.18) !important;
  }

  /* Download links in order confirmation */
  .woocommerce-order-downloads,
  .order-downloads {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
  }
  .woocommerce-order-downloads h2 {
    background: rgba(30,40,76,.6) !important;
    padding: 16px 24px !important;
    border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
    color: var(--t-muted) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
  }

  /* Customer details on order confirmation */
  .woocommerce-customer-details {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 28px 32px !important;
    margin-bottom: 28px !important;
  }
  .woocommerce-customer-details h2 {
    color: var(--t-ink) !important;
    font-size: clamp(18px, 2vw, 24px) !important;
    font-weight: 600 !important;
    margin: 0 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(162,146,222,.15) !important;
  }
  .woocommerce-customer-details address {
    color: var(--t-muted) !important;
    font-style: normal !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  /* WooCommerce block-based order confirmation page */
  .wc-block-order-confirmation-summary,
  .wc-block-order-confirmation-totals,
  .wc-block-order-confirmation-downloads,
  .wc-block-order-confirmation-billing-address,
  .wc-block-order-confirmation-shipping-address,
  .wc-block-order-confirmation-additional-information,
  .wc-block-order-confirmation-status {
    background: var(--t-card) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 24px !important;
    padding: 28px 32px !important;
    margin-bottom: 16px !important;
    color: var(--t-ink) !important;
  }
  .wc-block-order-confirmation-status {
    text-align: center !important;
    border-color: rgba(111,224,138,.25) !important;
  }
  .wc-block-order-confirmation-status .wc-block-order-confirmation-status__description {
    color: var(--t-muted) !important;
    font-size: 17px !important;
  }
  .wc-block-order-confirmation-summary-list {
    list-style: none !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
    gap: 14px !important;
  }
  .wc-block-order-confirmation-summary-list-item {
    text-align: center !important;
  }
  .wc-block-order-confirmation-summary-list-item__key {
    color: var(--t-muted) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: .1em !important;
    display: block !important;
  }
  .wc-block-order-confirmation-summary-list-item__value {
    color: var(--t-ink) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    display: block !important;
    margin-top: 4px !important;
  }

  /* ═══════════════════════════════════════════════════════════════
     GENERIC CONTENT PAGES (Regulamin, Polityka prywatnosci, etc.)
  ═══════════════════════════════════════════════════════════════ */
  .wc-page-wrap > .wc-page-title + .entry-content,
  .wc-page-wrap > .wc-page-title + .wp-block-group,
  .wc-page-wrap > .wc-page-title ~ h2,
  .wc-page-wrap > .wc-page-title ~ h3,
  .wc-page-wrap > .wc-page-title ~ p,
  .wc-page-wrap .wp-block-heading,
  .wc-page-wrap .wp-block-paragraph {
    color: var(--t-ink);
  }
  /* Wrap generic page content in a styled card */
  .wc-page-content-card {
    background: var(--t-card);
    border: 1.5px solid var(--t-border);
    border-radius: 24px;
    padding: 40px 48px;
    max-width: 860px;
    margin: 0 auto;
  }
  .page-id-19 .wc-page-content-card {
    max-width: 980px;
  }
  .wc-page-content-card h2,
  .wc-page-content-card .wp-block-heading {
    color: var(--t-ink) !important;
    font-size: clamp(22px, 2.8vw, 32px) !important;
    font-weight: 600 !important;
    margin: 0 0 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(162,146,222,.15) !important;
  }
  .wc-page-content-card h3 {
    color: var(--t-ink) !important;
    font-size: clamp(18px, 2.2vw, 24px) !important;
    font-weight: 600 !important;
    margin: 32px 0 10px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(162,146,222,.08) !important;
  }
  .wc-page-content-card h3:first-of-type {
    margin-top: 20px !important;
    border-top: none !important;
    padding-top: 0 !important;
  }
  .wc-page-content-card p {
    color: var(--t-muted) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin: 0 0 14px !important;
  }
  .wc-page-content-card em {
    color: rgba(200,162,232,.7) !important;
    font-style: italic !important;
  }
  .wc-page-content-card ul,
  .wc-page-content-card ol {
    color: var(--t-muted) !important;
    padding-left: 24px !important;
    line-height: 1.8 !important;
  }
  .wc-page-content-card a {
    color: #c9bfff !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }
  .um-legal-document {
    max-width: 100%;
  }
  .um-legal-document h2,
  .um-legal-document h3 {
    scroll-margin-top: 110px;
    overflow-wrap: anywhere;
  }
  .wc-page-content-card .um-legal-index {
    background: rgba(7,10,24,.34);
    border: 1px solid rgba(162,146,222,.2);
    border-radius: 16px;
    padding: 20px;
    margin: 0 0 30px;
  }
  .wc-page-content-card .um-legal-index h2 {
    border: 0 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-size: 22px !important;
  }
  .wc-page-content-card .um-legal-index ol {
    list-style: none !important;
    counter-reset: legal-sections;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px 10px;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }
  .wc-page-content-card .um-legal-index li {
    counter-increment: legal-sections;
    min-width: 0;
  }
  .wc-page-content-card .um-legal-index a {
    display: flex;
    gap: 8px;
    min-height: 100%;
    padding: 9px 10px;
    border: 1px solid rgba(162,146,222,.16);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    color: var(--t-muted) !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  .wc-page-content-card .um-legal-index a::before {
    content: counter(legal-sections) ".";
    flex: 0 0 auto;
    color: #d7ceff;
    font-weight: 700;
  }
  .wc-page-content-card .um-legal-index a:hover {
    border-color: rgba(162,146,222,.38);
    background: rgba(255,255,255,.06);
    color: var(--t-ink) !important;
  }
  .um-legal-document p strong {
    color: var(--t-ink);
  }
  .wc-page-content-card .um-legal-callout {
    background: rgba(255,255,255,.035);
    border-left: 3px solid rgba(201,191,255,.65);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 16px 0 !important;
  }
  @media (max-width: 600px) {
    .wc-page-content-card {
      padding: 24px 20px !important;
    }
    .wc-page-content-card .um-legal-index {
      padding: 16px;
      margin-bottom: 24px;
    }
    .wc-page-content-card .um-legal-index ol {
      grid-template-columns: 1fr;
    }
  }

  /* ═══════════════════════════════════════════════════════════════
     MOBILE OPTIMIZATION
  ═══════════════════════════════════════════════════════════════ */
  @media (max-width: 480px) {
    /* Page shell */
    .wc-page-wrap { padding: 80px 0 40px !important; }
    .container { width: 96vw !important; }

    /* Topbar */
    .topbar { padding: 10px 0 !important; }
    .topbar-wrap { padding: 0 10px !important; }
    .pill { padding: 8px 12px !important; font-size: 13px !important; }
    .nav-links { gap: 6px !important; }

    /* Page title */
    .wc-page-title { margin-bottom: 20px !important; padding-bottom: 16px !important; }
    .wc-page-title h1 { font-size: 26px !important; }

    /* Cart items */
    table.wc-block-cart-items .wc-block-cart-items__header,
    .wc-block-cart-items__header { padding: 12px 16px !important; }
    table.wc-block-cart-items .wc-block-cart-items__row td,
    .wc-block-cart-item { padding: 16px !important; }
    .wc-block-cart-item__image img,
    table.wc-block-cart-items .wc-block-cart-item__image img {
      width: 56px !important; height: 56px !important;
    }
    .wc-block-components-product-name,
    .wc-block-cart-item__product a { font-size: 16px !important; }
    .wc-block-cart-item__total .woocommerce-Price-amount { font-size: 18px !important; }

    /* Cart totals */
    .wp-block-woocommerce-cart-order-summary-heading-block { padding: 14px 16px !important; }
    .wp-block-woocommerce-cart-order-summary-subtotal-block,
    .wp-block-woocommerce-cart-order-summary-discount-block,
    .wp-block-woocommerce-cart-order-summary-shipping-block,
    .wp-block-woocommerce-cart-order-summary-taxes-block,
    .wp-block-woocommerce-cart-order-summary-coupon-form-block,
    .wp-block-woocommerce-cart-order-summary-totals-block { padding: 12px 16px !important; }

    /* Checkout cards */
    .wc-block-components-checkout-step,
    .wp-block-woocommerce-checkout-contact-information-block,
    .wp-block-woocommerce-checkout-billing-address-block,
    .wp-block-woocommerce-checkout-payment-block,
    .wp-block-woocommerce-checkout-order-note-block,
    .wp-block-woocommerce-checkout-terms-block,
    .wp-block-woocommerce-checkout-additional-information-block {
      padding: 20px 16px !important;
      border-radius: 18px !important;
    }
    .wc-block-components-checkout-step__title,
    .wc-block-components-checkout-step__heading { font-size: 20px !important; }

    /* Order summary sidebar */
    .wc-block-components-order-summary-item { padding: 12px 14px !important; }
    .wc-block-components-order-summary-item__image img {
      width: 48px !important; height: 48px !important;
    }
    .wc-block-components-order-summary-item__full-name { font-size: 14px !important; }

    /* Checkout sidebar totals */
    .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-item,
    .wp-block-woocommerce-checkout-order-summary-coupon-form-block { padding: 10px 14px !important; }

    /* Buttons */
    .wc-block-cart__submit-button,
    .wc-block-components-checkout-place-order-button,
    .wp-block-woocommerce-proceed-to-checkout-block a,
    .wc-block-cart__submit .wc-block-components-button {
      padding: 14px 20px !important; font-size: 17px !important;
    }

    /* My Account */
    .woocommerce-MyAccount-navigation ul { gap: 2px !important; }
    .woocommerce-MyAccount-navigation ul li a {
      padding: 10px 12px !important; font-size: 13px !important;
    }
    .woocommerce-MyAccount-content { padding: 20px 16px !important; }
    .woocommerce-orders-table th,
    .woocommerce-orders-table td,
    table.shop_table th,
    table.shop_table td { padding: 10px 6px !important; font-size: 13px !important; }

    /* Generic content pages */
    .wc-page-content-card { padding: 24px 18px !important; border-radius: 18px !important; }
    .wc-page-content-card h3 { font-size: 18px !important; margin-top: 24px !important; }

    /* Footer */
    .wc-site-footer__inner {
      grid-template-columns: 1fr !important;
      text-align: center !important;
      gap: 24px !important;
      padding: 0 16px !important;
    }
    .wc-site-footer { padding: 32px 0 24px !important; }

    /* Trust badges */
    .um-trust-badges { flex-direction: column !important; gap: 8px !important; }
  }

  /* Tablet tweaks */
  @media (max-width: 768px) and (min-width: 481px) {
    .wc-page-wrap { padding: 88px 0 50px !important; }
    table.wc-block-cart-items .wc-block-cart-items__header,
    .wc-block-cart-items__header { padding: 14px 24px !important; }
    table.wc-block-cart-items .wc-block-cart-items__row td,
    .wc-block-cart-item { padding: 20px 24px !important; }
    .wc-block-components-checkout-step,
    .wp-block-woocommerce-checkout-contact-information-block,
    .wp-block-woocommerce-checkout-billing-address-block,
    .wp-block-woocommerce-checkout-payment-block {
      padding: 24px !important;
    }
    .wc-site-footer__inner {
      grid-template-columns: 1fr 1fr !important;
    }
  }

  /* Touch-friendly tap targets */
  @media (hover: none) and (pointer: coarse) {
    .pill { min-height: 44px; display: inline-flex; align-items: center; }
    .wc-block-components-quantity-stepper__button { min-width: 44px !important; min-height: 44px !important; }
    .wc-block-cart-item__remove-link { padding: 8px 0 !important; min-height: 44px !important; display: inline-flex !important; align-items: center !important; }
  }

  /* ═══════════════════════════════════════════════════════════════
     PASSWORD VISIBILITY TOGGLE (show/hide password buttons)
  ═══════════════════════════════════════════════════════════════ */
  .wp-hide-pw,
  .show-password-input,
  button.wp-hide-pw,
  .woocommerce .show-password-input,
  .woocommerce-page .show-password-input,
  span.show-password-input {
    background: rgba(138,111,224,.15) !important;
    border: 1.5px solid var(--t-border) !important;
    border-radius: 8px !important;
    color: #c9bfff !important;
    padding: 6px 12px !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-family: "Cormorant Garamond", serif !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 6px !important;
    transition: background .2s, border-color .2s !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
  .wp-hide-pw:hover,
  .show-password-input:hover {
    background: rgba(138,111,224,.25) !important;
    border-color: var(--t-border-hi) !important;
  }
  .wp-hide-pw::after,
  .show-password-input::after {
    content: none !important;
  }

  /* ═══════════════════════════════════════════════════════════════
     CHECKOUT — hide empty separators / thin lines
  ═══════════════════════════════════════════════════════════════ */
  /* WC blocks render empty <hr> and separator divs in checkout steps */
  .wc-block-components-checkout-step .wc-block-components-checkout-step__description:empty,
  .wc-block-checkout hr,
  .wp-block-woocommerce-checkout-fields-block hr,
  .wc-block-components-checkout-step hr {
    display: none !important;
  }
  /* Hide empty login reminder separator lines */
  .wc-block-checkout__login-prompt ~ hr,
  .wc-block-checkout__login-prompt:empty {
    display: none !important;
  }
  /* Remove visible borders from WC internal separator elements */
  .wc-block-components-checkout-step__content > hr,
  .wc-block-components-checkout-step__heading ~ hr,
  .wc-block-checkout .wc-block-components-separator {
    display: none !important;
  }

  /* ═══════════════════════════════════════════════════════════════
     FOOTER
  ═══════════════════════════════════════════════════════════════ */
  .wc-site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(162,146,222,.12);
    padding: 48px 0 32px;
    margin-top: 0;
  }
  .wc-site-footer__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: flex-start;
    gap: 32px;
  }
  .wc-site-footer__col {
    min-width: 0;
  }
  .wc-site-footer__heading {
    color: var(--t-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin: 0 0 14px;
    font-family: "Cormorant Garamond", serif;
  }
  .wc-site-footer__col p,
  .wc-site-footer__col a {
    color: var(--t-faint);
    font-size: 15px;
    line-height: 1.7;
    font-family: "Cormorant Garamond", serif;
    text-decoration: none;
    display: block;
    margin: 0;
  }
  .wc-site-footer__col a:hover {
    color: var(--t-ink);
  }
  .wc-site-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .wc-site-footer__col ul li {
    margin-bottom: 6px;
  }
  .wc-site-footer__bottom {
    width: 100%;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(162,146,222,.08);
    margin-top: 16px;
  }
  .wc-site-footer__bottom p {
    color: var(--t-faint);
    font-size: 13px;
    font-family: "Cormorant Garamond", serif;
    margin: 0;
  }
  @media (max-width: 600px) {
    .wc-site-footer__inner {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  }

  /* ═══════════════════════════════════════════════════════════════
     UTILITY — responsive tables
  ═══════════════════════════════════════════════════════════════ */
  @media (max-width: 600px) {
    .woocommerce-orders-table,
    .woocommerce-table--order-details,
    .woocommerce-table--order-downloads {
      display: block !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
    }
    .woocommerce-order-overview {
      grid-template-columns: 1fr 1fr !important;
    }
  }

/* ═══════════════════════════════════════════════════════════════
   CLASSIC WOOCOMMERCE CHECKOUT/CART STYLES
═══════════════════════════════════════════════════════════════ */

/* Classic checkout form */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
  background: rgba(138,111,224,.1) !important;
  border-left: 3px solid var(--t-accent) !important;
  color: var(--t-ink) !important;
  border-radius: 0 14px 14px 0 !important;
  padding: 16px 20px !important;
  margin-bottom: 16px !important;
}
.woocommerce-checkout .woocommerce-info a { color: #c9bfff !important; }

/* Checkout form fields */
.woocommerce-checkout .form-row { margin-bottom: 14px !important; }
.woocommerce-checkout .form-row label {
  color: var(--t-muted) !important;
  font-size: 14px !important;
  display: block !important;
  margin-bottom: 6px !important;
}
.woocommerce-checkout .form-row .required { color: var(--t-accent) !important; }

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  background: var(--t-bg) !important;
  color: var(--t-ink) !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: var(--t-radius-sm) !important;
  padding: 14px 16px !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: 17px !important;
  width: 100% !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s !important;
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus {
  border-color: var(--t-border-hi) !important;
  box-shadow: 0 0 0 3px rgba(138,111,224,.12) !important;
}

/* Two-column checkout layout */
.woocommerce-checkout .col2-set { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 28px !important; }
@media (max-width: 768px) { .woocommerce-checkout .col2-set { grid-template-columns: 1fr !important; } }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  background: var(--t-card) !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: 24px !important;
  padding: 28px 32px !important;
}
.woocommerce-checkout .col2-set h3,
.woocommerce-checkout h3#ship-to-different-address {
  color: var(--t-ink) !important;
  font-size: clamp(20px, 2.4vw, 26px) !important;
  font-weight: 600 !important;
  margin: 0 0 18px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(162,146,222,.15) !important;
}

/* Order review table */
.woocommerce-checkout-review-order {
  background: var(--t-card) !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: 24px !important;
  padding: 28px 32px !important;
  margin-top: 24px !important;
}
.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 12px 8px !important;
  border-bottom: 1px solid rgba(162,146,222,.1) !important;
  color: var(--t-ink) !important;
}
.woocommerce-checkout-review-order-table th {
  color: var(--t-muted) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .15em !important;
  font-weight: 600 !important;
}
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .order-total td {
  font-size: 20px !important;
  font-weight: 700 !important;
  border-top: 1.5px solid rgba(162,146,222,.18) !important;
  padding-top: 16px !important;
}
.woocommerce-checkout-review-order-table .woocommerce-Price-amount { color: #ccbfff !important; }

/* Place order button */
.woocommerce-checkout #place_order {
  background: var(--t-btn-bg) !important;
  color: var(--t-btn-ink) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 16px 32px !important;
  font-weight: 700 !important;
  font-family: "Cormorant Garamond", serif !important;
  font-size: 20px !important;
  cursor: pointer !important;
  width: 100% !important;
  box-shadow: 0 14px 36px rgba(50,35,90,.35) !important;
  transition: background .2s, transform .15s !important;
  margin-top: 16px !important;
}
.woocommerce-checkout #place_order:hover {
  background: #ece5ff !important;
  transform: translateY(-2px) !important;
}

/* Legal checkboxes styling */
.uspione-legal-checkboxes {
  background: var(--t-card) !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: 24px !important;
  padding: 24px 28px !important;
  margin-bottom: 20px !important;
}
.uspione-legal-checkboxes label { color: var(--t-muted) !important; }
.uspione-legal-checkboxes a { color: #c9bfff !important; text-decoration: underline !important; }
.uspione-legal-checkboxes input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: 5px !important;
  background: var(--t-bg) !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color .2s, background .2s !important;
}
.uspione-legal-checkboxes input[type="checkbox"]:checked {
  border-color: var(--t-accent) !important;
  background: rgba(138,111,224,.3) !important;
}
.uspione-legal-checkboxes input[type="checkbox"]:checked::after {
  content: "\2713" !important;
  position: absolute !important; top: 50% !important; left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #d2c7ff !important; font-size: 13px !important; font-weight: 700 !important;
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: none !important;
  border: none !important;
}
.woocommerce-checkout #payment .payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
}
.woocommerce-checkout #payment .payment_methods li {
  background: var(--t-bg) !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: 18px !important;
  margin-bottom: 10px !important;
  padding: 16px 18px !important;
}
.woocommerce-checkout #payment .payment_methods li label { color: var(--t-ink) !important; font-size: 17px !important; cursor: pointer !important; }
.woocommerce-checkout #payment .payment_methods li .payment_box { color: var(--t-muted) !important; font-size: 14px !important; margin-top: 10px !important; }
.woocommerce-checkout #payment .payment_methods li input[type="radio"] { accent-color: var(--t-accent) !important; }

/* WooCommerce notices */
.woocommerce-error, .woocommerce-message, .woocommerce-info {
  background: rgba(138,111,224,.1) !important;
  border-left: 3px solid var(--t-accent) !important;
  color: var(--t-ink) !important;
  border-radius: 0 14px 14px 0 !important;
  padding: 16px 20px !important;
  margin-bottom: 16px !important;
  list-style: none !important;
}
.woocommerce-error { background: rgba(224,111,111,.1) !important; border-left-color: #e06f6f !important; }
.woocommerce-message { background: rgba(111,224,168,.08) !important; border-left-color: #a8e6cf !important; }

/* Classic cart table */
.woocommerce-cart table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  background: var(--t-card) !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
}
.woocommerce-cart table.shop_table th {
  color: var(--t-muted) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: .18em !important;
  font-weight: 600 !important;
  padding: 16px 20px !important;
  background: rgba(30,40,76,.6) !important;
  border-bottom: 1.5px solid rgba(162,146,222,.15) !important;
}
.woocommerce-cart table.shop_table td {
  padding: 20px !important;
  border-bottom: 1px solid rgba(162,146,222,.1) !important;
  color: var(--t-ink) !important;
  vertical-align: middle !important;
}
.woocommerce-cart table.shop_table img {
  border-radius: 12px !important;
  border: 1px solid rgba(162,146,222,.2) !important;
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
}
.woocommerce-cart table.shop_table .product-name a { color: var(--t-ink) !important; text-decoration: none !important; font-weight: 600 !important; }
.woocommerce-cart table.shop_table .product-price .woocommerce-Price-amount,
.woocommerce-cart table.shop_table .product-subtotal .woocommerce-Price-amount { color: #ccbfff !important; font-weight: 700 !important; }

/* Cart totals */
.woocommerce-cart .cart_totals {
  background: var(--t-card) !important;
  border: 1.5px solid var(--t-border) !important;
  border-radius: 24px !important;
  padding: 24px 28px !important;
  margin-top: 24px !important;
}
.woocommerce-cart .cart_totals h2 {
  color: var(--t-muted) !important; font-size: 12px !important; text-transform: uppercase !important;
  letter-spacing: .22em !important; font-weight: 600 !important; margin: 0 0 16px !important;
}
.woocommerce-cart .cart_totals .shop_table { border: none !important; background: none !important; border-radius: 0 !important; }
.woocommerce-cart .cart_totals .shop_table th { background: none !important; padding: 10px 0 !important; }
.woocommerce-cart .cart_totals .shop_table td { padding: 10px 0 !important; }

/* Cart buttons */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  background: var(--t-btn-bg) !important; color: var(--t-btn-ink) !important;
  border-radius: 999px !important; padding: 16px 32px !important;
  font-weight: 700 !important; font-size: 20px !important;
  font-family: "Cormorant Garamond", serif !important;
  text-decoration: none !important; display: block !important; text-align: center !important;
  box-shadow: 0 14px 36px rgba(50,35,90,.35) !important; transition: background .2s, transform .15s !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #ece5ff !important; transform: translateY(-2px) !important;
}

/* Quantity input in cart */
.woocommerce-cart .quantity input.qty {
  background: var(--t-bg) !important; color: var(--t-ink) !important;
  border: 1.5px solid var(--t-border) !important; border-radius: 12px !important;
  width: 60px !important; text-align: center !important; padding: 8px !important;
  font-size: 16px !important; font-weight: 700 !important;
}

/* Update cart button */
.woocommerce-cart button[name="update_cart"] {
  background: transparent !important; color: #c9bfff !important;
  border: 1.5px solid var(--t-border) !important; border-radius: 999px !important;
  padding: 10px 22px !important; font-size: 15px !important; font-weight: 600 !important;
  cursor: pointer !important; font-family: "Cormorant Garamond", serif !important;
}

/* Coupon form */
.woocommerce-cart .coupon input.input-text {
  background: var(--t-bg) !important; color: var(--t-ink) !important;
  border: 1.5px solid var(--t-border) !important; border-radius: 12px !important;
  padding: 10px 14px !important; font-size: 15px !important;
}
.woocommerce-cart .coupon button { 
  background: transparent !important; color: #c9bfff !important;
  border: 1.5px solid var(--t-border) !important; border-radius: 999px !important;
  padding: 10px 18px !important; cursor: pointer !important;
}

/* Remove item link */
.woocommerce-cart a.remove { color: var(--t-faint) !important; font-size: 20px !important; text-decoration: none !important; }
.woocommerce-cart a.remove:hover { color: #f5a6a6 !important; }

/* ═══════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
═══════════════════════════════════════════════════════════════ */
.single-product .wc-page-wrap {
  max-width: 1120px;
  padding-top: 78px;
}
.single-product .woocommerce-breadcrumb {
  color: var(--t-faint) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  margin: 0 0 22px !important;
  font-family: "Cormorant Garamond", serif !important;
}
.single-product .woocommerce-breadcrumb a {
  color: #c9bfff !important;
  text-decoration: none !important;
}
.single-product .woocommerce-breadcrumb a:hover {
  color: var(--t-ink) !important;
}
.single-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 34px;
  align-items: start;
}
.product-gallery-col,
.summary.entry-summary {
  background: linear-gradient(160deg, rgba(31,40,75,.92), rgba(18,25,50,.96));
  border: 1px solid rgba(162,146,222,.22);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(3,5,16,.28);
}
.product-gallery-col {
  padding: 14px;
  min-width: 0;
}
.summary.entry-summary {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  position: relative !important;
  opacity: 1 !important;
}
.woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}
.woocommerce-product-gallery img.wp-post-image,
.woocommerce-product-gallery__image img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
}
.woocommerce-product-gallery__trigger {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  left: auto !important;
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: rgba(9,12,28,.72) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  color: transparent !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.22) !important;
  z-index: 3 !important;
  overflow: hidden !important;
}
.woocommerce-product-gallery__trigger::before {
  content: "" !important;
  width: 15px !important;
  height: 15px !important;
  border: 2px solid #f3edff !important;
  border-radius: 999px !important;
  position: static !important;
  box-sizing: border-box !important;
}
.woocommerce-product-gallery__trigger::after {
  content: "" !important;
  width: 9px !important;
  height: 2px !important;
  background: #f3edff !important;
  border-radius: 999px !important;
  position: absolute !important;
  transform: translate(9px, 9px) rotate(45deg) !important;
}
.summary.entry-summary .product_title {
  color: #fff3d4 !important;
  font-size: clamp(42px, 5.4vw, 66px) !important;
  line-height: .95 !important;
  font-weight: 700 !important;
  margin: 0 0 16px !important;
  letter-spacing: 0 !important;
}
.summary.entry-summary .price {
  color: #d7ceff !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  margin: 0 0 18px !important;
  letter-spacing: 0 !important;
}
.summary.entry-summary .woocommerce-product-details__short-description {
  margin: 0 0 24px !important;
}
.summary.entry-summary .woocommerce-product-details__short-description p {
  color: var(--t-muted) !important;
  font-size: 19px !important;
  line-height: 1.8 !important;
  margin: 0 !important;
}
.summary.entry-summary form.cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
}
.summary.entry-summary .quantity {
  margin: 0 !important;
}
.summary.entry-summary .quantity input.qty {
  width: 72px !important;
  min-height: 52px !important;
  text-align: center !important;
  border-radius: 14px !important;
  background: rgba(7,10,24,.75) !important;
  border: 1.5px solid rgba(162,146,222,.3) !important;
  color: var(--t-ink) !important;
  font-size: 18px !important;
  font-family: "Inter", sans-serif !important;
  padding: 0 8px !important;
}
.summary.entry-summary .single_add_to_cart_button {
  min-height: 52px !important;
  padding: 14px 28px !important;
  border-radius: 999px !important;
  font-size: 20px !important;
  box-shadow: 0 14px 36px rgba(50,35,90,.35) !important;
  white-space: nowrap !important;
}
.summary.entry-summary .product_meta {
  border-top: 1px solid rgba(162,146,222,.14);
  padding-top: 18px;
  color: var(--t-faint) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.summary.entry-summary .product_meta a {
  color: #c9bfff !important;
  text-decoration: none !important;
}
.woocommerce-tabs {
  margin-top: 44px !important;
}
.woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
  border: 0 !important;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none !important;
}
.woocommerce-tabs ul.tabs li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.woocommerce-tabs ul.tabs li a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(162,146,222,.26) !important;
  background: rgba(255,255,255,.035) !important;
  color: var(--t-muted) !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}
.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li a:hover {
  background: rgba(222,212,255,.12) !important;
  border-color: rgba(201,191,255,.5) !important;
  color: var(--t-ink) !important;
}
.woocommerce-Tabs-panel {
  background: linear-gradient(160deg, rgba(31,40,75,.72), rgba(18,25,50,.82)) !important;
  border: 1px solid rgba(162,146,222,.18) !important;
  border-radius: 20px !important;
  padding: 28px 32px !important;
  margin: 0 !important;
}
.woocommerce-Tabs-panel h2 {
  color: var(--t-ink) !important;
  font-size: clamp(28px, 3.4vw, 42px) !important;
  line-height: 1.08 !important;
  margin: 0 0 14px !important;
}
.woocommerce-Tabs-panel p {
  color: var(--t-muted) !important;
  font-size: 17px !important;
  line-height: 1.75 !important;
}
.related.products {
  display: block !important;
  margin-top: 58px !important;
}
.related.products > h2 {
  color: var(--t-ink) !important;
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.05 !important;
  margin: 0 0 22px !important;
}
.related.products ul.products,
.woocommerce .related.products ul.products {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.related.products ul.products li.product {
  list-style: none !important;
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
  background: linear-gradient(160deg, rgba(31,40,75,.84), rgba(18,25,50,.92));
  border: 1px solid rgba(162,146,222,.18);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related.products ul.products li.product::marker {
  content: "" !important;
}
.related.products ul.products li.product a {
  text-decoration: none !important;
}
.related.products ul.products li.product img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10;
  object-fit: cover !important;
  border-radius: 14px !important;
  margin: 0 0 8px !important;
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(162,146,222,.14) !important;
}
.related.products ul.products li.product img.woocommerce-placeholder {
  display: none !important;
}
.related.products .woocommerce-loop-product__title {
  color: var(--t-ink) !important;
  font-size: clamp(22px, 2.6vw, 30px) !important;
  line-height: 1.08 !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
}
.related.products .price {
  color: #d7ceff !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.related.products .button {
  align-self: flex-start !important;
  margin-top: 6px !important;
  font-size: 17px !important;
  padding: 12px 22px !important;
}

/* WooCommerce product archives / category grids */
.woocommerce-result-count {
  color: var(--t-muted) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
.woocommerce-ordering {
  margin: 0 !important;
}
.woocommerce-ordering select {
  min-width: 220px !important;
}
.woocommerce ul.products,
.woocommerce-page ul.products {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  display: none !important;
  content: none !important;
}
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  list-style: none !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 16px !important;
  background: linear-gradient(160deg, rgba(31,40,75,.84), rgba(18,25,50,.92)) !important;
  border: 1px solid rgba(162,146,222,.18) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(3,5,16,.2) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.woocommerce ul.products li.product::marker,
.woocommerce-page ul.products li.product::marker {
  content: "" !important;
}
.woocommerce ul.products li.product a,
.woocommerce-page ul.products li.product a {
  text-decoration: none !important;
}
.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  border-radius: 14px !important;
  margin: 0 0 8px !important;
  background: rgba(255,255,255,.045) !important;
  border: 1px solid rgba(162,146,222,.14) !important;
}
.woocommerce ul.products li.product img.woocommerce-placeholder,
.woocommerce-page ul.products li.product img.woocommerce-placeholder,
.woocommerce .related.products ul.products li.product img.woocommerce-placeholder {
  display: block !important;
  object-fit: contain !important;
  padding: 28px !important;
  opacity: .42 !important;
}
.woocommerce ul.products .woocommerce-loop-product__title,
.woocommerce-page ul.products .woocommerce-loop-product__title {
  color: var(--t-ink) !important;
  font-size: clamp(22px, 2.6vw, 30px) !important;
  line-height: 1.08 !important;
  padding: 0 !important;
  margin: 0 0 4px !important;
}
.woocommerce ul.products .price,
.woocommerce-page ul.products .price {
  color: #d7ceff !important;
  font-size: 24px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  margin: 0 !important;
}
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  align-self: flex-start !important;
  margin-top: 6px !important;
  font-size: 17px !important;
  padding: 12px 22px !important;
}
.woocommerce nav.woocommerce-pagination {
  margin-top: 28px !important;
}

/* ═══════════════════════════════════════════════════════════════
   FINAL MOBILE POLISH for WC blocks and classic
═══════════════════════════════════════════════════════════════ */

/* Ensure all WC form inputs have 16px min font to prevent iOS zoom on focus */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
  input[type="number"], input[type="search"], input[type="url"], textarea, select,
  .wc-block-components-text-input input,
  .wc-block-checkout input, .woocommerce input.input-text, .woocommerce textarea {
    font-size: 16px !important;
  }
}

/* Single product mobile */
@media (max-width: 768px) {
  .single-product-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .woocommerce-product-gallery { border-radius: 20px !important; }
  .summary.entry-summary { padding: 24px 20px !important; border-radius: 20px !important; }
  .product_title { font-size: clamp(24px, 5vw, 32px) !important; }
  .woocommerce-breadcrumb { font-size: 13px !important; margin-bottom: 16px !important; word-break: break-word !important; }
  .cart.form { flex-direction: column !important; align-items: stretch !important; gap: 12px !important; }
  .single_add_to_cart_button { width: 100% !important; }
  .woocommerce-tabs ul.tabs { flex-direction: column !important; }
  .woocommerce-tabs ul.tabs li a { text-align: center !important; }
  .woocommerce-Tabs-panel { padding: 22px 20px !important; }
  .related.products ul.products,
  ul.products.columns-4, ul.products.columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 480px) {
  .woocommerce-product-gallery img { max-height: 300px !important; object-fit: cover !important; }
  .product_title { font-size: 24px !important; }
  .price, .summary .price { font-size: 26px !important; }
}

/* My Account page mobile */
@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation ul {
    flex-direction: column !important;
    gap: 4px !important;
  }
  .woocommerce-MyAccount-navigation ul li a {
    text-align: center !important;
    font-size: 14px !important;
  }
  .woocommerce-MyAccount-content {
    padding: 22px 18px !important;
    border-radius: 20px !important;
  }
  .woocommerce-orders-table {
    font-size: 13px !important;
  }
  .woocommerce-orders-table th,
  .woocommerce-orders-table td {
    padding: 10px 6px !important;
  }
  /* Make orders table scrollable on small screens */
  .woocommerce-MyAccount-content table.shop_table,
  .woocommerce-MyAccount-content .woocommerce-orders-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
  }
}

/* WC blocks cart/checkout - enhanced mobile */
@media (max-width: 640px) {
  .wp-block-woocommerce-filled-cart-block,
  .wp-block-woocommerce-checkout.wc-block-checkout {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .wp-block-woocommerce-cart-totals-block,
  .wp-block-woocommerce-checkout-totals-block {
    width: 100% !important;
    position: static !important;
  }
  .wp-block-woocommerce-cart-items-block table,
  .wp-block-woocommerce-cart-items-block .wc-block-cart-items {
    font-size: 14px !important;
  }
  /* Hide price column header on small screens - info already in row */
  .wc-block-cart-items__header-total { display: none !important; }
}

/* Checkout improvements */
@media (max-width: 768px) {
  .wc-block-checkout__sidebar {
    margin-top: 16px !important;
  }
  /* Make order summary collapsible on mobile */
  .wc-block-components-order-summary__button {
    font-size: 14px !important;
  }
}

/* Touch-friendly tap targets on WC blocks */
@media (hover: none) and (pointer: coarse) {
  .wc-block-components-quantity-stepper__button {
    min-width: 44px !important;
    min-height: 44px !important;
  }
  .wc-block-cart-item__remove-link {
    padding: 12px 0 !important;
    display: inline-block !important;
  }
}

/* Prevent table overflow on mobile */
.woocommerce table { max-width: 100% !important; }
.woocommerce-MyAccount-content table { display: block !important; overflow-x: auto !important; white-space: nowrap !important; }
@media (min-width: 769px) {
  .woocommerce-MyAccount-content table { display: table !important; white-space: normal !important; }
}

/* Fix cart hero padding */
.wc-page-wrap { padding: 100px 0 60px !important; }
@media (max-width: 768px) { .wc-page-wrap { padding: 84px 0 40px !important; } }
@media (max-width: 480px) { .wc-page-wrap { padding: 72px 0 32px !important; } }

/* Consistent focus states across all WC inputs */
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus,
.wc-block-checkout input:focus, .wc-block-checkout textarea:focus {
  outline: 2px solid var(--t-accent) !important;
  outline-offset: 2px !important;
}

/* ============================================================
   WARIANTOWY PRODUKT — wybór kołysanki (dopracowanie układu)
   form.cart jest flex (qty+przycisk) dla prostych produktów;
   dla wariantowych układamy pionowo i stylujemy listę + reset.
   ============================================================ */
.summary.entry-summary form.cart.variations_form {
  display: block !important;
}
.summary.entry-summary table.variations {
  width: 100% !important;
  margin: 0 0 6px !important;
  border: 0 !important;
  border-collapse: collapse !important;
  background: transparent !important;
}
.summary.entry-summary table.variations tbody,
.summary.entry-summary table.variations tr { display: block !important; }
.summary.entry-summary table.variations td {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.summary.entry-summary table.variations td.label { margin: 0 0 8px !important; }
.summary.entry-summary table.variations td.label label {
  margin: 0 !important;
  color: #f0deb4 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  letter-spacing: .3px !important;
  text-transform: none !important;
}
/* lista wyboru kołysanki */
.summary.entry-summary .variations td.value select,
.summary.entry-summary .variations select {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 56px !important;
  margin: 0 !important;
  background-color: rgba(7,10,24,.75) !important;
  border: 1.5px solid rgba(162,146,222,.32) !important;
  border-radius: 14px !important;
  color: var(--t-ink) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 17px !important;
  padding: 13px 46px 13px 18px !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c4b6ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  cursor: pointer !important;
  transition: border-color .2s ease !important;
}
.summary.entry-summary .variations select:hover { border-color: rgba(162,146,222,.55) !important; }
.summary.entry-summary .variations select:focus { border-color: #8a6fe0 !important; }
/* link "Wyczyść" — subtelny, nie surowy hyperlink */
.summary.entry-summary .reset_variations {
  display: inline-block !important;
  margin: 12px 0 0 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: .2px !important;
  color: var(--t-faint) !important;
  text-decoration: none !important;
  border: 1px solid rgba(162,146,222,.26) !important;
  border-radius: 999px !important;
  padding: 4px 14px !important;
  opacity: .85 !important;
  transition: all .2s ease !important;
}
.summary.entry-summary .reset_variations:hover {
  color: #ece9ff !important;
  border-color: rgba(162,146,222,.5) !important;
  background: rgba(138,111,224,.12) !important;
  opacity: 1 !important;
}
/* blok po wyborze wariantu: cena + (ilość + przycisk) */
.summary.entry-summary .single_variation_wrap { display: block !important; margin-top: 18px !important; }
.summary.entry-summary .single_variation { margin: 0 0 14px !important; }
.summary.entry-summary .single_variation .price { display: none !important; } /* cena już widoczna u góry (wszystkie warianty 39/49,99) */
.summary.entry-summary .woocommerce-variation-add-to-cart {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
}
.summary.entry-summary .woocommerce-variation-add-to-cart .single_add_to_cart_button { flex: 1 1 auto !important; }
/* przycisk wygaszony, dopóki kołysanka nie jest wybrana */
.summary.entry-summary .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button {
  opacity: .45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
}
@media (max-width: 480px) {
  .summary.entry-summary .woocommerce-variation-add-to-cart { flex-wrap: wrap !important; }
  .summary.entry-summary .woocommerce-variation-add-to-cart .single_add_to_cart_button { width: 100% !important; flex: 1 0 100% !important; }
}

/* ── Odstąpienie od umowy — formularz ─────────────────────────────── */
#odstapienie-form{max-width:640px}
#odstapienie-form .odst-field{margin-bottom:18px}
#odstapienie-form label,#odstapienie-form .odst-label{display:block;font-size:15px;color:#e9e0fb;margin-bottom:7px;font-weight:600}
#odstapienie-form .odst-req{color:#c8a2e8}
#odstapienie-form input[type="text"],#odstapienie-form input[type="email"],#odstapienie-form textarea{
  width:100%;background:rgba(11,15,34,.85);border:1.5px solid rgba(162,146,222,.28);border-radius:12px;
  padding:13px 15px;color:#f4ecff;font-family:inherit;font-size:16px;outline:none;box-sizing:border-box;min-height:48px}
#odstapienie-form textarea{min-height:88px;resize:vertical;line-height:1.5}
#odstapienie-form input:focus,#odstapienie-form textarea:focus{border-color:#8a6fe0;box-shadow:0 0 0 3px rgba(138,111,224,.14)}
#odstapienie-form .odst-hint{display:block;font-size:13px;color:#9c86bd;margin-top:6px;line-height:1.5;font-weight:400}
#odstapienie-form .odst-products{display:flex;flex-direction:column;gap:10px;margin-top:4px}
#odstapienie-form .odst-cb{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:15px;color:#e9e0fb;cursor:pointer;margin:0}
#odstapienie-form .odst-cb input{width:18px;height:18px;margin-top:2px;accent-color:#8a6fe0;flex:0 0 auto}
#odstapienie-form .odst-cb span{line-height:1.45}
#odstapienie-form .odst-rodo{font-size:13px;line-height:1.6;margin:16px 0 20px}
#odstapienie-form .odst-confirm-cb{margin:6px 0 18px;padding:14px 16px;background:rgba(107,63,160,.12);border:1px solid rgba(162,146,222,.28);border-radius:12px}
#odstapienie-form .odst-actions{display:flex;gap:12px;flex-wrap:wrap}
.odst-review{background:rgba(11,15,34,.6);border:1px solid rgba(162,146,222,.24);border-radius:14px;padding:18px 20px;margin-bottom:6px}
.odst-review-row{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid rgba(162,146,222,.12);font-size:15px}
.odst-review-row span{color:#9c86bd}
.odst-review-row strong{color:#f4ecff;text-align:right}
.odst-review-stmt{padding-top:12px}
.odst-review-stmt span{display:block;color:#9c86bd;font-size:12px;letter-spacing:1px;text-transform:uppercase;margin-bottom:6px}
.odst-review-stmt p{margin:0;color:#f4ecff;line-height:1.6;font-size:15px}
#odst-done{text-align:center;padding:20px 10px}
#odst-done .odst-done-ok{width:60px;height:60px;line-height:60px;margin:0 auto 14px;border-radius:50%;background:linear-gradient(135deg,#5bbf86,#7ee0a8);color:#0d1a12;font-size:32px;font-weight:700}
#odst-done h3{color:#f4ecff;margin:0 0 10px;font-size:22px}
#odst-done p{color:#cbb9e0;line-height:1.6;margin:6px 0}
#odst-status.form-status{margin-top:14px}
