/* WooCommerce on the QIWU CABINET dark/paper surface.
   WooCommerce's own light stylesheets are dequeued by inc/assets.php. */

.woocommerce,.woocommerce-page{color:var(--paper)}
.woocommerce a{color:var(--brass)}
.woocommerce a:hover{color:var(--paper)}
.woocommerce h1,.woocommerce h2,.woocommerce h3{font-family:var(--serif);font-weight:400;color:var(--paper)}
.woocommerce .woocommerce-Price-amount,.woocommerce .amount{color:var(--paper)}
.woocommerce del .woocommerce-Price-amount{color:var(--soft);opacity:.7}
.woocommerce ins{text-decoration:none}
.woocommerce .star-rating span{color:var(--brass)}

/* Buttons */
.woocommerce button.button,.woocommerce a.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,.woocommerce .checkout-button,.woocommerce .place-order .button{
  display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:49px;padding:13px 24px;
  border:1px solid var(--paper);border-radius:0;background:var(--paper);color:var(--ink)!important;
  font:11px/1.2 var(--sans);letter-spacing:.04em;text-transform:none;text-shadow:none;box-shadow:none;cursor:pointer
}
.woocommerce button.button:hover,.woocommerce a.button:hover,.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover,.woocommerce .checkout-button:hover{background:var(--brass);border-color:var(--brass);color:#fff!important}
.woocommerce button.button:disabled,.woocommerce button.button[disabled]{opacity:.45;cursor:not-allowed}
.woocommerce button.button.alt,.woocommerce .single_add_to_cart_button.alt{background:var(--paper);color:var(--ink)!important}

/* Add to cart form inside the product detail column */
.product-buttons form.cart{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0}
.product-buttons form.cart .quantity{display:inline-flex;align-items:center;border:1px solid var(--line);margin:0}
.product-buttons form.cart .quantity .qty{width:64px;padding:12px 8px;text-align:center;background:#221b23;border:0;color:var(--paper);font-size:13px}
.product-buttons form.cart .quantity input[type=number]{-moz-appearance:textfield}
.product-buttons .single_add_to_cart_button{margin:0!important}
.product-buttons .save-product{background:transparent!important;border:1px solid var(--line)!important;color:var(--paper)!important;min-width:52px;padding:13px 16px}

/* Notices */
.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,.woocommerce-notices-wrapper .woocommerce-info,.woocommerce-notices-wrapper .woocommerce-error{
  background:#221b23;border:1px solid var(--line);border-left:3px solid var(--brass);color:var(--paper);
  padding:16px 20px;margin:0 0 26px;font-size:13px;border-radius:0
}
.woocommerce .woocommerce-error{border-left-color:var(--accent)}
.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-error::before{color:var(--brass)}
.woocommerce .woocommerce-error::before{color:var(--accent)}
.woocommerce .woocommerce-message .button,.woocommerce .woocommerce-info .button{float:right;margin-top:-6px}
.woocommerce-store-notice{background:#221b23;color:var(--paper)}

/* Forms */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,
.woocommerce form .form-row select,.woocommerce .select2-container .select2-selection,
.woocommerce input.input-text,.woocommerce textarea,.woocommerce select{
  background:#221b23;border:1px solid rgba(232,222,203,.28);border-radius:0;color:var(--paper);padding:12px 14px;font-size:13px;line-height:1.4
}
.woocommerce input.input-text:focus,.woocommerce textarea:focus,.woocommerce select:focus{outline:1px solid var(--brass);outline-offset:1px}
.woocommerce form .form-row label,.woocommerce label{color:var(--paper);font-size:12px}
.woocommerce form .form-row .required{color:var(--accent)}
.woocommerce .select2-container .select2-selection__rendered{color:var(--paper)}
.woocommerce .select2-dropdown{background:#221b23;color:var(--paper);border-color:var(--line)}
.woocommerce .select2-results__option{color:var(--paper)}
.woocommerce .select2-results__option--highlighted{background:var(--brass)!important}

/* Tables (cart, order review, account) */
.woocommerce table.shop_table,.woocommerce table.shop_table td,.woocommerce table.shop_table th,
.woocommerce table.shop_table tbody th,.woocommerce table.my_account_orders td,.woocommerce table.my_account_orders th{
  border-color:var(--line);color:var(--soft);background:transparent
}
.woocommerce table.shop_table{background:#1f1920;border:1px solid var(--line);border-radius:0;border-collapse:collapse}
.woocommerce table.shop_table thead th{background:#241d25;color:var(--paper);font-weight:400;font-size:12px;letter-spacing:.06em}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:16px 14px}
.woocommerce table.shop_table a{color:var(--brass)}
.woocommerce table.shop_table .product-thumbnail img{width:80px;height:auto;border:1px solid var(--line)}
.woocommerce table.shop_table .product-remove a{color:var(--paper)!important;font-size:22px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce .cart-collaterals .cart_totals table{background:transparent;border-color:var(--line)}
.woocommerce .cart-collaterals h2{font-size:26px}
.woocommerce .quantity .qty{background:#221b23;border:1px solid var(--line);color:var(--paper);padding:8px;width:64px}
.woocommerce .coupon input.input-text{min-width:180px}

/* Checkout */
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:48%}
.woocommerce #order_review,#payment,.woocommerce-checkout #payment{background:#221b23;border:1px solid var(--line);border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line)}
.woocommerce-checkout #payment ul.payment_methods li{border-bottom:1px solid var(--line)}
.woocommerce-checkout #payment div.payment_box{background:#191519;color:var(--soft)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#191519}
.woocommerce .woocommerce-terms-and-conditions-wrapper{color:var(--soft)}

/* Product archive bits we do use */
.woocommerce .woocommerce-ordering select{background:#221b23;color:var(--paper);border:1px solid var(--line);padding:10px}
.woocommerce .woocommerce-result-count{color:var(--soft);font-size:12px}
.woocommerce-pagination{display:flex;justify-content:center;gap:10px;margin:50px 0}
.woocommerce-pagination .page-numbers{border:1px solid var(--line);padding:9px 14px;color:var(--paper);font-size:12px}
.woocommerce-pagination .page-numbers.current{background:var(--paper);color:var(--ink)}
.woocommerce .products ul,.woocommerce ul.products{list-style:none;margin:0;padding:0}

/* Account / misc */
.woocommerce-MyAccount-navigation{background:#221b23;border:1px solid var(--line)}
.woocommerce-MyAccount-navigation li{border-bottom:1px solid var(--line)}
.woocommerce-MyAccount-navigation li a{color:var(--paper);padding:14px 18px;display:block}
.woocommerce-MyAccount-navigation li.is-active a{color:var(--brass)}
.woocommerce-MyAccount-content{color:var(--soft)}
.woocommerce .wc-proceed-to-checkout{padding-bottom:10px}
.woocommerce .return-to-shop{margin-top:20px}
.woocommerce .product-film{width:100%;margin-top:18px;border:1px solid var(--line);background:#191519}

@media(max-width:760px){
  .woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:100%}
  .woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:10px 8px;font-size:12px}
  .woocommerce table.shop_table .product-thumbnail img{width:56px}
  .product-buttons form.cart{width:100%}
}
