
.ylf-public-tickets{
  margin:42px 0 24px;
  padding:28px;
  background:#fff;
  border:1px solid #e4e7ec;
  border-radius:22px;
  box-shadow:0 16px 36px rgba(16,24,40,.07)
}
.ylf-public-tickets-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin-bottom:20px}
.ylf-public-tickets-head h2{margin:4px 0 5px;font-size:32px;line-height:1.05}
.ylf-public-tickets-head p{margin:0;color:#667085}
.ylf-kicker{font-size:12px;font-weight:900;letter-spacing:.12em;color:#6941c6}
.ylf-ticket-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.ylf-public-ticket-card{
  border:1px solid #e4e7ec;
  border-radius:18px;
  padding:20px;
  background:#fff;
  display:flex;
  flex-direction:column;
  min-height:220px
}
.ylf-public-ticket-card h3{font-size:20px;margin:10px 0 8px}
.ylf-ticket-type-pill{
  align-self:flex-start;
  background:#f4f3ff;
  color:#5925dc;
  font-size:12px;
  font-weight:800;
  border-radius:999px;
  padding:5px 9px
}
.ylf-ticket-price{font-size:29px;font-weight:900;margin:2px 0 14px}
.ylf-ticket-public-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.ylf-ticket-public-meta span{background:#f9fafb;border:1px solid #eaecf0;border-radius:999px;padding:5px 9px;font-size:12px;color:#475467}
.ylf-ticket-buy{
  display:block;
  margin-top:auto;
  text-align:center;
  background:#111827;
  color:#fff!important;
  text-decoration:none!important;
  border-radius:12px;
  padding:13px 16px;
  font-weight:800;
  transition:transform .15s ease,opacity .15s ease
}
.ylf-ticket-buy:hover{transform:translateY(-1px);opacity:.92}
.ylf-ticket-buy.secondary{background:#f2f4f7;color:#101828!important}
.ylf-ticket-buy.is-disabled{border:0;background:#d0d5dd;color:#667085!important;cursor:not-allowed;width:100%}
.ylf-public-ticket-card.is-soldout{opacity:.72}
.ylf-ticket-security-note{display:flex;gap:10px;align-items:flex-start;margin-top:18px;padding-top:16px;border-top:1px solid #eaecf0;color:#475467}
.ylf-ticket-security-note>span{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#ecfdf3;color:#067647;font-weight:900}
.ylf-ticket-security-note small{color:#667085}
@media(max-width:700px){
  .ylf-public-tickets{padding:18px;border-radius:16px}
  .ylf-public-tickets-head h2{font-size:27px}
  .ylf-ticket-card-grid{grid-template-columns:1fr}
}

/* v0.17.0 buyer ticket center */
.ylf-ticket-center{max-width:980px;margin:38px auto;padding:0 18px}
.ylf-ticket-center-hero{text-align:center;margin-bottom:24px}
.ylf-ticket-center-hero h1{font-size:42px;line-height:1.05;margin:8px 0}
.ylf-ticket-center-hero p{color:#667085;font-size:17px}
.ylf-ticket-center-alert{border:1px solid #d0d5dd;background:#f9fafb;border-radius:12px;padding:12px 14px;margin:0 0 16px}
.ylf-ticket-lookup-form{display:grid;grid-template-columns:1fr 1.3fr auto;gap:12px;align-items:end;background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:18px;box-shadow:0 12px 28px rgba(16,24,40,.05)}
.ylf-ticket-lookup-form label{display:block;font-size:13px;font-weight:800;margin-bottom:6px}
.ylf-ticket-lookup-form input{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:10px;padding:12px 13px;font-size:16px}
.ylf-ticket-lookup-form button,.ylf-ticket-email-form button{border:0;border-radius:11px;background:#111827;color:#fff;padding:13px 16px;font-weight:800;cursor:pointer}
.ylf-buyer-order{margin-top:24px}
.ylf-buyer-order-head h2{font-size:30px;margin:5px 0}.ylf-buyer-order-head p{color:#667085}
.ylf-buyer-ticket-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:15px}
.ylf-buyer-ticket-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;padding:20px;box-shadow:0 8px 20px rgba(16,24,40,.04)}
.ylf-buyer-ticket-card h3{margin:10px 0 8px}
.ylf-buyer-ticket-code{font-size:22px;font-weight:900;letter-spacing:.03em;background:#f9fafb;border:1px dashed #98a2b3;border-radius:10px;padding:12px;margin:12px 0}
.ylf-buyer-ticket-card dl{margin:12px 0}.ylf-buyer-ticket-card dl div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f2f4f7;padding:8px 0}
.ylf-buyer-ticket-card dt{color:#667085}.ylf-buyer-ticket-card dd{margin:0;font-weight:700;text-align:right}
.ylf-buyer-ticket-note{font-size:12px;color:#667085;margin-top:12px}
.ylf-buyer-empty{margin-top:22px;background:#fff;border:1px solid #e4e7ec;border-radius:16px;padding:20px}
.ylf-ticket-email-form{margin-top:15px}
.ylf-buyer-orders-list{margin-top:24px}.ylf-buyer-orders-list>a{display:flex;justify-content:space-between;gap:16px;text-decoration:none!important;color:#101828!important;background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:14px 16px;margin:8px 0}.ylf-buyer-orders-list>a span{color:#667085}
@media(max-width:760px){
  .ylf-ticket-lookup-form{grid-template-columns:1fr}
  .ylf-ticket-center-hero h1{font-size:34px}
  .ylf-buyer-orders-list>a{display:block}.ylf-buyer-orders-list>a span{display:block;margin-top:4px}
}

/* v0.17.1 dedicated buyer ticket center page shell */
.ylf-ticket-center-template{min-height:60vh;padding:24px 0 54px}

/* v0.18.0 WooCommerce ticket delivery bridge */
.ylf-order-ticket-delivery{
  display:grid;
  grid-template-columns:54px 1fr;
  gap:16px;
  align-items:start;
  margin:24px 0;
  padding:22px;
  border:1px solid #e4e7ec;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(16,24,40,.06)
}
.ylf-order-ticket-delivery-icon{
  width:54px;height:54px;border-radius:14px;background:#f4f3ff;
  display:flex;align-items:center;justify-content:center;font-size:27px
}
.ylf-order-ticket-delivery-copy h2{margin:5px 0 7px;font-size:25px}
.ylf-order-ticket-delivery-copy p{margin:0 0 14px;color:#667085}
.ylf-order-ticket-delivery .ylf-ticket-buy{display:inline-block;margin:0}
.ylf-account-ticket-list h2{margin-bottom:18px}
.ylf-account-ticket-order{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  border:1px solid #e4e7ec;border-radius:12px;padding:14px 16px;margin:10px 0;background:#fff
}
.ylf-account-ticket-order>div{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.ylf-account-ticket-order span{color:#667085}
.ylf-account-ticket-help{margin-top:18px}
@media(max-width:650px){
  .ylf-order-ticket-delivery{grid-template-columns:1fr}
  .ylf-account-ticket-order{display:block}
  .ylf-account-ticket-order>div+div{margin-top:10px}
}

/* v0.18.1 dedicated WooCommerce My Account shell */
.ylf-woocommerce-account-template{min-height:60vh;padding:36px 18px 60px}
.ylf-account-shell{max-width:1100px;margin:0 auto}
.ylf-account-shell .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:26px}
.ylf-account-shell .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid #e4e7ec;border-radius:14px;overflow:hidden;background:#fff}
.ylf-account-shell .woocommerce-MyAccount-navigation li{margin:0;border-bottom:1px solid #f2f4f7}
.ylf-account-shell .woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.ylf-account-shell .woocommerce-MyAccount-navigation a{display:block;padding:12px 14px;text-decoration:none;color:#344054;font-weight:700}
.ylf-account-shell .woocommerce-MyAccount-navigation .is-active a{background:#f4f3ff;color:#5925dc}
.ylf-account-shell .woocommerce-MyAccount-content{min-width:0}
@media(max-width:760px){.ylf-account-shell .woocommerce{grid-template-columns:1fr}}

/* v0.19.0 checkout + cart ticket UX */
.ylf-commerce-banner{
  display:flex;gap:12px;align-items:flex-start;
  border:1px solid #e4e7ec;background:#fff;border-radius:14px;
  padding:15px 16px;margin:0 0 20px;
  box-shadow:0 8px 22px rgba(16,24,40,.04)
}
.ylf-commerce-icon{
  width:34px;height:34px;border-radius:50%;background:#f4f3ff;color:#5925dc;
  display:flex;align-items:center;justify-content:center;font-weight:900;flex:0 0 auto
}
.ylf-commerce-banner b{font-size:16px}
.ylf-commerce-banner p{margin:3px 0 0;color:#667085}
.ylf-cart-event-name{display:block;color:#667085;font-weight:500;margin-top:4px}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order{
  border-radius:11px!important;
  font-weight:800!important
}
