/* ============================================================================
   Webshop theme — WordPress & WooCommerce glue
   ----------------------------------------------------------------------------
   webshop.css is the approved design system and is used unchanged. This file
   only maps markup that WordPress and WooCommerce generate themselves (forms,
   tables, pagination, payment methods) onto the same tokens and components,
   and styles the few account screens the HTML build did not have.
   ========================================================================== */

/* ---- generic ----------------------------------------------------------- */
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
[hidden]{display:none!important}
html:not(.js-reveal) [data-reveal],html:not(.js-reveal) [data-reveal-stagger]>*{opacity:1;transform:none}
.webshop-notice{margin-bottom:16px}
.woocommerce-notices-wrapper:empty{display:none}
.woocommerce-notices-wrapper .notice{margin-bottom:12px}
.accnav__btn{text-decoration:none}
.toc a.is-on{color:var(--blue-700);font-weight:600}
.prose .branches{margin:12px 0 24px}

/* ---- buttons WooCommerce prints ---------------------------------------- */
.woocommerce .button,.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,
.woocommerce-Button,.woocommerce-button,#place_order{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:inherit;
  font-weight:600;font-size:.9rem;padding:11px 20px;border-radius:var(--r-sm);border:1.5px solid transparent;
  cursor:pointer;line-height:1.2;text-decoration:none;background:var(--blue-700);color:#fff;
  transition:background var(--t-fast) var(--ease),box-shadow var(--t-fast) var(--ease)}
.woocommerce .button:hover,.woocommerce-Button:hover{background:var(--blue-800);color:#fff}
#place_order{width:100%;background:var(--gold-500);color:var(--on-accent);font-size:1rem;padding:15px 22px;margin-top:6px}
#place_order:hover{background:var(--gold-400);box-shadow:0 6px 16px rgba(229,161,28,.32)}
.woocommerce .button.alt{background:var(--gold-500);color:var(--on-accent)}
.woocommerce .button:disabled,.woocommerce .button.disabled{opacity:.55;cursor:not-allowed}
a.added_to_cart{display:none}
.add_to_cart_button.loading{opacity:.7;pointer-events:none}
.add_to_cart_button.added::after{content:"";width:14px;height:8px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg) translateY(-2px);margin-left:4px}

/* ---- form rows (checkout, addresses, account details) ------------------ */
.woocommerce form .form-row{display:flex;flex-direction:column;gap:6px;margin:0 0 16px;padding:0}
.woocommerce form .form-row label{font-size:.82rem;font-weight:500;color:var(--ink-700)}
.woocommerce form .form-row .required{color:var(--err-600);text-decoration:none;border:0}
.woocommerce form .form-row .optional{color:var(--ink-400);font-weight:400}
.woocommerce form .input-text,.woocommerce form select,.woocommerce-Input,.woocommerce form textarea{
  width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:var(--r-sm);background:#fff;font:inherit;font-size:.92rem;color:var(--ink-900)}
.woocommerce form .input-text:focus,.woocommerce form select:focus,.woocommerce form textarea:focus{outline:none;border-color:var(--blue-600);box-shadow:0 0 0 3px var(--blue-100)}
.woocommerce form .form-row.woocommerce-invalid .input-text{border-color:var(--err-600)}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:calc(50% - 8px);display:inline-flex;vertical-align:top}
.woocommerce form .form-row-first{margin-right:12px}
.woocommerce form .form-row-wide{width:100%}
@media (max-width:640px){.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%;margin-right:0}}
.woocommerce form .form-row .woocommerce-input-wrapper{display:block}
.select2-container .select2-selection--single{height:46px;border:1.5px solid var(--line)!important;border-radius:var(--r-sm)!important}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:43px!important;padding-left:14px!important}
.select2-container .select2-selection--single .select2-selection__arrow{height:44px!important}
#customer_details h3,.woocommerce-billing-fields h3,.woocommerce-shipping-fields h3,.woocommerce-additional-fields h3{font-size:1.15rem;margin:0 0 14px}
#ship-to-different-address{font-size:1rem;margin:10px 0 14px}
#ship-to-different-address label{display:flex;gap:10px;align-items:center;cursor:pointer}
.woocommerce-additional-fields{margin-top:8px}
.woocommerce-form-login-toggle,.woocommerce-form-coupon-toggle{margin-bottom:12px}

/* ---- checkout order review & payment ---------------------------------- */
.summary .shop_table{width:100%;border-collapse:collapse;font-size:.86rem;margin-bottom:12px}
.summary .shop_table th,.summary .shop_table td{padding:9px 0;border-bottom:1px solid var(--line-2);text-align:left;vertical-align:top}
.summary .shop_table td:last-child,.summary .shop_table th:last-child{text-align:right;font-variant-numeric:tabular-nums}
.summary .shop_table thead th{font-size:.74rem;text-transform:uppercase;letter-spacing:.04em;color:var(--ink-500);font-weight:600}
.summary .shop_table .product-name{color:var(--ink-800)}
.summary .shop_table .product-quantity{color:var(--ink-500);font-weight:500}
.summary .shop_table dl.variation{display:flex;flex-wrap:wrap;gap:1px 5px;margin:3px 0 0;font-size:.78rem;color:var(--ink-500)}
.summary .shop_table dl.variation dt{margin:0;font-weight:400}
.summary .shop_table dl.variation dd{margin:0 8px 0 0;font-weight:600;color:var(--ink-800)}
.summary .shop_table dl.variation dd p{margin:0}
.summary .shop_table .order-total th,.summary .shop_table .order-total td{font-size:1.05rem;font-weight:700;color:var(--ink-900);border-bottom:0;padding-top:14px}
.summary .shop_table .order-total small,.summary .shop_table .includes_tax{display:block;font-size:.74rem;font-weight:500;color:var(--ink-500)}
.summary .woocommerce-shipping-methods{list-style:none;margin:0;padding:0}
.summary .woocommerce-shipping-methods li{margin:0 0 4px}
/* One method qualifies at a time, so the radio has nothing to choose between. */
.summary .woocommerce-shipping-methods li:only-child input[type=radio]{display:none}
.summary .woocommerce-shipping-methods li:only-child label{margin:0}
.summary .lc-free{display:inline-flex;align-items:center;padding:3px 9px;border-radius:var(--r-pill);
  background:var(--ok-50);color:var(--ok-600);font-weight:600;font-size:.74rem}
.summary .shop_table .lc-eta-row td time{font-weight:600;color:var(--blue-700)}
.lc-checkout-note{display:flex;gap:10px;align-items:flex-start;margin:0 0 16px;padding:12px 14px;
  background:var(--bg-tint-2);border:1px solid var(--line-2);border-radius:var(--r);color:var(--ink-600)}
.lc-checkout-note svg{flex:none;margin-top:2px;color:var(--blue-600)}
.lc-checkout-note p{margin:0;font-size:.8rem;line-height:1.55}
#payment{background:var(--bg-tint);border-radius:var(--r);padding:14px;margin-top:8px}
#payment ul.payment_methods{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:8px}
#payment li.wc_payment_method{background:#fff;border:1.5px solid var(--line);border-radius:var(--r-sm);padding:12px 14px}
#payment li.wc_payment_method>label{font-weight:600;font-size:.9rem;cursor:pointer;margin-left:6px}
#payment li.wc_payment_method:has(input:checked){border-color:var(--blue-600);box-shadow:0 0 0 3px var(--blue-50)}
#payment .payment_box{font-size:.82rem;color:var(--ink-600);margin-top:8px}
#payment .payment_box p{margin:0 0 6px}
.lc-credit-line{font-weight:600;color:var(--ok-600)}
.woocommerce-terms-and-conditions-wrapper{font-size:.8rem;color:var(--ink-500)}
.woocommerce-privacy-policy-text p{font-size:.78rem;color:var(--ink-500);margin:8px 0}
.woocommerce-checkout #order_review_heading{margin-bottom:12px}
.blockUI.blockOverlay{background:rgba(255,255,255,.6)!important}

/* ---- thank-you page ---------------------------------------------------- */
.woocommerce-order{max-width:880px}
.woocommerce-thankyou-order-received{font-size:1.1rem;font-weight:600;color:var(--ok-600);background:var(--ok-50);padding:14px 18px;border-radius:var(--r)}
ul.woocommerce-order-overview{list-style:none;padding:0;margin:16px 0;display:flex;flex-wrap:wrap;gap:10px}
ul.woocommerce-order-overview li{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:10px 14px;font-size:.78rem;color:var(--ink-500)}
ul.woocommerce-order-overview li strong{display:block;font-size:.95rem;color:var(--ink-900)}
.woocommerce-order-details,.woocommerce-customer-details{margin-top:20px}

/* ---- tables in My Account and order views ---------------------------- */
.woocommerce-MyAccount-content .shop_table,.woocommerce-table--order-details,.woocommerce-orders-table{
  width:100%;border-collapse:collapse;font-size:.87rem;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.woocommerce-MyAccount-content .shop_table th,.woocommerce-orders-table th{text-align:left;padding:12px 16px;background:var(--bg-tint);color:var(--ink-500);font-weight:600;font-size:.76rem;text-transform:uppercase;letter-spacing:.04em}
.woocommerce-MyAccount-content .shop_table td,.woocommerce-orders-table td,.woocommerce-table--order-details td,.woocommerce-table--order-details th{padding:13px 16px;border-bottom:1px solid var(--line-2);vertical-align:middle;text-align:left}
.woocommerce-orders-table .button{padding:7px 12px;font-size:.8rem;margin:2px;background:#fff;color:var(--ink-900);border-color:var(--ink-300)}
.woocommerce-orders-table .button:hover{border-color:var(--blue-700);color:var(--blue-700);background:#fff}
.woocommerce-orders-table .button.lc_reorder{background:var(--gold-500);color:var(--on-accent);border-color:transparent}
.woocommerce-MyAccount-content mark{background:none;font-weight:600;color:var(--ink-900)}
.woocommerce-Addresses{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.woocommerce-Address{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:20px}
.woocommerce-Address-title{display:flex;justify-content:space-between;align-items:center;gap:10px}
.woocommerce-Address-title h2{font-size:1rem;margin:0}
.woocommerce-Address address{font-style:normal;line-height:1.6;font-size:.9rem;color:var(--ink-700);margin-top:8px}
.woocommerce-EditAccountForm,.woocommerce-address-fields{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(18px,2.4vw,26px)}
.woocommerce-EditAccountForm fieldset{border:1px solid var(--line);border-radius:var(--r);padding:16px;margin:16px 0}
.woocommerce-EditAccountForm legend{font-weight:600;padding:0 6px}
.lc-ordermeta{display:flex;flex-wrap:wrap;gap:10px 28px;margin:14px 0}
.lc-ordermeta dt{font-size:.76rem;color:var(--ink-500)}
.lc-ordermeta dd{margin:0;font-weight:600}
.woocommerce-pagination{margin-top:16px}
.woocommerce-MyAccount-content>p:first-child{margin-top:0}

/* ---- shop: ordering and pagination ----------------------------------- */
.woocommerce-ordering{display:flex;align-items:center;gap:10px;margin:0}
.woocommerce-ordering::before{content:"Sort by";font-size:.82rem;color:var(--ink-500)}
.woocommerce-ordering select{width:auto;min-width:190px;padding:9px 34px 9px 12px;font-size:.85rem}
.pager .page-numbers{min-width:40px;height:40px;padding:0 13px;border:1px solid var(--line);background:#fff;border-radius:var(--r-sm);display:inline-flex;align-items:center;justify-content:center;font-weight:500;font-size:.86rem;color:var(--ink-700);text-decoration:none}
.pager a.page-numbers:hover{border-color:var(--blue-700);color:var(--blue-700)}
.pager .page-numbers.is-on{background:var(--blue-800);border-color:var(--blue-800);color:#fff}
.pager .page-numbers.dots{border:0;background:none;min-width:0;padding:0 4px;color:var(--ink-400)}
a.fopt{text-decoration:none;color:inherit}
.pill a{display:inline-flex;margin-left:6px;color:inherit}

/* ---- registration ------------------------------------------------------ */
.auth .segpick{margin-bottom:18px}
.auth .woocommerce-privacy-policy-text p{font-size:.8rem}
.auth .woocommerce-form-register .woocommerce-privacy-policy-text{margin-bottom:12px}
.auth-main .webshop-notice{max-width:520px;margin:16px auto 0}

/* ---- product page ----------------------------------------------------- */
.pdp__main.is-zoom img{transform:scale(1.9);cursor:zoom-in}
.pdp__main img{transition:transform .2s var(--ease)}
.lc-quoteform{display:flex;flex-direction:column;gap:10px}
.lc-quoteform .qty input{width:90px;border:0}

/* ---- account: spending chart, invoices, quotes, submissions --------- */
.lc-welcome h2{font-size:1.2rem;margin:0 0 14px}
.lc-bars{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;align-items:end;height:220px;margin-top:16px;padding-top:20px}
.lc-bars__col{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;gap:6px;min-width:0}
.lc-bars__bar{display:block;width:100%;max-width:44px;min-height:2px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,var(--blue-500,#333399),var(--blue-700))}
.lc-bars__v{font-size:.66rem;color:var(--ink-500);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.lc-bars__m{font-size:.72rem;color:var(--ink-600);font-weight:500}
@media (max-width:640px){.lc-bars__v{display:none}}
.lc-invoice__head{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-bottom:18px}
.lc-invoice__head h2{margin:0 0 6px}
.lc-invoice__seller{text-align:right;font-size:.86rem;line-height:1.6}
.lc-invoice__to{font-size:.88rem;line-height:1.6;margin-bottom:18px}
.lc-invoice__totals{max-width:420px;margin:18px 0 0 auto}
.lc-invoice__totals dd{text-align:right}
.lc-pre{background:var(--bg-tint);border-radius:var(--r-sm);padding:14px;font-size:.78rem;overflow:auto;line-height:1.5}
.lc-form .grid2 .field{margin-bottom:12px}
.lc-form .auth__sectitle{margin-top:var(--s6)}
/* Credit application: terms, suretyship and signature pad */
.lc-terms{max-height:220px;overflow:auto;padding:14px 16px;margin:0 0 14px;background:var(--bg-tint);border:1px solid var(--line);border-radius:var(--r);
  font-size:.82rem;line-height:1.6;color:var(--ink-700)}
.lc-terms:focus-visible{outline:2px solid var(--blue-600);outline-offset:2px}
.lc-terms b{color:var(--ink-900);font-weight:600}
.sig__pad{position:relative;border:1.5px dashed var(--ink-300);border-radius:var(--r);background:#fff;touch-action:none}
.sig.has-ink .sig__pad{border-style:solid;border-color:var(--blue-600)}
.sig.has-err:not(.has-ink) .sig__pad{border-color:var(--err-600)}
.sig__pad canvas{display:block;width:100%;height:180px;cursor:crosshair;touch-action:none}
.sig__line{position:absolute;left:24px;right:24px;bottom:40px;border-bottom:1px solid var(--line);pointer-events:none}
.sig__clear{position:absolute;top:8px;right:8px}
.sig [data-sig-err]:not(:empty){display:block;color:var(--err-600);font-size:.78rem;margin-top:4px}
.lc-paper{margin:4px 0 18px;padding:12px 16px;border:1px solid var(--line);border-radius:var(--r);background:#fff}
.lc-paper summary{cursor:pointer;font-weight:600;font-size:.86rem;color:var(--blue-700)}
.lc-paper .input{margin-top:8px;padding:9px}
/* Registration: delivery address found by address search */
.lc-addr__find gmp-place-autocomplete{width:100%}
.lc-addr__prov{margin:-4px 0 14px;font-size:.84rem;color:var(--ink-700)}
.lc-addr__prov span{color:var(--ink-400)}
.summary__alt{margin:10px 0 0;font-size:.82rem;text-align:center;color:var(--ink-500)}
.citem__save{font-size:.72rem;color:var(--ink-500);font-variant-numeric:tabular-nums;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 5px}
.citem__save s{color:var(--ink-400)}
@media (max-width:760px){.citem__save{justify-content:flex-start;flex-basis:100%}}
.citem__save b{color:var(--sale);font-weight:600}
.lc-saving th,.lc-saving td{color:var(--ok-600)}
@media print{
  .topbar,.header,.footer,.accnav,.acchead .btn,.lc-noprint,.backtop,.toast-wrap,.crumbs{display:none!important}
  .acclay{display:block}
  .lc-invoice{border:0;box-shadow:none;padding:0}
}

/* WooCommerce notices: the icon is drawn in CSS because notices returned by
   WooCommerce's AJAX handlers are filtered and would lose an inline SVG. */
.webshop-notice::before{content:"";flex:none;width:18px;height:18px;margin-top:2px;background:currentColor;
  -webkit-mask:var(--ws-ico) center/contain no-repeat;mask:var(--ws-ico) center/contain no-repeat}
.webshop-notice.notice--err{--ws-ico:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 3 2 20h20L12 3z"/><path d="M12 10v4M12 17h.01"/></svg>')}
.webshop-notice.notice--ok{--ws-ico:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="m8 12 3 3 5-6"/></svg>')}
.webshop-notice.notice--info{--ws-ico:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M12 16v-5M12 8h.01"/></svg>')}
.webshop-notice>svg{display:none}
.webshop-notice a.button,.webshop-notice .wc-forward{margin-left:8px;padding:6px 12px;font-size:.8rem}

/* Order tables stack on phones (WooCommerce marks cells with data-title). */
@media (max-width:640px){
  .shop_table_responsive thead{display:none}
  .shop_table_responsive,.shop_table_responsive tbody,.shop_table_responsive tr,.shop_table_responsive td{display:block;width:100%}
  .shop_table_responsive tr{border-bottom:1px solid var(--line);padding:8px 0}
  .shop_table_responsive td{display:flex;justify-content:space-between;gap:12px;border:0!important;padding:6px 16px!important;text-align:right!important}
  .shop_table_responsive td[data-title]::before{content:attr(data-title);font-weight:600;color:var(--ink-500);text-align:left}
  .shop_table_responsive td.woocommerce-orders-table__cell-order-actions{justify-content:flex-end;flex-wrap:wrap}
  .tablewrap .dtable{min-width:560px}
}

/* Logo on dark backgrounds (footer, menu drawer, sign-in pop-up banner): the
   supplied artwork sits on a white ground and has no reversed version, so it
   is shown on a white plate with the design's corner radius. Width is set
   per placement in webshop.css; the plate keeps the artwork's proportions. */
.logo--on-dark{background:#fff;border-radius:var(--r-sm,8px);padding:4px 8px;box-sizing:border-box}
.logo--footer.logo--on-dark{width:210px}
