/* Northside Print theme: product page, cart, checkout and My account. */

/* ===== Product page: the pricing plugin's panel in the mockup's style ===== */
.np-product .hero-shot img{object-fit:contain;background:var(--tile)}
.np-product .calc .lead p{margin:0}
.np-product .calc form.cart{display:flex;flex-direction:column;gap:16px;margin:0}
.np-product .np-configurator{max-width:none;margin:0}
.np-product .np-fields{display:flex;flex-direction:column;gap:16px}
.np-product .np-field{margin:0;display:flex;flex-direction:column;gap:8px}
.np-product .np-field label{font-size:14px;font-weight:700;margin:0;color:var(--ink)}
.np-product .np-configurator select{width:100%}
.np-product .np-errors:not(:empty){margin:12px 0 0;padding:10px 14px;border-radius:12px;background:#FDECEC;color:#A1262B;font-size:14px}
.np-product .np-total{margin-top:20px;background:var(--paper);border-radius:18px 18px 0 0;padding:22px 22px 18px;box-shadow:inset 0 0 0 1.5px var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'label label' 'inc ex';align-items:end;gap:6px 16px;font-size:inherit}
.np-product .np-total:empty{display:none}
.np-product .np-total-label{grid-area:label;font-size:14px;color:var(--muted)}
.np-product .np-total-inc{grid-area:inc;font-family:'Inter Tight',sans-serif;font-size:40px;font-weight:700;line-height:1;color:var(--ink)}
.np-product .np-total-ex{grid-area:ex;display:block;font-size:14px;color:var(--muted);opacity:1;text-align:right}
.np-product .np-total + * {margin-top:0}
.np-product form.cart .single_add_to_cart_button,.np-product .cart .single_add_to_cart_button{display:flex;align-items:center;justify-content:center;width:100%;height:60px;border-radius:0 0 18px 18px;margin:-16px 0 0;background:var(--red)!important;color:#FFFFFF!important;border:0;font:inherit;font-weight:700;font-size:17px;cursor:pointer;float:none}
.np-product form.cart:not(:has(.np-total)) .single_add_to_cart_button{border-radius:30px;margin-top:0}
.np-product .single_add_to_cart_button:hover{filter:brightness(.95)}
.np-product .np-plain-price{font-size:28px;font-weight:700}
.np-product .np-quote{max-width:none;margin:0;border-radius:18px;padding:18px 22px;box-shadow:inset 0 0 0 1.5px var(--line)}
.np-product .np-quote-toggle{text-decoration:none;font-size:17px;font-weight:700;color:var(--ink);width:100%;text-align:left}
.np-product .np-quote-toggle::before{content:"+";width:1.2em;color:var(--red)}
.np-product .np-quote-toggle[aria-expanded="true"]::before{content:"–"}
.np-product .np-quote-intro,.np-product .np-quote-note{font-size:14px;color:var(--muted);opacity:1}
.np-product .np-quote-field label{font-size:14px;font-weight:700}
.np-product .np-quote-email{height:52px;border-radius:12px;border:1.5px solid var(--line);padding:0 16px;font:inherit;font-size:15px;width:100%}
.np-product .np-quote-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.np-product .np-quote-actions .button{height:52px;border-radius:26px;font:inherit;font-weight:700;font-size:15px;cursor:pointer;margin:0!important;border:0}
.np-product .np-quote-send{background:var(--ink);color:#FFFFFF}
.np-product .np-quote-pdf{background:#FFFFFF;color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--ink)}
.np-product .tabpanel .np-templates h2{display:none}
.np-product .tabpanel table{width:100%;border-collapse:collapse;font-size:15px}
.np-product .tabpanel th,.np-product .tabpanel td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}
.np-product .tabpanel a{color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.np-product .quantity{display:none}
@media (max-width:640px){.np-product .np-total-inc{font-size:34px}.np-product .np-quote-actions{grid-template-columns:minmax(0,1fr)}}

/* ===== Cart, artwork step, checkout, order received, My account =====
   The layouts come from the theme's woocommerce/ templates using the mockup's classes
   (site.css). This part styles what WooCommerce and the pricing plugin still print
   themselves: notices, form fields, payment options and the artwork upload form. */

.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden;word-wrap:normal!important}
.np-store .woocommerce{display:block}
.np-store .woocommerce-notices-wrapper:empty{display:none}
.np-store .woocommerce-notices-wrapper{margin-bottom:20px}

/* notices: the mockup's note */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;list-style:none;margin:0 0 16px;padding:14px 16px;border-radius:12px;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--line);font-size:14.5px;line-height:1.5;color:var(--ink)}
.woocommerce-error{background:#FDECEC;box-shadow:inset 0 0 0 1.5px #F2B8B5;color:#8C1D18;flex-direction:column;align-items:flex-start}
.woocommerce-error li{margin:0}
.woocommerce-message{background:#E9F7EE;box-shadow:inset 0 0 0 1.5px #A7DDB9}
.woocommerce-message .button,.woocommerce-info .button,.woocommerce-message a.button{order:2;margin-left:auto;display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:20px;background:var(--ink);color:#FFFFFF;font-weight:700;font-size:14px;text-decoration:none}
.woocommerce-info a:not(.button),.woocommerce-message a:not(.button),.woocommerce-error a{font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* WooCommerce form fields in the mockup's style */
.np-fieldgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.np-fieldgrid>*{grid-column:1/-1}
.np-fieldgrid .form-row-first,.np-fieldgrid .form-row-last{grid-column:span 2}
.np-fieldgrid [id$="_city_field"]{grid-column:span 2}
.np-fieldgrid [id$="_state_field"],.np-fieldgrid [id$="_postcode_field"]{grid-column:span 1}
#customer_details .np-fieldgrid #billing_email_field,#customer_details .np-fieldgrid #billing_phone_field{grid-column:span 2}
.np-store .form-row{margin:0;padding:0;display:flex;flex-direction:column;gap:8px;min-width:0;float:none;width:auto}
.np-store .form-row label{font-size:14px;font-weight:700;line-height:1.3}
.np-store .form-row label .optional{font-weight:500;color:var(--muted)}
.np-store .required{color:var(--red);border:0;text-decoration:none}
.np-store .form-row .woocommerce-input-wrapper{display:block}
.np-store .form-row .input-text,.np-store .form-row select,.np-store .form-row textarea,
.np-wc-form .f input,.np-store .coupon input,.np-artwork-page .np-artwork-field input[type=text]{height:52px;width:100%;border-radius:12px;border:1.5px solid var(--line);padding:0 16px;font:inherit;font-size:15px;background:#FFFFFF;color:var(--ink);box-shadow:none}
.np-store .form-row textarea{height:auto;min-height:104px;padding:14px 16px;resize:vertical}
.np-store .form-row .input-text:focus,.np-store .form-row textarea:focus,.np-wc-form .f input:focus,.np-store .coupon input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(29,29,31,.08)}
.np-store .form-row.woocommerce-invalid .input-text,.np-store .form-row.woocommerce-invalid select{border-color:var(--red)}
.np-store .form-row .description,.woocommerce-password-hint{font-size:13px;color:var(--muted)}
.woocommerce-password-strength{font-size:13px;font-weight:600;margin-top:6px}
.np-store .select2-container{width:100%!important}
.np-store .select2-container .select2-selection--single{height:52px;border-radius:12px;border:1.5px solid var(--line);background:#FFFFFF}
.np-store .select2-container .select2-selection--single .select2-selection__rendered{line-height:49px;padding-left:16px;color:var(--ink);font-size:15px}
.np-store .select2-container .select2-selection--single .select2-selection__arrow{height:50px;right:10px}
.select2-dropdown{border:1.5px solid var(--ink)!important;border-radius:12px!important;overflow:hidden}
.select2-results__option--highlighted{background:var(--ink)!important}
.np-store .check,.np-store label.checkbox{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;font-weight:500;line-height:1.45;cursor:pointer}
.np-store .check input,.np-store label.checkbox input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--ink);flex-shrink:0}
.perks svg{color:#0B8A3E}

/* cart */
.np-store .item-actions .remove{font-weight:600;font-size:14px;color:var(--ink);text-decoration:none}
.np-store .item-actions .remove:hover{color:var(--red)}
.np-store .item h3 a{color:var(--ink)}
.np-store .item-price .woocommerce-Price-amount{font-weight:700}
.np-store .cart_totals .coupon{display:flex;gap:10px}
.np-store .sum-row .woocommerce-remove-coupon{font-size:13px;margin-left:6px}

/* checkout */
.np-store .np-ship-choices .choice em .woocommerce-Price-amount{font-weight:700}
.np-store ul.wc_payment_methods{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.np-store ul.wc_payment_methods>li{margin:0;display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 14px;padding:16px 18px;border-radius:14px;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--line)}
.np-store ul.wc_payment_methods>li:has(>input:checked){background:#FFFFFF;box-shadow:inset 0 0 0 2px var(--ink)}
.np-store ul.wc_payment_methods>li>input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--ink);flex-shrink:0}
.np-store ul.wc_payment_methods>li>label{flex:1;min-width:0;font-size:15.5px;font-weight:700;cursor:pointer;line-height:1.4}
.np-store ul.wc_payment_methods>li>label img{max-height:24px;width:auto;display:inline-block;margin:0 0 0 6px;vertical-align:middle}
.np-store ul.wc_payment_methods>li>.payment_box{flex-basis:100%}
.np-store .payment_box{padding:16px 4px 4px;font-size:14.5px;color:var(--ink)}
.np-store .payment_box fieldset{border:0;margin:0;padding:0}
.np-store .woocommerce-terms-and-conditions-wrapper{display:flex;flex-direction:column;gap:12px}
.np-store .woocommerce-terms-and-conditions{max-height:220px;overflow:auto;padding:14px 16px;border-radius:12px;background:#FFFFFF;box-shadow:inset 0 0 0 1.5px var(--line);font-size:14px}
.np-store #place_order{height:60px;font-size:17px;border:0;cursor:pointer}
.np-store .blockUI.blockOverlay{border-radius:18px}
.np-store .woocommerce-checkout-review-order-table .sum-row .woocommerce-Price-amount{font-weight:600}
.np-store .woocommerce-checkout-review-order-table .sum-total .woocommerce-Price-amount{font-weight:700}

/* order received + order view */
.np-store .done-hero .tick svg{stroke-width:2.6}
.np-store .facts .woocommerce-Price-amount{font-weight:700}
.np-order-two{margin-top:0}
.np-store .np-items .item:first-child{border-top:0;padding-top:0}
.np-store .np-items .wc-item-meta{list-style:none;margin:8px 0 0;padding:0;font-size:14px}
.np-store .np-items a{font-weight:600}
.np-notes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}
.np-notes li{padding-bottom:14px;border-bottom:1px solid var(--line)}
.np-notes li:last-child{border-bottom:0;padding-bottom:0}
.np-notes p{margin:4px 0 0}

/* My account */
.np-store .acct-nav a{color:var(--ink);text-decoration:none}
.np-store .orders a{color:var(--ink)}
.np-store .orders td.num a{font-weight:700}
.np-store .auth form,.np-store .auth .box{margin:0}

/* the artwork step: the pricing plugin's form in the mockup's boxes */
.np-artwork-page .np-artwork{display:flex;flex-direction:column;gap:24px}
.np-artwork-page .np-artwork-form{display:flex;flex-direction:column;gap:24px}
.np-artwork-page .np-artwork-line{background:#FFFFFF;border-radius:18px;padding:24px;box-shadow:inset 0 0 0 1.5px var(--line);border-top:0;margin:0;gap:24px}
.np-artwork-page .np-artwork-line--todo{box-shadow:inset 0 0 0 2px var(--ink)}
.np-artwork-page .np-artwork-product{font-size:19px;font-weight:700;margin:0 0 10px}
.np-artwork-page .np-artwork-summary{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px;margin:0 0 16px;font-size:14px;opacity:1}
.np-artwork-page .np-artwork-summary li{display:contents}
.np-artwork-page .np-artwork-summary span{color:var(--muted);font-weight:500}
.np-artwork-page .np-artwork-types{color:var(--muted);font-size:13.5px;margin:0 0 4px}
.np-artwork-page .np-artwork-hint{font-size:13.5px;color:var(--muted);margin:0 0 16px}
.np-artwork-page .np-artwork-serverlimit{padding:12px 14px;border-radius:12px;background:#FDECEC;color:#8C1D18}
.np-artwork-page .np-artwork-field{margin:0 0 16px}
.np-artwork-page .np-artwork-field label{font-size:14px;font-weight:700;margin-bottom:8px}
.np-artwork-page .np-artwork-field input[type=text]{max-width:none}
.np-artwork-page .np-artwork-field input[aria-invalid="true"]{border-color:var(--red)}
.np-artwork-page .np-artwork-upload{border:0;padding:0;margin:0 0 12px}
.np-artwork-page .np-artwork-uploadlabel{font-size:14px;font-weight:700;margin-bottom:8px}
.np-artwork-page .np-artwork-inputs input[type=file]{font-size:14px;margin-bottom:8px}
.np-artwork-page .np-artwork-drop{margin:8px 0 10px;padding:30px 20px;border-radius:16px;border:2px dashed #CFCAC2;background:var(--paper);color:var(--muted);font-weight:600}
.np-artwork-page .np-artwork-drop.is-over{border-color:var(--ink);background:#FFFFFF;color:var(--ink)}
.np-artwork-page .np-artwork-more{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:20px;border:0;background:transparent;box-shadow:inset 0 0 0 1.5px var(--line);font:inherit;font-weight:700;font-size:14px;color:var(--ink);cursor:pointer}
.np-artwork-page .np-artwork-more:hover{box-shadow:inset 0 0 0 1.5px var(--ink)}
.np-artwork-page .np-artwork-files li{padding:10px 14px;margin-bottom:8px;border-radius:10px;background:#FFFFFF;box-shadow:inset 0 0 0 1.5px var(--line);font-size:14px}
.np-artwork-page .np-artwork-files .np-artwork-bytes{margin-left:auto;color:var(--muted)}
.np-artwork-page .np-artwork-remove{color:var(--ink);font-weight:600;font-size:13.5px}
.np-artwork-page .np-artwork-later label{display:flex;gap:12px;align-items:flex-start;font-size:14.5px;line-height:1.45;cursor:pointer}
.np-artwork-page .np-artwork-later input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--ink);flex-shrink:0}
.np-artwork-page .np-artwork-templates{padding:16px;border-radius:14px;background:var(--paper);box-shadow:inset 0 0 0 1.5px var(--line);align-self:flex-start}
.np-artwork-page .np-artwork-templates h3{font-size:15px;font-weight:700;border:0;padding:0;margin:0 0 10px}
.np-artwork-page .np-artwork-templates li{font-size:14px}
.np-artwork-page .np-artwork-templates a{color:var(--ink);font-weight:600}
.np-artwork-page .np-artwork-actions{display:flex;flex-direction:column;gap:14px;align-items:stretch;border:0;padding:0;margin:0}
.np-artwork-page .np-artwork-continue{display:flex;align-items:center;justify-content:center;height:60px;border:0;border-radius:30px;background:var(--red);color:#FFFFFF;font:inherit;font-weight:700;font-size:17px;cursor:pointer}
.np-artwork-page .np-artwork-continue:hover{filter:brightness(.95)}
.np-artwork-page .np-artwork-back{margin:0;text-align:center;font-weight:600;text-decoration:underline;text-underline-offset:3px;color:var(--ink)}

@media (max-width:760px){
  .np-fieldgrid{grid-template-columns:minmax(0,1fr)}
  .np-fieldgrid>*,.np-fieldgrid .form-row-first,.np-fieldgrid .form-row-last,.np-fieldgrid [id$="_city_field"],.np-fieldgrid [id$="_state_field"],.np-fieldgrid [id$="_postcode_field"],#customer_details .np-fieldgrid #billing_email_field,#customer_details .np-fieldgrid #billing_phone_field{grid-column:1/-1}
  .np-artwork-page .np-artwork-line{padding:20px}
}
/* Job Name: black border once it has text (client, 29 Sep, point 16). */
.np-artwork-page .np-artwork-field input[type=text].is-filled{border-color:var(--ink)}

/* Mobile readability (client, 29 Sep closing note): labels, notes and hints a touch larger on phones. */
@media (max-width:640px){
  .np-product .np-field label,.np-product .np-quote-intro,.np-product .np-quote-note,.np-product .np-quote-field label,.np-product .np-total-label,
  .np-store .form-row label,.np-store .woocommerce-terms-and-conditions,.np-store .np-items .wc-item-meta,
  .np-artwork-page .np-artwork-summary,.np-artwork-page .np-artwork-field label,.np-artwork-page .np-artwork-files li,.np-artwork-page .np-artwork-templates li{font-size:16px}
  .np-store .form-row .description,.woocommerce-password-hint,.np-artwork-page .np-artwork-types,.np-artwork-page .np-artwork-hint{font-size:15px}
  .woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice,.np-store .payment_box{font-size:16px}
}
