/* WooCommerce surfaces, restyled to the Pull Up Banner King system.
   Woo ships its own stylesheet; this overrides the parts that show. */

.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border:3px solid var(--ink);border-radius:var(--r-lg);background:var(--white);
  padding:14px 18px;margin:0 0 20px;font-weight:700;list-style:none;
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-top-width:3px;
}
.woocommerce-message{background:#DCFCE7;border-color:var(--ok)}
.woocommerce-error{background:#FEE2E2;border-color:var(--bad);flex-direction:column;align-items:flex-start}
.woocommerce-info{background:#FFFBEA}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message .button,.woocommerce-info .button{margin-left:auto}

/* ---- buttons: Woo uses .button everywhere ---- */
.woocommerce .button,.woocommerce button.button,.woocommerce input.button,
.woocommerce a.button,.woocommerce #respond input#submit,
.woocommerce .button.alt,.wc-block-components-button{
  background:var(--yellow)!important;color:var(--ink)!important;
  border:3px solid var(--ink)!important;border-radius:var(--r-lg)!important;
  padding:13px 24px!important;font-weight:800!important;font-size:16px!important;
  font-family:var(--body)!important;box-shadow:var(--shadow-sm);text-shadow:none!important;
  line-height:1.2!important;
}
.woocommerce .button:hover,.woocommerce a.button:hover{background:var(--yellow-2)!important}
.woocommerce .button:active{transform:translateY(3px);box-shadow:0 1px 0 var(--ink)}
.woocommerce #place_order{width:100%;font-size:19px!important;padding:17px 24px!important}

/* ---- tables (cart, order details, account) ---- */
.woocommerce table.shop_table{
  border:3px solid var(--ink);border-radius:var(--r-xl);border-collapse:separate;
  border-spacing:0;overflow:hidden;background:var(--white);margin:0 0 26px;
}
.woocommerce table.shop_table th{
  background:var(--yellow);font-weight:800;font-size:14px;letter-spacing:.02em;
  padding:13px 14px;border:0;border-bottom:3px solid var(--ink);
}
.woocommerce table.shop_table td{padding:15px 14px;border:0;border-bottom:1px solid var(--line);vertical-align:middle}
.woocommerce table.shop_table tr:last-child td{border-bottom:0}
.woocommerce table.shop_table .product-thumbnail img{width:68px;border:2px solid var(--ink);border-radius:var(--r-sm)}
.woocommerce table.shop_table td.product-name a{font-weight:800;text-decoration:none}
.woocommerce .cart_item dl.variation{margin:5px 0 0;font-size:13px;color:var(--muted-2)}
.woocommerce .cart_item dl.variation dt,.woocommerce .cart_item dl.variation dd{display:inline;margin:0}
.woocommerce .cart_item dl.variation dd{margin-right:10px}
.woocommerce .cart_item dl.variation p{margin:0;display:inline}

/* ---- quantity ---- */
.woocommerce .quantity .qty{
  width:84px;text-align:center;border:3px solid var(--ink);border-radius:var(--r);
  padding:9px;font-weight:800;font-size:16px;
}

/* ---- cart totals / order review ---- */
.cart_totals,.woocommerce-checkout-review-order{
  background:var(--fill);border:3px solid var(--ink);border-radius:var(--r-xl);
  padding:clamp(18px,3vw,26px);
}
.cart_totals h2,.woocommerce-checkout-review-order h3{font-family:var(--display);font-size:26px;margin:0 0 14px}
.cart_totals table.shop_table,.woocommerce-checkout-review-order table{border:0;background:transparent;margin:0}
.cart_totals table.shop_table th,.woocommerce-checkout-review-order table th{
  background:transparent;border-bottom:1px solid var(--line);font-size:15px;padding:11px 0;
}
.cart_totals table.shop_table td,.woocommerce-checkout-review-order table td{
  border-bottom:1px solid var(--line);padding:11px 0;text-align:right;
}
.order-total th,.order-total td{border-bottom:0!important;padding-top:16px!important}
.order-total .amount{font-family:var(--display);font-size:30px}

/* ---- checkout form ---- */
.woocommerce form .form-row{padding:0;margin:0 0 15px}
.woocommerce form .form-row label{font-weight:800;font-size:14px;margin:0 0 6px;display:block}
.woocommerce form .form-row .required{color:var(--bad);text-decoration:none}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container .select2-selection--single{
  width:100%;font:inherit;font-size:16px;padding:12px 14px;
  border:3px solid var(--ink)!important;border-radius:var(--r)!important;
  background:var(--white);color:var(--ink);height:auto!important;
}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:1.4;padding:0;color:var(--ink)}
.select2-container .select2-selection--single .select2-selection__arrow{top:12px;right:10px}
.woocommerce form.checkout h3,.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3{
  font-family:var(--display);font-size:27px;margin:0 0 16px;
}
#customer_details{display:grid;gap:30px;grid-template-columns:1fr}
@media(min-width:900px){
  .pubk-checkout{display:grid;gap:34px;grid-template-columns:1.25fr .9fr;align-items:start}
  .pubk-checkout__review{position:sticky;top:120px}
}
.woocommerce-privacy-policy-text{font-size:13px;color:var(--muted-2)}
#payment{background:transparent;border-radius:0}
#payment ul.payment_methods{border:0;padding:0;margin:0 0 16px;list-style:none}
#payment ul.payment_methods li{
  border:3px solid var(--ink);border-radius:var(--r-lg);padding:14px 16px;margin:0 0 12px;background:var(--white);
}
#payment ul.payment_methods li label{font-weight:800;font-size:16px}
#payment div.payment_box{
  background:var(--fill);border:0;border-top:1px solid var(--line);
  margin:12px 0 0;padding:14px 0 0;font-size:14px;color:var(--muted);
}
#payment div.payment_box::before{display:none}
.woocommerce-terms-and-conditions-wrapper{margin:0 0 16px;font-size:14px}

/* ---- coupon ---- */
.woocommerce .coupon{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}
.woocommerce .coupon .input-text{max-width:230px}

/* ---- thank you ---- */
.woocommerce-order{max-width:820px}
.woocommerce ul.order_details{
  list-style:none;margin:0 0 28px;padding:20px;display:grid;gap:16px;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  background:var(--fill);border:3px solid var(--ink);border-radius:var(--r-xl);
}
.woocommerce ul.order_details li{border:0;padding:0;margin:0;font-size:13px;
  text-transform:uppercase;letter-spacing:.04em;font-weight:800;color:var(--muted-2)}
.woocommerce ul.order_details li strong{
  display:block;font-size:19px;text-transform:none;letter-spacing:0;color:var(--ink);margin-top:4px;
  font-family:var(--display);font-weight:400;
}

/* ---- my account ---- */
.woocommerce-account .woocommerce{display:grid;gap:30px;grid-template-columns:1fr}
@media(min-width:860px){.woocommerce-account .woocommerce{grid-template-columns:240px 1fr}}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;
  border:3px solid var(--ink);border-radius:var(--r-xl);overflow:hidden;background:var(--white)}
.woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line)}
.woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.woocommerce-MyAccount-navigation a{display:block;padding:13px 16px;font-weight:800;text-decoration:none;font-size:15px}
.woocommerce-MyAccount-navigation li.is-active{background:var(--yellow)}
.woocommerce-form-login,.woocommerce-form-register{
  border:3px solid var(--ink)!important;border-radius:var(--r-xl)!important;padding:clamp(18px,3vw,26px)!important;background:var(--white);
}

/* ---- product archive ---- */
.woocommerce ul.products{display:grid;gap:22px;list-style:none;margin:0;padding:0;
  grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{
  width:auto!important;margin:0!important;float:none!important;background:var(--white);
  border:3px solid var(--ink);border-radius:var(--r-xl);padding:16px;text-align:center;
}
.woocommerce ul.products li.product a img{margin:0 0 12px;border-radius:var(--r)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--display);font-size:21px;padding:0;margin:0 0 6px;
}
.woocommerce ul.products li.product .price{color:var(--ink);font-family:var(--display);font-size:22px;display:block;margin:0 0 12px}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin:0 0 20px}

/* ---- misc ---- */
.woocommerce .price del{opacity:.5;font-size:.8em}
.woocommerce-breadcrumb{font-size:14px;color:var(--muted-2);margin:0 0 18px}
.woocommerce-breadcrumb a{text-decoration:none;font-weight:700}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:600px){
  .woocommerce table.shop_table thead{display:none}
  .woocommerce table.shop_table tr{display:block;border-bottom:3px solid var(--ink)}
  .woocommerce table.shop_table tr:last-child{border-bottom:0}
  .woocommerce table.shop_table td{
    display:flex;justify-content:space-between;gap:14px;align-items:center;
    padding:11px 14px;border-bottom:1px solid var(--line);
  }
  .woocommerce table.shop_table td::before{content:attr(data-title);font-weight:800;font-size:13px}
  .woocommerce table.shop_table td.product-remove::before{content:''}
}

/* ============================================================ PDP (2b) */
.pubk-pdp__grid{display:grid;gap:0;grid-template-columns:1fr}
@media(min-width:1000px){.pubk-pdp__grid{grid-template-columns:1fr 540px}}

/* ---- preview stage ---- */
.pubk-pdp__stage{
  background:
    repeating-conic-gradient(from 0deg at 50% 100%,
      #FFD21F 0deg, #FFD21F 6deg, #FFC81A 6deg, #FFC81A 12deg);
  border-bottom:3px solid var(--ink);
  padding:clamp(26px,4vw,44px) var(--gutter);
}
@media(min-width:1000px){.pubk-pdp__stage{border-bottom:0;border-right:3px solid var(--ink)}}
.pubk-pdp__stageinner{max-width:620px;margin:0 auto}
.pubk-pdp__name{
  font-family:var(--display);font-size:clamp(30px,4.2vw,50px);line-height:1;margin:0;
  text-shadow:3px 3px 0 #fff;
}
.pubk-pdp__dims{font-weight:800;font-size:16px;margin:6px 0 0}
.pubk-pdp__scene{
  display:flex;align-items:flex-end;justify-content:center;gap:clamp(20px,5vw,46px);
  min-height:clamp(290px,42vh,440px);margin:26px 0 0;
}
.pubk-banner{display:flex;flex-direction:column;align-items:center;transition:width .25s,height .25s}
.pubk-banner__skin{
  position:relative;width:100%;flex:1 1 auto;background:#fff;
  border:3px solid var(--ink);border-radius:3px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
/* Empty panel with a hint, as the design has it - nothing is uploaded yet,
   and cover-cropping a product photo into an arbitrary aspect looked wrong. */
.pubk-banner__skin{
  background:repeating-linear-gradient(135deg,#fff 0 11px,#fafafa 11px 22px);
}
.pubk-banner__hint{
  font-family:var(--display);font-size:clamp(11px,2.2vw,15px);color:#b4b1a8;
  pointer-events:none;text-align:center;padding:4px;line-height:1.15;
}
.pubk-banner__base{
  width:118%;height:16px;margin-top:-1px;border:3px solid var(--ink);border-radius:5px;
  background:linear-gradient(#e2e2e2,#9b9b9b);
}
.pubk-person{display:flex;flex-direction:column;align-items:center;gap:7px;flex:0 0 auto}
.pubk-person__bar{width:34px;height:296px;background:rgba(17,17,17,.82);border-radius:17px 17px 5px 5px}
.pubk-person span{font-weight:800;font-size:13px}
.pubk-pdp__scalenote{font-size:13px;font-weight:700;margin:16px 0 0;opacity:.72}

/* ---- right panel ---- */
.pubk-pdp__panel{background:#fff;padding:clamp(24px,3.4vw,38px) var(--gutter)}
.pubk-pdp__promise{
  display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:0 0 22px;
  font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--muted-2);
}
.pubk-pdp__after{margin-top:30px;padding-top:24px;border-top:3px solid var(--ink)}
.pubk-pdp__after h3{font-family:var(--display);font-size:21px;margin:0 0 12px}
ul.pubk-ticks{list-style:none;padding:0;margin:0 0 16px}
ul.pubk-ticks li{
  position:relative;padding:8px 0 8px 30px;font-size:15px;font-weight:600;
  border-bottom:1px solid var(--line);
}
ul.pubk-ticks li:last-child{border-bottom:0}
ul.pubk-ticks li::before{
  content:"";position:absolute;left:0;top:11px;width:19px;height:19px;border-radius:50%;
  background:var(--yellow);border:2.5px solid var(--ink);
}
ul.pubk-ticks li::after{
  content:"";position:absolute;left:6px;top:15px;width:7px;height:4px;
  border-left:2.5px solid var(--ink);border-bottom:2.5px solid var(--ink);transform:rotate(-45deg);
}
.pubk-pdp__note{font-size:14px;color:var(--muted-2);margin:0}
.pubk-pdp__note a{font-weight:800;color:inherit}

/* ---- size chips (built from Woo's <select>) ---- */
.pubk-sizes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 6px}
@media(max-width:560px){.pubk-sizes{grid-template-columns:repeat(3,minmax(0,1fr))}}
.pubk-chip{
  cursor:pointer;background:#fff;border:3px solid var(--ink);border-radius:13px;
  padding:9px 5px;text-align:center;display:flex;flex-direction:column;gap:2px;
  font-family:inherit;transition:background .12s,box-shadow .12s,transform .12s;
}
.pubk-chip:hover{background:#FFFBEA}
.pubk-chip[aria-pressed="true"]{background:var(--yellow);box-shadow:0 4px 0 var(--ink)}
.pubk-chip__n{font-family:var(--display);font-size:16px;line-height:1.1}
.pubk-chip__p{font-size:12px;font-weight:800}
.pubk-chip:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.pubk-steplabel{
  font-family:var(--display);font-size:20px;margin:22px 0 10px;display:flex;align-items:center;gap:9px;
}
.pubk-steplabel span{
  width:26px;height:26px;border-radius:50%;background:var(--ink);color:var(--yellow);
  font-size:14px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
}
.pubk-steplabel:first-child{margin-top:0}

/* Hide the raw dropdown once chips are live, but keep it in the form AND
   keep it technically visible: wc-add-to-cart-variation.js uses jQuery
   :visible in places, which is false for display:none, so this uses the
   1px-clip pattern instead. !important because WooCommerce sets the table
   width with equal specificity and would otherwise leave it full-width,
   which overflowed the page horizontally at every breakpoint. */
.pubk-chips-live table.variations{
  position:absolute!important;width:1px!important;height:1px!important;
  max-width:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;
  margin:0!important;padding:0!important;border:0!important;
}
.pubk-chips-live table.variations td,
.pubk-chips-live table.variations th{padding:0!important;border:0!important}

/* ---- woo's variation block, restyled ---- */
.woocommerce div.product form.cart .variations{margin:0 0 14px}
.woocommerce div.product form.cart{margin:0}
.woocommerce div.product .woocommerce-variation-price{margin:0 0 14px}
.woocommerce div.product .woocommerce-variation-price .price{
  font-family:var(--display);font-size:40px;color:var(--ink);line-height:1;
}
.woocommerce div.product .woocommerce-variation-availability{margin:0 0 10px;font-weight:700}
.woocommerce div.product form.cart div.quantity{margin:0 12px 0 0}
.woocommerce div.product form.cart .button{flex:1 1 auto}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:6px;
}
.woocommerce div.product .reset_variations{
  display:inline-block;margin:0 0 10px;font-size:13px;font-weight:700;
}
.woocommerce div.product p.price{font-family:var(--display);font-size:34px;color:var(--ink)}
.woocommerce div.product .product_meta{display:none}

/* ---- how it works strip ---- */
.pubk-steps{
  display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  padding:clamp(22px,3vw,34px) var(--gutter);border-top:3px solid var(--ink);background:#fff;
}
.pubk-step{display:flex;flex-direction:column;gap:4px;font-size:14px}
.pubk-step__n{
  width:30px;height:30px;border-radius:50%;background:var(--yellow);border:3px solid var(--ink);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;margin-bottom:4px;
}
.pubk-step strong{font-size:16px}
.pubk-step__d{color:var(--muted-2)}
.pubk-pdp__desc{padding:clamp(22px,3vw,34px) var(--gutter);border-top:3px solid var(--ink);background:#fff}
