  [hidden]{display:none !important;}

  /* HERO + CHECKOUT STEPS (shared look with the payment page) */
  .page-hero{background:var(--charcoal);color:var(--cream);padding:70px 0 50px;}
  .page-hero .kicker{color:var(--wood-light);font-size:14px;margin-bottom:14px;}
  .page-hero h1{font-size:42px;}
  .steps{display:flex;align-items:center;gap:14px;margin-top:30px;font-size:13px;color:#8a8478;flex-wrap:wrap;}
  .steps .st{display:flex;align-items:center;gap:9px;}
  .steps .dot{
    width:26px;height:26px;border-radius:50%;border:1px solid var(--line-dark);
    display:flex;align-items:center;justify-content:center;font-size:11.5px;
    transition:background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
  }
  .steps .dot svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
  .steps .st.current{color:var(--cream);}
  .steps .st.current .dot{background:var(--wood-light);border-color:var(--wood-light);color:var(--charcoal);}
  .steps .st.done{color:var(--wood-light);}
  .steps .st.done .dot{border-color:var(--wood-light);}
  .steps a.st:hover{color:var(--cream);}
  .steps .sep{width:40px;height:1px;background:var(--line-dark);position:relative;overflow:hidden;}
  .steps .sep.done::after{content:'';position:absolute;inset:0;background:var(--wood-light);transform-origin:left;animation:sepDraw 0.9s cubic-bezier(.6,0,.2,1) 0.3s both;}
  @keyframes sepDraw{from{transform:scaleX(0);}to{transform:scaleX(1);}}

  .fx{opacity:0;transform:translateY(16px);transition:opacity 0.8s ease var(--d,0s), transform 0.8s cubic-bezier(.2,.8,.2,1) var(--d,0s);}
  .fx.in{opacity:1;transform:none;}

  /* CART */
  .cart-sec{background:var(--paper);padding:56px 0 110px;min-height:55vh;}
  .cart-grid{display:grid;grid-template-columns:1fr 360px;gap:50px;align-items:start;}
  .cart-cols{
    display:grid;grid-template-columns:1fr 132px 130px 36px;gap:20px;padding-bottom:14px;
    border-bottom:1px solid var(--line-light);font-size:11.5px;letter-spacing:0.06em;text-transform:uppercase;color:#8a8478;
  }
  .cart-cols span:nth-child(3){text-align:right;}

  /* Each row sits in a grid wrapper so removing it can collapse its height smoothly */
  .cart-item{display:grid;grid-template-rows:1fr;transition:grid-template-rows 0.45s cubic-bezier(.6,0,.2,1) 0.22s;}
  .cart-item.removing{grid-template-rows:0fr;}
  .ci-inner{min-height:0;overflow:hidden;}
  .cart-row{
    display:grid;grid-template-columns:1fr 132px 130px 36px;gap:20px;align-items:center;
    padding:22px 0;border-bottom:1px solid var(--line-light);
    opacity:0;transform:translateY(18px);
    transition:opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
  }
  .cart-item.in .cart-row{opacity:1;transform:none;}
  .cart-item.removing .cart-row{opacity:0;transform:translateX(-36px);transition:opacity 0.3s ease, transform 0.35s ease;}

  .ci-prod{display:flex;align-items:center;gap:18px;min-width:0;}
  .ci-prod img{width:84px;height:84px;flex:0 0 84px;object-fit:cover;border-radius:3px;background:#e9e2d4;}
  .ci-cat{font-size:11.5px;color:var(--wood);letter-spacing:0.05em;text-transform:uppercase;margin-bottom:3px;}
  .ci-name{font-family:'Fraunces',serif;font-size:18px;line-height:1.25;}
  .ci-unit{font-size:12.5px;color:#8a8478;margin-top:3px;}

  .qty-box{display:inline-flex;align-items:center;justify-self:start;border:1px solid var(--line-light);border-radius:3px;background:#fff;}
  .qty-box button{width:36px;height:38px;font-size:16px;color:var(--ink);transition:background 0.2s ease, opacity 0.2s ease;}
  .qty-box button:hover{background:var(--paper);}
  .qty-box button[disabled]{opacity:0.3;pointer-events:none;}
  .qty-box span{width:36px;text-align:center;font-size:14.5px;display:inline-block;}
  .ci-total{font-family:'Fraunces',serif;font-size:18px;color:var(--wood);text-align:right;white-space:nowrap;}
  .bump{animation:bump 0.35s cubic-bezier(.3,1.6,.5,1);}
  @keyframes bump{0%{transform:scale(1);}40%{transform:scale(1.18);}100%{transform:scale(1);}}

  .ci-remove{
    width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;
    border:1px solid transparent;transition:border-color 0.25s ease, background 0.25s ease;
  }
  .ci-remove svg{width:14px;height:14px;stroke:#8a8478;fill:none;stroke-width:1.8;stroke-linecap:round;transition:stroke 0.25s ease, transform 0.3s ease;}
  .ci-remove:hover{border-color:var(--line-light);background:#fff;}
  .ci-remove:hover svg{stroke:var(--ink);transform:rotate(90deg);}

  .cart-foot{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:26px;flex-wrap:wrap;}
  .back-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--ink);}
  .back-link svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform 0.3s ease;}
  .back-link:hover svg{transform:translateX(-4px);}
  .cart-note{font-size:12.5px;color:#8a8478;}

  /* SUMMARY */
  .summary{position:sticky;top:96px;background:var(--charcoal);color:var(--cream);border-radius:4px;padding:30px;}
  .summary h3{font-size:22px;margin-bottom:18px;}
  .sum-line{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#C9C2B4;padding:8px 0;}
  .sum-line em{font-style:normal;color:#8a8478;font-size:13px;text-align:right;}
  .sum-total{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line-dark);margin-top:12px;padding-top:18px;}
  .sum-total span{font-size:14px;}
  .sum-total strong{font-family:'Fraunces',serif;font-size:26px;font-weight:500;color:var(--wood-light);}
  .btn-pay{
    position:relative;overflow:hidden;display:flex;justify-content:center;align-items:center;gap:10px;width:100%;margin-top:24px;
    padding:15px;background:var(--wood);color:var(--charcoal);font-weight:500;font-size:14.5px;border-radius:2px;
    transition:background 0.25s ease;
  }
  .btn-pay:hover{background:var(--wood-light);}
  .btn-pay svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform 0.3s ease;}
  .btn-pay:hover svg{transform:translateX(4px);}
  .sum-guest{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;font-size:12.5px;color:#C9C2B4;}
  .sum-guest svg{width:14px;height:14px;flex:0 0 14px;stroke:var(--wood-light);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
  .sum-methods{margin-top:18px;padding-top:16px;border-top:1px solid var(--line-dark);font-size:12px;color:#8a8478;text-align:center;line-height:1.7;}

  /* EMPTY STATE - the cart icon sketches itself in */
  .cart-empty{text-align:center;padding:60px 0 20px;}
  .cart-empty svg{width:96px;height:96px;fill:none;stroke:var(--wood);stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;margin-bottom:22px;}
  .cart-empty h2{font-size:30px;margin-bottom:10px;}
  .cart-empty p{color:#5c564c;margin-bottom:28px;}
  .empty-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;}
  .btn-solid{padding:13px 24px;background:var(--charcoal);color:var(--cream);font-size:14px;border-radius:2px;transition:background 0.25s ease, color 0.25s ease;}
  .btn-solid:hover{background:var(--wood);color:var(--charcoal);}
  .btn-outline{padding:12px 24px;border:1px solid var(--ink);font-size:14px;border-radius:2px;transition:background 0.25s ease, color 0.25s ease;}
  .btn-outline:hover{background:var(--ink);color:var(--cream);}

  footer{background:var(--charcoal);color:#8a8478;text-align:center;padding:26px 0;font-size:13px;border-top:1px solid var(--line-dark);}

  @media(max-width:1100px){
    .cart-grid{grid-template-columns:1fr 300px;gap:34px;}
    .cart-cols, .cart-row{grid-template-columns:1fr 118px 112px 36px;gap:14px;}
    .ci-prod{gap:14px;}
    .ci-prod img{width:72px;height:72px;flex-basis:72px;}
  }
  @media(max-width:900px){
    .navlinks{display:none;}
    .page-hero h1{font-size:32px;}
    .cart-grid{grid-template-columns:1fr;gap:40px;}
    .summary{position:static;}
    .cart-cols{display:none;}
    .cart-row{grid-template-columns:1fr auto;grid-template-areas:"prod remove" "qty total";row-gap:16px;}
    .ci-prod{grid-area:prod;}
    .cart-row .qty-box{grid-area:qty;justify-self:start;}
    .ci-total{grid-area:total;}
    .ci-remove{grid-area:remove;align-self:start;}
  }
  @media(max-width:560px){
    .ci-prod img{width:68px;height:68px;flex-basis:68px;}
    .steps .sep{width:18px;}
  }
  @media (prefers-reduced-motion: reduce){
    .fx, .cart-row, .cart-item{transition:none !important;opacity:1 !important;transform:none !important;}
    .bump, .steps .sep.done::after{animation:none !important;}
  }

  /* ===== Ajustes para WooCommerce: mismo aspecto que la maqueta ===== */
  body.woocommerce-cart,body.woocommerce-cart #husan-content,body.woocommerce-cart #primary,
  body.woocommerce-cart .site-main,body.woocommerce-cart article,body.woocommerce-cart .entry-content{background:var(--paper) !important;}
  body.woocommerce-cart{overflow-x:hidden;}
  .page-hero.full-bleed{width:100vw;margin:-56px 0 56px calc(50% - 50vw);padding:70px 0 50px;}
  .page-hero .hero-inner{max-width:1180px;margin:0 auto;padding:0 32px;}
  .page-hero h1{color:var(--cream) !important;font-size:42px;margin:0;}
  .page-hero .kicker{color:var(--wood-light);}
  .woocommerce-cart .entry-title,.woocommerce-cart header.entry-header{display:none;}

  /* Cantidad: el campo de WooCommerce dentro de la caja − / + */
  .cart-row .quantity{display:inline-flex;align-items:center;justify-self:start;border:1px solid var(--line-light);border-radius:3px;background:#fff;}
  .cart-row .quantity .qty-step{width:36px;height:38px;font-size:16px;color:var(--ink);background:transparent;border:none;padding:0;cursor:pointer;transition:background .2s ease, opacity .2s ease;}
  .cart-row .quantity .qty-step:hover{background:var(--paper);}
  .cart-row .quantity .qty-step:disabled{opacity:.3;pointer-events:none;}
  .cart-row .quantity input.qty{width:36px;height:38px;border:none;text-align:center;background:transparent;font-size:14.5px;padding:0;-moz-appearance:textfield;box-shadow:none;}
  .cart-row .quantity input.qty::-webkit-outer-spin-button,.cart-row .quantity input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
  .cart-row .quantity .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
  .ci-name a{color:inherit;text-decoration:none;}
  .ci-name a:hover{color:var(--wood);}
  .ci-unit .woocommerce-Price-amount{color:#8a8478;}
  .ci-total .woocommerce-Price-amount{color:var(--wood);}
  .ci-remove{text-decoration:none;}

  /* Actualizar lo hace solo el JS; el botón queda oculto */
  .husan-update-cart{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}

  /* Resumen */
  .summary h3{color:var(--cream) !important;}
  .summary .sum-line .woocommerce-Price-amount{color:var(--cream);}
  .summary .sum-total strong,.summary .sum-total strong .woocommerce-Price-amount{font-family:'Fraunces',serif;font-size:26px;font-weight:500;color:var(--wood-light);}
  .btn-pay{text-decoration:none;}
  .btn-solid,.btn-outline{text-decoration:none;display:inline-block;}

  /* Mientras WooCommerce recalcula */
  .woocommerce-cart-form.processing,.cart_totals.processing{opacity:1;}
  .woocommerce-cart .blockUI{display:none !important;}
  .blockUI.blockOverlay{background:transparent !important;}

  .woocommerce-message,.woocommerce-info,.woocommerce-error{background:#fff;border-top:3px solid var(--wood);border-radius:3px;padding:14px 18px;margin-bottom:26px;list-style:none;font-size:14px;color:#5c564c;}

  @media(max-width:900px){
    .page-hero.full-bleed{margin-top:-36px;padding:50px 0 36px;}
    .page-hero .hero-inner{padding:0 20px;}
    .page-hero h1{font-size:32px;}
    .cart-row .quantity{grid-area:qty;}
  }
