/* ==========================================================================
   NEVERLANDIA — WooCommerce overrides
   The design system already styles .pcard, .btn, .field and .crumb. This file
   only covers the markup WooCommerce generates itself: notices, the cart
   table, checkout fields, and the account screens.
   ========================================================================== */

/* Notices ---------------------------------------------------------------- */
.woocommerce-notices-wrapper{position:relative;z-index:5}
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  list-style:none;margin:0 0 1px;padding:18px clamp(20px,4.2vw,64px);
  background:var(--paper-warm);border-bottom:1px solid var(--line);
  font-size:12.5px;letter-spacing:.06em;
  display:flex;align-items:center;gap:16px;flex-wrap:wrap;
}
.woocommerce-error{background:#f6e4dd;color:#7d3020}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{
  margin-left:auto;font-family:var(--display);font-size:9.5px;font-weight:700;
  letter-spacing:.26em;text-transform:uppercase;padding:10px 16px;
  border:1px solid var(--line);color:var(--ink);
}

/* Buttons WooCommerce adds on its own ------------------------------------ */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,.wc-block-components-button{
  font-family:var(--display);font-size:10px;font-weight:700;letter-spacing:.26em;
  text-transform:uppercase;padding:16px 26px;border:1px solid var(--ink);
  background:var(--ink);color:var(--paper);border-radius:0;
  transition:background .35s var(--ease),color .35s var(--ease);
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{
  background:transparent;color:var(--ink);
}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{
  background:var(--ink);color:var(--paper);border-color:var(--ink);
}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--amber);border-color:var(--amber);color:var(--paper)}

/* Shared shell for cart / checkout / account ----------------------------- */
.nl-woo-page{position:relative}
.nl-woo-page .wrap{padding-block:clamp(28px,4vw,56px) clamp(60px,8vw,110px)}

/* Cart table ------------------------------------------------------------- */
.woocommerce table.shop_table{
  border:0;border-collapse:collapse;border-radius:0;width:100%;
  font-size:13px;
}
.woocommerce table.shop_table th{
  font-family:var(--display);font-size:9.5px;font-weight:700;letter-spacing:.26em;
  text-transform:uppercase;color:var(--ink-40);text-align:left;
  padding:0 0 14px;border-bottom:1px solid var(--line);background:none;
}
.woocommerce table.shop_table td{
  padding:22px 0;border-bottom:1px solid var(--line-soft);vertical-align:middle;background:none;
}
.woocommerce table.shop_table td.product-thumbnail{width:80px;padding-right:18px}
.woocommerce table.shop_table td.product-thumbnail img{
  width:66px;height:auto;display:block;background:var(--paper-warm);
}
.woocommerce table.shop_table td.product-name a{
  font-family:var(--display);font-weight:700;font-size:12.5px;letter-spacing:.06em;
  text-transform:uppercase;
}
.woocommerce table.shop_table td.product-name dl.variation{font-size:10.5px;color:var(--ink-40);margin-top:6px}
.woocommerce table.shop_table .product-remove a.remove{
  color:var(--ink-40);font-size:16px;line-height:1;text-decoration:none;
  border:0;width:auto;height:auto;
}
.woocommerce table.shop_table .product-remove a.remove:hover{color:var(--ink);background:none}

/* Quantity steppers ------------------------------------------------------ */
.woocommerce .quantity{
  display:inline-flex;align-items:center;border:1px solid var(--line);height:48px;
}
.woocommerce .quantity .qty{
  width:52px;height:46px;border:0;text-align:center;background:transparent;
  font-family:var(--display);font-weight:700;font-size:12px;letter-spacing:.1em;
}
.woocommerce .quantity input::-webkit-outer-spin-button,
.woocommerce .quantity input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Coupon + update row ---------------------------------------------------- */
.woocommerce .coupon{display:flex;gap:10px;align-items:stretch;flex-wrap:wrap}
.woocommerce .coupon .input-text{
  border:1px solid var(--line);background:transparent;height:48px;padding:0 16px;
  font-size:12px;min-width:200px;
}
.woocommerce .actions .button{height:48px;padding:0 22px}
.woocommerce .actions{padding-top:18px!important}

/* Cross-sells and totals ------------------------------------------------ */
.cart_totals h2,.woocommerce-checkout h3,.woocommerce-order h2,
.woocommerce-account h2{
  font-family:var(--display);font-weight:700;font-size:11px;letter-spacing:.26em;
  text-transform:uppercase;margin-bottom:18px;
}
.cart_totals table.shop_table td,.cart_totals table.shop_table th{padding:12px 0;border-bottom:1px solid var(--line-soft)}
.cart_totals table.shop_table tr.order-total td,.cart_totals table.shop_table tr.order-total th{
  font-family:var(--display);font-size:14px;font-weight:700;letter-spacing:.06em;
  border-bottom:0;padding-top:18px;
}
.woocommerce .cart-collaterals .cart_totals{float:none;width:100%;max-width:420px;margin-left:auto}
.woocommerce .wc-proceed-to-checkout a.checkout-button{
  display:block;text-align:center;margin-top:20px;
}

/* Checkout --------------------------------------------------------------- */
.woocommerce form .form-row{padding:0;margin:0 0 14px}
.woocommerce form .form-row label{
  font-family:var(--display);font-size:9px;font-weight:700;letter-spacing:.26em;
  text-transform:uppercase;color:var(--ink-40);display:block;margin-bottom:8px;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single{
  height:52px;border:1px solid var(--line);background:transparent;border-radius:0;
  padding:0 16px;font-size:13px;color:var(--ink);width:100%;
  display:flex;align-items:center;
}
.woocommerce form .form-row textarea{height:110px;padding:14px 16px}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus{border-color:var(--ink);outline:0}
.woocommerce form .form-row.woocommerce-invalid input.input-text{border-color:#a2422c}
.woocommerce form .form-row .required{color:var(--amber);text-decoration:none}
#order_review_heading,#order_review{margin-top:34px}
.woocommerce-checkout #payment{background:transparent;border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{
  border:0;padding:0;margin-bottom:22px;
}
.woocommerce-checkout #payment ul.payment_methods li{
  border:1px solid var(--line);padding:16px 18px;margin-bottom:10px;
  font-size:12.5px;
}
.woocommerce-checkout #payment div.payment_box{
  background:var(--paper-warm);border-radius:0;font-size:12px;margin-top:12px;
}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row.place-order{padding:0}
.woocommerce-checkout #place_order{width:100%;height:56px}

/* My account ------------------------------------------------------------- */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:200px 1fr;gap:clamp(24px,4vw,60px);align-items:start}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{
  border-bottom:1px solid var(--line-soft);
}
.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:block;padding:12px 0;font-family:var(--display);font-size:10px;
  font-weight:700;letter-spacing:.2em;text-transform:uppercase;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{color:var(--amber)}
.woocommerce-account .woocommerce-MyAccount-content{font-size:13px}
.woocommerce-account form.login,.woocommerce-account form.register{
  border:1px solid var(--line);padding:clamp(22px,3vw,34px);border-radius:0;max-width:460px;
}
.woocommerce-account .woocommerce-form-login__rememberme{font-size:12px}
#customer_login{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,34px)}
@media (max-width:820px){#customer_login{grid-template-columns:1fr}}

/* Order received --------------------------------------------------------- */
.woocommerce-order ul.woocommerce-order-overview{
  display:flex;flex-wrap:wrap;gap:0;margin:0 0 40px;padding:0;list-style:none;
  border:1px solid var(--line);
}
.woocommerce-order ul.woocommerce-order-overview li{
  flex:1 1 160px;padding:18px 20px;border-right:1px solid var(--line-soft);
  font-family:var(--display);font-size:10px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-40);
}
.woocommerce-order ul.woocommerce-order-overview li:last-child{border-right:0}
.woocommerce-order ul.woocommerce-order-overview li strong{
  display:block;margin-top:8px;color:var(--ink);font-size:12px;letter-spacing:.06em;
}

/* Account / cart icons in the header are SVG already; hide WC's defaults --- */
.woocommerce-Price-currencySymbol{font-feature-settings:"tnum"}

/* Product page shell -----------------------------------------------------
   The single-product template renders the prototype's .pdp markup, so only the
   WooCommerce-generated flexible parts (variations, tabs, related) need rules. */
.pdp__woo-notice{max-width:520px}
.woocommerce-variation-price{font-family:var(--display);font-weight:700;font-size:13px;letter-spacing:.06em}
.woocommerce-product-gallery{float:none!important;width:100%!important}

/* Star ratings are not part of the design --------------------------------- */
.woocommerce-product-rating,.star-rating{display:none!important}

/* Screen-reader helper WooCommerce expects -------------------------------- */
.woocommerce .screen-reader-text{
  position:absolute!important;width:1px;height:1px;overflow:hidden;
  clip:rect(1px,1px,1px,1px);white-space:nowrap;
}
