/* ============================================================
   TenaZ — WordPress & WooCommerce layer.
   tenaz.css holds the design system; this file maps WP/Woo
   markup onto those tokens.
   ============================================================ */

/* ---------- General WP ---------- */
.admin-bar header.nav{top:32px;}
@media(max-width:782px){ .admin-bar header.nav{top:46px;} }

.entry-content{max-width:780px;font-size:16px;line-height:1.65;}
.entry-content h2{font-size:30px;margin:34px 0 12px;}
.entry-content h3{font-size:23px;margin:28px 0 10px;}
.entry-content p{margin:0 0 16px;}
.entry-content a{color:var(--primary);text-decoration:underline;}
.entry-content ul,.entry-content ol{padding-left:22px;margin:0 0 16px;}

/* Nav cart link */
.tenaz-cart{display:inline-flex;align-items:center;gap:6px;}
.tenaz-cart-count{background:var(--primary);color:#fff;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;}

/* ---------- Buttons: map Woo buttons to the brand pill ---------- */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button{
  background:var(--primary) !important;color:#fff !important;border:0 !important;
  border-radius:999px !important;padding:12px 22px !important;
  font-family:var(--sans) !important;font-weight:600 !important;font-size:14px !important;
  line-height:1 !important;transition:.15s;cursor:pointer;text-decoration:none !important;
}
.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover{background:var(--primary-h) !important;}
.woocommerce .button.disabled,.woocommerce .button:disabled{opacity:.55;}

/* Loop add-to-cart inside the product card */
.pcard .button{padding:10px 18px !important;font-size:13.5px !important;white-space:nowrap;}
.pcard .added_to_cart{display:block;margin-top:8px;font-size:12.5px;font-weight:600;color:var(--cat-green);}
.pcard .pinfo h3 a{color:inherit;}
.pcard .pimg img{width:80%;height:80%;object-fit:contain;mix-blend-mode:multiply;}
.pcard .price del{color:var(--ink2);font-weight:500;margin-right:6px;}
.pcard .price ins{text-decoration:none;}

/* Pack rows: price html inside .pp/.fp */
.prow .pp .amount,.feature .fp .amount{font-weight:700;}

/* ---------- Single product ---------- */
.woocommerce div.product{margin-top:20px;}
.woocommerce div.product .product_title{font-family:var(--serif);font-size:44px;font-weight:500;letter-spacing:-.02em;}
.woocommerce div.product p.price{font-size:24px;font-weight:700;color:var(--ink);margin:14px 0 18px;}
.woocommerce div.product p.price del{color:var(--ink2);font-weight:500;}
.woocommerce div.product p.price ins{text-decoration:none;}
.woocommerce div.product div.images img{background:#fff;border:1px solid var(--line);border-radius:18px;}
.woocommerce div.product form.cart{margin:22px 0;}
.woocommerce div.product form.cart div.quantity .qty{
  border:1.5px solid var(--line);border-radius:12px;padding:11px 8px;font-family:var(--sans);
  font-size:15px;background:var(--surface);color:var(--ink);
}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:34px 0 0;}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:var(--surface);border:1px solid var(--line);border-radius:999px 999px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--tile);}
.woocommerce div.product .woocommerce-tabs .panel{
  background:var(--tile);border:1px solid var(--line);border-radius:0 14px 14px 14px;padding:26px;
}
.woocommerce .related.products h2,
.woocommerce .upsells.products h2{font-size:30px;margin-bottom:20px;}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:0;padding:0;}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none;}
.woocommerce ul.products li.product{width:auto !important;margin:0 !important;float:none !important;}
@media(max-width:920px){ .woocommerce ul.products{grid-template-columns:1fr 1fr;} }
@media(max-width:560px){ .woocommerce ul.products{grid-template-columns:1fr;} }

/* ---------- Forms (checkout, account, coupon) ---------- */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text{
  border:1.5px solid var(--line);border-radius:12px;padding:13px 15px;
  font-family:var(--sans);font-size:15px;background:var(--surface);color:var(--ink);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{
  outline:none;border-color:var(--primary);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 16%,transparent);
}
.woocommerce form .form-row label{font-size:13.5px;font-weight:600;}
.select2-container--default .select2-selection--single{
  border:1.5px solid var(--line);border-radius:12px;height:auto;padding:9px 12px;background:var(--surface);
}

/* ---------- Cart & checkout tables ---------- */
.woocommerce table.shop_table{
  border:1px solid var(--line);border-radius:16px;border-collapse:separate;border-spacing:0;
  background:var(--tile);overflow:hidden;
}
.woocommerce table.shop_table th{
  font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--ink2);
  background:var(--bg-alt);padding:14px 16px;
}
.woocommerce table.shop_table td{border-top:1px solid var(--line);padding:14px 16px;}
.woocommerce table.shop_table img{background:#fff;border:1px solid var(--line);border-radius:10px;width:64px;}
.woocommerce a.remove{color:var(--cat-red) !important;}
.woocommerce-cart .cart-collaterals .cart_totals h2,
.woocommerce-checkout h3{font-size:26px;}

/* ---------- Notices ---------- */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-top-color:var(--primary);background:var(--surface);
  border:1px solid var(--line);border-radius:14px;color:var(--ink);
}
.woocommerce-error{border-color:var(--cat-red);}
.woocommerce-message::before,.woocommerce-info::before{color:var(--primary);}
.woocommerce-error::before{color:var(--cat-red);}

/* ---------- My Account ---------- */
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:flex;flex-direction:column;gap:6px;}
.woocommerce-MyAccount-navigation li a{
  display:block;padding:11px 16px;border-radius:12px;font-weight:600;font-size:14.5px;color:var(--ink2);
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover{background:var(--bg-alt);color:var(--ink);}

/* ---------- Breadcrumb / result count / sort dropdown: hide for clean design ---------- */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering{display:none;}
