/* WooCommerce pages, matched to DESIGN.md. WooCommerce's own general styles are switched off in functions.php. */

/* ---- buttons, same look as the footer Subscribe button ---- */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.wc-block-components-button:not(.is-link){display:inline-block;background:var(--ink);color:#fff;border:1px solid var(--ink);border-radius:0;padding:14px 22px;font:700 12px/1.2 var(--type);letter-spacing:.12em;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:background .2s,color .2s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.wc-block-components-button:not(.is-link):hover{background:#fff;color:var(--ink)}
.woocommerce button.button:disabled,.woocommerce button.button.disabled{opacity:.45;cursor:not-allowed}

/* ---- notices ---- */
.woocommerce-message,.woocommerce-info,.woocommerce-error{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding:16px 20px;margin-bottom:24px;background:#f6f4ef;border-left:3px solid var(--ink);font-size:15px}
.woocommerce-error{border-left-color:#a33}
.lzs-demo{padding:14px 18px;background:#f6f4ef;border-left:3px solid var(--ink);font-size:15px}

/* ---- breadcrumb and page title ---- */
.woocommerce-breadcrumb{margin-bottom:24px;color:var(--muted);font-size:14px}
.woocommerce-breadcrumb a:hover{text-decoration:underline}
.woocommerce-products-header__title{margin-bottom:20px}
.term-description{margin-bottom:24px;color:var(--muted)}

.lzs-lead{margin:-8px 0 32px;color:var(--muted)}

/* ---- shop toolbar ---- */
.lzs-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.lzs-pills a{padding:7px 14px;border:1px solid var(--line);border-radius:999px;font-size:14px;line-height:1.4}
.lzs-pills a:hover{border-color:var(--ink)}
.lzs-pills a[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:#fff}
.woocommerce-result-count{float:left;margin:6px 0 24px;color:var(--muted);font-size:14px}
.woocommerce-ordering{float:right;margin-bottom:24px}
.woocommerce-ordering select{border:0;border-bottom:1px solid var(--line);background:transparent;padding:4px 0;font-size:14px}

/* ---- product grid, same tile as the home page ---- */
ul.products{clear:both;display:grid;grid-template-columns:repeat(4,1fr);gap:48px 32px}
ul.products::before,ul.products::after{display:none}
li.product{position:relative;min-width:0}
li.product a.woocommerce-loop-product__link{display:block}
li.product img{display:block;width:100%;aspect-ratio:1;object-fit:cover}
li.product .woocommerce-loop-product__title{margin-top:14px;font:400 16px/1.4 var(--body)}
li.product .price{display:block;margin-top:4px;color:var(--muted);font-size:15px}
li.product .price del{opacity:.6;margin-right:6px}
li.product .price ins{text-decoration:none}
li.product a.button{margin-top:12px;padding:0 0 2px;background:none;border:0;border-bottom:1px solid var(--ink);color:var(--ink);font:400 14px/1.4 var(--body);letter-spacing:0;text-transform:none}
li.product a.button:hover{background:none;color:var(--muted);border-bottom-color:var(--muted)}
li.product a.added_to_cart{display:block;margin-top:6px;font-size:14px;color:var(--muted);text-decoration:underline}
li.product a.button.loading{opacity:.5}
.onsale{position:absolute;top:10px;left:10px;z-index:2;padding:3px 10px;background:var(--ink);color:#fff;font:700 11px/1.5 var(--type);letter-spacing:.08em;text-transform:uppercase}

/* ---- pagination ---- */
.woocommerce-pagination{margin-top:56px}
.woocommerce-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.woocommerce-pagination a,.woocommerce-pagination span{display:grid;place-items:center;min-width:44px;height:44px;padding:0 8px;border:1px solid var(--line);font-size:15px}
.woocommerce-pagination a:hover{border-color:var(--ink)}
.woocommerce-pagination .current{background:var(--ink);border-color:var(--ink);color:#fff}

/* ---- single product ---- */
.single-product div.product{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px clamp(32px,5vw,72px);align-items:start}
.single-product .woocommerce-product-gallery{min-width:0;width:100%!important}
.woocommerce-product-gallery__image img,.woocommerce-product-gallery img{display:block;width:100%;height:auto}
.flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.flex-control-thumbs img{cursor:pointer;opacity:.6}
.flex-control-thumbs img.flex-active,.flex-control-thumbs img:hover{opacity:1}
.woocommerce-product-gallery__trigger{position:absolute;top:12px;right:12px;z-index:2;font-size:0}
.single-product .summary{min-width:0}
.single-product .product_title{font-size:clamp(28px,3.4vw,38px);line-height:1.2;margin-bottom:12px}
.single-product .summary .price{margin-bottom:20px;font-size:22px}
.woocommerce-product-details__short-description{margin-bottom:24px;color:var(--muted)}
.single-product .stock{margin-bottom:16px;color:var(--muted);font-size:14px}
.single-product .out-of-stock{color:#a33}
form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;margin-bottom:28px}
.quantity input.qty{width:72px;height:100%;min-height:44px;padding:8px;border:1px solid var(--line);background:#fff;font:inherit;text-align:center}
.product_meta{padding-top:20px;border-top:1px solid var(--line);color:var(--muted);font-size:14px}
.product_meta>span{display:block;margin-bottom:4px}
.product_meta a{text-decoration:underline}
.woocommerce-tabs{grid-column:1/-1;min-width:0}
.woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:28px;margin-bottom:24px;border-bottom:1px solid var(--line)}
.woocommerce-tabs ul.tabs a{display:block;padding:10px 0;font-size:15px}
.woocommerce-tabs ul.tabs li.active a{border-bottom:2px solid var(--ink);margin-bottom:-1px}
.woocommerce-tabs .panel{max-width:720px}
.woocommerce-tabs .panel h2{display:none}
.woocommerce-tabs .panel p+p{margin-top:1em}
.related,.upsells{grid-column:1/-1;min-width:0}
.related>h2,.upsells>h2{margin-bottom:32px}

/* ---- forms ---- */
.woocommerce form .form-row{margin-bottom:16px}
.woocommerce form .form-row label{display:block;margin-bottom:6px;font-size:14px}
.woocommerce .input-text,.woocommerce form select,.woocommerce form textarea{width:100%;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:0;background:#fff;font:inherit;font-size:15px}
.woocommerce .input-text:focus,.woocommerce form select:focus,.woocommerce form textarea:focus{outline:2px solid var(--ink);outline-offset:1px}
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox{display:flex;gap:8px;align-items:center}
.required{color:#a33;text-decoration:none}
.woocommerce-privacy-policy-text{margin-bottom:16px;color:var(--muted);font-size:14px}
.lost_password{margin-top:12px;font-size:14px}
.lost_password a{text-decoration:underline}

/* Reserve room for the password strength line, so the Register button does not jump mid-click */
form.register .form-row:has(#reg_password){position:relative;padding-bottom:30px}
form.register .woocommerce-password-strength{position:absolute;left:0;bottom:0;font-size:14px;line-height:1.5}
.select2-container .select2-selection--single{height:44px;border:1px solid var(--line);border-radius:0}
.select2-container .select2-selection--single .select2-selection__rendered{line-height:42px;padding-left:14px}
.select2-container .select2-selection--single .select2-selection__arrow{height:42px}
.woocommerce form fieldset{margin-top:24px;border:0}
.woocommerce form legend{margin-bottom:12px;font:400 20px/1.3 var(--logo)}

/* ---- my account ---- */
.u-columns.col2-set{display:grid;grid-template-columns:1fr 1fr;gap:48px clamp(32px,5vw,72px)}
.u-columns h2{font-size:24px;margin-bottom:20px}
.woocommerce-account.logged-in .entry>.woocommerce{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px 48px;align-items:start}
.woocommerce-MyAccount-navigation li a{display:block;padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}
.woocommerce-MyAccount-navigation li.is-active a{font-weight:500}
.woocommerce-MyAccount-navigation li a:hover{color:var(--muted)}
.woocommerce-MyAccount-content{min-width:0}
.woocommerce-MyAccount-content p+p{margin-top:1em}
.woocommerce-MyAccount-content a{text-decoration:underline}
.woocommerce-MyAccount-content a.button{text-decoration:none}
.woocommerce-Addresses{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:20px}
.woocommerce-Address-title h2,.woocommerce-Address-title h3{font-size:22px;margin-bottom:8px}

/* ---- tables (orders, order details, page tables) ---- */
.shop_table,.entry table{width:100%;border-collapse:collapse;font-size:15px}
.shop_table th,.shop_table td,.entry table th,.entry table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left}
.shop_table thead th,.entry table thead th{font:700 13px/1.4 var(--type)}
.woocommerce-order-details__title,.woocommerce-column__title{margin:32px 0 16px;font-size:24px}
.woocommerce-order-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:24px 0;padding:20px;background:#f6f4ef;font-size:14px}
.woocommerce-order-overview strong{display:block;font-size:15px}
.woocommerce-order address{font-style:normal}

/* ---- cart and checkout blocks: keep WooCommerce's layout, use our type and colours ---- */
.wc-block-cart,.wc-block-checkout,.wc-block-components-sidebar-layout{font-family:var(--body)}
.wc-block-cart a,.wc-block-checkout a{color:inherit}
.wc-block-components-title,.wc-block-cart__totals-title,.wc-block-components-checkout-step__title,.wp-block-woocommerce-cart-order-summary-heading-block{font-family:var(--logo)!important;font-weight:400!important;text-transform:none!important}
.wc-block-cart__totals-title{font-size:20px!important}
.wc-block-components-product-name{font-weight:500;text-decoration:none}
.wc-block-components-text-input input,.wc-block-components-combobox input,.wc-blocks-components-select__select,.wc-block-components-totals-coupon__input input{border-radius:0!important}
.wc-block-components-radio-control-accordion-option,.wc-block-components-radio-control__option{border-radius:0}
.wc-block-components-panel__button{font-size:15px}
.wc-block-components-text-input input{line-height:1.2!important}
.wc-block-components-address-form__country{margin-top:12px!important}
.wc-block-components-button:not(.is-link) .wc-block-components-button__text{color:inherit}
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title{font-family:var(--logo);font-weight:400}
.wc-block-grid__product-title{font-weight:400}
.wc-block-components-notice-banner{border-radius:0}
.wc-block-components-address-card{border-radius:0}

/* ---- simple text pages: Our story, FAQ, Shipping, Contact ---- */
body.page:not(.woocommerce-page) .page-wrap{max-width:784px}
.page-wrap .entry h2{margin-top:1.6em;font-size:22px}
body.page:not(.woocommerce-page) .entry ul{list-style:disc;padding-left:20px}
body.page:not(.woocommerce-page) .entry li+li{margin-top:6px}

/* ---- phones ---- */
@media(max-width:820px){
  ul.products{grid-template-columns:repeat(2,1fr);gap:36px 20px}
  .woocommerce-result-count,.woocommerce-ordering{float:none}
  .woocommerce-result-count{margin-bottom:8px}
  .single-product div.product{grid-template-columns:minmax(0,1fr);gap:32px}
  .u-columns.col2-set,.woocommerce-Addresses{grid-template-columns:1fr}
  .woocommerce-account.logged-in .entry>.woocommerce{grid-template-columns:minmax(0,1fr)}
  form.cart button.button{flex:1}
  .shop_table{font-size:14px}
  /* order history: each order becomes a stacked card */
  .shop_table_responsive thead{display:none}
  .shop_table_responsive tr{display:block;padding:8px 0;border-bottom:1px solid var(--line)}
  .shop_table_responsive td,.shop_table_responsive th{display:block;padding:8px 0;border:0;text-align:right}
  .shop_table_responsive td::before{content:attr(data-title);float:left;font:700 13px/1.6 var(--type)}
}
